2009-02-25 06:15:20 +01:00
|
|
|
# Template file for 'pam'
|
|
|
|
pkgname=pam
|
2009-04-21 17:56:06 +02:00
|
|
|
sourcepkg=$pkgname
|
2009-03-13 00:46:33 +01:00
|
|
|
version=1.0.4
|
2009-04-21 17:56:06 +02:00
|
|
|
revision=1
|
2008-10-26 06:55:05 +01:00
|
|
|
wrksrc="Linux-PAM-$version"
|
2009-04-19 00:31:39 +02:00
|
|
|
distfiles="${KERNEL_SITE}/libs/pam/library/Linux-PAM-$version.tar.bz2"
|
2008-10-26 06:55:05 +01:00
|
|
|
build_style=gnu_configure
|
2009-03-18 10:02:43 +01:00
|
|
|
configure_args="--disable-selinux --libdir=/lib --disable-rpath
|
2009-04-21 17:56:06 +02:00
|
|
|
--docdir=/usr/share/doc/pam --enable-read-both-confs
|
|
|
|
DESTDIR=$XBPS_DESTDIR/$pkgname-$version"
|
2008-10-26 06:55:05 +01:00
|
|
|
short_desc="A flexible mechanism for authenticating users"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2009-03-13 00:46:33 +01:00
|
|
|
checksum=13136d438f5748d08dcb2227e44e53a3c611351b96e11891052e0c8c2557f3ca
|
2008-10-26 06:55:05 +01:00
|
|
|
long_desc="
|
|
|
|
Linux-PAM provides a flexible mechanism for authenticating users.
|
|
|
|
PAM was invented by SUN Microsystems."
|
|
|
|
|
2008-12-16 03:06:23 +01:00
|
|
|
keep_dirs="/etc/security"
|
|
|
|
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"
|
2009-02-25 06:15:20 +01:00
|
|
|
|
2009-04-21 17:56:06 +02:00
|
|
|
subpackages="devel"
|
2009-02-25 06:15:20 +01:00
|
|
|
Add_dependency full glibc
|
|
|
|
Add_dependency full cracklib
|
|
|
|
Add_dependency build flex
|
2009-04-21 17:56:06 +02:00
|
|
|
|
|
|
|
post_install()
|
|
|
|
{
|
|
|
|
rm -rf ${DESTDIR}/var
|
2009-04-21 18:07:01 +02:00
|
|
|
# Fix unix_chkpwd perms.
|
|
|
|
chmod 4755 ${DESTDIR}/sbin/unix_chkpwd
|
2009-04-21 17:56:06 +02:00
|
|
|
}
|