# # spec file for package pam_devperm (Version 1.6) # # Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: pam_devperm #BuildRequires: pam-devel License: GPL, BSD Group: System/Libraries Version: 1.6 Release: 2.1 Summary: Obsolete PAM module to set device permissions Source: pam_devperm-1.6.tar.bz2 Source1: logindevperm Patch: pam_devperm-1.6.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: i486 %description PAM (Pluggable Authentication Modules) is a system security tool that allows system administrators to set authentication policies without having to recompile programs that do authentication. This package contains the obsolete pam_devperm module, which was replaced by pam_resmgr. It is for setting device permissions for logged in users. %prep %setup -q %patch %build CFLAGS="$OPT_FLAGS" ./configure \ --build=i486-pc-linux-gnu \ --host=i486-pc-linux-gnu \ --libdir=/%{_lib} --mandir=%{_mandir} make %install install -d -m 755 $RPM_BUILD_ROOT/etc make DESTDIR=$RPM_BUILD_ROOT install install -m644 $RPM_SOURCE_DIR/logindevperm $RPM_BUILD_ROOT/etc %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,755) %attr(644,root,root) %config(noreplace) /etc/logindevperm %attr(755,root,root) /%{_lib}/security/pam_devperm.so %attr(755,root,root) %config /etc/init.d/boot.restore_permissions %attr(755,root,root) /sbin/restore_devperm %doc %{_mandir}/man5/logindevperm.5.gz %changelog -n pam_devperm * Wed Sep 13 2006 - kukuk@suse.de - Initial version after it was dropped from pam-modules