1 |
commit: f03d7eb26fabcdd053d44c75ce537f268384eb3d |
2 |
Author: Jason Zaman <perfinion <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Nov 29 10:24:15 2019 +0000 |
4 |
Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Dec 2 14:49:02 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f03d7eb2 |
7 |
|
8 |
sys-libs/libsepol: 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-libs/libsepol/Manifest | 1 + |
14 |
sys-libs/libsepol/libsepol-3.0_rc2.ebuild | 51 +++++++++++++++++++++++++++++++ |
15 |
2 files changed, 52 insertions(+) |
16 |
|
17 |
diff --git a/sys-libs/libsepol/Manifest b/sys-libs/libsepol/Manifest |
18 |
index 8ab74ca7e9a..de7709f59ef 100644 |
19 |
--- a/sys-libs/libsepol/Manifest |
20 |
+++ b/sys-libs/libsepol/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST libsepol-2.8.tar.gz 473384 BLAKE2B 7280221d0824b316a3e66a0126654c71f52464d8a17460a2d38f592cb54449e2c57383f22ab7a3da2af809adeba93ef46b9c03cc69ddd112ab7592a14393cef3 SHA512 dd065886819a265cd4f2751ac231a7baa5d7c7735844f3557d5c7e1feb06d4b4d03433d26ff6419b426caf90b69771ee743850fe45d36bc0201cadb86c62189c |
23 |
DIST libsepol-2.9.tar.gz 474861 BLAKE2B 2d0941a003bbe6f15f047e3e55ce4561c36fb4946ce46b618df1b884881579cd192a0ac7cbedfb67ae5e926ab03ca35988d2a4fc279f31a88c83874e85862d13 SHA512 415af623c2b2898d98828c9bf0b12cf05d05790d2b412cad291f0759a8c3feacf1bd88c2ba6f2f1bca8f9f71e1627e9d5b1b69d60e7ef96fdd52df8a3d57d3e9 |
24 |
+DIST libsepol-3.0-rc2.tar.gz 473946 BLAKE2B a9e684a53d9043a9debf104d1358cfe77c687f21efe93f090c27c1e264a500b66b36087f11a9c92e1abbfd8b326b9aec556fd225e1e7bb4a16f994a9ec0b3cf6 SHA512 14ed61fb028c2338b3f7b6f8b1d172d55a686351d3b13589d3aafa13d17e52a03dd7e5674915b700885462fd099ada96cb1e33fe3ba7406961745533958f1f11 |
25 |
|
26 |
diff --git a/sys-libs/libsepol/libsepol-3.0_rc2.ebuild b/sys-libs/libsepol/libsepol-3.0_rc2.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..4c1c37365e0 |
29 |
--- /dev/null |
30 |
+++ b/sys-libs/libsepol/libsepol-3.0_rc2.ebuild |
31 |
@@ -0,0 +1,51 @@ |
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 multilib toolchain-funcs multilib-minimal |
38 |
+ |
39 |
+MY_P="${P//_/-}" |
40 |
+MY_RELEASEDATE="20191122" |
41 |
+ |
42 |
+DESCRIPTION="SELinux binary policy representation library" |
43 |
+HOMEPAGE="https://github.com/SELinuxProject/selinux/wiki" |
44 |
+ |
45 |
+if [[ ${PV} == 9999 ]]; then |
46 |
+ inherit git-r3 |
47 |
+ EGIT_REPO_URI="https://github.com/SELinuxProject/selinux.git" |
48 |
+ S="${WORKDIR}/${MY_P}/${PN}" |
49 |
+else |
50 |
+ SRC_URI="https://github.com/SELinuxProject/selinux/releases/download/${MY_RELEASEDATE}/${MY_P}.tar.gz" |
51 |
+ KEYWORDS="~amd64 ~arm ~arm64 ~mips ~x86" |
52 |
+ S="${WORKDIR}/${MY_P}" |
53 |
+fi |
54 |
+ |
55 |
+LICENSE="GPL-2" |
56 |
+SLOT="0" |
57 |
+IUSE="" |
58 |
+ |
59 |
+DEPEND="" |
60 |
+RDEPEND="" |
61 |
+ |
62 |
+# tests are not meant to be run outside of the full SELinux userland repo |
63 |
+RESTRICT="test" |
64 |
+ |
65 |
+src_prepare() { |
66 |
+ eapply_user |
67 |
+ multilib_copy_sources |
68 |
+} |
69 |
+ |
70 |
+multilib_src_compile() { |
71 |
+ tc-export CC AR RANLIB |
72 |
+ emake \ |
73 |
+ LIBDIR="\$(PREFIX)/$(get_libdir)" \ |
74 |
+ SHLIBDIR="/$(get_libdir)" |
75 |
+} |
76 |
+ |
77 |
+multilib_src_install() { |
78 |
+ emake DESTDIR="${D}" \ |
79 |
+ LIBDIR="\$(PREFIX)/$(get_libdir)" \ |
80 |
+ SHLIBDIR="/$(get_libdir)" \ |
81 |
+ install |
82 |
+} |