forked from manuelkasper/mod_auth_pubtkt
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(contributed by Omachonu Ogali <oogali@gmail.com>).
- Loading branch information
1 parent
71d3c9f
commit 612d288
Showing
2 changed files
with
67 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
LoadModule auth_pubtkt_module modules/mod_auth_pubtkt.so | ||
|
||
#TKTAuthPublicKey conf.d/auth/pubkey-rsa.pem | ||
# | ||
#<Directory /path/protected/by/sso> | ||
# Order allow,deny | ||
# Allow from all | ||
# | ||
# AuthType mod_auth_pubtkt | ||
# TKTAuthLoginURL http://sso.company.com/sso/login | ||
# TKTAuthTimeoutURL http://sso.company.com/sso/login?timeout=1 | ||
# TKTAuthUnauthURL http://sso.company.com/sso/login?unauth=1 | ||
# | ||
# TKTAuthCookieName "auth_pubtkt" | ||
# TKTAuthRequireSSL off | ||
# | ||
# require valid-user | ||
#</Directory> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
Summary: Ticket-based authorization module for the Apache HTTP Server | ||
Name: mod_auth_pubtkt | ||
Version: 0.6 | ||
Release: 0 | ||
License: Apache | ||
Group: Applications/System | ||
Source0: https://neon1.net/mod_auth_pubtkt/mod_auth_pubtkt-0.6.tar.gz | ||
Source1: mod_auth_pubtkt.conf | ||
URL: https://neon1.net/mod_auth_pubtkt/ | ||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot | ||
BuildRequires: httpd-devel, openssl-devel | ||
Requires: httpd-mmn = %(cat %{_includedir}/httpd/.mmn || echo httpd-devel missing) | ||
Requires: openssl | ||
|
||
%description | ||
Single sign-on module for Apache, based on mod_auth_tkt. | ||
|
||
%prep | ||
%setup -q | ||
|
||
%build | ||
./configure --apxs=%{_sbindir}/apxs | ||
%{_sbindir}/apxs -c -Wc,"-Wall -ansi" -Wl,-lcrypto src/mod_auth_pubtkt.c | ||
|
||
%install | ||
rm -rf %{buildroot} | ||
|
||
mkdir -p %{buildroot}/%{_libdir}/httpd/modules | ||
mkdir -p %{buildroot}/%{_sysconfdir}/httpd/conf.d | ||
|
||
install -m 755 src/.libs/mod_auth_pubtkt.so %{buildroot}/%{_libdir}/httpd/modules | ||
install -m 644 %{_sourcedir}/auth_pubtkt.conf %{buildroot}/%{_sysconfdir}/httpd/conf.d/ | ||
|
||
rm -f %{buildroot}/%{_libdir}/httpd/modules/{*.la,*.so.*} | ||
|
||
%clean | ||
rm -rf %{buildroot} | ||
|
||
%files | ||
%defattr(-,root,root,-) | ||
%{_libdir}/httpd/modules/*.so | ||
%{_sysconfdir}/httpd/conf.d/auth_pubtkt.conf | ||
|
||
%changelog | ||
* Sat Sep 19 2009 Omachonu Ogali <oogali@currenex.com> 0.6-0 | ||
- Updated to latest version of mod_auth_pubtkt [0.6] | ||
|
||
* Tue Sep 08 2009 Omachonu Ogali <oogali@currenex.com> 0.5-0 | ||
- Initial package creation |