packages: apache-mod_extract_forwarded/apache-mod_extract_forwarded.spec - ...
glen
glen at pld-linux.org
Sun Oct 25 23:47:46 CET 2009
Author: glen Date: Sun Oct 25 22:47:46 2009 GMT
Module: packages Tag: HEAD
---- Log message:
- do not conflict with irrelevant apache 1 packages
- update from apache template spec
---- Files affected:
packages/apache-mod_extract_forwarded:
apache-mod_extract_forwarded.spec (1.3 -> 1.4)
---- Diffs:
================================================================
Index: packages/apache-mod_extract_forwarded/apache-mod_extract_forwarded.spec
diff -u packages/apache-mod_extract_forwarded/apache-mod_extract_forwarded.spec:1.3 packages/apache-mod_extract_forwarded/apache-mod_extract_forwarded.spec:1.4
--- packages/apache-mod_extract_forwarded/apache-mod_extract_forwarded.spec:1.3 Sat Oct 17 14:35:57 2009
+++ packages/apache-mod_extract_forwarded/apache-mod_extract_forwarded.spec Sun Oct 25 23:47:40 2009
@@ -15,31 +15,31 @@
BuildRequires: apache-devel >= 2.0.40
BuildRequires: rpmbuild(macros) >= 1.268
Requires: apache(modules-api) = %apache_modules_api
-Requires: apache(mod_proxy)
-Conflicts: apache(mod_rpaf)
-Provides: apache(mod_extract_forwarded)
+Requires: apache-mod_proxy
+Conflicts: apache-mod_rpaf
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define _pkglibdir %(%{apxs} -q LIBEXECDIR 2>/dev/null)
-%define _sysconfdir %(%{apxs} -q SYSCONFDIR 2>/dev/null)
+%define _sysconfdir %(%{apxs} -q SYSCONFDIR 2>/dev/null)/conf.d
%description
-mod_extract_forwarded is designed to transparently (to other Apache modules)
-modify the information about the connection over which an HTTP request is
-received when that connection is not directly from a requesting client to
-the Apache server but is instead via one or more intervening proxy servers.
-
-Operation relies on the X-Forwarded-For header, inserted by proxy servers.
-This is a non-RFC-standard request header which was introduced by the Squid
-caching proxy server's developers and which is now also supported, for
-reverse proxy server operation, by Apache 2. If the intervening proxy
-servers doesn't add such headers, we can't do anything about it. It is
-worth noting that a normally configured Squid proxy server will add to the
-X-Forwarded-For. However, when used as a proxy server, Apache prior to
-version 2 does not add X-Forwarded-For headers unless the third party
-mod_proxy_add_forward module has been added to it. This can leave
-potentially important gaps in the information recorded in X-Forwarded-For
-header.
+mod_extract_forwarded is designed to transparently (to other Apache
+modules) modify the information about the connection over which an
+HTTP request is received when that connection is not directly from a
+requesting client to the Apache server but is instead via one or more
+intervening proxy servers.
+
+Operation relies on the X-Forwarded-For header, inserted by proxy
+servers. This is a non-RFC-standard request header which was
+introduced by the Squid caching proxy server's developers and which is
+now also supported, for reverse proxy server operation, by Apache 2.
+If the intervening proxy servers doesn't add such headers, we can't do
+anything about it. It is worth noting that a normally configured Squid
+proxy server will add to the X-Forwarded-For. However, when used as a
+proxy server, Apache prior to version 2 does not add X-Forwarded-For
+headers unless the third party mod_proxy_add_forward module has been
+added to it. This can leave potentially important gaps in the
+information recorded in X-Forwarded-For header.
%prep
%setup -q -n %{mod_name}
@@ -49,9 +49,9 @@
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_pkglibdir},%{_sysconfdir}/httpd.conf}
-install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf/90_mod_%{mod_name}.conf
-install .libs/mod_%{mod_name}.so $RPM_BUILD_ROOT%{_pkglibdir}
+install -d $RPM_BUILD_ROOT{%{_pkglibdir},%{_sysconfdir}}
+cp -a %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/90_mod_%{mod_name}.conf
+install -p .libs/mod_%{mod_name}.so $RPM_BUILD_ROOT%{_pkglibdir}
%clean
rm -rf $RPM_BUILD_ROOT
@@ -67,7 +67,7 @@
%files
%defattr(644,root,root,755)
%doc README INSTALL
-%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_%{mod_name}.conf
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*_mod_%{mod_name}.conf
%attr(755,root,root) %{_pkglibdir}/*.so
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -76,6 +76,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.4 2009/10/25 22:47:40 glen
+- do not conflict with irrelevant apache 1 packages
+- update from apache template spec
+
Revision 1.3 2009/10/17 12:35:57 blues
- added cross-conflicts
@@ -84,4 +88,3 @@
Revision 1.1 2009/10/15 08:34:27 blues
- initial
-
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/apache-mod_extract_forwarded/apache-mod_extract_forwarded.spec?r1=1.3&r2=1.4&f=u
More information about the pld-cvs-commit
mailing list