1 |
commit: e43398f59c7a1d7d373dd7d29604005bbef1e5f5 |
2 |
Author: Jason Zaman <perfinion <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Feb 9 11:32:56 2019 +0000 |
4 |
Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Feb 9 11:48:31 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e43398f5 |
7 |
|
8 |
sys-apps/restorecond: bump to 2.9_rc1 |
9 |
|
10 |
Signed-off-by: Jason Zaman <perfinion <AT> gentoo.org> |
11 |
Package-Manager: Portage-2.3.51, Repoman-2.3.11 |
12 |
|
13 |
sys-apps/restorecond/Manifest | 1 + |
14 |
sys-apps/restorecond/restorecond-2.9_rc1.ebuild | 55 +++++++++++++++++++++++++ |
15 |
2 files changed, 56 insertions(+) |
16 |
|
17 |
diff --git a/sys-apps/restorecond/Manifest b/sys-apps/restorecond/Manifest |
18 |
index fcb2807a82e..00d78c90f27 100644 |
19 |
--- a/sys-apps/restorecond/Manifest |
20 |
+++ b/sys-apps/restorecond/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST restorecond-2.7.tar.gz 17753 BLAKE2B 793a41dbfd0a33d79e15c62e79f4fbbacc4208a8f2057813d7c3e2d16a3435c12e0c29ca60a3b45cef33ec13b5aacd28c8ad95ddcbf47a812654d3a59fcb6c89 SHA512 c81950e4f748a729c8951b13a4075ab1003530f8ada7a9d3fbe6428f76070df4819a37daaab557b63fc234aa8c8320ec41757fbdb24b76fa2c11747bde0038ad |
23 |
DIST restorecond-2.8.tar.gz 17740 BLAKE2B ad873acbbb7c56c29a8523a42dc053ea79036a15bed71b47a690d01d4012394b5ecf74ae75b27affb4007d754935ec90246f22ef3e0b9611556ec7baf59670db SHA512 5d72336782c3ad095746f8e6fa67e36448e5e76ca29586d8fe4962c64e505fa95c1458e8fc8f7d5bd589fff71b4be3758fb0cee3dacd2ccd0bc8476423e2540e |
24 |
+DIST restorecond-2.9-rc1.tar.gz 17747 BLAKE2B 0bcccb45b77bd97830f1e17e48c529f08d2e7eb1467f817ecc3520543e89d0f287c755baee53c27d0820d81a18cef34573b5f5e943b5c2d1e827886ce137f906 SHA512 6d0b0e3e36dfe567cf5349801078bc6ff9c6a7e7f2afc13f7ae775c9ae1d74fddfce14f3c83933f386e110ae5b4836c633d8307c9c4bce2000a3230bfcdb64eb |
25 |
|
26 |
diff --git a/sys-apps/restorecond/restorecond-2.9_rc1.ebuild b/sys-apps/restorecond/restorecond-2.9_rc1.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..7e54ae96b8d |
29 |
--- /dev/null |
30 |
+++ b/sys-apps/restorecond/restorecond-2.9_rc1.ebuild |
31 |
@@ -0,0 +1,55 @@ |
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 toolchain-funcs |
38 |
+ |
39 |
+MY_RELEASEDATE="20190125" |
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://github.com/SELinuxProject/selinux/releases/download/${MY_RELEASEDATE}/${MY_P}.tar.gz" |
50 |
+ KEYWORDS="~amd64 ~arm ~arm64 ~mips ~x86" |
51 |
+ S="${WORKDIR}/${MY_P}" |
52 |
+fi |
53 |
+ |
54 |
+DESCRIPTION="Daemon to watch for creation and set default SELinux fcontexts" |
55 |
+HOMEPAGE="https://github.com/SELinuxProject/selinux/wiki" |
56 |
+ |
57 |
+LICENSE="GPL-2" |
58 |
+SLOT="0" |
59 |
+ |
60 |
+DEPEND=">=sys-libs/libsepol-${PV}:= |
61 |
+ >=sys-libs/libselinux-${PV}:= |
62 |
+ dev-libs/dbus-glib |
63 |
+ dev-libs/libpcre:= |
64 |
+ >=sys-libs/libcap-1.10-r10:=" |
65 |
+ |
66 |
+RDEPEND="${DEPEND} |
67 |
+ !<sys-apps/policycoreutils-2.7_pre" |
68 |
+ |
69 |
+src_prepare() { |
70 |
+ default |
71 |
+ |
72 |
+ sed -i 's/-Werror//g' "${S}"/Makefile || die "Failed to remove Werror" |
73 |
+} |
74 |
+ |
75 |
+src_compile() { |
76 |
+ tc-export CC |
77 |
+ default |
78 |
+} |
79 |
+ |
80 |
+src_install() { |
81 |
+ emake DESTDIR="${D}" install |
82 |
+ |
83 |
+ rm -rf "${D}/etc/rc.d" || die |
84 |
+ |
85 |
+ newinitd "${FILESDIR}/restorecond.init" restorecond |
86 |
+} |