1 |
|
%global _hardened_build 1 |
2 |
|
|
3 |
Name: pwauth |
Name: pwauth |
4 |
Version: 2.3.10 |
Version: 2.3.10 |
5 |
Release: 4%{?dist} |
Release: 5%{?dist} |
6 |
Summary: External plugin for mod_authnz_external authenticator |
Summary: External plugin for mod_authnz_external authenticator |
7 |
|
|
8 |
Group: Applications/System |
Group: Applications/System |
10 |
URL: http://code.google.com/p/pwauth/ |
URL: http://code.google.com/p/pwauth/ |
11 |
Source0: http://pwauth.googlecode.com/files/%{name}-%{version}.tar.gz |
Source0: http://pwauth.googlecode.com/files/%{name}-%{version}.tar.gz |
12 |
Source1: pwauth.pam |
Source1: pwauth.pam |
13 |
Patch1: pwauth-strchr.patch |
Patch1: pwauth-make.patch |
14 |
Patch2: pwauth-config.patch |
Patch2: pwauth-strchr.patch |
15 |
|
Patch3: pwauth-cleanup.patch |
16 |
|
Patch100: pwauth-config.patch |
17 |
BuildRequires: pam-devel |
BuildRequires: pam-devel |
18 |
Requires(pre): httpd, perl |
Requires(pre): httpd, perl |
19 |
|
|
27 |
%prep |
%prep |
28 |
%setup -q |
%setup -q |
29 |
|
|
30 |
%patch1 -p1 -b .strchr |
%patch1 -p1 -b .make |
31 |
%patch2 -p1 -b .config |
%patch2 -p1 -b .strchr |
32 |
|
%patch3 -p1 -b .cleanup |
33 |
|
%patch100 -p1 -b .config |
34 |
|
|
35 |
%build |
%build |
36 |
sed -i.orig -r \ |
export CFLAGS="${RPM_OPT_FLAGS}" |
37 |
-e 's@^#define SHADOW_@/* &@' \ |
export LDFLAGS="${RPM_LD_FLAGS}" |
|
-e 's@^/\* (#define PAM[^_])@\1@' \ |
|
|
-e 's@^(#define (NOLOGIN_FILE|MIN_NOLOGIN_UID|SERVER_UIDS))@/* \1@' \ |
|
|
config.h |
|
|
|
|
|
sed -i.orig -r \ |
|
|
-e 's@^# (LIB=-lpam -ldl)@\1@' \ |
|
|
-e 's@^CFLAGS= \$\(LOCALFLAGS\)@# &@' \ |
|
|
Makefile |
|
38 |
|
|
39 |
make %{?_smp_mflags} CFLAGS="${RPM_OPT_FLAGS} -Wno-comment" |
make %{?_smp_mflags} CFLAGS="${CFLAGS} -Wno-comment" LDFLAGS="${LDFLAGS}" |
40 |
|
|
41 |
|
|
42 |
%install |
%install |
59 |
|
|
60 |
|
|
61 |
%changelog |
%changelog |
62 |
|
* 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 |
* Fri Mar 22 2013 Philip Prindeville <philipp@fedoraproject.org> 2.3.10-4 |
* Fri Mar 22 2013 Philip Prindeville <philipp@fedoraproject.org> 2.3.10-4 |
71 |
- Fix for bz#924881 |
- Fix for bz#924881 |
72 |
|
|