Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Cloud:Platform:buildpacks:dependencies
httpd-2.4.34
httpd.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File httpd.spec of Package httpd-2.4.34
# # spec file for SUSE CAP buildpack dependency # # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. Name: httpd-2.4.34 Version: 2.4.34 Release: 1 Summary: This is a dependency used in SUSE CAP buildpacks License: Apache-2.0 Group: Cloud/Platform/scf Url: http://apache.org/ Source0: https://archive.apache.org/dist/httpd/httpd-2.4.34.tar.bz2 Source1: sources.yml Source2: https://www.apache.org/dist/apr/apr-1.6.5.tar.bz2 Source3: https://www.apache.org/dist/apr/apr-iconv-1.2.2.tar.bz2 Source4: https://www.apache.org/dist/apr/apr-util-1.6.1.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build # BEGIN shared macros for all dependency packages BuildRequires: aaa_stack_build_requires %if 0%{?is_opensuse} %define stack opensuse42 %else %define stack sle12 %endif %define otherdir %{_topdir}/OTHER %define prefix_path /app/vendor/%{name} %define destdir /tmp/%{name}/ %define dependencydir %{destdir}/%{prefix_path} # END shared macros %define apr_path /tmp/apr %define prefix_path /app/httpd %description %prep %setup -q -n %{name} %build mkdir -p /tmp/apr-sources pushd /tmp/apr-sources tar -xf %{SOURCE2} pushd apr-1.* ./configure --prefix=%{apr_path} make %{?_smp_mflags} make install popd tar -xf %{SOURCE3} pushd apr-iconv-1.* ./configure --with-apr=%{apr_path}/bin/apr-1-config --prefix=%{apr_path} make %{?_smp_mflags} make install popd tar -xf %{SOURCE4} pushd apr-util-1.* ./configure --prefix=%{apr_path} \ --with-apr=%{apr_path} \ --with-iconv=%{apr_path} \ --with-crypto \ --with-openssl \ --with-mysql \ --with-pgsql \ --with-gdbm \ --with-ldap make %{?_smp_mflags} make install popd popd ./configure --prefix=%{prefix_path} \ --with-apr=%{apr_path} \ --with-apr-util=%{apr_path} \ --with-ssl=/usr/lib64 \ --enable-mpms-shared="worker event" \ --enable-mods-shared=reallyall \ --disable-isapi \ --disable-dav \ --disable-dialup make %{?_smp_mflags} %install make install DESTDIR=%{destdir} TARBALL=%{otherdir}/%{name}-linux-x64.tgz pushd %{destdir}%{prefix_path} cp %{SOURCE1} ../ rm -rf build/ cgi-bin/ error/ icons/ include/ man/ manual/ htdocs/ rm -rf conf/extra/* conf/httpd.conf conf/httpd.conf.bak conf/magic conf/original mkdir -p lib cp "%{apr_path}/lib/libapr-1.so.0" ./lib cp "%{apr_path}/lib/libaprutil-1.so.0" ./lib mkdir -p "./lib/apr-util-1" cp "%{apr_path}/lib/apr-util-1/"*.so ./lib/apr-util-1/ mkdir -p "./lib/iconv" cp "%{apr_path}/lib/libapriconv-1.so.0" ./lib cp "%{apr_path}/lib/iconv/"*.so ./lib/iconv/ cd .. tar czf ${TARBALL} * --owner=0 --group=0 popd CHECKSUM=`sha256sum ${TARBALL}` NEW_TARBALL=%{otherdir}/%{name}-linux-x64-%{stack}-${CHECKSUM:0:8}.tgz mv ${TARBALL} ${NEW_TARBALL} echo `sha256sum ${NEW_TARBALL}` > %{otherdir}/$(basename ${NEW_TARBALL}).sha256 %files %defattr(-,root,root) %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor