diff options
author | Prashanth Pai <ppai@redhat.com> | 2013-09-23 11:47:21 +0530 |
---|---|---|
committer | Prashanth Pai <ppai@redhat.com> | 2013-09-23 11:57:31 +0530 |
commit | af2cbe8a5bec2b7971de137416d6e62ac1b96498 (patch) | |
tree | 42de6bfc2b380f27512956a7c0392ede9e0889e1 /swiftkerbauth/swiftkerbauth.spec | |
parent | 728157e52fe3212d50edfc17fcd72e1aaf9a6e76 (diff) |
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 <ppai@redhat.com>
Diffstat (limited to 'swiftkerbauth/swiftkerbauth.spec')
-rw-r--r-- | swiftkerbauth/swiftkerbauth.spec | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/swiftkerbauth/swiftkerbauth.spec b/swiftkerbauth/swiftkerbauth.spec deleted file mode 100644 index f01dc8d..0000000 --- a/swiftkerbauth/swiftkerbauth.spec +++ /dev/null @@ -1,54 +0,0 @@ -Name: swiftkerbauth -Version: 1.0 -Release: 1 -Summary: Kerberos authentication filter for Swift - -Group: System Environment/Base -License: GPL -Source: %{name}.tar.gz -BuildRoot: %{_tmppath}/%{name}-root - -Requires: gluster-swift >= 1.4.8 -Requires: python-webob1.0 >= 1.0.8 - -%description -Python script which implements an authentication filter for Swift, the -object-level access layer of Red Hat Storage. - -Relies on an external authentication server, which comes with the -apachekerbauth package. - -%prep -%setup -q -n %{name} - -%build - -%install -rm -rf $RPM_BUILD_ROOT - -mkdir -p \ - $RPM_BUILD_ROOT/usr/lib/python2.6/site-packages - -install swiftkerbauth.py \ - $RPM_BUILD_ROOT/usr/lib/python2.6/site-packages - -%clean -rm -rf $RPM_BUILD_ROOT - -%files -%defattr(-,root,root,-) -/usr/lib/python2.6/site-packages/swiftkerbauth.py - -%post -if ! grep -q "filter:kerbauth" /etc/swift/proxy-server.conf; then -cat >>/etc/swift/proxy-server.conf <<EOF - -[filter:kerbauth] -paste.filter_factory = swiftkerbauth:filter_factory -ext_authentication_url = http://AUTHENTICATION_SERVER/cgi-bin/swift-auth -EOF -fi - -%changelog -* Fri Apr 5 2013 Carsten Clasohm <clasohm@redhat.com> - 1.0-1 -- initial build |