1 |
commit: cab5bd5cf7fad8f95a3decc64b2e975d274daa4e |
2 |
Author: Jason Zaman <perfinion <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Nov 29 10:33:21 2019 +0000 |
4 |
Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Dec 2 14:49:32 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cab5bd5c |
7 |
|
8 |
sys-apps/restorecond: bump to 3.0_rc2 |
9 |
|
10 |
Package-Manager: Portage-2.3.79, Repoman-2.3.16 |
11 |
Signed-off-by: Jason Zaman <perfinion <AT> gentoo.org> |
12 |
|
13 |
sys-apps/restorecond/Manifest | 1 + |
14 |
sys-apps/restorecond/restorecond-3.0_rc2.ebuild | 55 +++++++++++++++++++++++++ |
15 |
2 files changed, 56 insertions(+) |
16 |
|
17 |
diff --git a/sys-apps/restorecond/Manifest b/sys-apps/restorecond/Manifest |
18 |
index dfcb61eceaf..a37d673ad85 100644 |
19 |
--- a/sys-apps/restorecond/Manifest |
20 |
+++ b/sys-apps/restorecond/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST restorecond-2.8.tar.gz 17740 BLAKE2B ad873acbbb7c56c29a8523a42dc053ea79036a15bed71b47a690d01d4012394b5ecf74ae75b27affb4007d754935ec90246f22ef3e0b9611556ec7baf59670db SHA512 5d72336782c3ad095746f8e6fa67e36448e5e76ca29586d8fe4962c64e505fa95c1458e8fc8f7d5bd589fff71b4be3758fb0cee3dacd2ccd0bc8476423e2540e |
23 |
DIST restorecond-2.9.tar.gz 18893 BLAKE2B fcdae1a4ec489f3f581212cdd3c13c5561feac3ee758f354dca75c97938c62b9ed04aedbd4b3b5cde09a5887247389262718145620d0b9749e364d1614f57241 SHA512 6de9dd4c6b8e5d8275221aba5df27437998f635cfe83a5da75de479e260ceea884a36253eb873a8d71e1a77ed67544d8657fb75fe409af1f630052ce73ec5d8a |
24 |
+DIST restorecond-3.0-rc2.tar.gz 18794 BLAKE2B d95770e846a1541d601a20c7f27cb8464781942beeab2b700ae10aa88003d4b36bb20ac5d5a005dd8cd0e247cdcb84ab1c77e9e2f0e0d4389202640745b660e0 SHA512 b27483f286cbb9b1ac14e867f37afe555dd50c3f69559013f806113ecea7d4771db4c5585caaae68b6b489d0c794ad7c2f0ba3d94ed7d9cc8c13eadc7802fb45 |
25 |
|
26 |
diff --git a/sys-apps/restorecond/restorecond-3.0_rc2.ebuild b/sys-apps/restorecond/restorecond-3.0_rc2.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..a8c24e312bc |
29 |
--- /dev/null |
30 |
+++ b/sys-apps/restorecond/restorecond-3.0_rc2.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="20191122" |
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 |
+} |