commit 2b0076b866b7e5364fa8a154e8b0b29459f6ff26 Author: Jakub Bogusz <qbo...@pld-linux.org> Date: Tue Mar 24 20:33:29 2015 +0100
- updated to 1.4.0 pam-pam_radius_auth.spec | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) --- diff --git a/pam-pam_radius_auth.spec b/pam-pam_radius_auth.spec index 7524385..92f9681 100644 --- a/pam-pam_radius_auth.spec +++ b/pam-pam_radius_auth.spec @@ -1,16 +1,15 @@ %define modulename pam_radius -Summary: PAM module - authenticate using RADIUS server +Summary: PAM module to authenticate using RADIUS server Summary(pl.UTF-8): Moduł PAM pozwalający na użycie serwera RADIUS do uwierzytelniania Name: pam-%{modulename}_auth -Version: 1.3.17 +Version: 1.4.0 Release: 1 License: GPL Group: Networking Source0: ftp://ftp.freeradius.org/pub/radius/%{modulename}-%{version}.tar.gz -# Source0-md5: a5d27ccbaaad9d9fb254b01a3c12bd06 +# Source0-md5: 80960fdc9b720677dbb51d17311664a0 URL: http://www.freeradius.org/pam_radius_auth/ BuildRequires: pam-devel > 0.77.3-2 -BuildRequires: sed >= 4.0 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description @@ -20,7 +19,7 @@ accounting requests. You will need a RADIUS server to perform the actual authentication. %description -l pl.UTF-8 -To jest moduł do PAM służący uwierzytelnianiu użytkowników względem +To jest moduł PAM służący do uwierzytelniania użytkowników względem serwera RADIUS. Pozwala każdej maszynie korzystającej z PAM zostać klientem usługi RADIUS w celach uwierzytelniania użytkowników oraz zbierania statystyk logowań (accounting). Do dokonania samego @@ -29,23 +28,26 @@ uwierzytelnienia niezbędny jest serwer RADIUS. %prep %setup -q -n %{modulename}-%{version} -sed -i -e 's/ld -Bshareable/$(CC) -shared/' Makefile - %build -%{__make} \ - CC="%{__cc}" \ - CFLAGS="%{rpmcflags} -fPIC -Wall" +%configure \ + ac_cv_lib_nsl_inet_ntoa=no \ + ac_cv_lib_resolv_inet_aton=no +%{__make} %install rm -rf $RPM_BUILD_ROOT -install -d $RPM_BUILD_ROOT/%{_lib}/security +install -d $RPM_BUILD_ROOT{/%{_lib}/security,%{_sysconfdir}/raddb} install pam_radius_auth.so $RPM_BUILD_ROOT/%{_lib}/security +cp -p pam_radius_auth.conf $RPM_BUILD_ROOT%{_sysconfdir}/raddb/server %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) -%doc README TODO USAGE INSTALL pam_radius_auth.conf +%doc Changelog LICENSE README.rst TODO USAGE +# dir shared with server package +%dir %{_sysconfdir}/raddb +%attr(640,root,root) %config(noreplace) %{_sysconfdir}/raddb/server %attr(755,root,root) /%{_lib}/security/pam_radius_auth.so ================================================================ ---- gitweb: http://git.pld-linux.org/gitweb.cgi/packages/pam-pam_radius_auth.git/commitdiff/2b0076b866b7e5364fa8a154e8b0b29459f6ff26 _______________________________________________ pld-cvs-commit mailing list pld-cvs-commit@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit