File tree Expand file tree Collapse file tree 2 files changed +49
-0
lines changed
Expand file tree Collapse file tree 2 files changed +49
-0
lines changed Original file line number Diff line number Diff line change 1+ Name: mod_auth_gssapi
2+ Version: 1.0.0
3+ Release: 1%{?dist }
4+ Summary: A GSSAPI Authentication module for Apache
5+
6+ Group: System Environment/Daemons
7+ License: MIT
8+ URL: https://github.com/modauthgssapi/mod_auth_gssapi
9+ Source0: https://github.com/modauthgssapi/%{name }/releases/download/v%{version }/%name -%{version }.tar.gz
10+
11+ BuildRequires: httpd-devel, krb5-devel
12+ Requires: httpd-mmn = %{_httpd_mmn }
13+ Requires: krb5-libs >= 1.11.5
14+
15+ %description
16+ The modauht_gssapi module is an authentication service that implements the
17+ SPNEGO based HTTP Authentication protocol defined in RFC4559.
18+
19+ %prep
20+ %setup -q
21+
22+
23+ %build
24+ export APXS=%{_httpd_apxs }
25+ %configure
26+ make %{?_smp_mflags }
27+
28+
29+ %install
30+ make install DESTDIR=%{buildroot }%{_httpd_moddir }
31+ install -m 755 .libs/%{name }.so %{buildroot }%{_httpd_moddir }
32+
33+ # Apache configuration for the module
34+ echo "LoadModule auth_gssapi_module modules/mod_auth_gssapi.so" > 10-auth_gssapi.conf
35+ mkdir -p %{buildroot }%{_httpd_modconfdir }
36+ install -m 644 10-auth_gssapi.conf %{buildroot }%{_httpd_modconfdir }
37+
38+ %files
39+ %doc
40+ %defattr(-,root,root)
41+ %doc README COPYING
42+ %config(noreplace) %{_httpd_modconfdir }/10-auth_gssapi.conf
43+ %{_httpd_moddir }/mod_auth_gssapi.so
44+
45+ %changelog
46+ * Tue Jun 24 2014 Simo Sorce <simo@redhat.com> 1.0.0-1
47+ - First spec
Original file line number Diff line number Diff line change 1+ EXTRA_DIST = mod_auth_gssapi.c sessions.c crypto.c mod_auth_gssapi.h sessions.h crypto.h
2+
13all-local :
24 @APXS@ -c ${LIBS} ${CFLAGS} mod_auth_gssapi.c sessions.c crypto.c
35
You can’t perform that action at this time.
0 commit comments