forked from manuelkasper/mod_auth_pubtkt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmod_auth_pubtkt.spec
58 lines (44 loc) · 1.71 KB
/
mod_auth_pubtkt.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
Summary: Ticket-based authorization module for the Apache HTTP Server
Name: mod_auth_pubtkt
Version: 0.9
Release: 0
License: Apache
Group: Applications/System
Source0: https://neon1.net/mod_auth_pubtkt/mod_auth_pubtkt-0.9.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
%config %{_sysconfdir}/httpd/conf.d/auth_pubtkt.conf
%changelog
* Wed Sep 09 2015 Manuel Kasper <[email protected]> 0.9-0
- Updated to latest version of mod_auth_pubtkt [0.9]
* Tue Mar 26 2013 John Wittkoski <[email protected]> 0.8-0
- Updated to latest version of mod_auth_pubtkt [0.8]
* Mon Jun 04 2012 Manuel Kasper <[email protected]> 0.7-0
- Updated to latest version of mod_auth_pubtkt [0.7]
* Sat Sep 19 2009 Omachonu Ogali <[email protected]> 0.6-0
- Updated to latest version of mod_auth_pubtkt [0.6]
* Tue Sep 08 2009 Omachonu Ogali <[email protected]> 0.5-0
- Initial package creation