summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Julien Pivotto <roidelapluie@inuits.eu> 2016-05-23 23:02:12 +0200
committerAvatar Heiko Becker <heirecka@exherbo.org> 2017-01-27 09:07:20 +0100
commit4538610e8c708d1d20b8920047f58d8fc92fce62 (patch)
tree863b59716299cd16f756f60f4bd34bd901ced4c3
parentcd8d6e41deb0cc3141f89834c78a5ddbaaa0b43e (diff)
downloadselinux-master.tar.gz
selinux-master.tar.xz
security/policycoreutils: Import 2.6HEADmaster
Change-Id: I06b82ede8e1422ba4063f2b603f56d7801811fc1 Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu> Reviewed-on: https://galileo.mailstation.de/gerrit/6174 Reviewed-by: Jenkins <wk@mailstation.de> Reviewed-by: Heiko Becker <heirecka@exherbo.org>
-rw-r--r--packages/security/policycoreutils/policycoreutils-2.6.exheres-056
1 files changed, 56 insertions, 0 deletions
diff --git a/packages/security/policycoreutils/policycoreutils-2.6.exheres-0 b/packages/security/policycoreutils/policycoreutils-2.6.exheres-0
new file mode 100644
index 0000000..d11c8e5
--- /dev/null
+++ b/packages/security/policycoreutils/policycoreutils-2.6.exheres-0
@@ -0,0 +1,56 @@
+# Copyright 2016 Julien Pivotto <roidelapluie@inuits.eu>
+# Distributed under the terms of the GNU General Public License v2
+
+require github [ user=SELinuxProject tag="${PNV}" pn=selinux ]
+require python [ blacklist=none multibuild=false ]
+
+SUMMARY="Core utilities required to operate a SElinux Linux system and its policies"
+DESCRIPTION="This package includes tools like load_policy to load policies, setfiles,
+newrole and other essential SELinux tools."
+
+BUGS_TO="roidelapluie@inuits.eu"
+
+LICENCES="GPL-2"
+SLOT="0"
+PLATFORMS="~amd64"
+MYOPTIONS=""
+
+DEPENDENCIES="
+ build+run:
+ app-admin/audit
+ dev-libs/dbus-glib:1
+ dev-libs/glib:2
+ security/libselinux[~${PV}][python][python_abis:*(-)?]
+ security/libsemanage[~${PV}]
+ security/libsepol[~${PV}]
+ security/setools:3
+ sys-apps/dbus
+ sys-libs/libcap-ng
+ sys-libs/pam
+"
+
+DEFAULT_SRC_INSTALL_PARAMS=(
+ PREFIX="${IMAGE}/usr/$(exhost --target)"
+ LIBDIR="${IMAGE}/usr/$(exhost --target)/lib"
+ SBINDIR="${IMAGE}/usr/$(exhost --target)/bin"
+ USRSBINDIR="${IMAGE}/usr/$(exhost --target)/bin"
+ BINDIR="${IMAGE}/usr/$(exhost --target)/bin"
+ BINDIR="${IMAGE}/usr/$(exhost --target)/libexec"
+ DATADIR="${IMAGE}/usr/share"
+ MANDIR="${IMAGE}/usr/share/man"
+ SHAREDIR="${IMAGE}/usr/share/sandbox"
+ SYSTEMDDIR="${IMAGE}/usr/$(exhost --target)/lib/systemd"
+)
+
+WORK="${WORKBASE}/selinux-${PNV}/${PN}"
+
+src_install(){
+ default
+
+ edo rm "${IMAGE}"/etc/sysconfig/sandbox
+ edo rmdir "${IMAGE}"/etc/sysconfig
+ edo rm "${IMAGE}"/etc/rc.d/init.d/restorecond
+ edo rmdir "${IMAGE}"/etc/rc.d/init.d
+ edo rmdir "${IMAGE}"/etc/rc.d
+}
+