summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Vermeulen <swift@gentoo.org>2014-05-10 14:04:59 +0000
committerSven Vermeulen <swift@gentoo.org>2014-05-10 14:04:59 +0000
commitae2bfb8ec30e4101597d5df8961def30477c63f5 (patch)
treea5e5ba10122a4dd318ae104b9d7e98c81cf8d1bd /sys-apps/policycoreutils
parent[QA] Mark as a QA commit; for future reference, if ever needed. (diff)
downloadgentoo-2-ae2bfb8ec30e4101597d5df8961def30477c63f5.tar.gz
gentoo-2-ae2bfb8ec30e4101597d5df8961def30477c63f5.tar.bz2
gentoo-2-ae2bfb8ec30e4101597d5df8961def30477c63f5.zip
Spring cleanup
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0x2EDD52403B68AF47)
Diffstat (limited to 'sys-apps/policycoreutils')
-rw-r--r--sys-apps/policycoreutils/ChangeLog11
-rw-r--r--sys-apps/policycoreutils/files/policycoreutils-extra-1.21-fix-python3.patch108
-rw-r--r--sys-apps/policycoreutils/policycoreutils-2.1.14-r1.ebuild140
-rw-r--r--sys-apps/policycoreutils/policycoreutils-2.1.14-r2.ebuild140
-rw-r--r--sys-apps/policycoreutils/policycoreutils-2.1.14-r3.ebuild156
-rw-r--r--sys-apps/policycoreutils/policycoreutils-2.1.14-r4.ebuild156
-rw-r--r--sys-apps/policycoreutils/policycoreutils-2.1.14-r5.ebuild156
-rw-r--r--sys-apps/policycoreutils/policycoreutils-2.2.1-r1.ebuild151
-rw-r--r--sys-apps/policycoreutils/policycoreutils-2.2.5-r1.ebuild151
-rw-r--r--sys-apps/policycoreutils/policycoreutils-2.2.5-r3.ebuild151
-rw-r--r--sys-apps/policycoreutils/policycoreutils-2.3_rc1-r1.ebuild151
-rw-r--r--sys-apps/policycoreutils/policycoreutils-2.3_rc1.ebuild154
12 files changed, 10 insertions, 1615 deletions
diff --git a/sys-apps/policycoreutils/ChangeLog b/sys-apps/policycoreutils/ChangeLog
index 49a269a36bbc..2f0c5c3a461a 100644
--- a/sys-apps/policycoreutils/ChangeLog
+++ b/sys-apps/policycoreutils/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for sys-apps/policycoreutils
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/policycoreutils/ChangeLog,v 1.136 2014/05/10 12:54:21 swift Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/policycoreutils/ChangeLog,v 1.137 2014/05/10 14:04:59 swift Exp $
+
+ 10 May 2014; Sven Vermeulen <swift@gentoo.org>
+ -policycoreutils-2.1.14-r1.ebuild, -policycoreutils-2.1.14-r2.ebuild,
+ -policycoreutils-2.1.14-r3.ebuild, -policycoreutils-2.1.14-r4.ebuild,
+ -policycoreutils-2.1.14-r5.ebuild, -policycoreutils-2.2.1-r1.ebuild,
+ -policycoreutils-2.2.5-r1.ebuild, -policycoreutils-2.2.5-r3.ebuild,
+ -policycoreutils-2.3_rc1.ebuild, -policycoreutils-2.3_rc1-r1.ebuild,
+ -files/policycoreutils-extra-1.21-fix-python3.patch:
+ Spring cleanup
10 May 2014; Sven Vermeulen <swift@gentoo.org>
policycoreutils-2.2.5-r4.ebuild:
diff --git a/sys-apps/policycoreutils/files/policycoreutils-extra-1.21-fix-python3.patch b/sys-apps/policycoreutils/files/policycoreutils-extra-1.21-fix-python3.patch
deleted file mode 100644
index 66979abc05fb..000000000000
--- a/sys-apps/policycoreutils/files/policycoreutils-extra-1.21-fix-python3.patch
+++ /dev/null
@@ -1,108 +0,0 @@
-diff -ur policycoreutils-extra.orig/scripts/rlpkg policycoreutils-extra/scripts/rlpkg
---- policycoreutils-extra.orig/scripts/rlpkg 2012-05-01 16:01:43.321023704 +0200
-+++ policycoreutils-extra/scripts/rlpkg 2012-05-01 16:01:53.192023725 +0200
-@@ -86,7 +86,7 @@
- t = portage.db["/"]["vartree"].dbapi.match(search_key)
- # catch the "amgigous package" Exception
- except ValueError as e:
-- if type(e[0]) == types.ListType:
-+ if type(e[0]) == list:
- t = []
- for cp in e[0]:
- t += portage.db["/"]["vartree"].dbapi.match(cp)
-@@ -112,7 +112,7 @@
-
- def find_xattr_mounts():
- """Find mounted xattr filesystems"""
-- print("Relabeling filesystem types: "+" ".join(xattrfs))
-+ print(("Relabeling filesystem types: "+" ".join(xattrfs)))
- mounts=open("/etc/mtab", "r")
-
- fs_matches=[]
-@@ -158,29 +158,29 @@
-
- (ret,context) = selinux.getfilecon(filename)
- if ret < 0:
-- print("Error getting context of "+filename)
-+ print(("Error getting context of "+filename))
- continue
-
- ctx = string.split(context,":")
-
- if len(ctx) < 3:
-- print("Debug: getfilecon on \""+filename+"\" returned a context of \""+context+"\" which split incorrectly ("+ctx+").")
-+ print(("Debug: getfilecon on \""+filename+"\" returned a context of \""+context+"\" which split incorrectly ("+ctx+")."))
- continue
-
- if ctx[2] in textrel_ok_relabelfrom:
- if verbose:
-- print("Relabeling "+filename+" to "+textrel_type+".")
-+ print(("Relabeling "+filename+" to "+textrel_type+"."))
- ctx[2] = textrel_type
- if selinux.setfilecon(filename,string.join(ctx,":")) < 0:
-- print("Failed to relabel "+filename)
-+ print(("Failed to relabel "+filename))
- elif ctx[2] == textrel_type:
- if verbose:
-- print("Skipping "+filename+" because it is already "+textrel_type+".")
-+ print(("Skipping "+filename+" because it is already "+textrel_type+"."))
- else:
-- print("Not relabeling "+filename+" because it is "+ctx[2]+".")
-+ print(("Not relabeling "+filename+" because it is "+ctx[2]+"."))
- notok += 1
-
-- print("%(a)d libraries with text relocations, %(b)d not relabeled." % {"a":textrel_libs, "b":notok})
-+ print(("%(a)d libraries with text relocations, %(b)d not relabeled." % {"a":textrel_libs, "b":notok}))
-
- if notok > 0:
- print("\nSome files were not relabeled! This is not necessarily bad,")
-@@ -197,10 +197,10 @@
-
- textrel_bins = 0
- for line in tb.stdout.readline():
-- print("PIE executable "+line.split()[1]+" has text relocations!")
-+ print(("PIE executable "+line.split()[1]+" has text relocations!"))
- textrel_bins += 1
-
-- print("%d binaries with text relocations detected." % (textrel_bins))
-+ print(("%d binaries with text relocations detected." % (textrel_bins)))
-
- if textrel_bins > 0:
- print("\nPIE binaries with text relocations have been detected!")
-@@ -234,8 +234,8 @@
- childin = os.popen(string.join(cmdline),'w')
-
- for i in pkglist:
-- print("Relabeling: "+i.get_cpv())
-- for j in i.get_contents().keys():
-+ print(("Relabeling: "+i.get_cpv()))
-+ for j in list(i.get_contents().keys()):
- childin.write(j+'\n')
-
- rc = childin.close()
-@@ -245,14 +245,14 @@
- if rc == None:
- rc = 0
- else:
-- print("Error relabeling: %d" % (rc))
-+ print(("Error relabeling: %d" % (rc)))
-
- return rc
-
- def usage(message=""):
- pgmname = os.path.basename(sys.argv[0])
-
-- print("Usage: %s [OPTIONS] {<pkg1> [<pkg2> ...]}" % (pgmname))
-+ print(("Usage: %s [OPTIONS] {<pkg1> [<pkg2> ...]}" % (pgmname)))
- print("\n\
- -a, --all Relabel the entire filesystem instead of individual packages.\n\
- -r, --reset Force reset of context if the file's selinux identity is\n\
-@@ -266,7 +266,7 @@
- \"policycoreutils\" or \">=sys-apps/policycoreutils-1.30\".\n\
- ")
- if message != "":
-- print(pgmname+": "+message)
-+ print((pgmname+": "+message))
- sys.exit(1)
- else:
- sys.exit(0)
diff --git a/sys-apps/policycoreutils/policycoreutils-2.1.14-r1.ebuild b/sys-apps/policycoreutils/policycoreutils-2.1.14-r1.ebuild
deleted file mode 100644
index 7d6bb6713208..000000000000
--- a/sys-apps/policycoreutils/policycoreutils-2.1.14-r1.ebuild
+++ /dev/null
@@ -1,140 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/policycoreutils/policycoreutils-2.1.14-r1.ebuild,v 1.1 2013/04/25 18:55:43 swift Exp $
-
-EAPI="4"
-PYTHON_DEPEND="2:2.7"
-PYTHON_USE_WITH="xml"
-SUPPORT_PYTHON_ABIS="1"
-RESTRICT_PYTHON_ABIS="*-jython *-pypy-* 3.*"
-
-inherit multilib python toolchain-funcs eutils
-
-EXTRAS_VER="1.28"
-SEMNG_VER="2.1.10"
-SELNX_VER="2.1.13"
-SEPOL_VER="2.1.9"
-
-IUSE="audit pam dbus sesandbox"
-
-DESCRIPTION="SELinux core utilities"
-HOMEPAGE="http://userspace.selinuxproject.org"
-SRC_URI="http://userspace.selinuxproject.org/releases/20130423/${P}.tar.gz
-http://dev.gentoo.org/~swift/patches/policycoreutils/patchbundle-${P}-gentoo-r1.tar.gz
- mirror://gentoo/policycoreutils-extra-${EXTRAS_VER}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-COMMON_DEPS=">=sys-libs/libselinux-${SELNX_VER}[python]
- >=sys-libs/glibc-2.4
- >=sys-libs/libcap-1.10-r10
- >=sys-libs/libsemanage-${SEMNG_VER}[python]
- sys-libs/libcap-ng
- >=sys-libs/libsepol-${SEPOL_VER}
- sys-devel/gettext
- dev-python/ipy
- sesandbox? ( dev-libs/libcgroup )
- dbus? (
- sys-apps/dbus
- dev-libs/dbus-glib
- )
- audit? ( >=sys-process/audit-1.5.1 )
- pam? ( sys-libs/pam )"
-
-### libcgroup -> seunshare
-### dbus -> restorecond
-
-# pax-utils for scanelf used by rlpkg
-RDEPEND="${COMMON_DEPS}
- dev-python/sepolgen
- app-misc/pax-utils"
-
-DEPEND="${COMMON_DEPS}"
-
-S2=${WORKDIR}/policycoreutils-extra
-
-src_prepare() {
- # rlpkg is more useful than fixfiles
- sed -i -e '/^all/s/fixfiles//' "${S}/scripts/Makefile" \
- || die "fixfiles sed 1 failed"
- sed -i -e '/fixfiles/d' "${S}/scripts/Makefile" \
- || die "fixfiles sed 2 failed"
-
- EPATCH_MULTI_MSG="Applying policycoreutils patches ... " \
- EPATCH_SUFFIX="patch" \
- EPATCH_SOURCE="${WORKDIR}/gentoo-patches" \
- EPATCH_FORCE="yes" \
- epatch
-
- # Overwrite gl.po, id.po and et.po with valid PO file
- #cp "${S}/po/sq.po" "${S}/po/gl.po" || die "failed to copy ${S}/po/sq.po to gl.po"
- #cp "${S}/po/sq.po" "${S}/po/id.po" || die "failed to copy ${S}/po/sq.po to id.po"
- #cp "${S}/po/sq.po" "${S}/po/et.po" || die "failed to copy ${S}/po/sq.po to et.po"
-
- epatch_user
-}
-
-src_compile() {
- local use_audit="n";
- local use_pam="n";
- local use_dbus="n";
- local use_sesandbox="n";
-
- use audit && use_audit="y";
- use pam && use_pam="y";
- use dbus && use_dbus="y";
- use sesandbox && use_sesandbox="y";
-
- python_copy_sources semanage sandbox
- building() {
- einfo "Compiling policycoreutils"
- emake -C "${S}" AUDIT_LOG_PRIVS="y" AUDITH="${use_audit}" PAMH="${use_pam}" INOTIFYH="${use_dbus}" SESANDBOX="${use_sesandbox}" CC="$(tc-getCC)" PYLIBVER="python$(python_get_version)" || die
- einfo "Compiling policycoreutils-extra "
- emake -C "${S2}" AUDIT_LOG_PRIVS="y" AUDITH="${use_audit}" PAMH="${use_pam}" INOTIFYH="${use_dbus}" SESANDBOX="${use_sesandbox}" CC="$(tc-getCC)" PYLIBVER="python$(python_get_version)" || die
- }
- python_execute_function -s --source-dir semanage building
-}
-
-src_install() {
- local use_audit="n";
- local use_pam="n";
- local use_dbus="n";
- local use_sesandbox="n";
-
- use audit && use_audit="y";
- use pam && use_pam="y";
- use dbus && use_dbus="y";
- use sesandbox && use_sesandbox="y";
-
- # Python scripts are present in many places. There are no extension modules.
- installation() {
- einfo "Installing policycoreutils"
- emake -C "${S}" DESTDIR="${T}/images/${PYTHON_ABI}" AUDITH="${use_audit}" PAMH="${use_pam}" INOTIFYH="${use_dbus}" SESANDBOX="${use_sesandbox}" AUDIT_LOG_PRIV="y" PYLIBVER="python$(python_get_version)" install || return 1
-
- einfo "Installing policycoreutils-extra"
- emake -C "${S2}" DESTDIR="${T}/images/${PYTHON_ABI}" SHLIBDIR="${D}$(get_libdir)/rc" install || return 1
- }
- python_execute_function installation
- python_merge_intermediate_installation_images "${T}/images"
-
- # remove redhat-style init script
- rm -fR "${D}/etc/rc.d"
-
- # compatibility symlinks
- dosym /sbin/setfiles /usr/sbin/setfiles
- dosym /$(get_libdir)/rc/runscript_selinux.so /$(get_libdir)/rcscripts/runscript_selinux.so
-
- # location for permissive definitions
- dodir /var/lib/selinux
- keepdir /var/lib/selinux
-}
-
-pkg_postinst() {
- python_mod_optimize seobject.py
-}
-
-pkg_postrm() {
- python_mod_cleanup seobject.py
-}
diff --git a/sys-apps/policycoreutils/policycoreutils-2.1.14-r2.ebuild b/sys-apps/policycoreutils/policycoreutils-2.1.14-r2.ebuild
deleted file mode 100644
index f949eb20c481..000000000000
--- a/sys-apps/policycoreutils/policycoreutils-2.1.14-r2.ebuild
+++ /dev/null
@@ -1,140 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/policycoreutils/policycoreutils-2.1.14-r2.ebuild,v 1.2 2013/06/16 18:18:21 swift Exp $
-
-EAPI="4"
-PYTHON_DEPEND="2:2.7"
-PYTHON_USE_WITH="xml"
-SUPPORT_PYTHON_ABIS="1"
-RESTRICT_PYTHON_ABIS="*-jython *-pypy-* 3.*"
-
-inherit multilib python toolchain-funcs eutils
-
-EXTRAS_VER="1.28"
-SEMNG_VER="2.1.10"
-SELNX_VER="2.1.13"
-SEPOL_VER="2.1.9"
-
-IUSE="audit pam dbus sesandbox"
-
-DESCRIPTION="SELinux core utilities"
-HOMEPAGE="http://userspace.selinuxproject.org"
-SRC_URI="http://userspace.selinuxproject.org/releases/20130423/${P}.tar.gz
-http://dev.gentoo.org/~swift/patches/policycoreutils/patchbundle-${P}-gentoo-r2.tar.gz
- mirror://gentoo/policycoreutils-extra-${EXTRAS_VER}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-
-COMMON_DEPS=">=sys-libs/libselinux-${SELNX_VER}[python]
- >=sys-libs/glibc-2.4
- >=sys-libs/libcap-1.10-r10
- >=sys-libs/libsemanage-${SEMNG_VER}[python]
- sys-libs/libcap-ng
- >=sys-libs/libsepol-${SEPOL_VER}
- sys-devel/gettext
- dev-python/ipy
- sesandbox? ( dev-libs/libcgroup )
- dbus? (
- sys-apps/dbus
- dev-libs/dbus-glib
- )
- audit? ( >=sys-process/audit-1.5.1 )
- pam? ( sys-libs/pam )"
-
-### libcgroup -> seunshare
-### dbus -> restorecond
-
-# pax-utils for scanelf used by rlpkg
-RDEPEND="${COMMON_DEPS}
- dev-python/sepolgen
- app-misc/pax-utils"
-
-DEPEND="${COMMON_DEPS}"
-
-S2=${WORKDIR}/policycoreutils-extra
-
-src_prepare() {
- # rlpkg is more useful than fixfiles
- sed -i -e '/^all/s/fixfiles//' "${S}/scripts/Makefile" \
- || die "fixfiles sed 1 failed"
- sed -i -e '/fixfiles/d' "${S}/scripts/Makefile" \
- || die "fixfiles sed 2 failed"
-
- EPATCH_MULTI_MSG="Applying policycoreutils patches ... " \
- EPATCH_SUFFIX="patch" \
- EPATCH_SOURCE="${WORKDIR}/gentoo-patches" \
- EPATCH_FORCE="yes" \
- epatch
-
- # Overwrite gl.po, id.po and et.po with valid PO file
- #cp "${S}/po/sq.po" "${S}/po/gl.po" || die "failed to copy ${S}/po/sq.po to gl.po"
- #cp "${S}/po/sq.po" "${S}/po/id.po" || die "failed to copy ${S}/po/sq.po to id.po"
- #cp "${S}/po/sq.po" "${S}/po/et.po" || die "failed to copy ${S}/po/sq.po to et.po"
-
- epatch_user
-}
-
-src_compile() {
- local use_audit="n";
- local use_pam="n";
- local use_dbus="n";
- local use_sesandbox="n";
-
- use audit && use_audit="y";
- use pam && use_pam="y";
- use dbus && use_dbus="y";
- use sesandbox && use_sesandbox="y";
-
- python_copy_sources semanage sandbox
- building() {
- einfo "Compiling policycoreutils"
- emake -C "${S}" AUDIT_LOG_PRIVS="y" AUDITH="${use_audit}" PAMH="${use_pam}" INOTIFYH="${use_dbus}" SESANDBOX="${use_sesandbox}" CC="$(tc-getCC)" PYLIBVER="python$(python_get_version)" || die
- einfo "Compiling policycoreutils-extra "
- emake -C "${S2}" AUDIT_LOG_PRIVS="y" AUDITH="${use_audit}" PAMH="${use_pam}" INOTIFYH="${use_dbus}" SESANDBOX="${use_sesandbox}" CC="$(tc-getCC)" PYLIBVER="python$(python_get_version)" || die
- }
- python_execute_function -s --source-dir semanage building
-}
-
-src_install() {
- local use_audit="n";
- local use_pam="n";
- local use_dbus="n";
- local use_sesandbox="n";
-
- use audit && use_audit="y";
- use pam && use_pam="y";
- use dbus && use_dbus="y";
- use sesandbox && use_sesandbox="y";
-
- # Python scripts are present in many places. There are no extension modules.
- installation() {
- einfo "Installing policycoreutils"
- emake -C "${S}" DESTDIR="${T}/images/${PYTHON_ABI}" AUDITH="${use_audit}" PAMH="${use_pam}" INOTIFYH="${use_dbus}" SESANDBOX="${use_sesandbox}" AUDIT_LOG_PRIV="y" PYLIBVER="python$(python_get_version)" install || return 1
-
- einfo "Installing policycoreutils-extra"
- emake -C "${S2}" DESTDIR="${T}/images/${PYTHON_ABI}" SHLIBDIR="${D}$(get_libdir)/rc" install || return 1
- }
- python_execute_function installation
- python_merge_intermediate_installation_images "${T}/images"
-
- # remove redhat-style init script
- rm -fR "${D}/etc/rc.d"
-
- # compatibility symlinks
- dosym /sbin/setfiles /usr/sbin/setfiles
- dosym /$(get_libdir)/rc/runscript_selinux.so /$(get_libdir)/rcscripts/runscript_selinux.so
-
- # location for permissive definitions
- dodir /var/lib/selinux
- keepdir /var/lib/selinux
-}
-
-pkg_postinst() {
- python_mod_optimize seobject.py
-}
-
-pkg_postrm() {
- python_mod_cleanup seobject.py
-}
diff --git a/sys-apps/policycoreutils/policycoreutils-2.1.14-r3.ebuild b/sys-apps/policycoreutils/policycoreutils-2.1.14-r3.ebuild
deleted file mode 100644
index 4164759bc68e..000000000000
--- a/sys-apps/policycoreutils/policycoreutils-2.1.14-r3.ebuild
+++ /dev/null
@@ -1,156 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/policycoreutils/policycoreutils-2.1.14-r3.ebuild,v 1.1 2013/07/07 16:03:07 swift Exp $
-
-EAPI="5"
-PYTHON_COMPAT=( python2_7 )
-PYTHON_REQ_USE="xml"
-
-inherit multilib python-r1 toolchain-funcs eutils
-
-EXTRAS_VER="1.29"
-SEMNG_VER="2.1.10"
-SELNX_VER="2.1.13"
-SEPOL_VER="2.1.9"
-
-IUSE="audit pam dbus sesandbox"
-
-DESCRIPTION="SELinux core utilities"
-HOMEPAGE="http://userspace.selinuxproject.org"
-SRC_URI="http://userspace.selinuxproject.org/releases/20130423/${P}.tar.gz
-http://dev.gentoo.org/~swift/patches/policycoreutils/patchbundle-${P}-gentoo-r3.tar.gz
- mirror://gentoo/policycoreutils-extra-${EXTRAS_VER}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-COMMON_DEPS=">=sys-libs/libselinux-${SELNX_VER}[python]
- >=sys-libs/glibc-2.4
- >=sys-libs/libcap-1.10-r10
- >=sys-libs/libsemanage-${SEMNG_VER}[python]
- sys-libs/libcap-ng
- >=sys-libs/libsepol-${SEPOL_VER}
- sys-devel/gettext
- dev-python/ipy
- sesandbox? ( dev-libs/libcgroup )
- dbus? (
- sys-apps/dbus
- dev-libs/dbus-glib
- )
- audit? ( >=sys-process/audit-1.5.1 )
- pam? ( sys-libs/pam )
- ${PYTHON_DEPS}"
-
-### libcgroup -> seunshare
-### dbus -> restorecond
-
-# pax-utils for scanelf used by rlpkg
-RDEPEND="${COMMON_DEPS}
- dev-python/sepolgen
- app-misc/pax-utils"
-
-DEPEND="${COMMON_DEPS}"
-
-S1="${WORKDIR}/${P}"
-S2="${WORKDIR}/policycoreutils-extra"
-
-src_prepare() {
- # rlpkg is more useful than fixfiles
- sed -i -e '/^all/s/fixfiles//' "${S}/scripts/Makefile" \
- || die "fixfiles sed 1 failed"
- sed -i -e '/fixfiles/d' "${S}/scripts/Makefile" \
- || die "fixfiles sed 2 failed"
-
- EPATCH_MULTI_MSG="Applying policycoreutils patches ... " \
- EPATCH_SUFFIX="patch" \
- EPATCH_SOURCE="${WORKDIR}/gentoo-patches" \
- EPATCH_FORCE="yes" \
- epatch
-
- # Overwrite gl.po, id.po and et.po with valid PO file
- #cp "${S}/po/sq.po" "${S}/po/gl.po" || die "failed to copy ${S}/po/sq.po to gl.po"
- #cp "${S}/po/sq.po" "${S}/po/id.po" || die "failed to copy ${S}/po/sq.po to id.po"
- #cp "${S}/po/sq.po" "${S}/po/et.po" || die "failed to copy ${S}/po/sq.po to et.po"
-
- epatch_user
-
- python_copy_sources
- # Our extra code is outside the regular directory, so set it to the extra
- # directory. We really should optimize this as it is ugly, but the extra
- # code is needed for Gentoo at the same time that policycoreutils is present
- # (so we cannot use an additional package for now).
- S="${S2}"
- python_copy_sources
-}
-
-src_compile() {
- local use_audit="n";
- local use_pam="n";
- local use_dbus="n";
- local use_sesandbox="n";
-
- use audit && use_audit="y";
- use pam && use_pam="y";
- use dbus && use_dbus="y";
- use sesandbox && use_sesandbox="y";
-
- building() {
- emake -C "${BUILD_DIR}" AUDIT_LOG_PRIVS="y" AUDITH="${use_audit}" PAMH="${use_pam}" INOTIFYH="${use_dbus}" SESANDBOX="${use_sesandbox}" CC="$(tc-getCC)" PYLIBVER="${EPYTHON}" || die
- }
- S="${S1}" # Regular policycoreutils
- python_foreach_impl building
- S="${S2}" # Extra set
- python_foreach_impl building
-}
-
-src_install() {
- local use_audit="n";
- local use_pam="n";
- local use_dbus="n";
- local use_sesandbox="n";
-
- use audit && use_audit="y";
- use pam && use_pam="y";
- use dbus && use_dbus="y";
- use sesandbox && use_sesandbox="y";
-
- # Python scripts are present in many places. There are no extension modules.
- installation-policycoreutils() {
- einfo "Installing policycoreutils"
- emake -C "${BUILD_DIR}" DESTDIR="${D}" AUDITH="${use_audit}" PAMH="${use_pam}" INOTIFYH="${use_dbus}" SESANDBOX="${use_sesandbox}" AUDIT_LOG_PRIV="y" PYLIBVER="${EPYTHON}" install || return 1
- }
-
- installation-extras() {
- einfo "Installing policycoreutils-extra"
- emake -C "${S2}" DESTDIR="${D}" SHLIBDIR="${D}$(get_libdir)/rc" install || return 1
- }
-
- S="${S1}" # policycoreutils
- python_foreach_impl installation-policycoreutils
- S="${S2}" # extras
- python_foreach_impl installation-extras
- S="${S1}" # back for later
-
- # remove redhat-style init script
- rm -fR "${D}/etc/rc.d"
-
- # compatibility symlinks
- dosym /sbin/setfiles /usr/sbin/setfiles
- dosym /$(get_libdir)/rc/runscript_selinux.so /$(get_libdir)/rcscripts/runscript_selinux.so
-
- # location for permissive definitions
- dodir /var/lib/selinux
- keepdir /var/lib/selinux
-
- # Set version-specific scripts
- for pyscript in audit2allow sepolgen-ifgen sepolicy chcat; do
- python_replicate_script "${ED}/usr/bin/${pyscript}"
- done
- for pyscript in semanage rlpkg; do
- python_replicate_script "${ED}/usr/sbin/${pyscript}"
- done
-
- dodir /usr/share/doc/${PF}/mcstrans/examples
- cp -dR "${S1}"/mcstrans/share/examples/* "${D}/usr/share/doc/${PF}/mcstrans/examples"
-}
diff --git a/sys-apps/policycoreutils/policycoreutils-2.1.14-r4.ebuild b/sys-apps/policycoreutils/policycoreutils-2.1.14-r4.ebuild
deleted file mode 100644
index 9b8fbbc0dab6..000000000000
--- a/sys-apps/policycoreutils/policycoreutils-2.1.14-r4.ebuild
+++ /dev/null
@@ -1,156 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/policycoreutils/policycoreutils-2.1.14-r4.ebuild,v 1.2 2013/11/04 20:29:50 swift Exp $
-
-EAPI="5"
-PYTHON_COMPAT=( python2_7 )
-PYTHON_REQ_USE="xml"
-
-inherit multilib python-r1 toolchain-funcs eutils
-
-EXTRAS_VER="1.30"
-SEMNG_VER="2.1.10"
-SELNX_VER="2.1.13"
-SEPOL_VER="2.1.9"
-
-IUSE="audit pam dbus sesandbox"
-
-DESCRIPTION="SELinux core utilities"
-HOMEPAGE="http://userspace.selinuxproject.org"
-SRC_URI="http://userspace.selinuxproject.org/releases/20130423/${P}.tar.gz
-http://dev.gentoo.org/~swift/patches/policycoreutils/patchbundle-${P}-gentoo-r3.tar.gz
- mirror://gentoo/policycoreutils-extra-${EXTRAS_VER}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-
-COMMON_DEPS=">=sys-libs/libselinux-${SELNX_VER}[python]
- >=sys-libs/glibc-2.4
- >=sys-libs/libcap-1.10-r10
- >=sys-libs/libsemanage-${SEMNG_VER}[python]
- sys-libs/libcap-ng
- >=sys-libs/libsepol-${SEPOL_VER}
- sys-devel/gettext
- dev-python/ipy
- sesandbox? ( dev-libs/libcgroup )
- dbus? (
- sys-apps/dbus
- dev-libs/dbus-glib
- )
- audit? ( >=sys-process/audit-1.5.1 )
- pam? ( sys-libs/pam )
- ${PYTHON_DEPS}"
-
-### libcgroup -> seunshare
-### dbus -> restorecond
-
-# pax-utils for scanelf used by rlpkg
-RDEPEND="${COMMON_DEPS}
- dev-python/sepolgen
- app-misc/pax-utils"
-
-DEPEND="${COMMON_DEPS}"
-
-S1="${WORKDIR}/${P}"
-S2="${WORKDIR}/policycoreutils-extra"
-
-src_prepare() {
- # rlpkg is more useful than fixfiles
- sed -i -e '/^all/s/fixfiles//' "${S}/scripts/Makefile" \
- || die "fixfiles sed 1 failed"
- sed -i -e '/fixfiles/d' "${S}/scripts/Makefile" \
- || die "fixfiles sed 2 failed"
-
- EPATCH_MULTI_MSG="Applying policycoreutils patches ... " \
- EPATCH_SUFFIX="patch" \
- EPATCH_SOURCE="${WORKDIR}/gentoo-patches" \
- EPATCH_FORCE="yes" \
- epatch
-
- # Overwrite gl.po, id.po and et.po with valid PO file
- #cp "${S}/po/sq.po" "${S}/po/gl.po" || die "failed to copy ${S}/po/sq.po to gl.po"
- #cp "${S}/po/sq.po" "${S}/po/id.po" || die "failed to copy ${S}/po/sq.po to id.po"
- #cp "${S}/po/sq.po" "${S}/po/et.po" || die "failed to copy ${S}/po/sq.po to et.po"
-
- epatch_user
-
- python_copy_sources
- # Our extra code is outside the regular directory, so set it to the extra
- # directory. We really should optimize this as it is ugly, but the extra
- # code is needed for Gentoo at the same time that policycoreutils is present
- # (so we cannot use an additional package for now).
- S="${S2}"
- python_copy_sources
-}
-
-src_compile() {
- local use_audit="n";
- local use_pam="n";
- local use_dbus="n";
- local use_sesandbox="n";
-
- use audit && use_audit="y";
- use pam && use_pam="y";
- use dbus && use_dbus="y";
- use sesandbox && use_sesandbox="y";
-
- building() {
- emake -C "${BUILD_DIR}" AUDIT_LOG_PRIVS="y" AUDITH="${use_audit}" PAMH="${use_pam}" INOTIFYH="${use_dbus}" SESANDBOX="${use_sesandbox}" CC="$(tc-getCC)" PYLIBVER="${EPYTHON}" || die
- }
- S="${S1}" # Regular policycoreutils
- python_foreach_impl building
- S="${S2}" # Extra set
- python_foreach_impl building
-}
-
-src_install() {
- local use_audit="n";
- local use_pam="n";
- local use_dbus="n";
- local use_sesandbox="n";
-
- use audit && use_audit="y";
- use pam && use_pam="y";
- use dbus && use_dbus="y";
- use sesandbox && use_sesandbox="y";
-
- # Python scripts are present in many places. There are no extension modules.
- installation-policycoreutils() {
- einfo "Installing policycoreutils"
- emake -C "${BUILD_DIR}" DESTDIR="${D}" AUDITH="${use_audit}" PAMH="${use_pam}" INOTIFYH="${use_dbus}" SESANDBOX="${use_sesandbox}" AUDIT_LOG_PRIV="y" PYLIBVER="${EPYTHON}" install || return 1
- }
-
- installation-extras() {
- einfo "Installing policycoreutils-extra"
- emake -C "${S2}" DESTDIR="${D}" SHLIBDIR="${D}$(get_libdir)/rc" install || return 1
- }
-
- S="${S1}" # policycoreutils
- python_foreach_impl installation-policycoreutils
- S="${S2}" # extras
- python_foreach_impl installation-extras
- S="${S1}" # back for later
-
- # remove redhat-style init script
- rm -fR "${D}/etc/rc.d"
-
- # compatibility symlinks
- dosym /sbin/setfiles /usr/sbin/setfiles
- dosym /$(get_libdir)/rc/runscript_selinux.so /$(get_libdir)/rcscripts/runscript_selinux.so
-
- # location for permissive definitions
- dodir /var/lib/selinux
- keepdir /var/lib/selinux
-
- # Set version-specific scripts
- for pyscript in audit2allow sepolgen-ifgen sepolicy chcat; do
- python_replicate_script "${ED}/usr/bin/${pyscript}"
- done
- for pyscript in semanage rlpkg; do
- python_replicate_script "${ED}/usr/sbin/${pyscript}"
- done
-
- dodir /usr/share/doc/${PF}/mcstrans/examples
- cp -dR "${S1}"/mcstrans/share/examples/* "${D}/usr/share/doc/${PF}/mcstrans/examples"
-}
diff --git a/sys-apps/policycoreutils/policycoreutils-2.1.14-r5.ebuild b/sys-apps/policycoreutils/policycoreutils-2.1.14-r5.ebuild
deleted file mode 100644
index 5ad3df9026d3..000000000000
--- a/sys-apps/policycoreutils/policycoreutils-2.1.14-r5.ebuild
+++ /dev/null
@@ -1,156 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/policycoreutils/policycoreutils-2.1.14-r5.ebuild,v 1.1 2014/01/12 21:01:41 swift Exp $
-
-EAPI="5"
-PYTHON_COMPAT=( python2_7 )
-PYTHON_REQ_USE="xml"
-
-inherit multilib python-r1 toolchain-funcs eutils
-
-EXTRAS_VER="1.30"
-SEMNG_VER="2.1.10"
-SELNX_VER="2.1.13"
-SEPOL_VER="2.1.9"
-
-IUSE="audit pam dbus sesandbox"
-
-DESCRIPTION="SELinux core utilities"
-HOMEPAGE="http://userspace.selinuxproject.org"
-SRC_URI="http://userspace.selinuxproject.org/releases/20130423/${P}.tar.gz
-http://dev.gentoo.org/~swift/patches/policycoreutils/patchbundle-${P}-gentoo-r3.tar.gz
- mirror://gentoo/policycoreutils-extra-${EXTRAS_VER}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-COMMON_DEPS=">=sys-libs/libselinux-${SELNX_VER}[python]
- >=sys-libs/glibc-2.4
- >=sys-libs/libcap-1.10-r10
- >=sys-libs/libsemanage-${SEMNG_VER}[python]
- sys-libs/libcap-ng
- >=sys-libs/libsepol-${SEPOL_VER}
- sys-devel/gettext
- dev-python/ipy
- sesandbox? ( dev-libs/libcgroup )
- dbus? (
- sys-apps/dbus
- dev-libs/dbus-glib
- )
- audit? ( >=sys-process/audit-1.5.1 )
- pam? ( sys-libs/pam )
- ${PYTHON_DEPS}"
-
-### libcgroup -> seunshare
-### dbus -> restorecond
-
-# pax-utils for scanelf used by rlpkg
-RDEPEND="${COMMON_DEPS}
- dev-python/sepolgen
- app-misc/pax-utils"
-
-DEPEND="${COMMON_DEPS}"
-
-S1="${WORKDIR}/${P}"
-S2="${WORKDIR}/policycoreutils-extra"
-
-src_prepare() {
- # rlpkg is more useful than fixfiles
- sed -i -e '/^all/s/fixfiles//' "${S}/scripts/Makefile" \
- || die "fixfiles sed 1 failed"
- sed -i -e '/fixfiles/d' "${S}/scripts/Makefile" \
- || die "fixfiles sed 2 failed"
-
- EPATCH_MULTI_MSG="Applying policycoreutils patches ... " \
- EPATCH_SUFFIX="patch" \
- EPATCH_SOURCE="${WORKDIR}/gentoo-patches" \
- EPATCH_FORCE="yes" \
- epatch
-
- # Overwrite gl.po, id.po and et.po with valid PO file
- #cp "${S}/po/sq.po" "${S}/po/gl.po" || die "failed to copy ${S}/po/sq.po to gl.po"
- #cp "${S}/po/sq.po" "${S}/po/id.po" || die "failed to copy ${S}/po/sq.po to id.po"
- #cp "${S}/po/sq.po" "${S}/po/et.po" || die "failed to copy ${S}/po/sq.po to et.po"
-
- epatch_user
-
- python_copy_sources
- # Our extra code is outside the regular directory, so set it to the extra
- # directory. We really should optimize this as it is ugly, but the extra
- # code is needed for Gentoo at the same time that policycoreutils is present
- # (so we cannot use an additional package for now).
- S="${S2}"
- python_copy_sources
-}
-
-src_compile() {
- local use_audit="n";
- local use_pam="n";
- local use_dbus="n";
- local use_sesandbox="n";
-
- use audit && use_audit="y";
- use pam && use_pam="y";
- use dbus && use_dbus="y";
- use sesandbox && use_sesandbox="y";
-
- building() {
- emake -C "${BUILD_DIR}" AUDIT_LOG_PRIVS="y" AUDITH="${use_audit}" PAMH="${use_pam}" INOTIFYH="${use_dbus}" SESANDBOX="${use_sesandbox}" CC="$(tc-getCC)" PYLIBVER="${EPYTHON}" || die
- }
- S="${S1}" # Regular policycoreutils
- python_foreach_impl building
- S="${S2}" # Extra set
- python_foreach_impl building
-}
-
-src_install() {
- local use_audit="n";
- local use_pam="n";
- local use_dbus="n";
- local use_sesandbox="n";
-
- use audit && use_audit="y";
- use pam && use_pam="y";
- use dbus && use_dbus="y";
- use sesandbox && use_sesandbox="y";
-
- # Python scripts are present in many places. There are no extension modules.
- installation-policycoreutils() {
- einfo "Installing policycoreutils"
- emake -C "${BUILD_DIR}" DESTDIR="${D}" AUDITH="${use_audit}" PAMH="${use_pam}" INOTIFYH="${use_dbus}" SESANDBOX="${use_sesandbox}" AUDIT_LOG_PRIV="y" PYLIBVER="${EPYTHON}" install || return 1
- }
-
- installation-extras() {
- einfo "Installing policycoreutils-extra"
- emake -C "${BUILD_DIR}" DESTDIR="${D}" SHLIBDIR="${D}$(get_libdir)/rc" install || return 1
- }
-
- S="${S1}" # policycoreutils
- python_foreach_impl installation-policycoreutils
- S="${S2}" # extras
- python_foreach_impl installation-extras
- S="${S1}" # back for later
-
- # remove redhat-style init script
- rm -fR "${D}/etc/rc.d"
-
- # compatibility symlinks
- dosym /sbin/setfiles /usr/sbin/setfiles
- dosym /$(get_libdir)/rc/runscript_selinux.so /$(get_libdir)/rcscripts/runscript_selinux.so
-
- # location for permissive definitions
- dodir /var/lib/selinux
- keepdir /var/lib/selinux
-
- # Set version-specific scripts
- for pyscript in audit2allow sepolgen-ifgen sepolicy chcat; do
- python_replicate_script "${ED}/usr/bin/${pyscript}"
- done
- for pyscript in semanage rlpkg; do
- python_replicate_script "${ED}/usr/sbin/${pyscript}"
- done
-
- dodir /usr/share/doc/${PF}/mcstrans/examples
- cp -dR "${S1}"/mcstrans/share/examples/* "${D}/usr/share/doc/${PF}/mcstrans/examples"
-}
diff --git a/sys-apps/policycoreutils/policycoreutils-2.2.1-r1.ebuild b/sys-apps/policycoreutils/policycoreutils-2.2.1-r1.ebuild
deleted file mode 100644
index e723aa0e9544..000000000000
--- a/sys-apps/policycoreutils/policycoreutils-2.2.1-r1.ebuild
+++ /dev/null
@@ -1,151 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/policycoreutils/policycoreutils-2.2.1-r1.ebuild,v 1.1 2013/11/04 21:55:40 swift Exp $
-
-EAPI="5"
-PYTHON_COMPAT=( python2_7 )
-PYTHON_REQ_USE="xml"
-
-inherit multilib python-r1 toolchain-funcs eutils
-
-EXTRAS_VER="1.30"
-SEMNG_VER="2.2"
-SELNX_VER="2.2"
-SEPOL_VER="2.2"
-
-IUSE="audit pam dbus sesandbox"
-
-DESCRIPTION="SELinux core utilities"
-HOMEPAGE="http://userspace.selinuxproject.org"
-SRC_URI="http://userspace.selinuxproject.org/releases/20131030/${P}.tar.gz
-http://dev.gentoo.org/~swift/patches/policycoreutils/patchbundle-${P}-gentoo-r1.tar.gz
- mirror://gentoo/policycoreutils-extra-${EXTRAS_VER}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-COMMON_DEPS=">=sys-libs/libselinux-${SELNX_VER}[python]
- >=sys-libs/glibc-2.4
- >=sys-libs/libcap-1.10-r10
- >=sys-libs/libsemanage-${SEMNG_VER}[python]
- sys-libs/libcap-ng
- >=sys-libs/libsepol-${SEPOL_VER}
- sys-devel/gettext
- dev-python/ipy
- sesandbox? ( dev-libs/libcgroup )
- dbus? (
- sys-apps/dbus
- dev-libs/dbus-glib
- )
- audit? ( >=sys-process/audit-1.5.1 )
- pam? ( sys-libs/pam )
- ${PYTHON_DEPS}"
-
-### libcgroup -> seunshare
-### dbus -> restorecond
-
-# pax-utils for scanelf used by rlpkg
-RDEPEND="${COMMON_DEPS}
- dev-python/sepolgen
- app-misc/pax-utils"
-
-DEPEND="${COMMON_DEPS}"
-
-S1="${WORKDIR}/${P}"
-S2="${WORKDIR}/policycoreutils-extra"
-
-src_prepare() {
- # rlpkg is more useful than fixfiles
- sed -i -e '/^all/s/fixfiles//' "${S}/scripts/Makefile" \
- || die "fixfiles sed 1 failed"
- sed -i -e '/fixfiles/d' "${S}/scripts/Makefile" \
- || die "fixfiles sed 2 failed"
-
- EPATCH_MULTI_MSG="Applying policycoreutils patches ... " \
- EPATCH_SUFFIX="patch" \
- EPATCH_SOURCE="${WORKDIR}/gentoo-patches" \
- EPATCH_FORCE="yes" \
- epatch
-
- epatch_user
-
- python_copy_sources
- # Our extra code is outside the regular directory, so set it to the extra
- # directory. We really should optimize this as it is ugly, but the extra
- # code is needed for Gentoo at the same time that policycoreutils is present
- # (so we cannot use an additional package for now).
- S="${S2}"
- python_copy_sources
-}
-
-src_compile() {
- local use_audit="n";
- local use_pam="n";
- local use_dbus="n";
- local use_sesandbox="n";
-
- use audit && use_audit="y";
- use pam && use_pam="y";
- use dbus && use_dbus="y";
- use sesandbox && use_sesandbox="y";
-
- building() {
- emake -C "${BUILD_DIR}" AUDIT_LOG_PRIVS="y" AUDITH="${use_audit}" PAMH="${use_pam}" INOTIFYH="${use_dbus}" SESANDBOX="${use_sesandbox}" CC="$(tc-getCC)" PYLIBVER="${EPYTHON}" || die
- }
- S="${S1}" # Regular policycoreutils
- python_foreach_impl building
- S="${S2}" # Extra set
- python_foreach_impl building
-}
-
-src_install() {
- local use_audit="n";
- local use_pam="n";
- local use_dbus="n";
- local use_sesandbox="n";
-
- use audit && use_audit="y";
- use pam && use_pam="y";
- use dbus && use_dbus="y";
- use sesandbox && use_sesandbox="y";
-
- # Python scripts are present in many places. There are no extension modules.
- installation-policycoreutils() {
- einfo "Installing policycoreutils"
- emake -C "${BUILD_DIR}" DESTDIR="${D}" AUDITH="${use_audit}" PAMH="${use_pam}" INOTIFYH="${use_dbus}" SESANDBOX="${use_sesandbox}" AUDIT_LOG_PRIV="y" PYLIBVER="${EPYTHON}" install || return 1
- }
-
- installation-extras() {
- einfo "Installing policycoreutils-extra"
- emake -C "${S2}" DESTDIR="${D}" SHLIBDIR="${D}$(get_libdir)/rc" install || return 1
- }
-
- S="${S1}" # policycoreutils
- python_foreach_impl installation-policycoreutils
- S="${S2}" # extras
- python_foreach_impl installation-extras
- S="${S1}" # back for later
-
- # remove redhat-style init script
- rm -fR "${D}/etc/rc.d"
-
- # compatibility symlinks
- dosym /sbin/setfiles /usr/sbin/setfiles
- dosym /$(get_libdir)/rc/runscript_selinux.so /$(get_libdir)/rcscripts/runscript_selinux.so
-
- # location for permissive definitions
- dodir /var/lib/selinux
- keepdir /var/lib/selinux
-
- # Set version-specific scripts
- for pyscript in audit2allow sepolgen-ifgen sepolicy chcat; do
- python_replicate_script "${ED}/usr/bin/${pyscript}"
- done
- for pyscript in semanage rlpkg; do
- python_replicate_script "${ED}/usr/sbin/${pyscript}"
- done
-
- dodir /usr/share/doc/${PF}/mcstrans/examples
- cp -dR "${S1}"/mcstrans/share/examples/* "${D}/usr/share/doc/${PF}/mcstrans/examples"
-}
diff --git a/sys-apps/policycoreutils/policycoreutils-2.2.5-r1.ebuild b/sys-apps/policycoreutils/policycoreutils-2.2.5-r1.ebuild
deleted file mode 100644
index 8f07435e04b4..000000000000
--- a/sys-apps/policycoreutils/policycoreutils-2.2.5-r1.ebuild
+++ /dev/null
@@ -1,151 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/policycoreutils/policycoreutils-2.2.5-r1.ebuild,v 1.2 2014/04/19 18:40:15 swift Exp $
-
-EAPI="5"
-PYTHON_COMPAT=( python2_7 )
-PYTHON_REQ_USE="xml"
-
-inherit multilib python-r1 toolchain-funcs eutils
-
-EXTRAS_VER="1.30"
-SEMNG_VER="2.2"
-SELNX_VER="2.2"
-SEPOL_VER="2.2"
-
-IUSE="audit pam dbus sesandbox"
-
-DESCRIPTION="SELinux core utilities"
-HOMEPAGE="http://userspace.selinuxproject.org"
-SRC_URI="http://userspace.selinuxproject.org/releases/20131030/${P}.tar.gz
-http://dev.gentoo.org/~swift/patches/policycoreutils/patchbundle-${P}-gentoo-r1.tar.gz
- mirror://gentoo/policycoreutils-extra-${EXTRAS_VER}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-COMMON_DEPS=">=sys-libs/libselinux-${SELNX_VER}[python]
- >=sys-libs/glibc-2.4
- >=sys-libs/libcap-1.10-r10
- >=sys-libs/libsemanage-${SEMNG_VER}[python]
- sys-libs/libcap-ng
- >=sys-libs/libsepol-${SEPOL_VER}
- sys-devel/gettext
- dev-python/ipy
- sesandbox? ( dev-libs/libcgroup )
- dbus? (
- sys-apps/dbus
- dev-libs/dbus-glib
- )
- audit? ( >=sys-process/audit-1.5.1 )
- pam? ( sys-libs/pam )
- ${PYTHON_DEPS}"
-
-### libcgroup -> seunshare
-### dbus -> restorecond
-
-# pax-utils for scanelf used by rlpkg
-RDEPEND="${COMMON_DEPS}
- dev-python/sepolgen
- app-misc/pax-utils"
-
-DEPEND="${COMMON_DEPS}"
-
-S1="${WORKDIR}/${P}"
-S2="${WORKDIR}/policycoreutils-extra"
-
-src_prepare() {
- # rlpkg is more useful than fixfiles
- sed -i -e '/^all/s/fixfiles//' "${S}/scripts/Makefile" \
- || die "fixfiles sed 1 failed"
- sed -i -e '/fixfiles/d' "${S}/scripts/Makefile" \
- || die "fixfiles sed 2 failed"
-
- EPATCH_MULTI_MSG="Applying policycoreutils patches ... " \
- EPATCH_SUFFIX="patch" \
- EPATCH_SOURCE="${WORKDIR}/gentoo-patches" \
- EPATCH_FORCE="yes" \
- epatch
-
- epatch_user
-
- python_copy_sources
- # Our extra code is outside the regular directory, so set it to the extra
- # directory. We really should optimize this as it is ugly, but the extra
- # code is needed for Gentoo at the same time that policycoreutils is present
- # (so we cannot use an additional package for now).
- S="${S2}"
- python_copy_sources
-}
-
-src_compile() {
- local use_audit="n";
- local use_pam="n";
- local use_dbus="n";
- local use_sesandbox="n";
-
- use audit && use_audit="y";
- use pam && use_pam="y";
- use dbus && use_dbus="y";
- use sesandbox && use_sesandbox="y";
-
- building() {
- emake -C "${BUILD_DIR}" AUDIT_LOG_PRIVS="y" AUDITH="${use_audit}" PAMH="${use_pam}" INOTIFYH="${use_dbus}" SESANDBOX="${use_sesandbox}" CC="$(tc-getCC)" PYLIBVER="${EPYTHON}" || die
- }
- S="${S1}" # Regular policycoreutils
- python_foreach_impl building
- S="${S2}" # Extra set
- python_foreach_impl building
-}
-
-src_install() {
- local use_audit="n";
- local use_pam="n";
- local use_dbus="n";
- local use_sesandbox="n";
-
- use audit && use_audit="y";
- use pam && use_pam="y";
- use dbus && use_dbus="y";
- use sesandbox && use_sesandbox="y";
-
- # Python scripts are present in many places. There are no extension modules.
- installation-policycoreutils() {
- einfo "Installing policycoreutils"
- emake -C "${BUILD_DIR}" DESTDIR="${D}" AUDITH="${use_audit}" PAMH="${use_pam}" INOTIFYH="${use_dbus}" SESANDBOX="${use_sesandbox}" AUDIT_LOG_PRIV="y" PYLIBVER="${EPYTHON}" install || return 1
- }
-
- installation-extras() {
- einfo "Installing policycoreutils-extra"
- emake -C "${S2}" DESTDIR="${D}" SHLIBDIR="${D}$(get_libdir)/rc" install || return 1
- }
-
- S="${S1}" # policycoreutils
- python_foreach_impl installation-policycoreutils
- S="${S2}" # extras
- python_foreach_impl installation-extras
- S="${S1}" # back for later
-
- # remove redhat-style init script
- rm -fR "${D}/etc/rc.d"
-
- # compatibility symlinks
- dosym /sbin/setfiles /usr/sbin/setfiles
- dosym /$(get_libdir)/rc/runscript_selinux.so /$(get_libdir)/rcscripts/runscript_selinux.so
-
- # location for permissive definitions
- dodir /var/lib/selinux
- keepdir /var/lib/selinux
-
- # Set version-specific scripts
- for pyscript in audit2allow sepolgen-ifgen sepolicy chcat; do
- python_replicate_script "${ED}/usr/bin/${pyscript}"
- done
- for pyscript in semanage rlpkg; do
- python_replicate_script "${ED}/usr/sbin/${pyscript}"
- done
-
- dodir /usr/share/doc/${PF}/mcstrans/examples
- cp -dR "${S1}"/mcstrans/share/examples/* "${D}/usr/share/doc/${PF}/mcstrans/examples"
-}
diff --git a/sys-apps/policycoreutils/policycoreutils-2.2.5-r3.ebuild b/sys-apps/policycoreutils/policycoreutils-2.2.5-r3.ebuild
deleted file mode 100644
index 07d65f87ee2e..000000000000
--- a/sys-apps/policycoreutils/policycoreutils-2.2.5-r3.ebuild
+++ /dev/null
@@ -1,151 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/policycoreutils/policycoreutils-2.2.5-r3.ebuild,v 1.1 2014/04/19 18:40:15 swift Exp $
-
-EAPI="5"
-PYTHON_COMPAT=( python2_7 )
-PYTHON_REQ_USE="xml"
-
-inherit multilib python-r1 toolchain-funcs eutils
-
-EXTRAS_VER="1.31"
-SEMNG_VER="2.2"
-SELNX_VER="2.2"
-SEPOL_VER="2.2"
-
-IUSE="audit pam dbus sesandbox"
-
-DESCRIPTION="SELinux core utilities"
-HOMEPAGE="http://userspace.selinuxproject.org"
-SRC_URI="http://userspace.selinuxproject.org/releases/20131030/${P}.tar.gz
-http://dev.gentoo.org/~swift/patches/policycoreutils/patchbundle-${P}-gentoo-r1.tar.gz
- mirror://gentoo/policycoreutils-extra-${EXTRAS_VER}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-COMMON_DEPS=">=sys-libs/libselinux-${SELNX_VER}[python]
- >=sys-libs/glibc-2.4
- >=sys-libs/libcap-1.10-r10
- >=sys-libs/libsemanage-${SEMNG_VER}[python]
- sys-libs/libcap-ng
- >=sys-libs/libsepol-${SEPOL_VER}
- sys-devel/gettext
- dev-python/ipy
- sesandbox? ( dev-libs/libcgroup )
- dbus? (
- sys-apps/dbus
- dev-libs/dbus-glib
- )
- audit? ( >=sys-process/audit-1.5.1 )
- pam? ( sys-libs/pam )
- ${PYTHON_DEPS}"
-
-### libcgroup -> seunshare
-### dbus -> restorecond
-
-# pax-utils for scanelf used by rlpkg
-RDEPEND="${COMMON_DEPS}
- dev-python/sepolgen
- app-misc/pax-utils"
-
-DEPEND="${COMMON_DEPS}"
-
-S1="${WORKDIR}/${P}"
-S2="${WORKDIR}/policycoreutils-extra"
-
-src_prepare() {
- # rlpkg is more useful than fixfiles
- sed -i -e '/^all/s/fixfiles//' "${S}/scripts/Makefile" \
- || die "fixfiles sed 1 failed"
- sed -i -e '/fixfiles/d' "${S}/scripts/Makefile" \
- || die "fixfiles sed 2 failed"
-
- EPATCH_MULTI_MSG="Applying policycoreutils patches ... " \
- EPATCH_SUFFIX="patch" \
- EPATCH_SOURCE="${WORKDIR}/gentoo-patches" \
- EPATCH_FORCE="yes" \
- epatch
-
- epatch_user
-
- python_copy_sources
- # Our extra code is outside the regular directory, so set it to the extra
- # directory. We really should optimize this as it is ugly, but the extra
- # code is needed for Gentoo at the same time that policycoreutils is present
- # (so we cannot use an additional package for now).
- S="${S2}"
- python_copy_sources
-}
-
-src_compile() {
- local use_audit="n";
- local use_pam="n";
- local use_dbus="n";
- local use_sesandbox="n";
-
- use audit && use_audit="y";
- use pam && use_pam="y";
- use dbus && use_dbus="y";
- use sesandbox && use_sesandbox="y";
-
- building() {
- emake -C "${BUILD_DIR}" AUDIT_LOG_PRIVS="y" AUDITH="${use_audit}" PAMH="${use_pam}" INOTIFYH="${use_dbus}" SESANDBOX="${use_sesandbox}" CC="$(tc-getCC)" PYLIBVER="${EPYTHON}" || die
- }
- S="${S1}" # Regular policycoreutils
- python_foreach_impl building
- S="${S2}" # Extra set
- python_foreach_impl building
-}
-
-src_install() {
- local use_audit="n";
- local use_pam="n";
- local use_dbus="n";
- local use_sesandbox="n";
-
- use audit && use_audit="y";
- use pam && use_pam="y";
- use dbus && use_dbus="y";
- use sesandbox && use_sesandbox="y";
-
- # Python scripts are present in many places. There are no extension modules.
- installation-policycoreutils() {
- einfo "Installing policycoreutils"
- emake -C "${BUILD_DIR}" DESTDIR="${D}" AUDITH="${use_audit}" PAMH="${use_pam}" INOTIFYH="${use_dbus}" SESANDBOX="${use_sesandbox}" AUDIT_LOG_PRIV="y" PYLIBVER="${EPYTHON}" install || return 1
- }
-
- installation-extras() {
- einfo "Installing policycoreutils-extra"
- emake -C "${BUILD_DIR}" DESTDIR="${D}" INOTIFYH="${use_dbus}" SHLIBDIR="${D}$(get_libdir)/rc" install || return 1
- }
-
- S="${S1}" # policycoreutils
- python_foreach_impl installation-policycoreutils
- S="${S2}" # extras
- python_foreach_impl installation-extras
- S="${S1}" # back for later
-
- # remove redhat-style init script
- rm -fR "${D}/etc/rc.d"
-
- # compatibility symlinks
- dosym /sbin/setfiles /usr/sbin/setfiles
- dosym /$(get_libdir)/rc/runscript_selinux.so /$(get_libdir)/rcscripts/runscript_selinux.so
-
- # location for permissive definitions
- dodir /var/lib/selinux
- keepdir /var/lib/selinux
-
- # Set version-specific scripts
- for pyscript in audit2allow sepolgen-ifgen sepolicy chcat; do
- python_replicate_script "${ED}/usr/bin/${pyscript}"
- done
- for pyscript in semanage rlpkg; do
- python_replicate_script "${ED}/usr/sbin/${pyscript}"
- done
-
- dodir /usr/share/doc/${PF}/mcstrans/examples
- cp -dR "${S1}"/mcstrans/share/examples/* "${D}/usr/share/doc/${PF}/mcstrans/examples"
-}
diff --git a/sys-apps/policycoreutils/policycoreutils-2.3_rc1-r1.ebuild b/sys-apps/policycoreutils/policycoreutils-2.3_rc1-r1.ebuild
deleted file mode 100644
index 41b311e3c7d8..000000000000
--- a/sys-apps/policycoreutils/policycoreutils-2.3_rc1-r1.ebuild
+++ /dev/null
@@ -1,151 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/policycoreutils/policycoreutils-2.3_rc1-r1.ebuild,v 1.1 2014/05/09 18:39:16 swift Exp $
-
-EAPI="5"
-PYTHON_COMPAT=( python2_7 )
-PYTHON_REQ_USE="xml"
-
-inherit multilib python-r1 toolchain-funcs eutils
-
-MY_P="${P//_/-}"
-
-EXTRAS_VER="1.31"
-SEMNG_VER="2.3_rc1"
-SELNX_VER="2.3_rc1"
-SEPOL_VER="2.3_rc1"
-
-IUSE="audit pam dbus"
-
-DESCRIPTION="SELinux core utilities"
-HOMEPAGE="http://userspace.selinuxproject.org"
-SRC_URI="http://userspace.selinuxproject.org/releases/2.3-rc1/${MY_P}.tar.gz
-http://dev.gentoo.org/~swift/patches/policycoreutils/patchbundle-${P}.tar.gz
- mirror://gentoo/policycoreutils-extra-${EXTRAS_VER}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-COMMON_DEPS=">=sys-libs/libselinux-${SELNX_VER}[python]
- >=sys-libs/glibc-2.4
- >=sys-libs/libcap-1.10-r10
- >=sys-libs/libsemanage-${SEMNG_VER}[python]
- sys-libs/libcap-ng
- >=sys-libs/libsepol-${SEPOL_VER}
- sys-devel/gettext
- dev-python/ipy
- dbus? (
- sys-apps/dbus
- dev-libs/dbus-glib
- )
- audit? ( >=sys-process/audit-1.5.1 )
- pam? ( sys-libs/pam )
- ${PYTHON_DEPS}"
-
-### libcgroup -> seunshare
-### dbus -> restorecond
-
-# pax-utils for scanelf used by rlpkg
-RDEPEND="${COMMON_DEPS}
- dev-python/sepolgen
- app-misc/pax-utils"
-
-DEPEND="${COMMON_DEPS}"
-
-S="${WORKDIR}/${MY_P}"
-S1="${WORKDIR}/${MY_P}"
-S2="${WORKDIR}/policycoreutils-extra"
-
-src_prepare() {
- # rlpkg is more useful than fixfiles
- sed -i -e '/^all/s/fixfiles//' "${S}/scripts/Makefile" \
- || die "fixfiles sed 1 failed"
- sed -i -e '/fixfiles/d' "${S}/scripts/Makefile" \
- || die "fixfiles sed 2 failed"
-
- EPATCH_MULTI_MSG="Applying policycoreutils patches ... " \
- EPATCH_SUFFIX="patch" \
- EPATCH_SOURCE="${WORKDIR}/gentoo-patches" \
- EPATCH_FORCE="yes" \
- epatch
-
- epatch_user
-
- python_copy_sources
- # Our extra code is outside the regular directory, so set it to the extra
- # directory. We really should optimize this as it is ugly, but the extra
- # code is needed for Gentoo at the same time that policycoreutils is present
- # (so we cannot use an additional package for now).
- S="${S2}"
- python_copy_sources
-}
-
-src_compile() {
- local use_audit="n";
- local use_pam="n";
- local use_dbus="n";
- local use_sesandbox="n";
-
- use audit && use_audit="y";
- use pam && use_pam="y";
- use dbus && use_dbus="y";
-
- building() {
- emake -C "${BUILD_DIR}" AUDIT_LOG_PRIVS="y" AUDITH="${use_audit}" PAMH="${use_pam}" INOTIFYH="${use_dbus}" SESANDBOX="${use_sesandbox}" CC="$(tc-getCC)" PYLIBVER="${EPYTHON}" || die
- }
- S="${S1}" # Regular policycoreutils
- python_foreach_impl building
- S="${S2}" # Extra set
- python_foreach_impl building
-}
-
-src_install() {
- local use_audit="n";
- local use_pam="n";
- local use_dbus="n";
- local use_sesandbox="n";
-
- use audit && use_audit="y";
- use pam && use_pam="y";
- use dbus && use_dbus="y";
-
- # Python scripts are present in many places. There are no extension modules.
- installation-policycoreutils() {
- einfo "Installing policycoreutils"
- emake -C "${BUILD_DIR}" DESTDIR="${D}" AUDITH="${use_audit}" PAMH="${use_pam}" INOTIFYH="${use_dbus}" SESANDBOX="${use_sesandbox}" AUDIT_LOG_PRIV="y" PYLIBVER="${EPYTHON}" install || return 1
- }
-
- installation-extras() {
- einfo "Installing policycoreutils-extra"
- emake -C "${BUILD_DIR}" DESTDIR="${D}" INOTIFYH="${use_dbus}" SHLIBDIR="${D}$(get_libdir)/rc" install || return 1
- }
-
- S="${S1}" # policycoreutils
- python_foreach_impl installation-policycoreutils
- S="${S2}" # extras
- python_foreach_impl installation-extras
- S="${S1}" # back for later
-
- # remove redhat-style init script
- rm -fR "${D}/etc/rc.d"
-
- # compatibility symlinks
- dosym /sbin/setfiles /usr/sbin/setfiles
- dosym /$(get_libdir)/rc/runscript_selinux.so /$(get_libdir)/rcscripts/runscript_selinux.so
-
- # location for permissive definitions
- dodir /var/lib/selinux
- keepdir /var/lib/selinux
-
- # Set version-specific scripts
- for pyscript in audit2allow sepolgen-ifgen sepolicy chcat; do
- python_replicate_script "${ED}/usr/bin/${pyscript}"
- done
- for pyscript in semanage rlpkg; do
- python_replicate_script "${ED}/usr/sbin/${pyscript}"
- done
-
- dodir /usr/share/doc/${PF}/mcstrans/examples
- cp -dR "${S1}"/mcstrans/share/examples/* "${D}/usr/share/doc/${PF}/mcstrans/examples"
-}
diff --git a/sys-apps/policycoreutils/policycoreutils-2.3_rc1.ebuild b/sys-apps/policycoreutils/policycoreutils-2.3_rc1.ebuild
deleted file mode 100644
index 0d727fee85cc..000000000000
--- a/sys-apps/policycoreutils/policycoreutils-2.3_rc1.ebuild
+++ /dev/null
@@ -1,154 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/policycoreutils/policycoreutils-2.3_rc1.ebuild,v 1.1 2014/04/28 19:44:09 swift Exp $
-
-EAPI="5"
-PYTHON_COMPAT=( python2_7 )
-PYTHON_REQ_USE="xml"
-
-inherit multilib python-r1 toolchain-funcs eutils
-
-MY_P="${P//_/-}"
-
-EXTRAS_VER="1.31"
-SEMNG_VER="2.3_rc1"
-SELNX_VER="2.3_rc1"
-SEPOL_VER="2.3_rc1"
-
-IUSE="audit pam dbus sesandbox"
-
-DESCRIPTION="SELinux core utilities"
-HOMEPAGE="http://userspace.selinuxproject.org"
-SRC_URI="http://userspace.selinuxproject.org/releases/2.3-rc1/${MY_P}.tar.gz
-http://dev.gentoo.org/~swift/patches/policycoreutils/patchbundle-${P}.tar.gz
- mirror://gentoo/policycoreutils-extra-${EXTRAS_VER}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-COMMON_DEPS=">=sys-libs/libselinux-${SELNX_VER}[python]
- >=sys-libs/glibc-2.4
- >=sys-libs/libcap-1.10-r10
- >=sys-libs/libsemanage-${SEMNG_VER}[python]
- sys-libs/libcap-ng
- >=sys-libs/libsepol-${SEPOL_VER}
- sys-devel/gettext
- dev-python/ipy
- sesandbox? ( dev-libs/libcgroup )
- dbus? (
- sys-apps/dbus
- dev-libs/dbus-glib
- )
- audit? ( >=sys-process/audit-1.5.1 )
- pam? ( sys-libs/pam )
- ${PYTHON_DEPS}"
-
-### libcgroup -> seunshare
-### dbus -> restorecond
-
-# pax-utils for scanelf used by rlpkg
-RDEPEND="${COMMON_DEPS}
- dev-python/sepolgen
- app-misc/pax-utils"
-
-DEPEND="${COMMON_DEPS}"
-
-S="${WORKDIR}/${MY_P}"
-S1="${WORKDIR}/${MY_P}"
-S2="${WORKDIR}/policycoreutils-extra"
-
-src_prepare() {
- # rlpkg is more useful than fixfiles
- sed -i -e '/^all/s/fixfiles//' "${S}/scripts/Makefile" \
- || die "fixfiles sed 1 failed"
- sed -i -e '/fixfiles/d' "${S}/scripts/Makefile" \
- || die "fixfiles sed 2 failed"
-
- EPATCH_MULTI_MSG="Applying policycoreutils patches ... " \
- EPATCH_SUFFIX="patch" \
- EPATCH_SOURCE="${WORKDIR}/gentoo-patches" \
- EPATCH_FORCE="yes" \
- epatch
-
- epatch_user
-
- python_copy_sources
- # Our extra code is outside the regular directory, so set it to the extra
- # directory. We really should optimize this as it is ugly, but the extra
- # code is needed for Gentoo at the same time that policycoreutils is present
- # (so we cannot use an additional package for now).
- S="${S2}"
- python_copy_sources
-}
-
-src_compile() {
- local use_audit="n";
- local use_pam="n";
- local use_dbus="n";
- local use_sesandbox="n";
-
- use audit && use_audit="y";
- use pam && use_pam="y";
- use dbus && use_dbus="y";
- use sesandbox && use_sesandbox="y";
-
- building() {
- emake -C "${BUILD_DIR}" AUDIT_LOG_PRIVS="y" AUDITH="${use_audit}" PAMH="${use_pam}" INOTIFYH="${use_dbus}" SESANDBOX="${use_sesandbox}" CC="$(tc-getCC)" PYLIBVER="${EPYTHON}" || die
- }
- S="${S1}" # Regular policycoreutils
- python_foreach_impl building
- S="${S2}" # Extra set
- python_foreach_impl building
-}
-
-src_install() {
- local use_audit="n";
- local use_pam="n";
- local use_dbus="n";
- local use_sesandbox="n";
-
- use audit && use_audit="y";
- use pam && use_pam="y";
- use dbus && use_dbus="y";
- use sesandbox && use_sesandbox="y";
-
- # Python scripts are present in many places. There are no extension modules.
- installation-policycoreutils() {
- einfo "Installing policycoreutils"
- emake -C "${BUILD_DIR}" DESTDIR="${D}" AUDITH="${use_audit}" PAMH="${use_pam}" INOTIFYH="${use_dbus}" SESANDBOX="${use_sesandbox}" AUDIT_LOG_PRIV="y" PYLIBVER="${EPYTHON}" install || return 1
- }
-
- installation-extras() {
- einfo "Installing policycoreutils-extra"
- emake -C "${BUILD_DIR}" DESTDIR="${D}" INOTIFYH="${use_dbus}" SHLIBDIR="${D}$(get_libdir)/rc" install || return 1
- }
-
- S="${S1}" # policycoreutils
- python_foreach_impl installation-policycoreutils
- S="${S2}" # extras
- python_foreach_impl installation-extras
- S="${S1}" # back for later
-
- # remove redhat-style init script
- rm -fR "${D}/etc/rc.d"
-
- # compatibility symlinks
- dosym /sbin/setfiles /usr/sbin/setfiles
- dosym /$(get_libdir)/rc/runscript_selinux.so /$(get_libdir)/rcscripts/runscript_selinux.so
-
- # location for permissive definitions
- dodir /var/lib/selinux
- keepdir /var/lib/selinux
-
- # Set version-specific scripts
- for pyscript in audit2allow sepolgen-ifgen sepolicy chcat; do
- python_replicate_script "${ED}/usr/bin/${pyscript}"
- done
- for pyscript in semanage rlpkg; do
- python_replicate_script "${ED}/usr/sbin/${pyscript}"
- done
-
- dodir /usr/share/doc/${PF}/mcstrans/examples
- cp -dR "${S1}"/mcstrans/share/examples/* "${D}/usr/share/doc/${PF}/mcstrans/examples"
-}