| [57] | 1 | Summary: scripts.mit.edu custom apache modules | 
|---|
|  | 2 | Group: Applications/System | 
|---|
|  | 3 | Name: httpdmods | 
|---|
| [926] | 4 | Version: 0.%{scriptsversion} | 
|---|
| [120] | 5 | Release: 0 | 
|---|
| [57] | 6 | Vendor: The scripts.mit.edu Team (scripts@mit.edu) | 
|---|
|  | 7 | URL: http://scripts.mit.edu | 
|---|
|  | 8 | License: GPL | 
|---|
|  | 9 | Source: %{name}.tar.gz | 
|---|
|  | 10 | BuildRoot: %{_tmppath}/%(%{__id_u} -n)-%{name}-%{version}-root | 
|---|
| [1607] | 11 | BuildRequires: scripts-httpd-devel >= 2.2.15-1.fc11.1.scripts.1606 | 
|---|
|  | 12 | Requires: scripts-httpd >= 2.2.15-1.fc11.1.scripts.1606 | 
|---|
| [57] | 13 | %define debug_package %{nil} | 
|---|
|  | 14 |  | 
|---|
|  | 15 | %description | 
|---|
|  | 16 |  | 
|---|
|  | 17 | scripts.mit.edu custom apache modules | 
|---|
|  | 18 | Contains: | 
|---|
|  | 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> | 
|---|
| [390] | 21 | - module to enable optional authentication <mod_auth_optional> | 
|---|
| [480] | 22 | - module to get vhosts from LDAP, taken from Debian <mod_vhost_ldap> | 
|---|
| [57] | 23 | See 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" | 
|---|
|  | 30 | make | 
|---|
|  | 31 |  | 
|---|
|  | 32 | %install | 
|---|
|  | 33 | [ $RPM_BUILD_ROOT != / ] && rm -rf $RPM_BUILD_ROOT | 
|---|
| [389] | 34 | install -D .libs/mod_auth_sslcert.so $RPM_BUILD_ROOT/usr/lib64/httpd/modules/mod_auth_sslcert.so | 
|---|
|  | 35 | install -D .libs/mod_authz_afsgroup.so $RPM_BUILD_ROOT/usr/lib64/httpd/modules/mod_authz_afsgroup.so | 
|---|
| [390] | 36 | install -D .libs/mod_auth_optional.so $RPM_BUILD_ROOT/usr/lib64/httpd/modules/mod_auth_optional.so | 
|---|
| [480] | 37 | install -D .libs/mod_vhost_ldap.so $RPM_BUILD_ROOT/usr/lib64/httpd/modules/mod_vhost_ldap.so | 
|---|
| [57] | 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 | 
|---|
| [390] | 46 | /usr/lib64/httpd/modules/mod_auth_optional.so | 
|---|
| [480] | 47 | /usr/lib64/httpd/modules/mod_vhost_ldap.so | 
|---|
| [57] | 48 |  | 
|---|
|  | 49 | %changelog | 
|---|
|  | 50 |  | 
|---|
|  | 51 | * Sun Jan 13 2006  Jeff Arnold <jbarnold@MIT.EDU> 0.00 | 
|---|
|  | 52 | - initial prerelease version | 
|---|