Hello community, here is the log from the commit of package pam_radius for openSUSE:Factory checked in at 2015-05-30 12:33:59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/pam_radius (Old) and /work/SRC/openSUSE:Factory/.pam_radius.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "pam_radius" Changes: -------- --- /work/SRC/openSUSE:Factory/pam_radius/pam_radius.changes 2013-06-11 09:35:19.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.pam_radius.new/pam_radius.changes 2015-05-30 12:34:00.000000000 +0200 @@ -1,0 +2,19 @@ +Mon Apr 6 04:00:47 UTC 2015 - aj@ajaissle.de + +- Some spec cleanups + +------------------------------------------------------------------- +Sun Mar 8 23:21:50 UTC 2015 - p.drouand@gmail.com + +- Update to version 1.4.0 + * The entry of the ChangeLog for this version is empty +- Use %configure macro +- Enable parallel build with %{?_smp_mflags} +- Remove obsolete patches + * pam_radius-1.3.16.diff + * pam_radius-md5-ppc-fix.patch +- Use download Url as source +- Remove obsolete AUTHORS section +- Do not copy INSTALL file into the package + +------------------------------------------------------------------- Old: ---- pam_radius-1.3.16.diff pam_radius-1.3.16.tar.bz2 pam_radius-md5-ppc-fix.patch New: ---- pam_radius-1.4.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ pam_radius.spec ++++++ --- /var/tmp/diff_new_pack.UXeY9N/_old 2015-05-30 12:34:01.000000000 +0200 +++ /var/tmp/diff_new_pack.UXeY9N/_new 2015-05-30 12:34:01.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package pam_radius # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,55 +17,44 @@ Name: pam_radius -BuildRequires: pam-devel +Version: 1.4.0 +Release: 0 Summary: A PAM Module for User Authentication using a Radius Server License: GPL-2.0+ Group: Productivity/Security -Version: 1.3.16 -Release: 0 -Requires: pam -Url: http://www.freeradius.org/ -Source: pam_radius-%{version}.tar.bz2 - #ftp://ftp.freeradius.org/pub/radius/pam_radius-%{version}.tar +Url: http://freeradius.org/pam_radius_auth/ +Source: ftp://ftp.freeradius.org/pub/radius/%{name}-%{version}.tar.gz Source2: baselibs.conf -Patch: pam_radius-%{version}.diff -Patch1: pam_radius-md5-ppc-fix.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: pam-devel +Requires: pam %description -pam_radius is a PAM module which allows user authentication using a -radius server. - - - -Authors: --------- - Alan DeKok <aland@ox.org> +This is the PAM to RADIUS authentication module. It allows any PAM-capable +machine to become a RADIUS client for authentication and accounting +requests. You will need a RADIUS server to perform the actual +authentication. %prep -%setup -n pam_radius-%{version} -%patch -%patch1 -p1 +%setup -q %build -make CFLAGS="-fPIC $RPM_OPT_FLAGS" +%configure + +export CFLAGS="%{optflags} -fPIC" +make %{?_smp_mflags} %install -install -d -m 755 $RPM_BUILD_ROOT/%{_lib}/security/ -install -m 755 pam_radius_auth.so $RPM_BUILD_ROOT/%{_lib}/security/ -install -d -m 750 $RPM_BUILD_ROOT/etc/raddb/ -install -m 600 pam_radius_auth.conf $RPM_BUILD_ROOT/etc/raddb/server +install -d -m 755 %{buildroot}/%{_lib}/security/ +install -m 755 pam_radius_auth.so %{buildroot}/%{_lib}/security/ +install -d -m 750 %{buildroot}%{_sysconfdir}/raddb/ +install -m 600 pam_radius_auth.conf %{buildroot}%{_sysconfdir}/raddb/server %files -%attr(750,root,radiusd) %dir /etc/raddb/ %defattr(-,root,root) +%doc Changelog LICENSE README.rst TODO USAGE index.html pam_radius_auth.conf +%attr(750,root,radiusd) %dir %{_sysconfdir}/raddb/ +%config(noreplace) %{_sysconfdir}/raddb/server /%{_lib}/security/pam_radius_auth.so -%config(noreplace) /etc/raddb/server -%doc Changelog -%doc INSTALL -%doc README -%doc TODO -%doc USAGE -%doc index.html %changelog