libcap-pam: update to 2.28
Update to 2.28 and some template cleanup Signed-off-by: Nathan Owens <ndowens04@gmail.com>
This commit is contained in:
parent
1ea4c90e42
commit
b1088a025e
1 changed files with 11 additions and 12 deletions
|
@ -1,8 +1,11 @@
|
||||||
# Template file for 'libcap-pam'
|
# Template file for 'libcap-pam'
|
||||||
pkgname=libcap-pam
|
pkgname=libcap-pam
|
||||||
version=2.27
|
version=2.28
|
||||||
revision=1
|
revision=1
|
||||||
wrksrc="libcap-${version}"
|
wrksrc="libcap-${version}"
|
||||||
|
build_style=gnu-makefile
|
||||||
|
make_use_env=yes
|
||||||
|
make_install_args="RAISE_SETFCAP=no"
|
||||||
hostmakedepends="gperf perl pam-devel"
|
hostmakedepends="gperf perl pam-devel"
|
||||||
makedepends="pam-devel attr-devel"
|
makedepends="pam-devel attr-devel"
|
||||||
short_desc="POSIX.1e capabilities suite - PAM module"
|
short_desc="POSIX.1e capabilities suite - PAM module"
|
||||||
|
@ -10,22 +13,18 @@ maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
license="GPL-2.0-only"
|
license="GPL-2.0-only"
|
||||||
homepage="http://sites.google.com/site/fullycapable/"
|
homepage="http://sites.google.com/site/fullycapable/"
|
||||||
distfiles="${KERNEL_SITE}/libs/security/linux-privs/libcap2/libcap-${version}.tar.xz"
|
distfiles="${KERNEL_SITE}/libs/security/linux-privs/libcap2/libcap-${version}.tar.xz"
|
||||||
checksum=dac1792d0118bee6aae6ba7fb93ff1602c6a9bda812fd63916eee1435b9c486a
|
checksum=c0e70c3bcce288ada2bfe8d748e816b601590495312222e92e307cf18d6a38aa
|
||||||
|
|
||||||
conf_files="/etc/security/capability.conf"
|
conf_files="/etc/security/capability.conf"
|
||||||
|
|
||||||
do_build() {
|
pre_build() {
|
||||||
make CC="$CC" BUILD_CC=cc
|
vsed -e 's,CC :=,CC ?=,' -i Make.Rules
|
||||||
|
# Disable tests, as they cause cross-build failure
|
||||||
|
vsed -e '/test:/,/.sh/d' -e '/tests/d' -i Makefile
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
_destdir=${wrksrc}/temp_install
|
|
||||||
|
|
||||||
make DESTDIR=${_destdir} MANDIR=/usr/share/man \
|
|
||||||
SBINDIR=/usr/sbin LIBDIR=/usr/lib \
|
|
||||||
RAISE_SETFCAP=no PKGCONFIGDIR=/usr/lib/pkgconfig install
|
|
||||||
|
|
||||||
vinstall pam_cap/capability.conf 644 etc/security
|
vinstall pam_cap/capability.conf 644 etc/security
|
||||||
vmkdir usr/lib
|
vmkdir usr/lib/security
|
||||||
mv ${_destdir}/usr/lib/security ${DESTDIR}/usr/lib
|
mv pam_cap/pam_cap.so ${DESTDIR}/usr/lib/security
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue