[pam_afs_session] Initial import (#678727).

Ken Dreyer ktdreyer at fedoraproject.org
Thu Mar 17 18:57:10 UTC 2011


commit 43070374eef48f176e1f9d84da019ec5c871d827
Author: Ken Dreyer <ktdreyer at ktdreyer.com>
Date:   Thu Mar 17 12:52:00 2011 -0600

    Initial import (#678727).

 .gitignore           |    1 +
 pam_afs_session.spec |   64 ++++++++++++++++++++++++++++++++++++++++++++++++++
 sources              |    1 +
 3 files changed, 66 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..0cdf5dc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/pam-afs-session-2.2.tar.gz
diff --git a/pam_afs_session.spec b/pam_afs_session.spec
new file mode 100644
index 0000000..0b62bea
--- /dev/null
+++ b/pam_afs_session.spec
@@ -0,0 +1,64 @@
+Summary: AFS PAG and AFS tokens on login
+Name: pam_afs_session
+Version: 2.2
+Release: 2
+License: MIT
+Group: System Environment/Base
+URL: http://www.eyrie.org/~eagle/software/pam-afs-session/
+Source: http://archives.eyrie.org/software/afs/pam-afs-session-%{version}.tar.gz
+BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Requires: pam_krb5
+BuildRequires: pam-devel%{?_isa}
+BuildRequires: krb5-devel%{?_isa}
+%description
+pam-afs-session is a PAM module intended for use with a Kerberos v5 PAM module
+to obtain an AFS PAG (Process Authentication Group) and AFS tokens on login. It
+puts every new session in a PAG regardless of whether it was authenticated with
+Kerberos and runs a configurable external program to obtain tokens.
+
+%define pamdir /%{_lib}/security
+
+%prep
+%setup -q -n pam-afs-session-%{version}
+# remove non-redhat examples
+find examples -mindepth 1 -maxdepth 1 -not -name "redhat" -exec rm -rf {} ';'
+
+%build
+%configure --libdir=/%{_lib}
+make %{?_smp_mflags}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT
+rm -f $RPM_BUILD_ROOT%{pamdir}/*.la
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(-,root,root,-)
+%{pamdir}/pam_afs_session.so
+%{_mandir}/man5/pam_afs_session.5.gz
+%doc LICENSE NEWS README TODO examples
+
+%changelog
+* Sun Mar 05 2011 Ken Dreyer <ktdreyer at ktdreyer.com> - 2.2-2
+- modify source's examples folder in prep stage
+
+* Sat Mar 05 2011 Ken Dreyer <ktdreyer at ktdreyer.com> - 2.2-1
+- New upstream release.
+- Only include redhat docs.
+
+* Tue Mar 02 2011 Ken Dreyer <ktdreyer at ktdreyer.com> - 2.1-3
+- Rename pam-afs-session to pam_afs_session
+
+* Thu Feb 22 2011 Ken Dreyer <ktdreyer at ktdreyer.com> - 2.1-2
+- Add %{?_isa} on the BuildRequires -devel packages
+
+* Thu Feb 17 2011 Ken Dreyer <ktdreyer at ktdreyer.com> - 2.1-1
+- Update to 2.1
+- rpmlint fixes
+
+* Fri Sep 10 2010 Ken Dreyer <ktdreyer at ktdreyer.com> - 1.7-1
+- basic spec obtained from http://crcmedia.hpcc.nd.edu/wiki/index.php/Automatic_CRC/ND_AFS_cell_setup
+- switch out Russ Allbery's pam-krb5 for RedHat's pam_krb5 in Requires
diff --git a/sources b/sources
index e69de29..73c49aa 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+5621adc56319582b71b61546face4409  pam-afs-session-2.2.tar.gz


More information about the scm-commits mailing list