1 |
commit: 64a17ed29b721181c6ef67cf57036c8ef8efa1ea |
2 |
Author: Jason Zaman <perfinion <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Feb 9 11:32:08 2019 +0000 |
4 |
Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Feb 9 11:48:24 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64a17ed2 |
7 |
|
8 |
sys-apps/semodule-utils: 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/semodule-utils/Manifest | 1 + |
14 |
.../semodule-utils/semodule-utils-2.9_rc1.ebuild | 49 ++++++++++++++++++++++ |
15 |
2 files changed, 50 insertions(+) |
16 |
|
17 |
diff --git a/sys-apps/semodule-utils/Manifest b/sys-apps/semodule-utils/Manifest |
18 |
index e186df70d98..81c8d1a4cff 100644 |
19 |
--- a/sys-apps/semodule-utils/Manifest |
20 |
+++ b/sys-apps/semodule-utils/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST semodule-utils-2.7.tar.gz 15447 BLAKE2B 44c28ad634ef2ab9e478edb58020547c217a01be0aa75cf3a2432be419efb626f0a5742ba1bcec50ba11c132c207a42c05836eb2749e1f80d4a8142fb9e34a9e SHA512 5c7c2a2224949f50c1119edba90d937363e22af52a38f06525e957b29f5310a3e3444d03980b2f808ce995de0f9fc0a9dca8b6167bbfde29c1a33b9bc786d3c8 |
23 |
DIST semodule-utils-2.8.tar.gz 12536 BLAKE2B 93a2f8fee887eba72b009071549a687fe86045344979e31493b3f17041ddf3f31c29ea3c754a31f6029847798dfe26d63b02fadc1042bc68aa414050b283d208 SHA512 13d79a22115f5448dafc5202dc3dec66b9ad826051d61d7c126defe823407959511db35713d97c7dfe9e79de96193fec91a10b98c13743e06a1213f5734f4ae7 |
24 |
+DIST semodule-utils-2.9-rc1.tar.gz 12548 BLAKE2B 62a4413f23ee8e30a9d60c00814425789362da4b056b03f5b27462534759d08f22c44b30a4d25c69bb5bd7447b5ed9e8cc89efb102e43c437adb4bf18f9a3540 SHA512 2e03dd8c23ad1b2f2492194ccd4a6fc39d4ee2d513778264b794011121c3b6eb896dab4a2236cf3934d1e200ad1f86ba6223bb6ac7aa81b1fd4c2a700dc7081a |
25 |
|
26 |
diff --git a/sys-apps/semodule-utils/semodule-utils-2.9_rc1.ebuild b/sys-apps/semodule-utils/semodule-utils-2.9_rc1.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..2db179e6353 |
29 |
--- /dev/null |
30 |
+++ b/sys-apps/semodule-utils/semodule-utils-2.9_rc1.ebuild |
31 |
@@ -0,0 +1,49 @@ |
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 |
+SEPOL_VER="${PV}" |
41 |
+SELNX_VER="${PV}" |
42 |
+ |
43 |
+MY_P="${P//_/-}" |
44 |
+IUSE="" |
45 |
+ |
46 |
+if [[ ${PV} == *9999 ]] ; then |
47 |
+ inherit git-r3 |
48 |
+ EGIT_REPO_URI="https://github.com/SELinuxProject/selinux.git" |
49 |
+ S="${WORKDIR}/${MY_P}/${PN}" |
50 |
+else |
51 |
+ SRC_URI="https://github.com/SELinuxProject/selinux/releases/download/${MY_RELEASEDATE}/${MY_P}.tar.gz" |
52 |
+ KEYWORDS="~amd64 ~arm ~arm64 ~mips ~x86" |
53 |
+ S="${WORKDIR}/${MY_P}" |
54 |
+fi |
55 |
+ |
56 |
+DESCRIPTION="SELinux policy module utilities" |
57 |
+HOMEPAGE="https://github.com/SELinuxProject/selinux/wiki" |
58 |
+ |
59 |
+LICENSE="GPL-2" |
60 |
+SLOT="0" |
61 |
+ |
62 |
+DEPEND=">=sys-libs/libsepol-${SEPOL_VER}:=" |
63 |
+ |
64 |
+RDEPEND="${DEPEND} |
65 |
+ !<sys-apps/policycoreutils-2.7_pre" |
66 |
+ |
67 |
+src_prepare() { |
68 |
+ default |
69 |
+ |
70 |
+ sed -i 's/-Werror//g' "${S}"/*/Makefile || die "Failed to remove Werror" |
71 |
+} |
72 |
+ |
73 |
+src_compile() { |
74 |
+ emake CC="$(tc-getCC)" |
75 |
+} |
76 |
+ |
77 |
+src_install() { |
78 |
+ emake DESTDIR="${D}" \ |
79 |
+ install |
80 |
+} |