1 |
commit: 99530b1aa0f28ab2a4e2e85c905177d524e62682 |
2 |
Author: Jason Zaman <perfinion <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Mar 30 17:07:30 2019 +0000 |
4 |
Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Mar 31 13:45:30 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99530b1a |
7 |
|
8 |
sys-apps/restorecond: bump to 2.9 |
9 |
|
10 |
Signed-off-by: Jason Zaman <perfinion <AT> gentoo.org> |
11 |
Package-Manager: Portage-2.3.62, Repoman-2.3.11 |
12 |
|
13 |
sys-apps/restorecond/Manifest | 1 + |
14 |
sys-apps/restorecond/restorecond-2.9.ebuild | 55 +++++++++++++++++++++++++++++ |
15 |
2 files changed, 56 insertions(+) |
16 |
|
17 |
diff --git a/sys-apps/restorecond/Manifest b/sys-apps/restorecond/Manifest |
18 |
index 00d78c90f27..7cb0575c428 100644 |
19 |
--- a/sys-apps/restorecond/Manifest |
20 |
+++ b/sys-apps/restorecond/Manifest |
21 |
@@ -1,3 +1,4 @@ |
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 |
+DIST restorecond-2.9.tar.gz 18893 BLAKE2B fcdae1a4ec489f3f581212cdd3c13c5561feac3ee758f354dca75c97938c62b9ed04aedbd4b3b5cde09a5887247389262718145620d0b9749e364d1614f57241 SHA512 6de9dd4c6b8e5d8275221aba5df27437998f635cfe83a5da75de479e260ceea884a36253eb873a8d71e1a77ed67544d8657fb75fe409af1f630052ce73ec5d8a |
26 |
|
27 |
diff --git a/sys-apps/restorecond/restorecond-2.9.ebuild b/sys-apps/restorecond/restorecond-2.9.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..b63423494d5 |
30 |
--- /dev/null |
31 |
+++ b/sys-apps/restorecond/restorecond-2.9.ebuild |
32 |
@@ -0,0 +1,55 @@ |
33 |
+# Copyright 1999-2019 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI="6" |
37 |
+ |
38 |
+inherit toolchain-funcs |
39 |
+ |
40 |
+MY_RELEASEDATE="20190315" |
41 |
+ |
42 |
+MY_P="${P//_/-}" |
43 |
+IUSE="" |
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 |
+DESCRIPTION="Daemon to watch for creation and set default SELinux fcontexts" |
56 |
+HOMEPAGE="https://github.com/SELinuxProject/selinux/wiki" |
57 |
+ |
58 |
+LICENSE="GPL-2" |
59 |
+SLOT="0" |
60 |
+ |
61 |
+DEPEND=">=sys-libs/libsepol-${PV}:= |
62 |
+ >=sys-libs/libselinux-${PV}:= |
63 |
+ dev-libs/dbus-glib |
64 |
+ dev-libs/libpcre:= |
65 |
+ >=sys-libs/libcap-1.10-r10:=" |
66 |
+ |
67 |
+RDEPEND="${DEPEND} |
68 |
+ !<sys-apps/policycoreutils-2.7_pre" |
69 |
+ |
70 |
+src_prepare() { |
71 |
+ default |
72 |
+ |
73 |
+ sed -i 's/-Werror//g' "${S}"/Makefile || die "Failed to remove Werror" |
74 |
+} |
75 |
+ |
76 |
+src_compile() { |
77 |
+ tc-export CC |
78 |
+ default |
79 |
+} |
80 |
+ |
81 |
+src_install() { |
82 |
+ emake DESTDIR="${D}" install |
83 |
+ |
84 |
+ rm -rf "${D}/etc/rc.d" || die |
85 |
+ |
86 |
+ newinitd "${FILESDIR}/restorecond.init" restorecond |
87 |
+} |