SPECS: apache1.spec - updated eapi patch from mod_ssl - changed e...
qboosh
qboosh at pld-linux.org
Sat Feb 9 21:47:13 CET 2008
Author: qboosh Date: Sat Feb 9 20:47:13 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- updated eapi patch from mod_ssl
- changed errordocs patch and config to use MultiViews; some unification with apache 2.x
- dropped additional icons tarball (inconsistent icons with unclear licensing)
- release 4
---- Files affected:
SPECS:
apache1.spec (1.188 -> 1.189)
---- Diffs:
================================================================
Index: SPECS/apache1.spec
diff -u SPECS/apache1.spec:1.188 SPECS/apache1.spec:1.189
--- SPECS/apache1.spec:1.188 Wed Feb 6 22:17:38 2008
+++ SPECS/apache1.spec Sat Feb 9 21:47:08 2008
@@ -1,8 +1,4 @@
# $Revision$, $Date$
-# TODO:
-# - update errordocs to use MultiViews (like Apache 2) instead of dual language pages
-# - replace linux_pwd.gif by e.g. http://pl.docs.pld-linux.org/zrzuty_ekr/logo_04.png
-# - then drop Source3
#
# Conditional build:
%bcond_with rewrite_ldap # enable ldap map support for mod_rewrite (alpha)
@@ -33,16 +29,17 @@
Summary(zh_CN.UTF-8): Internet 上应用最广泛的 Web 服务程序。
Name: apache1
Version: 1.3.41
-Release: 3
-License: Apache Group
+Release: 4
+License: Apache v2.0
Group: Networking/Daemons
Source0: http://www.apache.org/dist/httpd/apache_%{version}.tar.gz
# Source0-md5: f7f00b635243f03a787ca9f4d4c85651
Source1: %{name}.init
Source2: %{name}.logrotate
-Source3: apache-icons.tar.gz
-# Source3-md5: 2b085cbc19fd28536dc883f0b864cd83
-Source4: %{name}.sysconfig
+Source3: %{name}.sysconfig
+# http://www.iagora.com/about/software/lingerd/
+Source4: http://images.iagora.com/media/software/lingerd/lingerd-0.94.tar.gz
+# Source4-md5: 6401015bafad4f44fdf8a9a1795d9258
Source5: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/apache-non-english-man-pages.tar.bz2
# Source5-md5: 74ff6e8d8a7b365b48ed10a52fbeb84e
Source6: %{name}-defaultindex.conf
@@ -64,10 +61,7 @@
Source22: %{name}-mod_setenvif.conf
Source23: %{name}-mod_vhost_alias.conf
Source24: %{name}-errordocs.conf
-# http://www.iagora.com/about/software/lingerd/
-Source25: http://images.iagora.com/media/software/lingerd/lingerd-0.94.tar.gz
-# Source25-md5: 6401015bafad4f44fdf8a9a1795d9258
-Source26: %{name}-manual.conf
+Source25: %{name}-manual.conf
Patch0: %{name}-PLD.patch
Patch1: %{name}-suexec.patch
Patch2: %{name}-errordocs.patch
@@ -135,6 +129,7 @@
%define apxs /usr/sbin/apxs1
%define httpdir /home/services/apache
%define docroot %{_datadir}/%{name}/html
+%define errordir %{_datadir}/%{name}/error
%define manualdir %{_datadir}/%{name}/manual
%define cgibindir %{_prefix}/lib/cgi-bin/%{name}
@@ -369,7 +364,9 @@
Summary: Apache 1.3.x HTTP error documents
Summary(pl.UTF-8): Dokumenty opisujące błędy HTTP dla Apache'a 1.3.x
Group: Applications/WWW
+Requires: %{name}-mod_alias = %{version}-%{release}
Requires: %{name}-mod_include = %{version}-%{release}
+Requires: %{name}-mod_negotiation = %{version}-%{release}
%description errordocs
Apache 1.3.x HTTP error documents. Currently in English and Polish
@@ -1297,7 +1294,7 @@
Dwa programy testowe/przykładowe cgi: test-cgi and print-env.
%prep
-%setup -q -n apache_%{version} %{?with_lingerd:-a25}
+%setup -q -n apache_%{version} %{?with_lingerd:-a4}
%patch0 -p1
%patch1 -p1
%patch2 -p1
@@ -1408,15 +1405,15 @@
install %{SOURCE2} $RPM_BUILD_ROOT/etc/logrotate.d/apache1
sed -e 's,/usr/lib,%{_libdir},g' %{SOURCE1} > $RPM_BUILD_ROOT/etc/rc.d/init.d/apache
-install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/apache
+install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/apache
bzip2 -dc %{SOURCE5} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
mv $RPM_BUILD_ROOT%{_mandir}/hu/man8/{httpd,apache}.8
mv $RPM_BUILD_ROOT%{_mandir}/pl/man8/{httpd,apache}.8
touch $RPM_BUILD_ROOT/var/log/apache/{access,error,agent,referer}_log
-install -d $RPM_BUILD_ROOT%{_datadir}/%{name}/errordocs
-cp -a errordocs/* $RPM_BUILD_ROOT%{_datadir}/%{name}/errordocs
+install -d $RPM_BUILD_ROOT%{errordir}
+cp -a errordocs/* $RPM_BUILD_ROOT%{errordir}
mv $RPM_BUILD_ROOT%{_sysconfdir}/apache.conf conf/apache.conf.dist
cp -a %{SOURCE7} $RPM_BUILD_ROOT%{_sysconfdir}/apache.conf
@@ -1442,7 +1439,7 @@
cp -a %{SOURCE8} $CFG/20_common.conf
cp -a %{SOURCE6} $CFG/30_defaultindex.conf
-cp -a %{SOURCE26} $CFG/30_manual.conf
+cp -a %{SOURCE25} $CFG/30_manual.conf
cp -a %{SOURCE23} $CFG/20_mod_vhost_alias.conf
cp -a %{SOURCE9} $CFG/25_mod_status.conf
@@ -1494,8 +1491,6 @@
rm -f $RPM_BUILD_ROOT%{_mandir}/README*
rm -rf $RPM_BUILD_ROOT%{_datadir}/apache-icons
-install -d $RPM_BUILD_ROOT%{_datadir}/apache-icons
-%{__tar} -zxf %{SOURCE3} --strip-components=1 -C $RPM_BUILD_ROOT%{_datadir}/apache-icons
# Not for our os or for older apache
rm $RPM_BUILD_ROOT%{manualdir}/{cygwin,ebcdic,install-{z,}tpf,man-template}.html
@@ -2274,7 +2269,11 @@
%files errordocs
%defattr(644,root,root,755)
%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_errordocs.conf
-%{_datadir}/%{name}/errordocs
+%dir %{errordir}
+%{errordir}/HEADER.shtml
+%{errordir}/FOOT.shtml
+%{errordir}/*.shtml.en
+%lang(pl) %{errordir}/*.shtml.po
%files suexec
%defattr(644,root,root,755)
@@ -2339,7 +2338,6 @@
%defattr(644,root,root,755)
%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_autoindex.conf
%attr(755,root,root) %{_libexecdir}/mod_autoindex.so
-%{_datadir}/apache-icons/*.gif
%files mod_cern_meta
%defattr(644,root,root,755)
@@ -2489,6 +2487,12 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.189 2008-02-09 20:47:08 qboosh
+- updated eapi patch from mod_ssl
+- changed errordocs patch and config to use MultiViews; some unification with apache 2.x
+- dropped additional icons tarball (inconsistent icons with unclear licensing)
+- release 4
+
Revision 1.188 2008-02-06 21:17:38 glen
- rel 3
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/apache1.spec?r1=1.188&r2=1.189&f=u
More information about the pld-cvs-commit
mailing list