summaryrefslogtreecommitdiff
path: root/contrib/pam-pwdfile.spec
diff options
context:
space:
mode:
authorCharl Botha <cpbotha@cpbotha.net>2002-05-14 15:58:53 +0000
committerCharl Botha <cpbotha@cpbotha.net>2002-05-14 15:58:53 +0000
commitbfe9eeea11251c883259fafc80f1bab7505a43a7 (patch)
tree6f1719911e8fc013d5652a93b385bd0695ca1593 /contrib/pam-pwdfile.spec
parent783592339fa45b38c3f2ea81b7d73c43ac19315c (diff)
downloadlibpam-pwdfile-bfe9eeea11251c883259fafc80f1bab7505a43a7.tar.gz
Added contributed files.
Diffstat (limited to 'contrib/pam-pwdfile.spec')
-rw-r--r--contrib/pam-pwdfile.spec44
1 files changed, 44 insertions, 0 deletions
diff --git a/contrib/pam-pwdfile.spec b/contrib/pam-pwdfile.spec
new file mode 100644
index 0000000..cbcd88a
--- /dev/null
+++ b/contrib/pam-pwdfile.spec
@@ -0,0 +1,44 @@
+%define nam pam-pwdfile
+%define ver 0.95
+%define prefix /usr
+%define docdir %{prefix}/doc/%{nam}-%{ver}
+
+%define installer /usr/bin/install
+
+Summary: A PAM module that allows users to authenticate on htpasswd-type files separate from /etc/passwd.
+Name: pam-pwdfile
+Version: %{ver}
+Release: 1
+Copyright: LGPL
+Group: System Environment/Base
+Source0: %{nam}-%{ver}.tar.gz
+Source1: pam-pwdfile-Makefile.standalone
+URL: http://cpbotha.net/pam_pwdfile.html
+Distribution: Xeran Internal Packages
+Vendor: Xeran Technologies
+Packager: Jason F. McBrayer <jason@xeran.com>
+BuildRoot: /var/tmp/%{nam}-%{ver}-root
+BuildPrereq: pam
+Requires: pam
+
+%description
+This pam module can be used for the authentication service only, in cases
+where one wants to use a different set of passwords than those in the main
+system password database. E.g. in our case we have an imap server running,
+and prefer to keep the imap passwords different from the system passwords
+for security reasons.
+
+%prep
+%setup
+cp $RPM_SOURCE_DIR/pam-pwdfile-Makefile.standalone $RPM_BUILD_DIR/%{nam}-%{ver}/Makefile.standalone
+
+%build
+make -f Makefile.standalone
+
+%install
+make -f Makefile.standalone PAM_LIB_DIR="$RPM_BUILD_ROOT/lib/security" install
+
+%files
+%attr(0755, root, root) /lib/security/pam_pwdfile.so
+%attr(-, root, root) %doc README
+%attr(-, root, root) %doc changelog