summaryrefslogtreecommitdiff
path: root/sys-apps/mcstrans
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/mcstrans')
-rw-r--r--sys-apps/mcstrans/Manifest4
-rw-r--r--sys-apps/mcstrans/mcstrans-2.9.ebuild54
-rw-r--r--sys-apps/mcstrans/mcstrans-9999.ebuild2
3 files changed, 58 insertions, 2 deletions
diff --git a/sys-apps/mcstrans/Manifest b/sys-apps/mcstrans/Manifest
index 78de89617e3d..2b893b62bedd 100644
--- a/sys-apps/mcstrans/Manifest
+++ b/sys-apps/mcstrans/Manifest
@@ -2,8 +2,10 @@ AUX mcstransd.init 659 BLAKE2B ef74c438407efa47a066a18a1ba8d7cad2b13240fbf39d838
DIST mcstrans-2.7.tar.gz 41137 BLAKE2B 83f195dee4bf61c36f65b009cf40dd58459e01d75222fbd7fe15c61ae7942315373a4a0e9a1cd0a654efcf471c3c7166f76c87837085ef6a4136567d4b52fc73 SHA512 2e59f26fad3423a0c8e2ea49d619f99022c72e1aebb00e842defb4fad56f187f9ed0f069ef78d3b209ba76f5ebdcba1668f51ff881b753dada5716ee942519b3
DIST mcstrans-2.8.tar.gz 41385 BLAKE2B 08cdb2588ab2cb48824816fd3eb578a77bfb6696f00fac7b808250ae88a5c85ae02824f047ac6cd6f3653d4b8550352f3570b63969ebfef5b396478ef191b97c SHA512 b20b369fea926ed55db4e454e82ef842fd39a8194190c9feb063b36126f6334f9d3401ef1c3636c03230a813c69648b5efbcc35b163387495175cde80dd6bd39
DIST mcstrans-2.9-rc1.tar.gz 41364 BLAKE2B a98e2130d4471d5cf72391c738978193e4be220ea5ae3d548ae68548f62529bbc4be4393b4eb9f0f4ec75dd413553090bfd463a9ea12acf3c4c672c04092f960 SHA512 8bac33be160fadbf03268f4eb009c679ecf5c178cc6dd69e593fafb1f5236d875495a9fcde95df4e79857b084983e8bc6711c1797748545f7e38a3e3a09a38ac
+DIST mcstrans-2.9.tar.gz 44451 BLAKE2B e73121351a5d3a09c4754cd0fc6bcdac4b47e3f99d8bd2c40ee9b2bb510095a41721d0dae0d3edb56c36d9e9ef72ece4c69a01298c7f34fe96ccf4883372b1fd SHA512 25a37c6dd7fa23b0599d7e92da78805e1da1605c998edf00777113c8467b1703f634223dff57627337da51e565cf2d1e475698a5a2310966f1f6dcf6687671d1
EBUILD mcstrans-2.7.ebuild 1217 BLAKE2B 3b6414b7e668a2d7ec5c7ee5bb0c5d0b859f2360ab88fc88db0c1c4a7f06f539e5b881b02035aea89cd4e75e98e7bd6a42d035d1bd3dfb0f810b1191477b454b SHA512 d26037fd0d2f2ef722a21da5ba974410a5441608e32fb35d8674ebae48dd2eb485b30af50d7f54a3d3181b8c7af838e03d744336181f8bd3b8d8b8a47a906250
EBUILD mcstrans-2.8.ebuild 1132 BLAKE2B 05f10514a2be3196f0d6c64c2288af8252ef151f3c9b6d0bc1ea39ab2f5d9213164de8bacbdcf0d298f9e917654819e5df5bf80d72cc3851669c9d6e743c1582 SHA512 e328c1d9aa6d5b63594bf72b9899fa2ddbb8fa0c9426b1025d0a5422b2087ce6de33b353a4542dc83bb317b75bd3d858f584bb508e762d1a48299884ef10005e
+EBUILD mcstrans-2.9.ebuild 1114 BLAKE2B ab7b9d59f3f91046298d0b71b48aa2bae4f95dbfbe0d92a99ef70c363c65324a054e9fc2246a1af7b262c72680001c18234c02a069229f0dc3f0af9caec8cfd4 SHA512 f91fe4784ed5783e886549b6f5cf33e466a15a6d18e74abe13b70bec8b7ddd679a3804e10868ddda3c959c035acc8fd1f347371134440dba193575c2911eacc7
EBUILD mcstrans-2.9_rc1.ebuild 1114 BLAKE2B c9edd7c62370a166e28fcba208cfc7db79fad633acf8395eea73c7a95ddf406bf71603d13ef293727e53776e7796db281a126e7d3449b6053eaa3d3b36339489 SHA512 4c31238cc4f0d47f0f0b70b1fd50a07384d7bd61016abe6eb5f3b6ff4fe2b976e0ffb0bd4969e43177f57f95228ce04d885b8e648b90140e50ccda463db286ce
-EBUILD mcstrans-9999.ebuild 1114 BLAKE2B c9edd7c62370a166e28fcba208cfc7db79fad633acf8395eea73c7a95ddf406bf71603d13ef293727e53776e7796db281a126e7d3449b6053eaa3d3b36339489 SHA512 4c31238cc4f0d47f0f0b70b1fd50a07384d7bd61016abe6eb5f3b6ff4fe2b976e0ffb0bd4969e43177f57f95228ce04d885b8e648b90140e50ccda463db286ce
+EBUILD mcstrans-9999.ebuild 1114 BLAKE2B ab7b9d59f3f91046298d0b71b48aa2bae4f95dbfbe0d92a99ef70c363c65324a054e9fc2246a1af7b262c72680001c18234c02a069229f0dc3f0af9caec8cfd4 SHA512 f91fe4784ed5783e886549b6f5cf33e466a15a6d18e74abe13b70bec8b7ddd679a3804e10868ddda3c959c035acc8fd1f347371134440dba193575c2911eacc7
MISC metadata.xml 451 BLAKE2B bf8e87dcdd8c3dfbb33728600b986bf96e2243a9e9916db87ae4b4d69508f6397915929b24c4b7381d711a7754987402f0abd8ee8217621479d6970c91922189 SHA512 9d1f5669661c1fe232b18517a954640350c8f0c606d3ca91e429f53790532bfc9b73d7c18e575c4055d3ea7ba4a5ade632d1814700ed1d3d000fe5ebfa065744
diff --git a/sys-apps/mcstrans/mcstrans-2.9.ebuild b/sys-apps/mcstrans/mcstrans-2.9.ebuild
new file mode 100644
index 000000000000..1fb74df9e673
--- /dev/null
+++ b/sys-apps/mcstrans/mcstrans-2.9.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+inherit toolchain-funcs
+
+MY_RELEASEDATE="20190315"
+
+MY_P="${P//_/-}"
+IUSE=""
+
+if [[ ${PV} == *9999 ]] ; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/SELinuxProject/selinux.git"
+ S="${WORKDIR}/${MY_P}/${PN}"
+else
+ SRC_URI="https://github.com/SELinuxProject/selinux/releases/download/${MY_RELEASEDATE}/${MY_P}.tar.gz"
+ KEYWORDS="~amd64 ~arm ~arm64 ~mips ~x86"
+ S="${WORKDIR}/${MY_P}"
+fi
+
+DESCRIPTION="SELinux context translation to human readable names"
+HOMEPAGE="https://github.com/SELinuxProject/selinux/wiki"
+
+LICENSE="GPL-2"
+SLOT="0"
+
+DEPEND=">=sys-libs/libsepol-${PV}:=
+ >=sys-libs/libselinux-${PV}:=
+ dev-libs/libpcre:=
+ >=sys-libs/libcap-1.10-r10:="
+
+RDEPEND="${DEPEND}
+ !<sys-apps/policycoreutils-2.7_pre"
+
+src_prepare() {
+ default
+
+ sed -i 's/-Werror//g' "${S}"/*/Makefile || die "Failed to remove Werror"
+}
+
+src_compile() {
+ tc-export CC
+ default
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+
+ rm -rf "${D}/etc/rc.d" || die
+
+ newinitd "${FILESDIR}/mcstransd.init" mcstransd
+}
diff --git a/sys-apps/mcstrans/mcstrans-9999.ebuild b/sys-apps/mcstrans/mcstrans-9999.ebuild
index ca413b09c85c..1fb74df9e673 100644
--- a/sys-apps/mcstrans/mcstrans-9999.ebuild
+++ b/sys-apps/mcstrans/mcstrans-9999.ebuild
@@ -5,7 +5,7 @@ EAPI="6"
inherit toolchain-funcs
-MY_RELEASEDATE="20190125"
+MY_RELEASEDATE="20190315"
MY_P="${P//_/-}"
IUSE=""