source: trunk/server/fedora/specs/httpdmods.spec @ 1796

Last change on this file since 1796 was 1796, checked in by mitchb, 14 years ago
New mod_original_dst - makes Apache use original destination IP In a setup where requests have passed through a transparent proxy, or an iptables REDIRECT rule, the destination address of the traffic changes. The netfilter code provides an option (SO_ORIGINAL_DST) to find out the original destination address. In an Apache vhost that is IP-based instead of name-based, you may need the original address in order to match the vhost. This module causes Apache to always see the original, instead of the redirected, destination. Apache module written by Anders Kaseorg Method for obtaining the original address pointed out by Quentin Smith Trivial packaging updates for Scripts by Mitch Berger
File size: 2.1 KB
Line 
1Summary: scripts.mit.edu custom apache modules
2Group: Applications/System
3Name: httpdmods
4Version: 0.%{scriptsversion}
5Release: 0
6Vendor: The scripts.mit.edu Team (scripts@mit.edu)
7URL: http://scripts.mit.edu
8License: GPL
9Source: %{name}.tar.gz
10BuildRoot: %{_tmppath}/%(%{__id_u} -n)-%{name}-%{version}-root
11BuildRequires: scripts-httpd-devel >= 2.2.15-1.fc11.1.scripts.1606
12Requires: httpd%{?_isa}
13Requires: scripts-httpd >= 2.2.15-1.fc11.1.scripts.1606
14%define debug_package %{nil}
15
16%description 
17
18scripts.mit.edu custom apache modules
19Contains:
20 - module to do authentication based on SSL certificates <mod_auth_sslcert>
21 - module to do authorization based on Athena AFS groups <mod_authz_afsgroup>
22 - module to enable optional authentication <mod_auth_optional>
23 - module to get vhosts from LDAP, taken from Debian <mod_vhost_ldap>
24 - module to use the original destination address of a request that
25     has gone through something like a transparent proxy <mod_original_dst>
26See http://scripts.mit.edu/wiki for more information.
27
28%prep
29%setup -q -n %{name}
30
31%build
32./configure CFLAGS="-I/usr/include/httpd -I/usr/include/apr-1"
33make
34
35%install
36[ $RPM_BUILD_ROOT != / ] && rm -rf $RPM_BUILD_ROOT
37install -D .libs/mod_auth_sslcert.so $RPM_BUILD_ROOT/usr/lib64/httpd/modules/mod_auth_sslcert.so
38install -D .libs/mod_authz_afsgroup.so $RPM_BUILD_ROOT/usr/lib64/httpd/modules/mod_authz_afsgroup.so
39install -D .libs/mod_auth_optional.so $RPM_BUILD_ROOT/usr/lib64/httpd/modules/mod_auth_optional.so
40install -D .libs/mod_vhost_ldap.so $RPM_BUILD_ROOT/usr/lib64/httpd/modules/mod_vhost_ldap.so
41install -D .libs/mod_original_dst.so $RPM_BUILD_ROOT/usr/lib64/httpd/modules/mod_original_dst.so
42
43%clean
44[ $RPM_BUILD_ROOT != / ] && rm -rf $RPM_BUILD_ROOT
45
46%files
47%defattr(0755, root, root)
48/usr/lib64/httpd/modules/mod_auth_sslcert.so
49/usr/lib64/httpd/modules/mod_authz_afsgroup.so
50/usr/lib64/httpd/modules/mod_auth_optional.so
51/usr/lib64/httpd/modules/mod_vhost_ldap.so
52/usr/lib64/httpd/modules/mod_original_dst.so
53
54%changelog
55
56* Sun Jan 13 2006  Jeff Arnold <jbarnold@MIT.EDU> 0.00
57- initial prerelease version
Note: See TracBrowser for help on using the repository browser.