From af2cbe8a5bec2b7971de137416d6e62ac1b96498 Mon Sep 17 00:00:00 2001 From: Prashanth Pai Date: Mon, 23 Sep 2013 11:47:21 +0530 Subject: Minor swiftkerbauth changes * Replaced python-webob with swift.common.swob * Use swift memcached instead of python memcached * Added optional debugging headers to swift-auth script * Swiftkerbauth and Apachekerbauth are now a single RPM * Updates to httpd conf file to specify Kerberos principal * Added setupy.py, makerpm.sh, .gitignore and MANIFEST.in * RPM is now generated by bdist_rpm using setup.py and not from spec files TODO -> Documentation changes in doc/ * Steps to setup kerberos environment * Swiftkerbauth usage and examples -> Testing swiftkerbauth * Investigate borrowing tests from tempauth.py and its dependencies * Write a python client script to test swiftkerbauth Signed-off-by: Prashanth Pai --- apachekerbauth/apachekerbauth.spec | 50 -------------------------------------- 1 file changed, 50 deletions(-) delete mode 100644 apachekerbauth/apachekerbauth.spec (limited to 'apachekerbauth/apachekerbauth.spec') diff --git a/apachekerbauth/apachekerbauth.spec b/apachekerbauth/apachekerbauth.spec deleted file mode 100644 index cc6210a..0000000 --- a/apachekerbauth/apachekerbauth.spec +++ /dev/null @@ -1,50 +0,0 @@ -Name: apachekerbauth -Version: 1.0 -Release: 3 -Summary: Kerberos authentication filter for Swift - -Group: System Environment/Base -License: GPL -Source: %{name}.tar.gz -BuildRoot: %{_tmppath}/%{name}-root - -Requires: httpd >= 2.2.15 -Requires: mod_auth_kerb >= 5.4 - -%description -Python CGI script which is used by the swiftkerbauth package to -authenticate client requests using Kerberos. - -%prep -%setup -q -n %{name} - -%build - -%install -rm -rf $RPM_BUILD_ROOT - -mkdir -p \ - $RPM_BUILD_ROOT/etc/httpd/conf.d \ - $RPM_BUILD_ROOT/var/www/cgi-bin - -install -m 644 etc/httpd/conf.d/* \ - $RPM_BUILD_ROOT/etc/httpd/conf.d - -install -m 644 var/www/cgi-bin/memcached.py \ - $RPM_BUILD_ROOT/var/www/cgi-bin - -install var/www/cgi-bin/swift-auth \ - $RPM_BUILD_ROOT/var/www/cgi-bin - -%clean -rm -rf $RPM_BUILD_ROOT - -%files -%defattr(-,root,root,-) -%config /etc/httpd/conf.d/swift-auth.conf -/var/www/cgi-bin/memcached.py -/var/www/cgi-bin/swift-auth - -%changelog -* Fri Apr 5 2013 Carsten Clasohm - 1.0-1 -- initial build -- cgit