1 |
stephdl |
1.1 |
%global _hardened_build 1 |
2 |
|
|
|
3 |
|
|
Name: pwauth |
4 |
|
|
Version: 2.3.10 |
5 |
vip-ire |
1.2 |
Release: 10%{?dist} |
6 |
stephdl |
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 |
vip-ire |
1.2 |
Patch1: pwauth-make.patch |
14 |
stephdl |
1.1 |
Patch2: pwauth-strchr.patch |
15 |
|
|
Patch3: pwauth-cleanup.patch |
16 |
vip-ire |
1.2 |
|
17 |
stephdl |
1.1 |
Patch100: pwauth-config.patch |
18 |
vip-ire |
1.2 |
|
19 |
stephdl |
1.1 |
BuildRequires: pam-devel |
20 |
|
|
Requires(pre): httpd, perl |
21 |
|
|
|
22 |
|
|
%description |
23 |
|
|
Pwauth is an authenticator designed to be used with mod_auth_external |
24 |
|
|
or mod_authnz_external and the Apache HTTP daemon to support reasonably |
25 |
|
|
secure web authentication out of the system password database on most |
26 |
|
|
versions of Unix. |
27 |
|
|
|
28 |
|
|
|
29 |
|
|
%prep |
30 |
|
|
%setup -q |
31 |
|
|
|
32 |
|
|
%patch1 -p1 -b .make |
33 |
|
|
%patch2 -p1 -b .strchr |
34 |
|
|
%patch3 -p1 -b .cleanup |
35 |
|
|
%patch100 -p1 -b .config |
36 |
|
|
|
37 |
|
|
%build |
38 |
|
|
export CFLAGS="${RPM_OPT_FLAGS}" |
39 |
|
|
export LDFLAGS="${RPM_LD_FLAGS}" |
40 |
|
|
|
41 |
|
|
make %{?_smp_mflags} CFLAGS="${CFLAGS} -Wno-comment" LDFLAGS="${LDFLAGS}" |
42 |
|
|
|
43 |
|
|
|
44 |
|
|
%install |
45 |
|
|
mkdir -p %{buildroot}%{_bindir} %{buildroot}%{_sysconfdir}/pam.d |
46 |
|
|
|
47 |
|
|
install -p -m 4750 -t %{buildroot}%{_bindir} pwauth |
48 |
|
|
install -p -m 0750 -t %{buildroot}%{_bindir} unixgroup |
49 |
|
|
install -p -T %{SOURCE1} %{buildroot}%{_sysconfdir}/pam.d/pwauth |
50 |
|
|
|
51 |
|
|
|
52 |
|
|
%clean |
53 |
|
|
|
54 |
|
|
|
55 |
|
|
%files |
56 |
|
|
%defattr(-,root,root,-) |
57 |
|
|
%attr(4750,-,apache) %{_bindir}/pwauth |
58 |
|
|
%attr(0750,-,apache) %{_bindir}/unixgroup |
59 |
|
|
%attr(644,-,-) %{_sysconfdir}/pam.d/pwauth |
60 |
|
|
%doc CHANGES INSTALL README |
61 |
|
|
|
62 |
|
|
|
63 |
|
|
%changelog |
64 |
vip-ire |
1.2 |
* Tue Apr 12 2016 Daniel Berteaud <daniel@firewall-services.com> - 2.3.10-10.sme |
65 |
|
|
- Rebase on latest EPEL build, reapply SME Server config [SME: 9442] |
66 |
|
|
|
67 |
|
|
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.10-9 |
68 |
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild |
69 |
stephdl |
1.1 |
|
70 |
vip-ire |
1.2 |
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.10-8 |
71 |
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild |
72 |
|
|
|
73 |
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.10-7 |
74 |
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild |
75 |
|
|
|
76 |
|
|
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.10-6 |
77 |
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild |
78 |
stephdl |
1.1 |
|
79 |
|
|
* Tue May 21 2013 Philip Prindeville <philipp@fedoraproject.org> 2.3.10-5 |
80 |
|
|
- Fix for bz#965461 |
81 |
|
|
- Get rid of some of the more worrisome compiler warnings. |
82 |
|
|
- Use patch instead of sed to modify Makefile. |
83 |
|
|
|
84 |
|
|
* Fri Mar 22 2013 Philip Prindeville <philipp@fedoraproject.org> 2.3.10-4 |
85 |
|
|
- Fix for bz#924881 |
86 |
|
|
|
87 |
vip-ire |
1.2 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.10-3 |
88 |
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild |
89 |
|
|
|
90 |
|
|
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.10-2 |
91 |
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild |
92 |
stephdl |
1.1 |
|
93 |
vip-ire |
1.2 |
* Fri May 04 2012 Philip Prindeville <philipp@fedoraproject.org> 2.3.10-1 |
94 |
stephdl |
1.1 |
- Initial checkin after Fedora packaging review. |
95 |
|
|
|
96 |
|
|
* Tue Apr 17 2012 Philip Prindeville <philipp@fedoraproject.org> 2.3.10-0 |
97 |
|
|
- Initial RPM packaging. |