From 98d5d4dda6a11a32c1bf8e58a4d342ba6b389767ff51fadc2b455d9fb691e926 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Mon, 15 Jan 2007 23:28:55 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pam-config?expand=0&rev=1 --- .gitattributes | 23 ++++++++ .gitignore | 1 + pam-config-0.13.tar.bz2 | 3 + pam-config.changes | 77 ++++++++++++++++++++++++ pam-config.spec | 127 ++++++++++++++++++++++++++++++++++++++++ ready | 0 6 files changed, 231 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 pam-config-0.13.tar.bz2 create mode 100644 pam-config.changes create mode 100644 pam-config.spec create mode 100644 ready diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/pam-config-0.13.tar.bz2 b/pam-config-0.13.tar.bz2 new file mode 100644 index 0000000..999e0ab --- /dev/null +++ b/pam-config-0.13.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f82730eb278465dfbe416728bc91cfdee1998efd806229df9df691e00bd754ee +size 144411 diff --git a/pam-config.changes b/pam-config.changes new file mode 100644 index 0000000..e8d9bc3 --- /dev/null +++ b/pam-config.changes @@ -0,0 +1,77 @@ +------------------------------------------------------------------- +Wed Oct 25 12:18:35 CEST 2006 - kukuk@suse.de + +- Version 0.13: + - Add pam_capability support + - pam_apparmor should only be optional [Fate#300510] + +------------------------------------------------------------------- +Wed Sep 20 15:12:17 CEST 2006 - kukuk@suse.de + +- Fix debug flag handling for pam_cracklib/pam_pwcheck + +------------------------------------------------------------------- +Thu Sep 14 16:43:10 CEST 2006 - kukuk@suse.de + +- Version 0.11: + - Changes to account stack with krb5 and ldap + - Add support for pam_umask.so + +------------------------------------------------------------------- +Thu Aug 31 23:39:36 CEST 2006 - kukuk@suse.de + +- Version 0.10: + - Fix first install if pam-modules was updated before + - Document missing options in manual page + +------------------------------------------------------------------- +Fri Aug 25 17:37:52 CEST 2006 - kukuk@suse.de + +- Version 0.9: + - Add pam_winbind support + - Rename pam_krb5afs to pam_krb5 if we find it + - Support minimum_uid for pam_krb5 + +------------------------------------------------------------------- +Fri Aug 25 10:31:48 CEST 2006 - kukuk@suse.de + +- Add LUM support and no_obscure_checks to pam_pwcheck (0.8) + +------------------------------------------------------------------- +Thu Aug 24 14:29:26 CEST 2006 - kukuk@suse.de + +- Version 0.7: + - Add support for pam_cracklib. + - Add support for pam_apparmor. + - Fix stacking of pam_unix2 with pam_ldap. + +------------------------------------------------------------------- +Wed Aug 23 13:06:37 CEST 2006 - kukuk@suse.de + +- Fix stacking of modules, add query option for YaST2 (version 0.6) + +------------------------------------------------------------------- +Tue Aug 22 17:01:08 CEST 2006 - kukuk@suse.de + +- Bug fixes, add --update option (version 0.5) + +------------------------------------------------------------------- +Tue Aug 22 09:00:40 CEST 2006 - kukuk@suse.de + +- Add support for ccreds and pkcs11 (version 0.4) + +------------------------------------------------------------------- +Mon Aug 21 17:16:15 CEST 2006 - kukuk@suse.de + +- Add support for ldap and krb5 (version 0.3) + +------------------------------------------------------------------- +Mon Aug 21 08:34:41 CEST 2006 - kukuk@suse.de + +- Add documentation (version 0.2) + +------------------------------------------------------------------- +Mon Aug 21 01:27:03 CEST 2006 - kukuk@suse.de + +- Initial release + diff --git a/pam-config.spec b/pam-config.spec new file mode 100644 index 0000000..a8c6b1e --- /dev/null +++ b/pam-config.spec @@ -0,0 +1,127 @@ +# +# spec file for package pam-config (Version 0.13) +# +# 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-config +Summary: Modify common PAM configuration files +Version: 0.13 +Release: 1 +License: GNU General Public License (GPL) - all versions +Autoreqprov: on +PreReq: pam >= 0.99 +Requires: pam-modules >= 10.2 +Prefix: %{_prefix} +Group: System/Management +Source: %{name}-%{version}.tar.bz2 +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%description +pam-config is a command line utility to maintain the common PAM +configuration files included by most PAM application configuration +files. It can be used to configure a system for different network or +hardware based authentication schemes. pam-config can also +add/adjust/remove other PAM modules and their options. + + + +%prep +%setup -q + +%build +%configure +make + +%install +make install DESTDIR=$RPM_BUILD_ROOT +mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/pam.d +for i in account auth password session ; do + touch $RPM_BUILD_ROOT/%{_sysconfdir}/pam.d/common-$i-pc +done + +%clean +rm -rf $RPM_BUILD_ROOT + +%post +if [ ! -f /etc/pam.d/common-auth-pc ] ; then + pam-config --debug --initialize +else + pam-config --debug --update ||: +fi + +%postun +if [ $1 == 0 ]; then + # Deinstall + dir=/etc/security + for conf in pam_unix2.conf pam_pwcheck.conf ; do + if [ -f $dir/$conf.pam-config-backup -a ! -f $dir/$conf ]; then + mv -v $dir/$conf.pam-config-backup $dir/$conf + fi + done + dir=/etc/pam.d + for pamd in common-account common-auth common-password common-session ; do + if [ -f $dir/$pamd.pam-config-backup -a -L $dir/$pamd ]; then + rm -v $dir/$pamd && mv -v $dir/$pamd.pam-config-backup $dir/$pamd + fi + # common-*-pc are %ghost, so we have to move them away... + if [ -f $dir/$pamd-pc ]; then + mv -v $dir/$pamd-pc $dir/$pamd-pc.bak + fi + done +fi + +%files +%defattr(-,root,root) +%{_sbindir}/pam-config +%doc %{_mandir}/man8/pam-config.8* +%ghost %config %{_sysconfdir}/pam.d/common-account-pc +%ghost %config %{_sysconfdir}/pam.d/common-auth-pc +%ghost %config %{_sysconfdir}/pam.d/common-password-pc +%ghost %config %{_sysconfdir}/pam.d/common-session-pc + +%changelog -n pam-config +* Wed Oct 25 2006 - kukuk@suse.de +- Version 0.13: + - Add pam_capability support + - pam_apparmor should only be optional [Fate#300510] +* Wed Sep 20 2006 - kukuk@suse.de +- Fix debug flag handling for pam_cracklib/pam_pwcheck +* Thu Sep 14 2006 - kukuk@suse.de +- Version 0.11: + - Changes to account stack with krb5 and ldap + - Add support for pam_umask.so +* Thu Aug 31 2006 - kukuk@suse.de +- Version 0.10: + - Fix first install if pam-modules was updated before + - Document missing options in manual page +* Fri Aug 25 2006 - kukuk@suse.de +- Version 0.9: + - Add pam_winbind support + - Rename pam_krb5afs to pam_krb5 if we find it + - Support minimum_uid for pam_krb5 +* Fri Aug 25 2006 - kukuk@suse.de +- Add LUM support and no_obscure_checks to pam_pwcheck (0.8) +* Thu Aug 24 2006 - kukuk@suse.de +- Version 0.7: + - Add support for pam_cracklib. + - Add support for pam_apparmor. + - Fix stacking of pam_unix2 with pam_ldap. +* Wed Aug 23 2006 - kukuk@suse.de +- Fix stacking of modules, add query option for YaST2 (version 0.6) +* Tue Aug 22 2006 - kukuk@suse.de +- Bug fixes, add --update option (version 0.5) +* Tue Aug 22 2006 - kukuk@suse.de +- Add support for ccreds and pkcs11 (version 0.4) +* Mon Aug 21 2006 - kukuk@suse.de +- Add support for ldap and krb5 (version 0.3) +* Mon Aug 21 2006 - kukuk@suse.de +- Add documentation (version 0.2) +* Mon Aug 21 2006 - kukuk@suse.de +- Initial release diff --git a/ready b/ready new file mode 100644 index 0000000..473a0f4