SPECS: lighttpd.spec - move mod_extforward after mod_accesslog so ...

glen glen at pld-linux.org
Fri Jan 18 13:34:50 CET 2008


Author: glen                         Date: Fri Jan 18 12:34:50 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- move mod_extforward after mod_accesslog so accesslog gets client ip addresses

---- Files affected:
SPECS:
   lighttpd.spec (1.240 -> 1.241) 

---- Diffs:

================================================================
Index: SPECS/lighttpd.spec
diff -u SPECS/lighttpd.spec:1.240 SPECS/lighttpd.spec:1.241
--- SPECS/lighttpd.spec:1.240	Tue Jan 15 22:43:40 2008
+++ SPECS/lighttpd.spec	Fri Jan 18 13:34:45 2008
@@ -38,7 +38,7 @@
 %define		webdav_progs	1
 %endif
 
-%define		_rel 10
+%define		_rel 10.1
 Summary:	Fast and light HTTP server
 Summary(pl.UTF-8):	Szybki i lekki serwer HTTP
 Name:		lighttpd
@@ -854,7 +854,7 @@
 install %{SOURCE109} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_evasive.conf
 install %{SOURCE110} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_evhost.conf
 install %{SOURCE111} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_expire.conf
-install %{SOURCE135} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_extforward.conf
+install %{SOURCE135} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/91_mod_extforward.conf
 install %{SOURCE112} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_fastcgi.conf
 install %{SOURCE113} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_flv_streaming.conf
 install %{SOURCE136} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_h264_streaming.conf
@@ -1007,11 +1007,11 @@
 %module_scripts php-spawned
 %module_scripts php-external
 
-%triggerpostun -- %{name} <= 1.3.6-2
-%banner %{name} -e <<EOF
-spawn-fcgi program is now available separately from spawn-fcgi package.
-
-EOF
+%triggerpostun -- %{name} < 1.4.18-10.1
+if [ -f /etc/lighttpd/conf.d/50_mod_extforward.conf.rpmsave ]; then
+	cp -f /etc/lighttpd/conf.d/91_mod_extforward.conf{,.rpmnew}
+	mv -f /etc/lighttpd/conf.d/{50_mod_extforward.conf.rpmsave,91_mod_extforward.conf}
+fi
 
 %files
 %defattr(644,root,root,755)
@@ -1251,6 +1251,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.241  2008-01-18 12:34:45  glen
+- move mod_extforward after mod_accesslog so accesslog gets client ip addresses
+
 Revision 1.240  2008-01-15 21:43:40  glen
 - update to svn @2026: fixed case-sensitive check for Auth-Method (#1456)
 - rel 10
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/lighttpd.spec?r1=1.240&r2=1.241&f=u



More information about the pld-cvs-commit mailing list