1 |
commit: 55487cee59bc643e08d16cfc3f1284bc0f88fad1 |
2 |
Author: Jason Zaman <perfinion <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Apr 26 10:51:32 2018 +0000 |
4 |
Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Apr 26 11:22:31 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55487cee |
7 |
|
8 |
sys-apps/restorecond: bump to 2.8_rc1 |
9 |
|
10 |
Package-Manager: Portage-2.3.24, Repoman-2.3.6 |
11 |
|
12 |
sys-apps/restorecond/Manifest | 1 + |
13 |
sys-apps/restorecond/restorecond-2.8_rc1.ebuild | 55 +++++++++++++++++++++++++ |
14 |
2 files changed, 56 insertions(+) |
15 |
|
16 |
diff --git a/sys-apps/restorecond/Manifest b/sys-apps/restorecond/Manifest |
17 |
index 52ee8ec1d46..bd23c8ee4aa 100644 |
18 |
--- a/sys-apps/restorecond/Manifest |
19 |
+++ b/sys-apps/restorecond/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST restorecond-2.7.tar.gz 17753 BLAKE2B 793a41dbfd0a33d79e15c62e79f4fbbacc4208a8f2057813d7c3e2d16a3435c12e0c29ca60a3b45cef33ec13b5aacd28c8ad95ddcbf47a812654d3a59fcb6c89 SHA512 c81950e4f748a729c8951b13a4075ab1003530f8ada7a9d3fbe6428f76070df4819a37daaab557b63fc234aa8c8320ec41757fbdb24b76fa2c11747bde0038ad |
22 |
+DIST restorecond-2.8-rc1.tar.gz 17778 BLAKE2B 7f0c3da54555f1bd015e191ab762d5564e8e40d1aceafa94fc774c0864f9ff720c468679a60869dc94280e89a160369afcdf2172a6aaee1b0ce555dc204cd957 SHA512 9b90485998bbabeb26d1ca197b78dadc2ad4aa15fc3eb30f16809e631009ce07f2a624d8e0c139cb6ea831ff46068de2744168c6ee0414693716b4963c8e3be9 |
23 |
|
24 |
diff --git a/sys-apps/restorecond/restorecond-2.8_rc1.ebuild b/sys-apps/restorecond/restorecond-2.8_rc1.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..78002784e9c |
27 |
--- /dev/null |
28 |
+++ b/sys-apps/restorecond/restorecond-2.8_rc1.ebuild |
29 |
@@ -0,0 +1,55 @@ |
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 |
+ |
39 |
+MY_P="${P//_/-}" |
40 |
+IUSE="" |
41 |
+ |
42 |
+if [[ ${PV} == *9999 ]] ; then |
43 |
+ inherit git-r3 |
44 |
+ EGIT_REPO_URI="https://github.com/SELinuxProject/selinux.git" |
45 |
+ S="${WORKDIR}/${MY_P}/${PN}" |
46 |
+else |
47 |
+ SRC_URI="https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/${MY_RELEASEDATE}/${MY_P}.tar.gz" |
48 |
+ KEYWORDS="~amd64 ~arm ~arm64 ~mips ~x86" |
49 |
+ S="${WORKDIR}/${MY_P}" |
50 |
+fi |
51 |
+ |
52 |
+DESCRIPTION="Daemon to watch for creation and set default SELinux fcontexts" |
53 |
+HOMEPAGE="https://github.com/SELinuxProject/selinux/wiki" |
54 |
+ |
55 |
+LICENSE="GPL-2" |
56 |
+SLOT="0" |
57 |
+ |
58 |
+DEPEND=">=sys-libs/libsepol-${PV}:= |
59 |
+ >=sys-libs/libselinux-${PV}:= |
60 |
+ dev-libs/dbus-glib |
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 |
+ tc-export CC |
75 |
+ default |
76 |
+} |
77 |
+ |
78 |
+src_install() { |
79 |
+ emake DESTDIR="${D}" install |
80 |
+ |
81 |
+ rm -rf "${D}/etc/rc.d" || die |
82 |
+ |
83 |
+ newinitd "${FILESDIR}/restorecond.init" restorecond |
84 |
+} |