/[smeserver]/rpms/pwauth/sme10/pwauth.spec
ViewVC logotype

Contents of /rpms/pwauth/sme10/pwauth.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Sun Feb 7 20:42:36 2016 UTC (8 years, 4 months ago) by stephdl
Branch: MAIN
CVS Tags: pwauth-2_3_10-5_el7_sme
* Sun Feb 7 2016 stephane de labrusse <stephdl@de-labrusse.fr> 2.3.10-5.sme
- Build new rpm for sme10

1 %global _hardened_build 1
2
3 Name: pwauth
4 Version: 2.3.10
5 Release: 5%{?dist}
6 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 Patch1: pwauth-make.patch
14 Patch2: pwauth-strchr.patch
15 Patch3: pwauth-cleanup.patch
16 Patch100: pwauth-config.patch
17 BuildRequires: pam-devel
18 Requires(pre): httpd, perl
19
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 %patch1 -p1 -b .make
31 %patch2 -p1 -b .strchr
32 %patch3 -p1 -b .cleanup
33 %patch100 -p1 -b .config
34
35 %build
36 export CFLAGS="${RPM_OPT_FLAGS}"
37 export LDFLAGS="${RPM_LD_FLAGS}"
38
39 make %{?_smp_mflags} CFLAGS="${CFLAGS} -Wno-comment" LDFLAGS="${LDFLAGS}"
40
41
42 %install
43 mkdir -p %{buildroot}%{_bindir} %{buildroot}%{_sysconfdir}/pam.d
44
45 install -p -m 4750 -t %{buildroot}%{_bindir} pwauth
46 install -p -m 0750 -t %{buildroot}%{_bindir} unixgroup
47 install -p -T %{SOURCE1} %{buildroot}%{_sysconfdir}/pam.d/pwauth
48
49
50 %clean
51
52
53 %files
54 %defattr(-,root,root,-)
55 %attr(4750,-,apache) %{_bindir}/pwauth
56 %attr(0750,-,apache) %{_bindir}/unixgroup
57 %attr(644,-,-) %{_sysconfdir}/pam.d/pwauth
58 %doc CHANGES INSTALL README
59
60
61 %changelog
62 * Sun Feb 7 2016 stephane de labrusse <stephdl@de-labrusse.fr> 2.3.10-5.sme
63 - Build new rpm for sme10
64
65 * Tue Jun 4 2013 Ian Wells <esmith@wellsi.com> 2.3.10-5.sme
66 - Apply SME Server config file changes [SME: 7654]
67
68 * Tue May 21 2013 Philip Prindeville <philipp@fedoraproject.org> 2.3.10-5
69 - Fix for bz#965461
70 - Get rid of some of the more worrisome compiler warnings.
71 - Use patch instead of sed to modify Makefile.
72
73 * Fri Mar 22 2013 Philip Prindeville <philipp@fedoraproject.org> 2.3.10-4
74 - Fix for bz#924881
75
76 * Wed Mar 6 2013 Shad L. Lords <slords@mail.com> 2.3.10-1.sme
77 - Update config file for SME Server [SME: 7319]
78
79 * Fri May 05 2012 Philip Prindeville <philipp@fedoraproject.org> 2.3.10-1
80 - Initial checkin after Fedora packaging review.
81
82 * Tue Apr 17 2012 Philip Prindeville <philipp@fedoraproject.org> 2.3.10-0
83 - Initial RPM packaging.

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed