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

Contents of /rpms/pwauth/sme9/pwauth.spec

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


Revision 1.2 - (show annotations) (download)
Tue May 21 15:09:44 2013 UTC (11 years, 5 months ago) by wellsi
Branch: MAIN
CVS Tags: pwauth-2_3_10-4_el6_sme
Changes since 1.1: +9 -3 lines
* Fri Mar 22 2013 Philip Prindeville <philipp@fedoraproject.org> 2.3.10-4
- Fix for bz#924881

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

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