1 |
commit: f3099add28d9079bc2c8c12dffd23ae5d79854bc |
2 |
Author: Jason Zaman <perfinion <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Nov 29 10:30:45 2019 +0000 |
4 |
Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Dec 2 14:49:22 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3099add |
7 |
|
8 |
sys-apps/semodule-utils: bump to 3.0_rc2 |
9 |
|
10 |
Package-Manager: Portage-2.3.79, Repoman-2.3.16 |
11 |
Signed-off-by: Jason Zaman <perfinion <AT> gentoo.org> |
12 |
|
13 |
sys-apps/semodule-utils/Manifest | 1 + |
14 |
.../semodule-utils/semodule-utils-3.0_rc2.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 f3b138fa092..0b6571bde3e 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.8.tar.gz 12536 BLAKE2B 93a2f8fee887eba72b009071549a687fe86045344979e31493b3f17041ddf3f31c29ea3c754a31f6029847798dfe26d63b02fadc1042bc68aa414050b283d208 SHA512 13d79a22115f5448dafc5202dc3dec66b9ad826051d61d7c126defe823407959511db35713d97c7dfe9e79de96193fec91a10b98c13743e06a1213f5734f4ae7 |
23 |
DIST semodule-utils-2.9.tar.gz 14259 BLAKE2B f72630c520504596171ac6f678b1fde2bb8482b620f0d8f6374c59b85d634ee8c407e3e4b268dae4d6cecfa2749b26f8808dd56f7c5391e7d1ba11f4a8a789e5 SHA512 688f1fcb34042b837019302debda76847691657709130b99bf937a85774a0ae69d789ee82b0633a4d2dc661dc6d0a1706a878ac681317df2abe68418bec3f952 |
24 |
+DIST semodule-utils-3.0-rc2.tar.gz 14269 BLAKE2B 161b0c62045f199bb1acef83fde138307b8095681a2da0a995a42d89e87bb6a0319067d18cd340da354a9ae764b2fa5704b48b0c972ec11df0d9ea6960a71641 SHA512 2f4fd71a255bd03d1fb3b341d96192058005634fcfdd9d07611f4bfec80d4b3e3a033cf1ad9223dd9e2c6fe6708910de021652e577e3ca1ff51997e0147b3413 |
25 |
|
26 |
diff --git a/sys-apps/semodule-utils/semodule-utils-3.0_rc2.ebuild b/sys-apps/semodule-utils/semodule-utils-3.0_rc2.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..73361dcfa65 |
29 |
--- /dev/null |
30 |
+++ b/sys-apps/semodule-utils/semodule-utils-3.0_rc2.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="20191122" |
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 |
+} |