void-packages/srcpkgs/pam/pam-userdb.template
Juan RP 1be3838cb2 pam: move pam_userdb into its own subpkg.
pam_userdb requires db4, and by default is not used in the system
so this avoid the db4 dependency.

--HG--
extra : convert_revision : e1a1cbc4e48a2e88746e038910dea88eb458bf84
2010-01-09 00:09:45 +01:00

24 lines
659 B
Plaintext

# Template file for 'pam-userdb'.
#
short_desc="PAM module to authenticate against a db database"
long_desc="${long_desc}
The pam_userdb module is used to verify a username/password pair against
values stored in a Berkeley DB database. The database is indexed by the
username, and the data fields corresponding to the username keys are the
passwords."
Add_dependency run db
Add_dependency run pam
do_install()
{
mkdir -p ${DESTDIR}/lib/security
mkdir -p ${DESTDIR}/usr/share/man/man8
mv ${SRCPKGDESTDIR}/lib/security/pam_userdb.so \
${DESTDIR}/lib/security
mv ${SRCPKGDESTDIR}/usr/share/man/man8/pam_userdb.8 \
${DESTDIR}/usr/share/man/man8
}