]> git.pld-linux.org Git - packages/apache.git/commitdiff
- add peruser mpm, drop bconds because they step into each other
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Tue, 7 Sep 2004 08:23:30 +0000 (08:23 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    apache.spec -> 1.324

apache.spec

index 3d5f660f1fc0e5e9fcfdde93bab49b419350a37f..d7ce865ca0513c0ac7576510d69bb224fd2e23f4 100644 (file)
@@ -17,7 +17,6 @@
 # Conditional build:
 %bcond_without ssl             # build without SSL support
 %bcond_without ldap            # build without LDAP support
-%bcond_without metuxmpm        # don't build METUX MPM version
 #
 %include       /usr/lib/rpm/macros.perl
 # this is internal macro, don't change to %%apache_modules_api
@@ -79,6 +78,8 @@ Patch18:      httpd-2.0.48-sslpphrase.patch
 Patch19:       %{name}-v6only-ENOPROTOOPT.patch
 Patch20:       %{name}-conffile-path.patch
 Patch21:       %{name}-apxs.patch
+# http://www.telana.com/peruser.php
+Patch22:       httpd-2.0.50-peruser-r2.patch
 URL:           http://httpd.apache.org/
 BuildRequires: automake
 BuildRequires: apr-devel >= 1:0.9.5-6
@@ -653,7 +654,7 @@ Modu
 %patch2 -p1
 %patch3 -p1
 %patch4 -p1
-%{?with_metuxmpm:%patch5 -p1}
+%patch5 -p1
 %patch7 -p1
 %patch8 -p1
 %patch9 -p1
@@ -669,6 +670,7 @@ Modu
 %patch19 -p1
 %patch20 -p1
 %patch21 -p1
+%patch22 -p1
 
 %{__perl} -pi -e "s@/usr/local/bin/perl@%{__perl}@" $(grep -rl "/usr/local/bin/perl" *)
 
@@ -685,7 +687,7 @@ fi
        support/apxs.in
 install /usr/share/automake/config.* build/
 CPPFLAGS="-DMAX_SERVER_LIMIT=200000 -DBIG_SECURITY_HOLE=1"
-for mpm in %{?with_metuxmpm:metuxmpm} perchild prefork worker; do
+for mpm in metuxmpm peruser perchild prefork worker; do
 install -d "buildmpm-${mpm}"; cd "buildmpm-${mpm}"
 ../%configure \
        --prefix=%{_sysconfdir} \
@@ -759,7 +761,7 @@ find include -name '*.h' | xargs perl -pi -e "s#/httpd\.(.*?)\.conf#/etc/httpd/h
 cd ..
 done
 
-for mpm in %{?with_metuxmpm:metuxmpm} perchild worker; do
+for mpm in metuxmpm peruser perchild worker; do
        if ! cmp -s buildmpm-prefork/modules-inside buildmpm-${mpm}/modules-inside; then
                echo "List of compiled modules is different between prefork-MPM and ${mpm}-MPM!"
                echo "Build failed."
@@ -787,7 +789,7 @@ install -d $RPM_BUILD_ROOT/etc/{logrotate.d,rc.d/init.d,sysconfig,monit} \
        logdir=%{_var}/log/httpd \
        proxycachedir=%{_var}/cache/httpd
 
-for mpm in %{?with_metuxmpm:metuxmpm} perchild worker; do
+for mpm in metuxmpm peruser perchild worker; do
        install buildmpm-${mpm}/httpd.${mpm} $RPM_BUILD_ROOT%{_sbindir}/httpd.${mpm}
        ln -s httpd.conf $RPM_BUILD_ROOT%{_sysconfdir}/httpd.${mpm}.conf
 done
This page took 0.077897 seconds and 4 git commands to generate.