pam: cross build support; remove long_desc.
This commit is contained in:
parent
a7325471f8
commit
927ae929ef
|
@ -2,10 +2,7 @@
|
||||||
#
|
#
|
||||||
noarch=yes
|
noarch=yes
|
||||||
depends="cracklib-devel db-devel pam>=$version"
|
depends="cracklib-devel db-devel pam>=$version"
|
||||||
short_desc="${short_desc} (development files)"
|
short_desc="${short_desc} -- development files"
|
||||||
long_desc="${long_desc}
|
|
||||||
|
|
||||||
This package contains files for development, headers, static libs, etc."
|
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
vmove usr/include usr
|
vmove usr/include usr
|
||||||
|
|
|
@ -1,12 +1,6 @@
|
||||||
# Template file for 'pam-userdb'.
|
# Template file for 'pam-userdb'.
|
||||||
#
|
#
|
||||||
short_desc="PAM module to authenticate against a db database"
|
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."
|
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
vmove usr/lib/security/pam_userdb.so usr/lib/security
|
vmove usr/lib/security/pam_userdb.so usr/lib/security
|
||||||
|
|
|
@ -1,12 +1,14 @@
|
||||||
# Template file for 'pam'
|
# Template file for 'pam'
|
||||||
pkgname=pam
|
pkgname=pam
|
||||||
version=1.1.6
|
version=1.1.6
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc="Linux-PAM-$version"
|
wrksrc="Linux-PAM-$version"
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--libdir=/usr/lib --sbindir=/usr/sbin --docdir=/usr/share/doc/pam"
|
configure_args="--libdir=/usr/lib --sbindir=/usr/sbin --docdir=/usr/share/doc/pam"
|
||||||
|
depends="cracklib"
|
||||||
subpackages="pam-devel pam-userdb"
|
subpackages="pam-devel pam-userdb"
|
||||||
makedepends="flex cracklib-devel db-devel libtirpc-devel"
|
makedepends="flex cracklib-devel db-devel libtirpc-devel"
|
||||||
|
crossmakedepends="libfl-devel cracklib-devel db-devel libtirpc-devel"
|
||||||
short_desc="A flexible mechanism for authenticating users"
|
short_desc="A flexible mechanism for authenticating users"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
homepage="http://www.kernel.org/pub/linux/libs/pam/"
|
homepage="http://www.kernel.org/pub/linux/libs/pam/"
|
||||||
|
@ -14,9 +16,6 @@ license="GPL-2"
|
||||||
#distfiles="${KERNEL_SITE}/libs/pam/library/Linux-PAM-$version.tar.bz2"
|
#distfiles="${KERNEL_SITE}/libs/pam/library/Linux-PAM-$version.tar.bz2"
|
||||||
distfiles="https://fedorahosted.org/releases/l/i/linux-pam/Linux-PAM-$version.tar.bz2"
|
distfiles="https://fedorahosted.org/releases/l/i/linux-pam/Linux-PAM-$version.tar.bz2"
|
||||||
checksum=bab887d6280f47fc3963df3b95735a27a16f0f663636163ddf3acab5f1149fc2
|
checksum=bab887d6280f47fc3963df3b95735a27a16f0f663636163ddf3acab5f1149fc2
|
||||||
long_desc="
|
|
||||||
Linux-PAM provides a flexible mechanism for authenticating users.
|
|
||||||
PAM was invented by SUN Microsystems."
|
|
||||||
|
|
||||||
conf_files="
|
conf_files="
|
||||||
/etc/environment
|
/etc/environment
|
||||||
|
@ -27,6 +26,13 @@ conf_files="
|
||||||
/etc/security/pam_env.conf
|
/etc/security/pam_env.conf
|
||||||
/etc/security/time.conf"
|
/etc/security/time.conf"
|
||||||
|
|
||||||
|
if [ -n "$XBPS_CROSS_TRIPLET" ]; then
|
||||||
|
makedepends="flex automake gettext-devel pkg-config"
|
||||||
|
pre_configure() {
|
||||||
|
autoreconf -fi
|
||||||
|
}
|
||||||
|
fi
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
# Fix unix_chkpwd perms.
|
# Fix unix_chkpwd perms.
|
||||||
chmod 4755 ${DESTDIR}/usr/sbin/unix_chkpwd
|
chmod 4755 ${DESTDIR}/usr/sbin/unix_chkpwd
|
||||||
|
|
Loading…
Reference in New Issue