]> git.pld-linux.org Git - packages/lighttpd.git/commitdiff
- add mod_extforward module; rel 4
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 12 Dec 2006 18:41:41 +0000 (18:41 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    lighttpd.spec -> 1.194

lighttpd.spec

index 1116dadc90021984949996c7e1f70223df137be1..98a6fee320bdad6d64e5435b35f1aa47f609ef56 100644 (file)
@@ -38,7 +38,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
@@ -99,10 +99,12 @@ Source131:  %{name}-php-external.conf
 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
@@ -355,6 +357,16 @@ mod_expire controls the setting of the the Expire response header.
 %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
@@ -730,6 +742,7 @@ Obs
 #%patch100 -p1
 %patch0 -p1
 %patch1 -p1
+%patch3 -p1
 
 # build mime.types.conf
 sh %{SOURCE6} /etc/mime.types
@@ -801,6 +814,7 @@ install %{SOURCE108} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_dirlisting.conf
 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
@@ -904,6 +918,7 @@ fi
 %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
@@ -1021,6 +1036,11 @@ EOF
 %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
This page took 0.068021 seconds and 4 git commands to generate.