1 |
commit: 0c29f667a2a41f357f7658f66004a96e9a4be435 |
2 |
Author: Jason Zaman <perfinion <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Apr 26 10:50:47 2018 +0000 |
4 |
Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Apr 26 11:22:23 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c29f667 |
7 |
|
8 |
sys-apps/semodule-utils: bump to 2.8_rc1 |
9 |
|
10 |
Package-Manager: Portage-2.3.24, Repoman-2.3.6 |
11 |
|
12 |
sys-apps/semodule-utils/Manifest | 1 + |
13 |
.../semodule-utils/semodule-utils-2.8_rc1.ebuild | 49 ++++++++++++++++++++++ |
14 |
2 files changed, 50 insertions(+) |
15 |
|
16 |
diff --git a/sys-apps/semodule-utils/Manifest b/sys-apps/semodule-utils/Manifest |
17 |
index 3a90c8cd157..83bde78cf52 100644 |
18 |
--- a/sys-apps/semodule-utils/Manifest |
19 |
+++ b/sys-apps/semodule-utils/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST semodule-utils-2.7.tar.gz 15447 BLAKE2B 44c28ad634ef2ab9e478edb58020547c217a01be0aa75cf3a2432be419efb626f0a5742ba1bcec50ba11c132c207a42c05836eb2749e1f80d4a8142fb9e34a9e SHA512 5c7c2a2224949f50c1119edba90d937363e22af52a38f06525e957b29f5310a3e3444d03980b2f808ce995de0f9fc0a9dca8b6167bbfde29c1a33b9bc786d3c8 |
22 |
+DIST semodule-utils-2.8-rc1.tar.gz 12543 BLAKE2B 99dc8fed5df4a285435aa9c27a38fe2de15d02ea037f0c53b1402940ef7c84c0b6d28237f87adc4482125fc8e7a454042fac62a3a4811de38b55665ec90d9a3d SHA512 489ee453a5c0f6bac754f8056f738c32a815fc055daa2c1fc93c63a5e8a4c5cf017e3d687a4ba432bef0a789ed972c1a90bc56487b4014b486c0bf7ca079c565 |
23 |
|
24 |
diff --git a/sys-apps/semodule-utils/semodule-utils-2.8_rc1.ebuild b/sys-apps/semodule-utils/semodule-utils-2.8_rc1.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..821f4f48c48 |
27 |
--- /dev/null |
28 |
+++ b/sys-apps/semodule-utils/semodule-utils-2.8_rc1.ebuild |
29 |
@@ -0,0 +1,49 @@ |
30 |
+# Copyright 1999-2018 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI="6" |
34 |
+ |
35 |
+inherit toolchain-funcs |
36 |
+ |
37 |
+MY_RELEASEDATE="20180419" |
38 |
+SEPOL_VER="${PV}" |
39 |
+SELNX_VER="${PV}" |
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://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/${MY_RELEASEDATE}/${MY_P}.tar.gz" |
50 |
+ KEYWORDS="~amd64 ~arm ~arm64 ~mips ~x86" |
51 |
+ S="${WORKDIR}/${MY_P}" |
52 |
+fi |
53 |
+ |
54 |
+DESCRIPTION="SELinux policy module utilities" |
55 |
+HOMEPAGE="https://github.com/SELinuxProject/selinux/wiki" |
56 |
+ |
57 |
+LICENSE="GPL-2" |
58 |
+SLOT="0" |
59 |
+ |
60 |
+DEPEND=">=sys-libs/libsepol-${SEPOL_VER}:=" |
61 |
+ |
62 |
+RDEPEND="${DEPEND} |
63 |
+ !<sys-apps/policycoreutils-2.7_pre" |
64 |
+ |
65 |
+src_prepare() { |
66 |
+ default |
67 |
+ |
68 |
+ sed -i 's/-Werror//g' "${S}"/*/Makefile || die "Failed to remove Werror" |
69 |
+} |
70 |
+ |
71 |
+src_compile() { |
72 |
+ emake CC="$(tc-getCC)" |
73 |
+} |
74 |
+ |
75 |
+src_install() { |
76 |
+ emake DESTDIR="${D}" \ |
77 |
+ install |
78 |
+} |