1 |
commit: 7f168e4a385327ccd5112256fc0d099857391e05 |
2 |
Author: Jason Zaman <perfinion <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Feb 9 11:32:40 2019 +0000 |
4 |
Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Feb 9 11:48:28 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f168e4a |
7 |
|
8 |
sys-apps/mcstrans: bump to 2.9_rc1 |
9 |
|
10 |
Signed-off-by: Jason Zaman <perfinion <AT> gentoo.org> |
11 |
Package-Manager: Portage-2.3.51, Repoman-2.3.11 |
12 |
|
13 |
sys-apps/mcstrans/Manifest | 1 + |
14 |
sys-apps/mcstrans/mcstrans-2.9_rc1.ebuild | 54 +++++++++++++++++++++++++++++++ |
15 |
2 files changed, 55 insertions(+) |
16 |
|
17 |
diff --git a/sys-apps/mcstrans/Manifest b/sys-apps/mcstrans/Manifest |
18 |
index 7146a2aeab2..22a8e21c1d0 100644 |
19 |
--- a/sys-apps/mcstrans/Manifest |
20 |
+++ b/sys-apps/mcstrans/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST mcstrans-2.7.tar.gz 41137 BLAKE2B 83f195dee4bf61c36f65b009cf40dd58459e01d75222fbd7fe15c61ae7942315373a4a0e9a1cd0a654efcf471c3c7166f76c87837085ef6a4136567d4b52fc73 SHA512 2e59f26fad3423a0c8e2ea49d619f99022c72e1aebb00e842defb4fad56f187f9ed0f069ef78d3b209ba76f5ebdcba1668f51ff881b753dada5716ee942519b3 |
23 |
DIST mcstrans-2.8.tar.gz 41385 BLAKE2B 08cdb2588ab2cb48824816fd3eb578a77bfb6696f00fac7b808250ae88a5c85ae02824f047ac6cd6f3653d4b8550352f3570b63969ebfef5b396478ef191b97c SHA512 b20b369fea926ed55db4e454e82ef842fd39a8194190c9feb063b36126f6334f9d3401ef1c3636c03230a813c69648b5efbcc35b163387495175cde80dd6bd39 |
24 |
+DIST mcstrans-2.9-rc1.tar.gz 41364 BLAKE2B a98e2130d4471d5cf72391c738978193e4be220ea5ae3d548ae68548f62529bbc4be4393b4eb9f0f4ec75dd413553090bfd463a9ea12acf3c4c672c04092f960 SHA512 8bac33be160fadbf03268f4eb009c679ecf5c178cc6dd69e593fafb1f5236d875495a9fcde95df4e79857b084983e8bc6711c1797748545f7e38a3e3a09a38ac |
25 |
|
26 |
diff --git a/sys-apps/mcstrans/mcstrans-2.9_rc1.ebuild b/sys-apps/mcstrans/mcstrans-2.9_rc1.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..ca413b09c85 |
29 |
--- /dev/null |
30 |
+++ b/sys-apps/mcstrans/mcstrans-2.9_rc1.ebuild |
31 |
@@ -0,0 +1,54 @@ |
32 |
+# Copyright 1999-2019 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI="6" |
36 |
+ |
37 |
+inherit toolchain-funcs |
38 |
+ |
39 |
+MY_RELEASEDATE="20190125" |
40 |
+ |
41 |
+MY_P="${P//_/-}" |
42 |
+IUSE="" |
43 |
+ |
44 |
+if [[ ${PV} == *9999 ]] ; then |
45 |
+ inherit git-r3 |
46 |
+ EGIT_REPO_URI="https://github.com/SELinuxProject/selinux.git" |
47 |
+ S="${WORKDIR}/${MY_P}/${PN}" |
48 |
+else |
49 |
+ SRC_URI="https://github.com/SELinuxProject/selinux/releases/download/${MY_RELEASEDATE}/${MY_P}.tar.gz" |
50 |
+ KEYWORDS="~amd64 ~arm ~arm64 ~mips ~x86" |
51 |
+ S="${WORKDIR}/${MY_P}" |
52 |
+fi |
53 |
+ |
54 |
+DESCRIPTION="SELinux context translation to human readable names" |
55 |
+HOMEPAGE="https://github.com/SELinuxProject/selinux/wiki" |
56 |
+ |
57 |
+LICENSE="GPL-2" |
58 |
+SLOT="0" |
59 |
+ |
60 |
+DEPEND=">=sys-libs/libsepol-${PV}:= |
61 |
+ >=sys-libs/libselinux-${PV}:= |
62 |
+ dev-libs/libpcre:= |
63 |
+ >=sys-libs/libcap-1.10-r10:=" |
64 |
+ |
65 |
+RDEPEND="${DEPEND} |
66 |
+ !<sys-apps/policycoreutils-2.7_pre" |
67 |
+ |
68 |
+src_prepare() { |
69 |
+ default |
70 |
+ |
71 |
+ sed -i 's/-Werror//g' "${S}"/*/Makefile || die "Failed to remove Werror" |
72 |
+} |
73 |
+ |
74 |
+src_compile() { |
75 |
+ tc-export CC |
76 |
+ default |
77 |
+} |
78 |
+ |
79 |
+src_install() { |
80 |
+ emake DESTDIR="${D}" install |
81 |
+ |
82 |
+ rm -rf "${D}/etc/rc.d" || die |
83 |
+ |
84 |
+ newinitd "${FILESDIR}/mcstransd.init" mcstransd |
85 |
+} |