File: mod_auth_pubtkt.spec

package info (click to toggle)
libapache2-mod-auth-pubtkt 0.7-1
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 284 kB
  • sloc: ansic: 993; perl: 245; php: 198; sh: 109; makefile: 29
file content (52 lines) | stat: -rw-r--r-- 1,533 bytes parent folder | download | duplicates (2)
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
Summary: Ticket-based authorization module for the Apache HTTP Server
Name: mod_auth_pubtkt
Version: 0.7
Release: 0
License: Apache
Group: Applications/System
Source0: https://neon1.net/mod_auth_pubtkt/mod_auth_pubtkt-0.7.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
* Mon Jun 04 2012 Manuel Kasper <mk@neon1.net> 0.7-0
- Updated to latest version of mod_auth_pubtkt [0.7]

* 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