1 |
commit: 42c439c8da6360da897e7aaa1c94f6f062471fae |
2 |
Author: Jason Zaman <perfinion <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jul 22 10:21:16 2017 +0000 |
4 |
Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jul 22 10:46:24 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42c439c8 |
7 |
|
8 |
sys-apps/restorecond: bump to 2.7_rc5 |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.1 |
11 |
|
12 |
sys-apps/restorecond/Manifest | 1 + |
13 |
sys-apps/restorecond/restorecond-2.7_rc5.ebuild | 57 +++++++++++++++++++++++++ |
14 |
2 files changed, 58 insertions(+) |
15 |
|
16 |
diff --git a/sys-apps/restorecond/Manifest b/sys-apps/restorecond/Manifest |
17 |
index d4a10e20bdf..f4438e1137f 100644 |
18 |
--- a/sys-apps/restorecond/Manifest |
19 |
+++ b/sys-apps/restorecond/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST restorecond-2.7-rc1.tar.gz 17752 SHA256 af97d65094dd0b064325647e63130737b6fb077de1753e0b6d2d4c8060b938d5 SHA512 386d62a42237288fbe013bcc05ce9d6b46007ca3c9c0671fd53e60203fb0a92e7911d80a27591f068c8038f390af7bd39b6b75244f944684186e7766a19e2fbd WHIRLPOOL 06e6ad4afe94e49b6d3040235da052a4e0641c8054e6b80236cc84c04ed477eb71e1a276c03e1ef9c7025b670ac55014ba4b64df336fd9681d68bb96c0ead2b2 |
22 |
DIST restorecond-2.7-rc4.tar.gz 17761 SHA256 b8ebd7ba6d988442f6c24f43867d0ed4e9573975540ef4726adccf897db4a5c4 SHA512 907931a73ea2c1c2899d8f6792c7d808676f667dd443ad5abbe77c9cb143ac03f86eee9496e354655e21721882a2c17446fd886d89c8feacde0b477d1ce2c3f1 WHIRLPOOL 559364b67c0f9966090b00abd997810582cb123cc08b71eea802652b4994a70d9e068a2ec1a49d2d90317540eb15d1edbd597331039dfbe8c8b44453375d90dc |
23 |
+DIST restorecond-2.7-rc5.tar.gz 17756 SHA256 659fa414a56f001eee449ae876e4903a1e9bd139cbacaad2fa786adc3185c62b SHA512 afda79cf98ca7cf2bd2fc1ff93255ba96b28f4b61fc20ed90c64842efe3158ba5760a584f93a777ff8c6c631fd4bf15c2c0763c18751d0e63edd6043db950711 WHIRLPOOL dbd1f4321f9e0aaa97982216ff438a48b1a7fd854116dd2bf752fe9c1e77ab4a0b5f64fc695af714a5fa51c5260942362bd50e62ebf67440a92683103bc46e35 |
24 |
|
25 |
diff --git a/sys-apps/restorecond/restorecond-2.7_rc5.ebuild b/sys-apps/restorecond/restorecond-2.7_rc5.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..b65c73ae71e |
28 |
--- /dev/null |
29 |
+++ b/sys-apps/restorecond/restorecond-2.7_rc5.ebuild |
30 |
@@ -0,0 +1,57 @@ |
31 |
+# Copyright 1999-2017 Gentoo Foundation |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI="6" |
35 |
+ |
36 |
+inherit toolchain-funcs |
37 |
+ |
38 |
+MY_RELEASEDATE="20170718" |
39 |
+ |
40 |
+MY_P="${P//_/-}" |
41 |
+IUSE="" |
42 |
+ |
43 |
+if [[ ${PV} == *9999 ]] ; then |
44 |
+ inherit git-r3 |
45 |
+ EGIT_REPO_URI="https://github.com/SELinuxProject/selinux.git" |
46 |
+ S="${WORKDIR}/${MY_P}/${PN}" |
47 |
+else |
48 |
+ SRC_URI="https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/${MY_RELEASEDATE}/${MY_P}.tar.gz" |
49 |
+ KEYWORDS="~amd64 ~arm ~arm64 ~mips ~x86" |
50 |
+ S="${WORKDIR}/${MY_P}" |
51 |
+fi |
52 |
+ |
53 |
+DESCRIPTION="Daemon to watch for creation and set default SELinux fcontexts" |
54 |
+HOMEPAGE="https://github.com/SELinuxProject/selinux/wiki" |
55 |
+ |
56 |
+LICENSE="GPL-2" |
57 |
+SLOT="0" |
58 |
+ |
59 |
+DEPEND=">=sys-libs/libsepol-${PV}:= |
60 |
+ >=sys-libs/libselinux-${PV}:= |
61 |
+ dev-libs/libpcre:= |
62 |
+ >=sys-libs/libcap-1.10-r10:=" |
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 \ |
75 |
+ CC="$(tc-getCC)" \ |
76 |
+ LIBDIR="\$(PREFIX)/$(get_libdir)" |
77 |
+} |
78 |
+ |
79 |
+src_install() { |
80 |
+ emake DESTDIR="${D}" \ |
81 |
+ LIBDIR="\$(PREFIX)/$(get_libdir)" \ |
82 |
+ install |
83 |
+ |
84 |
+ rm -rf "${D}/etc/rc.d" || die |
85 |
+ |
86 |
+ newinitd "${FILESDIR}/restorecond.init" restorecond |
87 |
+} |