SPECS: lighttpd.spec - add mod_extforward module; rel 4

glen glen at pld-linux.org
Tue Dec 12 19:41:46 CET 2006


Author: glen                         Date: Tue Dec 12 18:41:46 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- add mod_extforward module; rel 4

---- Files affected:
SPECS:
   lighttpd.spec (1.193 -> 1.194) 

---- Diffs:

================================================================
Index: SPECS/lighttpd.spec
diff -u SPECS/lighttpd.spec:1.193 SPECS/lighttpd.spec:1.194
--- SPECS/lighttpd.spec:1.193	Tue Nov 28 15:48:48 2006
+++ SPECS/lighttpd.spec	Tue Dec 12 19:41:41 2006
@@ -39,7 +39,7 @@
 %define		webdav_progs	1
 %endif
 
-%define		_rel 3
+%define		_rel 4
 Summary:	Fast and light HTTP server
 Summary(pl):	Szybki i lekki serwer HTTP
 Name:		lighttpd
@@ -100,10 +100,12 @@
 Source132:	%{name}-ssl.conf
 Source133:	%{name}-mod_mysql_vhost.conf
 Source134:	%{name}-mod_magnet.conf
+Source135:	lighttpd-mod_extforward.conf
 #Patch100: %{name}-branch.diff
 Patch0:		%{name}-use_bin_sh.patch
 Patch1:		%{name}-mod_evasive-status_code.patch
 Patch2:		%{name}-mod_deflate.patch
+Patch3:		%{name}-mod_extforward-v2.patch
 URL:		http://www.lighttpd.net/
 %{?with_xattr:BuildRequires:	attr-devel}
 BuildRequires:	autoconf
@@ -356,6 +358,16 @@
 %description mod_expire -l pl
 mod_expire steruje ustawianiem nagłówka odpowiedzi Expire.
 
+%package mod_extforward
+Summary:	lighttpd module to extract the client's "real" ip from X-Forwarded-For header
+Group:		Networking/Daemons
+Requires:	%{name} = %{version}-%{release}
+
+%description mod_extforward
+This module will extract the client's "real" ip from X-Forwarded-For header
+which is added by squid or other proxies. It might be useful for servers behind
+reverse proxy servers.
+
 %package mod_fastcgi
 Summary:	lighttpd module for FastCGI interface
 Summary(pl):	Moduł lighttpd do interfejsu FastCGI
@@ -731,6 +743,7 @@
 #%patch100 -p1
 %patch0 -p1
 %patch1 -p1
+%patch3 -p1
 
 # build mime.types.conf
 sh %{SOURCE6} /etc/mime.types
@@ -802,6 +815,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 %{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 %{SOURCE114} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_indexfile.conf
@@ -905,6 +919,7 @@
 %module_scripts mod_evasive
 %module_scripts mod_evhost
 %module_scripts mod_expire
+%module_scripts mod_extforward
 %module_scripts mod_fastcgi
 %module_scripts mod_flv_streaming
 %module_scripts mod_indexfile
@@ -1022,6 +1037,11 @@
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_expire.conf
 %attr(755,root,root) %{_libdir}/mod_expire.so
 
+%files mod_extforward
+%defattr(644,root,root,755)
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_extforward.conf
+%attr(755,root,root) %{_libdir}/mod_extforward.so
+
 %files mod_fastcgi
 %defattr(644,root,root,755)
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_fastcgi.conf
@@ -1147,6 +1167,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.194  2006/12/12 18:41:41  glen
+- add mod_extforward module; rel 4
+
 Revision 1.193  2006/11/28 14:48:48  glen
 - fix conf.d path; rel 3
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/lighttpd.spec?r1=1.193&r2=1.194&f=u



More information about the pld-cvs-commit mailing list