%global _hardened_build 1 Name: pwauth Version: 2.3.10 Release: 5%{?dist} Summary: External plugin for mod_authnz_external authenticator Group: Applications/System License: BSD URL: http://code.google.com/p/pwauth/ Source0: http://pwauth.googlecode.com/files/%{name}-%{version}.tar.gz Source1: pwauth.pam Patch1: pwauth-make.patch Patch2: pwauth-strchr.patch Patch3: pwauth-cleanup.patch Patch100: pwauth-config.patch BuildRequires: pam-devel Requires(pre): httpd, perl %description Pwauth is an authenticator designed to be used with mod_auth_external or mod_authnz_external and the Apache HTTP daemon to support reasonably secure web authentication out of the system password database on most versions of Unix. %prep %setup -q %patch1 -p1 -b .make %patch2 -p1 -b .strchr %patch3 -p1 -b .cleanup %patch100 -p1 -b .config %build export CFLAGS="${RPM_OPT_FLAGS}" export LDFLAGS="${RPM_LD_FLAGS}" make %{?_smp_mflags} CFLAGS="${CFLAGS} -Wno-comment" LDFLAGS="${LDFLAGS}" %install mkdir -p %{buildroot}%{_bindir} %{buildroot}%{_sysconfdir}/pam.d install -p -m 4750 -t %{buildroot}%{_bindir} pwauth install -p -m 0750 -t %{buildroot}%{_bindir} unixgroup install -p -T %{SOURCE1} %{buildroot}%{_sysconfdir}/pam.d/pwauth %clean %files %defattr(-,root,root,-) %attr(4750,-,apache) %{_bindir}/pwauth %attr(0750,-,apache) %{_bindir}/unixgroup %attr(644,-,-) %{_sysconfdir}/pam.d/pwauth %doc CHANGES INSTALL README %changelog * Tue Jun 4 2013 Ian Wells 2.3.10-5.sme - Apply SME Server config file changes [SME: 7654] * Tue May 21 2013 Philip Prindeville 2.3.10-5 - Fix for bz#965461 - Get rid of some of the more worrisome compiler warnings. - Use patch instead of sed to modify Makefile. * Fri Mar 22 2013 Philip Prindeville 2.3.10-4 - Fix for bz#924881 * Wed Mar 6 2013 Shad L. Lords 2.3.10-1.sme - Update config file for SME Server [SME: 7319] * Fri May 05 2012 Philip Prindeville 2.3.10-1 - Initial checkin after Fedora packaging review. * Tue Apr 17 2012 Philip Prindeville 2.3.10-0 - Initial RPM packaging.