summaryrefslogtreecommitdiffstats
path: root/abs/core-testing
diff options
context:
space:
mode:
authorCecil Hugh Watson <knoppmyth@gmail.com>2009-06-06 06:52:43 (GMT)
committerCecil Hugh Watson <knoppmyth@gmail.com>2009-06-06 06:52:43 (GMT)
commitd1dc84be1c14be8fc0211c583c2eb7cdf44b8504 (patch)
tree6e2350ea75af17b0ccb0a2c529c4eccdc1a4f6e1 /abs/core-testing
parent3d3022399bd4f53ab44767a38ea59adb8f3051a2 (diff)
downloadlinhes_pkgbuild-d1dc84be1c14be8fc0211c583c2eb7cdf44b8504.zip
linhes_pkgbuild-d1dc84be1c14be8fc0211c583c2eb7cdf44b8504.tar.gz
linhes_pkgbuild-d1dc84be1c14be8fc0211c583c2eb7cdf44b8504.tar.bz2
Bumped to latest for vsftpd.
Diffstat (limited to 'abs/core-testing')
-rw-r--r--abs/core-testing/libcap/PKGBUILD28
1 files changed, 15 insertions, 13 deletions
diff --git a/abs/core-testing/libcap/PKGBUILD b/abs/core-testing/libcap/PKGBUILD
index 8d09b19..a80dccf 100644
--- a/abs/core-testing/libcap/PKGBUILD
+++ b/abs/core-testing/libcap/PKGBUILD
@@ -1,20 +1,22 @@
-#$Id: PKGBUILD 8870 2008-08-16 22:39:56Z eric $
-# Maintainer: Arjan Timmerman <arjan@archlinux.org>
+#$Id: PKGBUILD 29964 2009-03-15 02:32:04Z hugo $
+# Maintainer: Hugo Doria <hugo@archlinux.org>
+
pkgname=libcap
-pkgver=1.10
-pkgrel=2
+pkgver=2.16
+pkgrel=3
pkgdesc="POSIX 1003.1e capabilities"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64')
url="http://www.kernel.org/pub/linux/libs/security/linux-privs/"
-license="GPL"
+license=('GPL')
depends=('glibc')
-source=(http://www.kernel.org/pub/linux/libs/security/linux-privs/kernel-2.4/${pkgname}-${pkgver}.tar.gz
- libcap-1.10-debian.patch)
-md5sums=('2c09eea823f67cfdde96177a959bc39b' 'ba642c86c4072917fcff77ec31411194')
+source=(http://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/${pkgname}-${pkgver}.tar.gz)
+md5sums=('9e075fda242c4070ba76407064c13302')
build() {
- cd ${startdir}/src/${pkgname}-${pkgver}
- patch -Np1 -i ${startdir}/src/libcap-1.10-debian.patch || return 1
- make prefix=/usr DESTDIR=${startdir}/pkg install
- rmdir ${startdir}/pkg/usr/share/man/man2
+ cd ${srcdir}/${pkgname}-${pkgver}
+ sed -i -e "s|LIBDIR=\$(FAKEROOT)\$(lib_prefix)/\$(lib)|LIBDIR=\$(FAKEROOT)/\$(lib)|g" Make.Rules || return 1
+ make prefix=/usr DESTDIR=${pkgdir} install
+
+ rm ${pkgdir}/lib/*.a || return 1
+ chmod 755 ${pkgdir}/lib/libcap.so.* || return 1
}