summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Iooss2017-05-17 23:48:21 +0200
committerNicolas Iooss2017-05-17 23:48:21 +0200
commitaae4923a95a61f86a319b33a9ff704346b954c38 (patch)
tree9464ef75aa6ddba25a422a16fa62f441811b27cd
parent96125f1f3496443a808fa73c59c2132a90453970 (diff)
downloadaur-aae4923a95a61f86a319b33a9ff704346b954c38.tar.gz
selinux-refpolicy-src: move linux-selinux to optional dependencies
linux-hardened or an other custom kernel can be installed too in order to provide a kernel with SELinux.
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD3
2 files changed, 4 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 026accedaba..dbb57569c86 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -11,7 +11,8 @@ pkgbase = selinux-refpolicy-src
makedepends = policycoreutils>=2.1.10
makedepends = libsepol>=2.1.4
makedepends = libsemanage>=2.0.29
- depends = linux-selinux
+ optdepends = linux-hardened: Linux kernel with SELinux support
+ optdepends = linux-selinux: Linux kernel with SELinux support
source = https://raw.githubusercontent.com/wiki/TresysTechnology/refpolicy/files/refpolicy-2.20170204.tar.bz2
sha256sums = 5e4daee61d89dfdc8c7bf369f81c99845931e337916dc6401e301c5de57ea336
diff --git a/PKGBUILD b/PKGBUILD
index 5258e797fdd..3b0f3c013b9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -11,7 +11,8 @@ arch=('any')
url="https://github.com/TresysTechnology/refpolicy/wiki"
license=('GPL')
groups=('selinux' 'selinux-policies')
-depends=('linux-selinux')
+optdepends=('linux-hardened: Linux kernel with SELinux support'
+ 'linux-selinux: Linux kernel with SELinux support')
makedepends=('checkpolicy>=2.1.8' 'policycoreutils>=2.1.10'
'libsepol>=2.1.4' 'libsemanage>=2.0.29')
source=("https://raw.githubusercontent.com/wiki/TresysTechnology/${_origname}/files/${_origname}-2.${pkgver}.tar.bz2")