2009-02-25 06:15:20 +01:00
|
|
|
# Template file for 'pam'
|
|
|
|
pkgname=pam
|
2009-12-31 22:37:40 +01:00
|
|
|
version=1.1.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-12-31 22:37:40 +01:00
|
|
|
checksum=608d3eb9d7a5e1a7505fff62e6a583fdb6e52dc05bf54dc9661c5f395b1fb904
|
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-12-31 22:37:40 +01:00
|
|
|
Add_dependency run glibc
|
|
|
|
Add_dependency run cracklib
|
2009-02-25 06:15:20 +01:00
|
|
|
Add_dependency build flex
|
2009-10-30 22:14:09 +01:00
|
|
|
Add_dependency build gettext
|
2009-12-31 22:37:40 +01:00
|
|
|
Add_dependency build cracklib-devel
|
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
|
|
|
}
|