Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:csbuild:DBA
dba-apache-2223-ssl
dba-apache-2223-ssl.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File dba-apache-2223-ssl.spec of Package dba-apache-2223-ssl
%define version 2.2.23 %define vers 2223 %define prefix /DBA/apache/WWW/%{version} %define prefix /DBA/apache/WWW/%{version}.ssl %define sslpath /DBA/openssl/1.0.1e %define use_dbaapr 0 %if 0%{?centos_version} == 505 || 0%{?rhel_version} == 406 || 0%{?rhel_version} == 505 %define use_dbaapr 1 %define apr_file_link 1 %endif Name: dba-apache-%{vers}-ssl Summary: The Apache Web Server Version 2.2.23 with TLSv1.x support License: The Apache Software License Group: Productivity/Networking/Web/Servers %define realver %{version} Version: %{version} Release: 1 Source0: http://httpd.apache.org/dev/dist/httpd-%{realver}.tar.bz2 Source1: dba-apache-rpmlintrc Source2: filter-requires-openssl.sh Url: http://httpd.apache.org/ AutoReqProv: on BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: dba-openssl-101e Requires: dba-openssl-101e %define __find_requires %{SOURCE2} # "Server:" header %define VENDOR DBA %define platform_string Linux/%VENDOR BuildRequires: ed openssl-devel pcre-devel zlib-devel %if %{?suse_version:1}0 %define httpduser wwwrun %define httpdgroup www %else %define httpduser apache %define httpdgroup apache BuildRequires: expat-devel %endif PreReq: fileutils textutils grep sed %if %{?suse_version:1}0 PreReq: permissions BuildRequires: db-devel openldap2 openldap2-devel libapr-util1-devel >= 1.3 libapr1-devel >= 1.3 %else BuildRequires: db4-devel openldap openldap-devel %if %{use_dbaapr} == 0 BuildRequires: apr-util-devel apr-devel %endif %endif %if 0%{?suse_version} >= 1100 BuildRequires: -post-build-checks %endif %if %{use_dbaapr} == 1 BuildRequires: dba-apr dba-apr-util Requires: dba-apr dba-apr-util #!BuildIgnore: apr-util-devel apr-devel %else #!BuildIgnore: dba-apr dba-apr-util %endif %description Apache 2, the successor to Apache 1. Apache is the most used Web server software worldwide. See /usr/share/doc/packages/apache2/, http://httpd.apache.org/, and http://httpd.apache.org/docs-2.0/upgrading.html. Authors: -------- Too many to list here -- see /usr/share/doc/packages/apache2/ABOUT_APACHE %prep # # O/ ._ .__ ._ # /O |_)|(/_|_) # | | # %setup -q -n httpd-%{realver} %{__chmod} +x %{SOURCE2} # cat $RPM_SOURCE_DIR/SUSE-NOTICE >> NOTICE # # replace PLATFORM string that's seen in the "Server:" header # sed 's,(" PLATFORM "),(%platform_string),' server/core.c > tmp_file && mv tmp_file server/core.c sed 's/public_html/%{userdir}/g' docs/conf/extra/httpd-userdir.conf.in > tmp_file && mv tmp_file docs/conf/extra/httpd-userdir.conf.in # # now configure Apache # %if 0%{?suse_version} > 910 aclocal autoreconf --force --install %else rm -rf aclocal.m4 autom4te*.cache autoheader autoconf %endif %build # # O/ |_ o| _| # /O |_)|_|||(_| # CFLAGS="$RPM_OPT_FLAGS -fPIC -Wall -fno-strict-aliasing -DLDAP_DEPRECATED" \ CPPFLAGS="-DSSL_EXPERIMENTAL_ENGINE -DMAX_SERVER_LIMIT=200000 -DLDAP_DEPRECATED -DMAXLINE=4096" \ LDFLAGS="-Wl,-rpath -Wl,%{sslpath}/lib" ./configure \ --prefix=%{prefix} \ --with-mpm=prefork \ %if "$mpm" == "worker" || "$mpm" == "event" %ifarch %ix86 %ifnarch i386 --enable-nonportable-atomics=yes \ %endif %endif %endif \ --enable-exception-hook \ \ %if %{?suse_version:%suse_version}%{?!suse_version:9999} > 930 --with-pcre \ --enable-pie \ %endif --enable-mods-shared=all \ %if %{use_dbaapr} --with-apr=/DBA/apache/APR/bin/apr-1-config \ --with-apr-util=/DBA/apache/APU/bin/apu-1-config \ %endif --with-ssl=%{sslpath} \ --enable-ssl=shared \ \ --disable-isapi \ --enable-deflate \ --enable-echo \ --enable-filter \ --enable-ext-filter \ --enable-charset-lite \ --enable-file-cache \ --enable-logio \ --enable-dumpio \ --enable-bucketeer \ --enable-case_filter \ --enable-case_filter_in \ \ --with-ldap \ --enable-ldap \ --enable-authnz_ldap \ \ --enable-proxy \ --enable-proxy-connect \ --enable-proxy-ftp \ --enable-proxy-http \ --enable-cache \ --enable-disk-cache \ --enable-mem-cache \ --enable-version \ \ --enable-dav-lock \ --enable-authn-alias \ --enable-optional-hook-export \ --enable-optional-hook-import \ --enable-optional-fn-import \ --enable-optional-fn-export \ \ --enable-suexec \ --with-suexec-bin=%{_sbindir}/suexec%{vers} \ --with-suexec-caller=%httpduser \ --with-suexec-docroot=%{datadir} \ --with-suexec-logfile=%{logfiledir}/suexec.log \ --with-suexec-userdir=%{userdir} \ --with-suexec-uidmin=96 \ --with-suexec-gidmin=96 \ --with-suexec-safepath=%{suexec_safepath} %if 0%{?sles_version} == 10 perl -pi -e "s|apr-1 64/include|apr-1|g" Makefile config.status build/config_vars.mk perl -pi -e "s|apr-1 /include|apr-1|g" Makefile config.status build/config_vars.mk %endif make CFLAGS="$RPM_OPT_FLAGS -fPIC \ -fno-strict-aliasing \ -Wall " \ %{?jobs:-j%jobs} %install # # O/ o._ __|_ _.|| # /O || |_> |_(_||| # # # (most installation (to build root) has already been done in %%build) # make DESTDIR=$RPM_BUILD_ROOT install %post cd %{prefix}/.. %{__rm} -f 2.2.latest %{__ln_s} -f %{version} 2.2.latest %files # _ # O/ _|_o| _ _ # /O | ||(/__> # %defattr(-,root,root) %dir %{prefix} %{prefix}/bin %{prefix}/build %{prefix}/conf %{prefix}/cgi-bin %{prefix}/error %{prefix}/htdocs %{prefix}/icons %{prefix}/include %{prefix}/man %{prefix}/manual %{prefix}/modules %clean [ "%{buildroot}" != "/" ] && rm -rf %{buildroot} %changelog * Mon May 27 2013 Holger Manthey <holger.manthey@bertelsmann.de> - add filter-requires-openssl.sh to remove libcrytpo and libssl * Thu Feb 14 2013 Holger Manthey <holger.manthey@bertelsmann.de> - upgrade to OpenSSL 1.0.1e * Tue Sep 18 2012 Holger Manthey <holger.manthey@bertelsmann.de> - fix boolean expression for rhel4 + sles10 * Mon Sep 17 2012 Holger Manthey <holger.manthey@bertelsmann.de> - inital version
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