| 1 | Summary: scripts.mit.edu custom apache modules |
|---|
| 2 | Group: Applications/System |
|---|
| 3 | Name: httpdmods |
|---|
| 4 | Version: 0.00 |
|---|
| 5 | Release: 0 |
|---|
| 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 |
|---|
| 11 | %define debug_package %{nil} |
|---|
| 12 | |
|---|
| 13 | %description |
|---|
| 14 | |
|---|
| 15 | scripts.mit.edu custom apache modules |
|---|
| 16 | Contains: |
|---|
| 17 | - module to do authentication based on SSL certificates <mod_auth_sslcert> |
|---|
| 18 | - module to do authorization based on Athena AFS groups <mod_authz_afsgroup> |
|---|
| 19 | - module to enable optional authentication <mod_auth_optional> |
|---|
| 20 | - module to get vhosts from LDAP, taken from Debian <mod_vhost_ldap> |
|---|
| 21 | See http://scripts.mit.edu/wiki for more information. |
|---|
| 22 | |
|---|
| 23 | %prep |
|---|
| 24 | %setup -q -n %{name} |
|---|
| 25 | |
|---|
| 26 | %build |
|---|
| 27 | ./configure CFLAGS="-I/usr/include/httpd -I/usr/include/apr-1" |
|---|
| 28 | make |
|---|
| 29 | |
|---|
| 30 | %install |
|---|
| 31 | [ $RPM_BUILD_ROOT != / ] && rm -rf $RPM_BUILD_ROOT |
|---|
| 32 | install -D .libs/mod_auth_sslcert.so $RPM_BUILD_ROOT/usr/lib64/httpd/modules/mod_auth_sslcert.so |
|---|
| 33 | install -D .libs/mod_authz_afsgroup.so $RPM_BUILD_ROOT/usr/lib64/httpd/modules/mod_authz_afsgroup.so |
|---|
| 34 | install -D .libs/mod_auth_optional.so $RPM_BUILD_ROOT/usr/lib64/httpd/modules/mod_auth_optional.so |
|---|
| 35 | install -D .libs/mod_vhost_ldap.so $RPM_BUILD_ROOT/usr/lib64/httpd/modules/mod_vhost_ldap.so |
|---|
| 36 | |
|---|
| 37 | %clean |
|---|
| 38 | [ $RPM_BUILD_ROOT != / ] && rm -rf $RPM_BUILD_ROOT |
|---|
| 39 | |
|---|
| 40 | %files |
|---|
| 41 | %defattr(0755, root, root) |
|---|
| 42 | /usr/lib64/httpd/modules/mod_auth_sslcert.so |
|---|
| 43 | /usr/lib64/httpd/modules/mod_authz_afsgroup.so |
|---|
| 44 | /usr/lib64/httpd/modules/mod_auth_optional.so |
|---|
| 45 | /usr/lib64/httpd/modules/mod_vhost_ldap.so |
|---|
| 46 | |
|---|
| 47 | %changelog |
|---|
| 48 | |
|---|
| 49 | * Sun Jan 13 2006 Jeff Arnold <jbarnold@MIT.EDU> 0.00 |
|---|
| 50 | - initial prerelease version |
|---|