SPECS: apache.spec - avoid evil redeclaring exec-prefix (do all pa...
glen
glen at pld-linux.org
Tue Dec 27 01:59:42 CET 2005
Author: glen Date: Tue Dec 27 00:59:42 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- avoid evil redeclaring exec-prefix (do all paths setup in config.layout)
- fixes apxs broken variables
---- Files affected:
SPECS:
apache.spec (1.454 -> 1.455)
---- Diffs:
================================================================
Index: SPECS/apache.spec
diff -u SPECS/apache.spec:1.454 SPECS/apache.spec:1.455
--- SPECS/apache.spec:1.454 Sun Dec 25 00:15:10 2005
+++ SPECS/apache.spec Tue Dec 27 01:59:37 2005
@@ -37,7 +37,7 @@
Summary(tr): Lider WWW tarayýcý
Name: apache
Version: 2.2.0
-Release: 6
+Release: 6.6
License: Apache Group License
Group: Networking/Daemons
Source0: http://www.apache.org/dist/httpd/httpd-%{version}.tar.gz
@@ -86,6 +86,7 @@
Patch6: httpd-2.0.40-xfsz.patch
Patch7: %{name}-syslibs.patch
Patch8: httpd-2.0.45-encode.patch
+Patch9: %{name}-paths.patch
Patch10: httpd-2.0.46-dav401dest.patch
Patch12: httpd-2.0.46-sslmutex.patch
Patch14: httpd-2.0.48-corelimit.patch
@@ -1710,6 +1711,7 @@
%patch5 -p1
%patch7 -p1
%patch8 -p1
+%patch9 -p1
%patch10 -p1
%patch12 -p1
%patch14 -p1
@@ -1723,14 +1725,6 @@
# using system apr, apr-util and pcre
rm -rf srclib/{apr,apr-util,pcre}
-# fixup perl path
-sed -i -e '1s@#!.*local/bin/perl@#!%{__perl}@' docs/cgi-examples/printenv
-
-# fix location of build dir in generated apxs
-sed -i -e '
-s:@exp_installbuilddir@:%{_libdir}/apache/build:g
-' support/apxs.in
-
# sanity check
MODULES_API=`awk '/#define MODULE_MAGIC_NUMBER_MAJOR/ {print $3}' include/ap_mmn.h`
if [ "$MODULES_API" != "%_apache_modules_api" ]; then
@@ -1759,11 +1753,8 @@
for mpm in prefork worker %{?with_metuxmpm:metuxmpm} %{?with_peruser:peruser} %{?with_event:event}; do
install -d "buildmpm-${mpm}"; cd "buildmpm-${mpm}"
../%configure \
- --prefix=%{_sysconfdir} \
- --exec-prefix=%{_libexecdir} \
- --with-installbuilddir=%{_libdir}/apache/build \
- --disable-v4-mapped \
--enable-layout=PLD \
+ --disable-v4-mapped \
--enable-modules=all \
--enable-mods-shared=all \
--enable-auth-anon \
@@ -1859,25 +1850,15 @@
# prefork is default one
%{__make} -C buildmpm-prefork install \
- DESTDIR=$RPM_BUILD_ROOT \
- installbuilddir=%{_libdir}/apache/build \
- prefix=%{_sysconfdir}/httpd \
- libexecdir=%{_libdir}/%{name} \
- iconsdir=%{_datadir}/icons \
- errordir=%{_datadir}/error \
- htdocsdir=%{_datadir}/html \
- manualdir=%{_datadir}/manual \
- cgidir=%{_cgibindir} \
- runtimedir=%{_var}/run \
- logdir=%{_var}/log/httpd \
- proxycachedir=%{_var}/cache/httpd
+ DESTDIR=$RPM_BUILD_ROOT
+# install other mpm-s
for mpm in %{?with_metuxmpm:metuxmpm} %{?with_peruser:peruser} worker %{?with_event:event}; do
install buildmpm-${mpm}/httpd.${mpm} $RPM_BUILD_ROOT%{_sbindir}/httpd.${mpm}
done
ln -s httpd.prefork $RPM_BUILD_ROOT%{_sbindir}/httpd
-ln -s %{_libdir}/apache $RPM_BUILD_ROOT%{_sysconfdir}/modules
+ln -s %{_libexecdir} $RPM_BUILD_ROOT%{_sysconfdir}/modules
ln -s %{_localstatedir}/run/httpd $RPM_BUILD_ROOT%{_sysconfdir}/run
ln -s %{_var}/log/httpd $RPM_BUILD_ROOT%{_sysconfdir}/logs
ln -s conf.d $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
@@ -2334,9 +2315,8 @@
%files devel
%defattr(644,root,root,755)
%{_includedir}
+# FIXME: httpd.exp needed only on AIX
%{_libexecdir}/*.exp
-# is this symlink needed?
-#%{_sysconfdir}/build
%{_libexecdir}/build/[lprs]*.mk
%attr(755,root,root) %{_libexecdir}/build/*.sh
@@ -2694,6 +2674,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.455 2005/12/27 00:59:37 glen
+- avoid evil redeclaring exec-prefix (do all paths setup in config.layout)
+- fixes apxs broken variables
+
Revision 1.454 2005/12/24 23:15:10 glen
- fix mod_ssl epoch; rel 6
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/apache.spec?r1=1.454&r2=1.455&f=u
More information about the pld-cvs-commit
mailing list