summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-06-23 20:03:35 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-06-23 20:03:35 -0500
commit78abd0b4226d44ab0779a71fb592fbaf8b83bb70 (patch)
tree61629e3744ac544829235f3fd70024ac8109926d
parentcb6bc63942d10bbbef58904cfe243adb61adb19f (diff)
downloadpackages-78abd0b4226d44ab0779a71fb592fbaf8b83bb70.tar.gz
packages-78abd0b4226d44ab0779a71fb592fbaf8b83bb70.tar.bz2
packages-78abd0b4226d44ab0779a71fb592fbaf8b83bb70.tar.xz
packages-78abd0b4226d44ab0779a71fb592fbaf8b83bb70.zip
system/libcap: [PD] no maintainer, fix license, modernise
-rw-r--r--system/libcap/APKBUILD24
1 files changed, 11 insertions, 13 deletions
diff --git a/system/libcap/APKBUILD b/system/libcap/APKBUILD
index aa989e478..95bfa3bba 100644
--- a/system/libcap/APKBUILD
+++ b/system/libcap/APKBUILD
@@ -1,31 +1,29 @@
-# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+# Contributor: Natanael Copa <ncopa@alpinelinux.org>
+# Maintainer:
pkgname=libcap
pkgver=2.25
-pkgrel=1
+pkgrel=2
pkgdesc="POSIX 1003.1e capabilities"
arch="all"
-license="GPL"
-url="http://www.friedhoff.org/posixfilecaps.html"
options="!check"
-depends=
+license="BSD-3-Clause OR GPL-2.0-only"
+url="http://www.friedhoff.org/posixfilecaps.html"
+depends=""
depends_dev="linux-headers"
makedepends_build="linux-headers perl"
makedepends_host="$depends_dev attr-dev"
makedepends="$makedepends_build $makedepends_host"
-source="https://kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-$pkgver.tar.xz"
subpackages="$pkgname-doc $pkgname-dev"
+source="https://kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-$pkgver.tar.xz"
-_builddir="$srcdir"/$pkgname-$pkgver
-build ()
-{
- cd "$_builddir"
+build () {
+ cd "$builddir"
make BUILD_CC=gcc CC="${CC:-gcc}" lib=lib prefix=/usr DESTDIR="$pkgdir"
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make lib=/lib prefix=/usr RAISE_SETFCAP=no DESTDIR="$pkgdir" install
}
-md5sums="6666b839e5d46c2ad33fc8aa2ceb5f77 libcap-2.25.tar.xz"
-sha256sums="693c8ac51e983ee678205571ef272439d83afe62dd8e424ea14ad9790bc35162 libcap-2.25.tar.xz"
+
sha512sums="c3ab491885292adc171cde542b96f1295e84132febb50112a46575c3bde3a3eb6fcf733f7a756b4b656e013c0abb5ed6571db24799f8c0b23d8f759f992864f9 libcap-2.25.tar.xz"