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

Diff of /rpms/pwauth/sme9/pwauth.spec

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

Revision 1.1 by slords, Wed Mar 6 22:16:46 2013 UTC Revision 1.3 by wellsi, Wed Jun 5 03:54:10 2013 UTC
# Line 1  Line 1 
1    %global _hardened_build 1
2    
3  Name:           pwauth  Name:           pwauth
4  Version:        2.3.10  Version:        2.3.10
5  Release:        1%{?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
# Line 8  License:        BSD Line 10  License:        BSD
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  Requires(pre):  httpd, perl
19    
20  %description  %description
21  Pwauth is an authenticator designed to be used with mod_auth_external  Pwauth is an authenticator designed to be used with mod_auth_external
# Line 24  versions of Unix. Line 27  versions of Unix.
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
43  mkdir -p %{buildroot}%{_bindir} %{buildroot}%{_sysconfdir}/pam.d  mkdir -p %{buildroot}%{_bindir} %{buildroot}%{_sysconfdir}/pam.d
44    
45  install -p -m 4750 -t %{buildroot}%{_bindir} pwauth  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  install -p -T %{SOURCE1} %{buildroot}%{_sysconfdir}/pam.d/pwauth
48    
49    
# Line 53  install -p -T %{SOURCE1} %{buildroot}%{_ Line 51  install -p -T %{SOURCE1} %{buildroot}%{_
51    
52    
53  %files  %files
54  %attr(4750,root,apache) %{_bindir}/pwauth  %defattr(-,root,root,-)
55    %attr(4750,-,apache) %{_bindir}/pwauth
56    %attr(0750,-,apache) %{_bindir}/unixgroup
57  %attr(644,-,-) %{_sysconfdir}/pam.d/pwauth  %attr(644,-,-) %{_sysconfdir}/pam.d/pwauth
58  %doc CHANGES INSTALL README  %doc CHANGES INSTALL README
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
71    - Fix for bz#924881
72    
73  * Wed Mar 6 2013 Shad L. Lords <slords@mail.com> 2.3.10-1.sme  * Wed Mar 6 2013 Shad L. Lords <slords@mail.com> 2.3.10-1.sme
74  - Update config file for SME Server [SME: 7319]  - Update config file for SME Server [SME: 7319]
75    


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

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