libcap: update to 2.19.

--HG--
extra : convert_revision : 37a417914c11a10d779c833d72996bd355a23d63
This commit is contained in:
Juan RP 2010-01-27 00:55:53 +01:00
parent c2bb6298df
commit d575e70585
4 changed files with 8 additions and 7 deletions

View file

@ -5,6 +5,7 @@ long_desc="${long_desc}
This package contains files for development, headers, static libs, etc." This package contains files for development, headers, static libs, etc."
Add_dependency run glibc-devel
Add_dependency run libcap Add_dependency run libcap
do_install() do_install()

View file

@ -13,7 +13,7 @@ Add_dependency run pam
do_install() do_install()
{ {
mkdir -p ${DESTDIR}/lib mkdir -p ${DESTDIR}
mv ${SRCPKGDESTDIR}/lib/security ${DESTDIR}/lib mv ${SRCPKGDESTDIR}/lib ${DESTDIR}
mv ${SRCPKGDESTDIR}/etc ${DESTDIR} mv ${SRCPKGDESTDIR}/etc ${DESTDIR}
} }

View file

@ -10,7 +10,7 @@ Add_dependency run libcap
do_install() do_install()
{ {
mkdir -p ${DESTDIR}/usr/share/man mkdir -p ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/sbin ${DESTDIR}/usr mv ${SRCPKGDESTDIR}/usr/sbin ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/share/man/man8 ${DESTDIR}/usr/share/man mv ${SRCPKGDESTDIR}/usr/share ${DESTDIR}/usr
} }

View file

@ -1,13 +1,12 @@
# Template file for 'libcap' # Template file for 'libcap'
pkgname=libcap pkgname=libcap
version=2.17 version=2.19
revision=1
distfiles="${KERNEL_SITE}/libs/security/linux-privs/libcap2/$pkgname-$version.tar.bz2" distfiles="${KERNEL_SITE}/libs/security/linux-privs/libcap2/$pkgname-$version.tar.bz2"
build_style=gnu_makefile build_style=gnu_makefile
make_install_args="prefix=/usr" make_install_args="prefix=/usr"
short_desc="POSIX.1e capabilities library" short_desc="POSIX.1e capabilities library"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"
checksum=2cab109eed9bd944408c13efed910091479d8770cf9aa1bec4f9b26d9302f5b0 checksum=ed1693e344054a398e68a7cc840892e3d1a880562743bdf28fd918649aa5a4ce
long_desc=" long_desc="
libcap is a library for getting and setting POSIX.1e (formerly POSIX 6) libcap is a library for getting and setting POSIX.1e (formerly POSIX 6)
draft 15 capabilities." draft 15 capabilities."
@ -39,4 +38,5 @@ post_install()
${DESTDIR}/etc/security/capability.conf || return 1 ${DESTDIR}/etc/security/capability.conf || return 1
mkdir -p ${DESTDIR}/lib || return 1 mkdir -p ${DESTDIR}/lib || return 1
mv ${DESTDIR}/usr/lib/security ${DESTDIR}/lib || return 1 mv ${DESTDIR}/usr/lib/security ${DESTDIR}/lib || return 1
rm -f ${DESTDIR}/usr/lib64
} }