1 |
commit: 65c8897532b3c23c432b4cbea9ff694399176e84 |
2 |
Author: Jason Zaman <perfinion <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Apr 26 10:48:54 2018 +0000 |
4 |
Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Apr 26 11:22:08 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65c88975 |
7 |
|
8 |
sys-libs/libsepol: bump to 2.8_rc1 |
9 |
|
10 |
Package-Manager: Portage-2.3.24, Repoman-2.3.6 |
11 |
|
12 |
sys-libs/libsepol/Manifest | 1 + |
13 |
sys-libs/libsepol/libsepol-2.8_rc1.ebuild | 51 +++++++++++++++++++++++++++++++ |
14 |
2 files changed, 52 insertions(+) |
15 |
|
16 |
diff --git a/sys-libs/libsepol/Manifest b/sys-libs/libsepol/Manifest |
17 |
index 75e863d7e9d..2dfb18552e7 100644 |
18 |
--- a/sys-libs/libsepol/Manifest |
19 |
+++ b/sys-libs/libsepol/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST libsepol-2.6.tar.gz 442549 BLAKE2B d56eea07310e0e8338f4ef2de7470db0cda57efcad92bbb2fd7b5df184cd210a316f2f517c227f5d711a5b7ec967908e22e5c687859060e020ae8710e2240724 SHA512 17d007857634e3d581fcc9bafcbb75674a06e382bb258c2c6b3656c141d71493699c42b78c8e1917c628476aeb8ead73bb86e8ccf43d7ce59aa0b7884bea132a |
22 |
DIST libsepol-2.7.tar.gz 471147 BLAKE2B 5eea0be27cd14e105c261ce67d46806c60f8454ebcc82c27d060529deb1d36b1d7a3aac7a2c6706e969b0cea9225351e0cbce3149a73c0bbb18242b70d258344 SHA512 1d308c17bfea2659f9dc4877ab685449a5a33dff7260e62b603cde9551bed2010360b71a896c6dfcdb8b9fe86ecebc9f6b3225e6c3573a80fca8578a9d561b47 |
23 |
+DIST libsepol-2.8-rc1.tar.gz 473554 BLAKE2B 274894dfeb1d0dd7ba7b661266e7acdd0dc1c4ae4a51b689f2beb3a838ffebe5f1a9b7ce3f28c421215a68ba9eea57b9a3a5a4cf2a3effefa905bfdb1d71e72a SHA512 79307249604207b52af154ee17c96b90ea31c44d208935a06b276975c7521b84f8c96f9f2dd578478d2baa974fe5777c5f1417073eba828202fa227cf2ea383d |
24 |
|
25 |
diff --git a/sys-libs/libsepol/libsepol-2.8_rc1.ebuild b/sys-libs/libsepol/libsepol-2.8_rc1.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..0b34ccbc176 |
28 |
--- /dev/null |
29 |
+++ b/sys-libs/libsepol/libsepol-2.8_rc1.ebuild |
30 |
@@ -0,0 +1,51 @@ |
31 |
+# Copyright 1999-2018 Gentoo Foundation |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI="6" |
35 |
+ |
36 |
+inherit multilib toolchain-funcs multilib-minimal |
37 |
+ |
38 |
+MY_P="${P//_/-}" |
39 |
+MY_RELEASEDATE="20180419" |
40 |
+ |
41 |
+DESCRIPTION="SELinux binary policy representation library" |
42 |
+HOMEPAGE="https://github.com/SELinuxProject/selinux/wiki" |
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 |
+LICENSE="GPL-2" |
55 |
+SLOT="0" |
56 |
+IUSE="" |
57 |
+ |
58 |
+DEPEND="" |
59 |
+RDEPEND="" |
60 |
+ |
61 |
+# tests are not meant to be run outside of the full SELinux userland repo |
62 |
+RESTRICT="test" |
63 |
+ |
64 |
+src_prepare() { |
65 |
+ eapply_user |
66 |
+ multilib_copy_sources |
67 |
+} |
68 |
+ |
69 |
+multilib_src_compile() { |
70 |
+ tc-export CC AR RANLIB |
71 |
+ emake \ |
72 |
+ LIBDIR="\$(PREFIX)/$(get_libdir)" \ |
73 |
+ SHLIBDIR="/$(get_libdir)" |
74 |
+} |
75 |
+ |
76 |
+multilib_src_install() { |
77 |
+ emake DESTDIR="${D}" \ |
78 |
+ LIBDIR="\$(PREFIX)/$(get_libdir)" \ |
79 |
+ SHLIBDIR="/$(get_libdir)" \ |
80 |
+ install |
81 |
+} |