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
This commit is contained in:
parent
831484d638
commit
1be3838cb2
3 changed files with 34 additions and 7 deletions
1
srcpkgs/pam-userdb
Symbolic link
1
srcpkgs/pam-userdb
Symbolic link
|
@ -0,0 +1 @@
|
|||
pam
|
23
srcpkgs/pam/pam-userdb.template
Normal file
23
srcpkgs/pam/pam-userdb.template
Normal file
|
@ -0,0 +1,23 @@
|
|||
# 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
|
||||
}
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'pam'
|
||||
pkgname=pam
|
||||
version=1.1.1
|
||||
revision=1
|
||||
revision=2
|
||||
wrksrc="Linux-PAM-$version"
|
||||
distfiles="${KERNEL_SITE}/libs/pam/library/Linux-PAM-$version.tar.bz2"
|
||||
build_style=gnu_configure
|
||||
|
@ -15,14 +15,17 @@ long_desc="
|
|||
Linux-PAM provides a flexible mechanism for authenticating users.
|
||||
PAM was invented by SUN Microsystems."
|
||||
|
||||
conf_files="/etc/security/access.conf /etc/security/environment
|
||||
/etc/security/group.conf /etc/security/limits.conf
|
||||
/etc/security/namespace.conf /etc/security/pam_env.conf
|
||||
/etc/security/time.conf"
|
||||
subpackages="pam-devel"
|
||||
conf_files="
|
||||
/etc/security/access.conf
|
||||
/etc/security/environment
|
||||
/etc/security/group.conf
|
||||
/etc/security/limits.conf
|
||||
/etc/security/namespace.conf
|
||||
/etc/security/pam_env.conf
|
||||
/etc/security/time.conf"
|
||||
subpackages="pam-devel pam-userdb"
|
||||
|
||||
Add_dependency run glibc
|
||||
Add_dependency run db
|
||||
Add_dependency run cracklib
|
||||
Add_dependency build flex
|
||||
Add_dependency build gettext
|
||||
|
|
Loading…
Reference in a new issue