1 |
wellsi |
1.3 |
%global _hardened_build 1 |
2 |
|
|
|
3 |
slords |
1.1 |
Name: pwauth |
4 |
|
|
Version: 2.3.10 |
5 |
wellsi |
1.3 |
Release: 5%{?dist} |
6 |
slords |
1.1 |
Summary: External plugin for mod_authnz_external authenticator |
7 |
|
|
|
8 |
|
|
Group: Applications/System |
9 |
|
|
License: BSD |
10 |
|
|
URL: http://code.google.com/p/pwauth/ |
11 |
|
|
Source0: http://pwauth.googlecode.com/files/%{name}-%{version}.tar.gz |
12 |
|
|
Source1: pwauth.pam |
13 |
wellsi |
1.3 |
Patch1: pwauth-make.patch |
14 |
|
|
Patch2: pwauth-strchr.patch |
15 |
|
|
Patch3: pwauth-cleanup.patch |
16 |
|
|
Patch100: pwauth-config.patch |
17 |
slords |
1.1 |
BuildRequires: pam-devel |
18 |
wellsi |
1.2 |
Requires(pre): httpd, perl |
19 |
slords |
1.1 |
|
20 |
|
|
%description |
21 |
|
|
Pwauth is an authenticator designed to be used with mod_auth_external |
22 |
|
|
or mod_authnz_external and the Apache HTTP daemon to support reasonably |
23 |
|
|
secure web authentication out of the system password database on most |
24 |
|
|
versions of Unix. |
25 |
|
|
|
26 |
|
|
|
27 |
|
|
%prep |
28 |
|
|
%setup -q |
29 |
|
|
|
30 |
wellsi |
1.3 |
%patch1 -p1 -b .make |
31 |
|
|
%patch2 -p1 -b .strchr |
32 |
|
|
%patch3 -p1 -b .cleanup |
33 |
|
|
%patch100 -p1 -b .config |
34 |
slords |
1.1 |
|
35 |
|
|
%build |
36 |
wellsi |
1.3 |
export CFLAGS="${RPM_OPT_FLAGS}" |
37 |
|
|
export LDFLAGS="${RPM_LD_FLAGS}" |
38 |
slords |
1.1 |
|
39 |
wellsi |
1.3 |
make %{?_smp_mflags} CFLAGS="${CFLAGS} -Wno-comment" LDFLAGS="${LDFLAGS}" |
40 |
slords |
1.1 |
|
41 |
|
|
|
42 |
|
|
%install |
43 |
|
|
mkdir -p %{buildroot}%{_bindir} %{buildroot}%{_sysconfdir}/pam.d |
44 |
|
|
|
45 |
|
|
install -p -m 4750 -t %{buildroot}%{_bindir} pwauth |
46 |
wellsi |
1.2 |
install -p -m 0750 -t %{buildroot}%{_bindir} unixgroup |
47 |
slords |
1.1 |
install -p -T %{SOURCE1} %{buildroot}%{_sysconfdir}/pam.d/pwauth |
48 |
|
|
|
49 |
|
|
|
50 |
|
|
%clean |
51 |
|
|
|
52 |
|
|
|
53 |
|
|
%files |
54 |
wellsi |
1.2 |
%defattr(-,root,root,-) |
55 |
|
|
%attr(4750,-,apache) %{_bindir}/pwauth |
56 |
|
|
%attr(0750,-,apache) %{_bindir}/unixgroup |
57 |
slords |
1.1 |
%attr(644,-,-) %{_sysconfdir}/pam.d/pwauth |
58 |
|
|
%doc CHANGES INSTALL README |
59 |
|
|
|
60 |
|
|
|
61 |
|
|
%changelog |
62 |
wellsi |
1.3 |
* Tue Jun 4 2013 Ian Wells <esmith@wellsi.com> 2.3.10-5.sme |
63 |
|
|
- Apply SME Server config file changes [SME: 7654] |
64 |
|
|
|
65 |
|
|
* Tue May 21 2013 Philip Prindeville <philipp@fedoraproject.org> 2.3.10-5 |
66 |
|
|
- Fix for bz#965461 |
67 |
|
|
- Get rid of some of the more worrisome compiler warnings. |
68 |
|
|
- Use patch instead of sed to modify Makefile. |
69 |
|
|
|
70 |
wellsi |
1.2 |
* Fri Mar 22 2013 Philip Prindeville <philipp@fedoraproject.org> 2.3.10-4 |
71 |
|
|
- Fix for bz#924881 |
72 |
|
|
|
73 |
slords |
1.1 |
* Wed Mar 6 2013 Shad L. Lords <slords@mail.com> 2.3.10-1.sme |
74 |
|
|
- Update config file for SME Server [SME: 7319] |
75 |
|
|
|
76 |
|
|
* Fri May 05 2012 Philip Prindeville <philipp@fedoraproject.org> 2.3.10-1 |
77 |
|
|
- Initial checkin after Fedora packaging review. |
78 |
|
|
|
79 |
|
|
* Tue Apr 17 2012 Philip Prindeville <philipp@fedoraproject.org> 2.3.10-0 |
80 |
|
|
- Initial RPM packaging. |