source: branches/fc13-dev/server/fedora/specs/httpdmods.spec @ 1674

Last change on this file since 1674 was 1607, checked in by gdb, 14 years ago
Make httpdmods require scripts-httpd Our patched mod-vhost-ldap uses an Apache API function from our custom Apache build.
File size: 1.8 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: scripts-httpd >= 2.2.15-1.fc11.1.scripts.1606
13%define debug_package %{nil}
14
15%description 
16
17scripts.mit.edu custom apache modules
18Contains:
19 - module to do authentication based on SSL certificates <mod_auth_sslcert>
20 - module to do authorization based on Athena AFS groups <mod_authz_afsgroup>
21 - module to enable optional authentication <mod_auth_optional>
22 - module to get vhosts from LDAP, taken from Debian <mod_vhost_ldap>
23See http://scripts.mit.edu/wiki for more information.
24
25%prep
26%setup -q -n %{name}
27
28%build
29./configure CFLAGS="-I/usr/include/httpd -I/usr/include/apr-1"
30make
31
32%install
33[ $RPM_BUILD_ROOT != / ] && rm -rf $RPM_BUILD_ROOT
34install -D .libs/mod_auth_sslcert.so $RPM_BUILD_ROOT/usr/lib64/httpd/modules/mod_auth_sslcert.so
35install -D .libs/mod_authz_afsgroup.so $RPM_BUILD_ROOT/usr/lib64/httpd/modules/mod_authz_afsgroup.so
36install -D .libs/mod_auth_optional.so $RPM_BUILD_ROOT/usr/lib64/httpd/modules/mod_auth_optional.so
37install -D .libs/mod_vhost_ldap.so $RPM_BUILD_ROOT/usr/lib64/httpd/modules/mod_vhost_ldap.so
38
39%clean
40[ $RPM_BUILD_ROOT != / ] && rm -rf $RPM_BUILD_ROOT
41
42%files
43%defattr(0755, root, root)
44/usr/lib64/httpd/modules/mod_auth_sslcert.so
45/usr/lib64/httpd/modules/mod_authz_afsgroup.so
46/usr/lib64/httpd/modules/mod_auth_optional.so
47/usr/lib64/httpd/modules/mod_vhost_ldap.so
48
49%changelog
50
51* Sun Jan 13 2006  Jeff Arnold <jbarnold@MIT.EDU> 0.00
52- initial prerelease version
Note: See TracBrowser for help on using the repository browser.