[pam_radius/el5] Update spec to guidelines and fix build on new arches
Tim Lank
timlank at fedoraproject.org
Tue Feb 17 17:34:35 UTC 2015
commit 99a6311b5dff655329305de8f5068d568b4d3df8
Author: Tim Lank <timlank at timlank.com>
Date: Tue Feb 17 12:34:21 2015 -0500
Update spec to guidelines and fix build on new arches
.gitignore | 6 ++
Makefile-build-shared-library.patch | 19 --------
pam_radius-1.4.0.tar.gz | Bin 0 -> 179458 bytes
pam_radius-md5-ppc-fix.patch | 19 --------
pam_radius.spec | 47 ++++++++-----------
pam_radius_auth-conffile-location.patch | 4 +-
pam_radius_auth-debug-consistency.patch | 77 -------------------------------
radius-conffile-location.patch | 4 +-
sources | 7 ++-
9 files changed, 35 insertions(+), 148 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index f683c13..272c067 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,7 @@
pam_radius-1.3.17.tar.gz
+/pam_radius-1.4.0.tar.gz
+/pam_radius.spec
+/INSTALL-doc.patch
+/pam_radius_auth-conffile-location.patch
+/pam_radius_auth-conf-inlinedoc.patch
+/radius-conffile-location.patch
diff --git a/pam_radius-1.4.0.tar.gz b/pam_radius-1.4.0.tar.gz
new file mode 100644
index 0000000..4f54ca6
Binary files /dev/null and b/pam_radius-1.4.0.tar.gz differ
diff --git a/pam_radius.spec b/pam_radius.spec
index c909629..b29a41e 100644
--- a/pam_radius.spec
+++ b/pam_radius.spec
@@ -1,35 +1,26 @@
Name: pam_radius
Summary: PAM Module for RADIUS Authentication
-Version: 1.3.17
+Version: 1.4.0
Release: 2%{?dist}
-Source: ftp://ftp.freeradius.org/pub/radius/pam_radius-%{version}.tar.gz
+License: GPLv2+
URL: http://www.freeradius.org/pam_radius_auth/
Group: System Environment/Libraries
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}
-License: GPLv2+
+
+Source: ftp://ftp.freeradius.org/pub/radius/pam_radius-%{version}.tar.gz
Requires: pam
BuildRequires: pam-devel
-# patches inconsistencies in debug output
-# Sent upstream via email 20100106
-Patch1: pam_radius_auth-debug-consistency.patch
-# patches Makefile to ensure shared library builds properly in Fedora
-# Sent upstream via email 20100114
-Patch2: Makefile-build-shared-library.patch
-# patch adds ability to accommodate high-order bit first for Power PC
-# Sent upstream via email 20100114
-Patch3: pam_radius-md5-ppc-fix.patch
# patches default location of configuration file in pam_radius_auth.h
# Sent upstream via email 20100114
-Patch4: pam_radius_auth-conffile-location.patch
+Patch1: pam_radius_auth-conffile-location.patch
# patches default location of configuration file in radius.h
# Sent upstream via email 20100114
-Patch5: radius-conffile-location.patch
+Patch2: radius-conffile-location.patch
# patches default location of configuration file in pam_radius.conf
# Sent upstream via email 20100221
-Patch6: pam_radius_auth-conf-inlinedoc.patch
+Patch3: pam_radius_auth-conf-inlinedoc.patch
# patches default location of configuration file in INSTALL documentation file
# Sent upstream via email 20100221
-Patch7: INSTALL-doc.patch
+Patch4: INSTALL-doc.patch
%description
pam_radius is a PAM module which allows user authentication using
@@ -37,35 +28,35 @@ a radius server.
%prep
%setup -q
-%patch1
+%patch1
%patch2
%patch3
%patch4
-%patch5
-%patch6
-%patch7
%build
-make %{?_smp_mflags} CFLAGS="%{optflags} -Wall -fPIC"
+%configure --enable-werror
+make %{?_smp_mflags} CFLAGS="%{optflags} -Wall -fPIC -Wno-unused-but-set-variable -Wno-strict-aliasing"
%install
-rm -rf %{buildroot}
mkdir -p %{buildroot}/%{_lib}/security
install -p pam_radius_auth.so %{buildroot}/%{_lib}/security
mkdir -p %{buildroot}%{_sysconfdir}
install -p pam_radius_auth.conf %{buildroot}%{_sysconfdir}/pam_radius.conf
-%clean
-rm -rf %{buildroot}
%files
-%defattr(-,root,root,-)
-%doc README INSTALL USAGE LICENSE Changelog
+%doc README.rst INSTALL USAGE LICENSE Changelog
%config(noreplace) %attr(0600, root, root) %{_sysconfdir}/pam_radius.conf
/%{_lib}/security/pam_radius_auth.so
%changelog
-* Tue Feb 21 2010 Tim Lank <timlank at timlank.com> 1.3.17-2
+* Wed Jan 21 2015 Peter Robinson <pbrobinson at fedoraproject.org> 1.4.0-2
+- Update spec to guidelines and fix build on new arches
+
+* Sun Dec 21 2014 Tim Lank <timlank at timlank.com> 1.4.0-1
+- Many changes. See USAGE for details.
+
+* Sun Feb 21 2010 Tim Lank <timlank at timlank.com> 1.3.17-2
- everything it takes to get this accepted for Fedora
* Mon Oct 26 2009 Richard Monk <rmonk at redhat.com> 1.3.17-0
diff --git a/pam_radius_auth-conffile-location.patch b/pam_radius_auth-conffile-location.patch
index 1881342..6e1f3e1 100644
--- a/pam_radius_auth-conffile-location.patch
+++ b/pam_radius_auth-conffile-location.patch
@@ -1,5 +1,5 @@
-*** pam_radius_auth.h 2010-01-14 16:50:29.000000000 -0500
---- pam_radius_auth-2.h 2010-01-14 16:51:59.000000000 -0500
+*** src/pam_radius_auth.h 2010-01-14 16:50:29.000000000 -0500
+--- src/pam_radius_auth-2.h 2010-01-14 16:51:59.000000000 -0500
***************
*** 97,103 ****
* compiled in. This is the default.
diff --git a/radius-conffile-location.patch b/radius-conffile-location.patch
index 39b9038..9837444 100644
--- a/radius-conffile-location.patch
+++ b/radius-conffile-location.patch
@@ -1,5 +1,5 @@
-*** radius.h 2010-01-14 16:50:34.000000000 -0500
---- radius-2.h 2010-01-14 16:52:35.000000000 -0500
+*** src/radius.h 2010-01-14 16:50:34.000000000 -0500
+--- src/radius-2.h 2010-01-14 16:52:35.000000000 -0500
***************
*** 179,185 ****
diff --git a/sources b/sources
index 4f943c8..49c691c 100644
--- a/sources
+++ b/sources
@@ -1 +1,6 @@
-a5d27ccbaaad9d9fb254b01a3c12bd06 pam_radius-1.3.17.tar.gz
+80960fdc9b720677dbb51d17311664a0 pam_radius-1.4.0.tar.gz
+a1600fcb6a3045175a63b616a605ac98 pam_radius.spec
+700af9e828a503d7f04763ba641d96e7 INSTALL-doc.patch
+8814a13ba7477db5f139646e6cb20189 pam_radius_auth-conffile-location.patch
+36124539442ebb273135789e1a8911e6 pam_radius_auth-conf-inlinedoc.patch
+56ba1f3da5b56809a3c3906a51a61cc2 radius-conffile-location.patch
More information about the scm-commits
mailing list