dgc  committed e8864d6

Add pam_provision.spec, keyed to rev [8ab6a51f4865].

  • Participants
  • Parent commits 8ab6a51

Comments (0)

Files changed (1)

File pam_provision.spec

+Summary: a PAM module for automatic, dynamic account provisioning
+Name: pam_provision
+Version: 17
+Release: 0
+License: MIT
+Group: Foo/Bar
+%define hg_rev 8ab6a51f4865
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+BuildRequires: make, gcc
+Provides: pam_provision = %{version}-%{release}
+%description is a PAM module to assist in automatic account
+provisioning.  It assumes that some kind of functioning POSIX account
+information is available through the name service switch: nss_files,
+nss_ldap, whatever.  If you can provide the account information,
+pam_provision can do whatever is necessary on the local system to
+make the account function.  This could be as minor as creating a home
+directory, or it could involve other elements of session management.
+Pam_provision's only job is to call the program you tell it to.  This
+provisioner program can be a shell script or a program in any other
+language.  An example provisioner written in Python is included with
+this distribution.
+%setup -n dgc-pam_provision-%{hg_rev}
+make all
+mkdir -p $RPM_BUILD_ROOT/usr/lib/security
+cp $RPM_BUILD_ROOT/usr/lib/security
+#mkdir -p $RPM_BUILD_ROOT/usr/share/doc/%{name}
+#cp $RPM_BUILD_ROOT/usr/share/doc/%{name}/
+#cp README LICENSE $RPM_BUILD_ROOT/usr/share/doc/%{name}/