libcap: switch to /usr.
This commit is contained in:
parent
7ab9ae08e8
commit
cdf5d372f9
3 changed files with 9 additions and 16 deletions
srcpkgs/libcap
|
@ -1,16 +1,12 @@
|
||||||
# Template file for 'libcap-pam'.
|
# Template file for 'libcap-pam'.
|
||||||
#
|
#
|
||||||
depends="attr pam"
|
conf_files="/etc/security/capability.conf"
|
||||||
short_desc="${short_desc} (PAM module)"
|
short_desc="${short_desc} (PAM module)"
|
||||||
long_desc="${long_desc}
|
long_desc="${long_desc}
|
||||||
|
|
||||||
This package contains a PAM module provided by the libcap package."
|
This package contains a PAM module provided by the libcap package."
|
||||||
|
|
||||||
conf_files="/etc/security/capability.conf"
|
do_install() {
|
||||||
|
vmove lib/security usr/lib
|
||||||
|
|
||||||
do_install()
|
|
||||||
{
|
|
||||||
vmove lib/security lib
|
|
||||||
vmove etc
|
vmove etc
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,9 +5,7 @@ long_desc="${long_desc}
|
||||||
|
|
||||||
This package contains binary utilities provided by the libcap package."
|
This package contains binary utilities provided by the libcap package."
|
||||||
|
|
||||||
|
do_install() {
|
||||||
do_install()
|
vmove "sbin/*" usr/sbin
|
||||||
{
|
|
||||||
vmove sbin
|
|
||||||
vmove usr/share usr
|
vmove usr/share usr
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,21 +1,20 @@
|
||||||
# Template file for 'libcap'
|
# Template file for 'libcap'
|
||||||
pkgname=libcap
|
pkgname=libcap
|
||||||
version=2.22
|
version=2.22
|
||||||
revision=4
|
revision=5
|
||||||
distfiles="ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${version}.tar.gz"
|
subpackages="$pkgname-devel $pkgname-pam $pkgname-progs"
|
||||||
#distfiles="${KERNEL_SITE}/libs/security/linux-privs/libcap2/$pkgname-$version.tar.bz2"
|
|
||||||
makedepends="perl pam-devel attr-devel"
|
makedepends="perl pam-devel attr-devel"
|
||||||
short_desc="POSIX.1e capabilities library"
|
short_desc="POSIX.1e capabilities library"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
homepage="http://sites.google.com/site/fullycapable/"
|
homepage="http://sites.google.com/site/fullycapable/"
|
||||||
license="GPL-2"
|
license="GPL-2"
|
||||||
|
distfiles="ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${version}.tar.gz"
|
||||||
|
#distfiles="${KERNEL_SITE}/libs/security/linux-privs/libcap2/$pkgname-$version.tar.bz2"
|
||||||
checksum=e1cae65d8febf2579be37c255d2e058715785ead481a4e6a4357a06aff84721f
|
checksum=e1cae65d8febf2579be37c255d2e058715785ead481a4e6a4357a06aff84721f
|
||||||
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."
|
||||||
|
|
||||||
subpackages="$pkgname-devel $pkgname-pam $pkgname-progs"
|
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
sed -i -e "s|LIBDIR=\$(FAKEROOT)\$(lib_prefix)\/lib|LIBDIR=\$(FAKEROOT)/\$(lib)|g" \
|
sed -i -e "s|LIBDIR=\$(FAKEROOT)\$(lib_prefix)\/lib|LIBDIR=\$(FAKEROOT)/\$(lib)|g" \
|
||||||
Make.Rules
|
Make.Rules
|
||||||
|
|
Loading…
Reference in a new issue