From e17dfa24dcc712f59548a0d25a8b75982a16acbd Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 08:23:41 +0100 Subject: [PATCH] automatic version update by autodist [release 2.3.14-1mamba;Sat Aug 11 2012] --- README.md | 2 ++ pam_krb5.spec | 85 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 87 insertions(+) create mode 100644 pam_krb5.spec diff --git a/README.md b/README.md index 52a55ef..537bd9e 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # pam_krb5 +A kerberos 5 interface library to PAM. + diff --git a/pam_krb5.spec b/pam_krb5.spec new file mode 100644 index 0000000..3fb9aed --- /dev/null +++ b/pam_krb5.spec @@ -0,0 +1,85 @@ +Name: pam_krb5 +Version: 2.3.14 +Release: 1mamba +Summary: Kerberos 5 interface library to PAM +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Tiziana Ferro +URL: http://www.fedorahosted.org/pam_krb5 +Source: https://fedorahosted.org/releases/p/a/pam_krb5/pam_krb5-%{version}-1.tar.gz +License: LGPL +BuildRoot: %{_tmppath}/%{name}-%{version}-root +Requires: pam +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libe2fs-devel +BuildRequires: libkrb5-devel +BuildRequires: pam-devel +## AUTOBUILDREQ-END + +%description +A kerberos 5 interface library to PAM. + +%prep +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%setup -q -n %{name}-%{version}-1 + +%build +%configure --libdir=/lib +%make + +%install +%makeinstall + +%{find_lang} %{name} + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files -f %{name}.lang +%defattr(-,root,root) +%attr(0755,root,root) /lib/security/pam_krb5.so +/lib/security/pam_krb5.la +/lib/security/pam_krb5/pam_krb5_storetmp +%{_bindir}/afs5log +%{_mandir}/man1/afs5log.* +%{_mandir}/man5/pam_krb5* +%{_mandir}/man8/pam_krb5* +%doc AUTHORS NEWS COPYING COPYING.LIB README ChangeLog + +%post +if [ $1 -eq 1 ]; then +# new install +grep pam_krb5.so %{_sysconfdir}/pam.d/system-auth >/dev/null || sed -i -e '/%PAM-1.0/a\ +auth sufficient pam_krb5.so' %{_sysconfdir}/pam.d/system-auth +fi + +%changelog +* Sat Aug 11 2012 Automatic Build System 2.3.14-1mamba +- automatic version update by autodist + +* Wed Apr 25 2012 Automatic Build System 2.3.13-1mamba +- automatic version update by autodist + +* Fri Jun 17 2011 Automatic Build System 2.3.12-1mamba +- automatic update by autodist + +* Mon Jul 12 2010 Silvan Calarco 2.3.11-2mamba +- rebuilt with krb5 1.8.2 (disable Kerberos 4) + +* Tue Apr 27 2010 Automatic Build System 2.3.11-1mamba +- automatic update by autodist + +* Fri Feb 05 2010 Silvan Calarco 2.3.10-1mamba +- update to 2.3.10 + +* Sat Oct 11 2008 Tiziana Ferro 2.3.2-1mamba +- update to 2.3.2 +- mantainer updated +- source path updated +- language support added + +* Mon Feb 13 2006 Silvan Calarco 2.2.6-1qilnx +- first build