2009-02-25 06:15:20 +01:00
|
|
|
# Template file for 'pam'
|
|
|
|
pkgname=pam
|
2009-08-14 09:59:57 +02:00
|
|
|
version=1.1.0
|
2009-10-15 16:34:31 +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-08-14 09:59:57 +02:00
|
|
|
checksum=139b1abb0f1c402e443ad9083b5ff0512f4a5ae7bc806528e9d7eced13384ed7
|
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
|
|
|
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-11-22 08:31:44 +01:00
|
|
|
subpackages="pam-devel"
|
2009-10-15 16:34:31 +02:00
|
|
|
|
2009-02-25 06:15:20 +01:00
|
|
|
Add_dependency full glibc
|
|
|
|
Add_dependency full cracklib
|
|
|
|
Add_dependency build flex
|
2009-10-30 22:14:09 +01:00
|
|
|
Add_dependency build gettext
|
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
|
|
|
}
|