aboutsummaryrefslogtreecommitdiffstats
path: root/testing/checkpolicy
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2018-12-26 07:48:03 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2018-12-26 09:32:10 +0000
commitc6423a3c64bd73ce82c87de204a1360008fc7d76 (patch)
treedbd5fc0f2e59a673cc0a8f4458a5ee23e9fa4eba /testing/checkpolicy
parent90b0a27c0cc8621d3a1d25750f57a4708842fb45 (diff)
downloadaports-c6423a3c64bd73ce82c87de204a1360008fc7d76.tar.bz2
aports-c6423a3c64bd73ce82c87de204a1360008fc7d76.tar.xz
testing/checkpolicy: upgrade to 2.8, added check()
Diffstat (limited to 'testing/checkpolicy')
-rw-r--r--testing/checkpolicy/APKBUILD16
1 files changed, 9 insertions, 7 deletions
diff --git a/testing/checkpolicy/APKBUILD b/testing/checkpolicy/APKBUILD
index 0321b6eae8..92b4cbd532 100644
--- a/testing/checkpolicy/APKBUILD
+++ b/testing/checkpolicy/APKBUILD
@@ -1,16 +1,14 @@
# Maintainer: Tycho Andersen <tycho@docker.com>
pkgname=checkpolicy
-pkgver=2.6
-pkgrel=1
+pkgver=2.8
+pkgrel=0
pkgdesc="SELinux policy checker"
url="https://selinuxproject.org/"
arch="all"
license="GPL-2.0"
makedepends="libsepol-dev bison flex-dev"
subpackages="$pkgname-doc"
-source="https://github.com/SELinuxProject/selinux/archive/checkpolicy-$pkgver.tar.gz
- 0001-remove-apple-ifdef.patch
- "
+source="https://github.com/SELinuxProject/selinux/archive/checkpolicy-$pkgver.tar.gz"
builddir="$srcdir/selinux-checkpolicy-$pkgver/checkpolicy"
build() {
@@ -18,10 +16,14 @@ build() {
make
}
+check() {
+ cd "$builddir"
+ make test
+}
+
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
-sha512sums="24f617d1fbc17422ede258836cf7f90cf6ef1f018fe3848bcafd69a768b47e7fa2de31452f3ad76b15de4ef962b5d5c7313a42b718b9d905b096b2361f1a9b12 checkpolicy-2.6.tar.gz
-9392c01f4fe73ccf7bed865b9721b8f0d9d76068f68ec03af41e07fae7aede6d53627ca001585b171f973d2d83b4f2f65465de78597eba3b5e576b9c7aa903a7 0001-remove-apple-ifdef.patch"
+sha512sums="67d88c049ef069a73bfc2663b0049d178dd43b0a3b5ca65716793d5f5bf992082aea4d4261d9d3fa0f9ab2dec3fc042c6f9917bceea40007332f9ac74f5bdb32 checkpolicy-2.8.tar.gz"