-
Notifications
You must be signed in to change notification settings - Fork 24
/
mod_auth_pubtkt.spec
73 lines (53 loc) · 2.11 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
Summary: Ticket-based authorization module for the Apache HTTP Server
Name: mod_auth_pubtkt
Version: 0.14
Release: 0
License: Apache
Group: Applications/System
Source0: https://github.com/manuelkasper/mod_auth_pubtkt/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
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
%define conf_file mod_auth_pubtkt.conf
%description
Single sign-on module for Apache, based on mod_auth_tkt.
%prep
%setup -q
%build
./configure
make
%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 %{conf_file} %{buildroot}/%{_sysconfdir}/httpd/conf.d
stat %{buildroot}/%{_sysconfdir}/httpd/conf.d/%{conf_file}
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/%{conf_file}
%changelog
* Thu Dec 17 2020 Manuel Kasper <[email protected]> 0.14-0
- Updated to latest version of mod_auth_pubtkt [0.14]
* Wed Jul 24 2019 Ron <[email protected]> 0.13-0
- Bump version [0.13]
* Tue Mar 13 2018 Nick Ramser <[email protected]> 0.12-0
- Updated to latest version of mod_auth_pubtkt [0.12]
* Fri Dec 16 2016 Jake Buchholz <[email protected]> 0.10-0
- Updated to latest version of mod_auth_pubtkt [0.10]
* 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