Split pkgs required by xbps-base-system, structure based in Fedora.
--HG-- extra : convert_revision : 151da3637a2745b786251e067bb924c3fd98118b
This commit is contained in:
2
templates/pam/depends
Normal file
2
templates/pam/depends
Normal file
@@ -0,0 +1,2 @@
|
||||
abi_depends=1.0.0
|
||||
api_depends=${abi_depends}
|
||||
22
templates/pam/devel.template
Normal file
22
templates/pam/devel.template
Normal file
@@ -0,0 +1,22 @@
|
||||
# Template file for 'pam-devel'.
|
||||
#
|
||||
short_desc="${short_desc} (development files)"
|
||||
long_desc="${long_desc}
|
||||
|
||||
This package contains files for development, headers, static libs, etc."
|
||||
|
||||
Add_dependency run pam
|
||||
|
||||
do_install()
|
||||
{
|
||||
local destdir=${XBPS_DESTDIR}/${pkgname}-${version}
|
||||
local origdir=${XBPS_DESTDIR}/${sourcepkg}-${version}
|
||||
|
||||
mkdir -p ${destdir}/lib
|
||||
mkdir -p ${destdir}/usr/share/man
|
||||
|
||||
mv ${origdir}/usr/include ${destdir}/usr
|
||||
mv ${origdir}/usr/share/man/man3 ${destdir}/usr/share/man
|
||||
mv ${origdir}/lib/*.*a ${destdir}/lib
|
||||
mv ${origdir}/lib/*.so ${destdir}/lib
|
||||
}
|
||||
33
templates/pam/template
Normal file
33
templates/pam/template
Normal file
@@ -0,0 +1,33 @@
|
||||
# Template file for 'pam'
|
||||
pkgname=pam
|
||||
sourcepkg=pam
|
||||
version=1.0.2
|
||||
wrksrc="Linux-PAM-$version"
|
||||
distfiles="
|
||||
http://www.kernel.org/pub/linux/libs/pam/library/Linux-PAM-$version.tar.bz2"
|
||||
build_style=gnu_configure
|
||||
configure_args="--disable-selinux --libdir=/lib
|
||||
--docdir=/usr/share/doc/pam --enable-securedir=/lib/security
|
||||
--enable-sconfigdir=/etc/security --mandir=/usr/share/man
|
||||
--infodir=/usr/share/info --localedir=/usr/share/locale
|
||||
--datadir=/usr/share --disable-rpath --with-cracklib
|
||||
--enable-read-both-confs"
|
||||
make_install_args="DESTDIR=$XBPS_DESTDIR/$pkgname-$version
|
||||
sysconfdir=/etc/security"
|
||||
short_desc="A flexible mechanism for authenticating users"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
checksum=42d06febf4717dd43eb557027d1b00a484c22589793438778ed69449a073a3b8
|
||||
long_desc="
|
||||
Linux-PAM provides a flexible mechanism for authenticating users.
|
||||
PAM was invented by SUN Microsystems."
|
||||
|
||||
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"
|
||||
subpackages="devel"
|
||||
|
||||
Add_dependency full glibc
|
||||
Add_dependency full cracklib
|
||||
Add_dependency build flex
|
||||
Reference in New Issue
Block a user