From d575e70585649386a2690922bf8263452b7f55bf Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 27 Jan 2010 00:55:53 +0100 Subject: [PATCH] libcap: update to 2.19. --HG-- extra : convert_revision : 37a417914c11a10d779c833d72996bd355a23d63 --- srcpkgs/libcap/libcap-devel.template | 1 + srcpkgs/libcap/libcap-pam.template | 4 ++-- srcpkgs/libcap/libcap-progs.template | 4 ++-- srcpkgs/libcap/template | 6 +++--- 4 files changed, 8 insertions(+), 7 deletions(-) diff --git a/srcpkgs/libcap/libcap-devel.template b/srcpkgs/libcap/libcap-devel.template index 3455a2fb7f3..a7a7abbcf21 100644 --- a/srcpkgs/libcap/libcap-devel.template +++ b/srcpkgs/libcap/libcap-devel.template @@ -5,6 +5,7 @@ long_desc="${long_desc} This package contains files for development, headers, static libs, etc." +Add_dependency run glibc-devel Add_dependency run libcap do_install() diff --git a/srcpkgs/libcap/libcap-pam.template b/srcpkgs/libcap/libcap-pam.template index 495f611e773..fcdc52eb095 100644 --- a/srcpkgs/libcap/libcap-pam.template +++ b/srcpkgs/libcap/libcap-pam.template @@ -13,7 +13,7 @@ Add_dependency run pam do_install() { - mkdir -p ${DESTDIR}/lib - mv ${SRCPKGDESTDIR}/lib/security ${DESTDIR}/lib + mkdir -p ${DESTDIR} + mv ${SRCPKGDESTDIR}/lib ${DESTDIR} mv ${SRCPKGDESTDIR}/etc ${DESTDIR} } diff --git a/srcpkgs/libcap/libcap-progs.template b/srcpkgs/libcap/libcap-progs.template index cd60a5e5a0f..65e496eaa02 100644 --- a/srcpkgs/libcap/libcap-progs.template +++ b/srcpkgs/libcap/libcap-progs.template @@ -10,7 +10,7 @@ Add_dependency run libcap do_install() { - mkdir -p ${DESTDIR}/usr/share/man + mkdir -p ${DESTDIR}/usr mv ${SRCPKGDESTDIR}/usr/sbin ${DESTDIR}/usr - mv ${SRCPKGDESTDIR}/usr/share/man/man8 ${DESTDIR}/usr/share/man + mv ${SRCPKGDESTDIR}/usr/share ${DESTDIR}/usr } diff --git a/srcpkgs/libcap/template b/srcpkgs/libcap/template index b1da1369324..bb9ee8f8db5 100644 --- a/srcpkgs/libcap/template +++ b/srcpkgs/libcap/template @@ -1,13 +1,12 @@ # Template file for 'libcap' pkgname=libcap -version=2.17 -revision=1 +version=2.19 distfiles="${KERNEL_SITE}/libs/security/linux-privs/libcap2/$pkgname-$version.tar.bz2" build_style=gnu_makefile make_install_args="prefix=/usr" short_desc="POSIX.1e capabilities library" maintainer="Juan RP " -checksum=2cab109eed9bd944408c13efed910091479d8770cf9aa1bec4f9b26d9302f5b0 +checksum=ed1693e344054a398e68a7cc840892e3d1a880562743bdf28fd918649aa5a4ce long_desc=" libcap is a library for getting and setting POSIX.1e (formerly POSIX 6) draft 15 capabilities." @@ -39,4 +38,5 @@ post_install() ${DESTDIR}/etc/security/capability.conf || return 1 mkdir -p ${DESTDIR}/lib || return 1 mv ${DESTDIR}/usr/lib/security ${DESTDIR}/lib || return 1 + rm -f ${DESTDIR}/usr/lib64 }