Gentoo Archives: gentoo-commits

From: Jason Zaman <perfinion@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/restorecond/
Date: Sat, 17 Aug 2019 10:09:36
Message-Id: 1566035033.e265de529714138f7c5bdac8bac26152113d79b1.perfinion@gentoo
1 commit: e265de529714138f7c5bdac8bac26152113d79b1
2 Author: Jason Zaman <perfinion <AT> gentoo <DOT> org>
3 AuthorDate: Sat Aug 17 09:43:53 2019 +0000
4 Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org>
5 CommitDate: Sat Aug 17 09:43:53 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e265de52
7
8 sys-apps/restorecond: drop old
9
10 Package-Manager: Portage-2.3.69, Repoman-2.3.16
11 Signed-off-by: Jason Zaman <perfinion <AT> gentoo.org>
12
13 sys-apps/restorecond/Manifest | 2 -
14 sys-apps/restorecond/restorecond-2.7.ebuild | 58 -------------------------
15 sys-apps/restorecond/restorecond-2.9_rc1.ebuild | 55 -----------------------
16 3 files changed, 115 deletions(-)
17
18 diff --git a/sys-apps/restorecond/Manifest b/sys-apps/restorecond/Manifest
19 index 7cb0575c428..dfcb61eceaf 100644
20 --- a/sys-apps/restorecond/Manifest
21 +++ b/sys-apps/restorecond/Manifest
22 @@ -1,4 +1,2 @@
23 -DIST restorecond-2.7.tar.gz 17753 BLAKE2B 793a41dbfd0a33d79e15c62e79f4fbbacc4208a8f2057813d7c3e2d16a3435c12e0c29ca60a3b45cef33ec13b5aacd28c8ad95ddcbf47a812654d3a59fcb6c89 SHA512 c81950e4f748a729c8951b13a4075ab1003530f8ada7a9d3fbe6428f76070df4819a37daaab557b63fc234aa8c8320ec41757fbdb24b76fa2c11747bde0038ad
24 DIST restorecond-2.8.tar.gz 17740 BLAKE2B ad873acbbb7c56c29a8523a42dc053ea79036a15bed71b47a690d01d4012394b5ecf74ae75b27affb4007d754935ec90246f22ef3e0b9611556ec7baf59670db SHA512 5d72336782c3ad095746f8e6fa67e36448e5e76ca29586d8fe4962c64e505fa95c1458e8fc8f7d5bd589fff71b4be3758fb0cee3dacd2ccd0bc8476423e2540e
25 -DIST restorecond-2.9-rc1.tar.gz 17747 BLAKE2B 0bcccb45b77bd97830f1e17e48c529f08d2e7eb1467f817ecc3520543e89d0f287c755baee53c27d0820d81a18cef34573b5f5e943b5c2d1e827886ce137f906 SHA512 6d0b0e3e36dfe567cf5349801078bc6ff9c6a7e7f2afc13f7ae775c9ae1d74fddfce14f3c83933f386e110ae5b4836c633d8307c9c4bce2000a3230bfcdb64eb
26 DIST restorecond-2.9.tar.gz 18893 BLAKE2B fcdae1a4ec489f3f581212cdd3c13c5561feac3ee758f354dca75c97938c62b9ed04aedbd4b3b5cde09a5887247389262718145620d0b9749e364d1614f57241 SHA512 6de9dd4c6b8e5d8275221aba5df27437998f635cfe83a5da75de479e260ceea884a36253eb873a8d71e1a77ed67544d8657fb75fe409af1f630052ce73ec5d8a
27
28 diff --git a/sys-apps/restorecond/restorecond-2.7.ebuild b/sys-apps/restorecond/restorecond-2.7.ebuild
29 deleted file mode 100644
30 index d55b72f66e5..00000000000
31 --- a/sys-apps/restorecond/restorecond-2.7.ebuild
32 +++ /dev/null
33 @@ -1,58 +0,0 @@
34 -# Copyright 1999-2018 Gentoo Foundation
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI="6"
38 -
39 -inherit toolchain-funcs
40 -
41 -MY_RELEASEDATE="20170804"
42 -
43 -MY_P="${P//_/-}"
44 -IUSE=""
45 -
46 -if [[ ${PV} == *9999 ]] ; then
47 - inherit git-r3
48 - EGIT_REPO_URI="https://github.com/SELinuxProject/selinux.git"
49 - S="${WORKDIR}/${MY_P}/${PN}"
50 -else
51 - SRC_URI="https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/${MY_RELEASEDATE}/${MY_P}.tar.gz"
52 - KEYWORDS="amd64 ~arm ~arm64 ~mips x86"
53 - S="${WORKDIR}/${MY_P}"
54 -fi
55 -
56 -DESCRIPTION="Daemon to watch for creation and set default SELinux fcontexts"
57 -HOMEPAGE="https://github.com/SELinuxProject/selinux/wiki"
58 -
59 -LICENSE="GPL-2"
60 -SLOT="0"
61 -
62 -DEPEND=">=sys-libs/libsepol-${PV}:=
63 - >=sys-libs/libselinux-${PV}:=
64 - dev-libs/dbus-glib
65 - dev-libs/libpcre:=
66 - >=sys-libs/libcap-1.10-r10:="
67 -
68 -RDEPEND="${DEPEND}
69 - !<sys-apps/policycoreutils-2.7_pre"
70 -
71 -src_prepare() {
72 - default
73 -
74 - sed -i 's/-Werror//g' "${S}"/Makefile || die "Failed to remove Werror"
75 -}
76 -
77 -src_compile() {
78 - emake \
79 - CC="$(tc-getCC)" \
80 - LIBDIR="\$(PREFIX)/$(get_libdir)"
81 -}
82 -
83 -src_install() {
84 - emake DESTDIR="${D}" \
85 - LIBDIR="\$(PREFIX)/$(get_libdir)" \
86 - install
87 -
88 - rm -rf "${D}/etc/rc.d" || die
89 -
90 - newinitd "${FILESDIR}/restorecond.init" restorecond
91 -}
92
93 diff --git a/sys-apps/restorecond/restorecond-2.9_rc1.ebuild b/sys-apps/restorecond/restorecond-2.9_rc1.ebuild
94 deleted file mode 100644
95 index 7e54ae96b8d..00000000000
96 --- a/sys-apps/restorecond/restorecond-2.9_rc1.ebuild
97 +++ /dev/null
98 @@ -1,55 +0,0 @@
99 -# Copyright 1999-2019 Gentoo Authors
100 -# Distributed under the terms of the GNU General Public License v2
101 -
102 -EAPI="6"
103 -
104 -inherit toolchain-funcs
105 -
106 -MY_RELEASEDATE="20190125"
107 -
108 -MY_P="${P//_/-}"
109 -IUSE=""
110 -
111 -if [[ ${PV} == *9999 ]] ; then
112 - inherit git-r3
113 - EGIT_REPO_URI="https://github.com/SELinuxProject/selinux.git"
114 - S="${WORKDIR}/${MY_P}/${PN}"
115 -else
116 - SRC_URI="https://github.com/SELinuxProject/selinux/releases/download/${MY_RELEASEDATE}/${MY_P}.tar.gz"
117 - KEYWORDS="~amd64 ~arm ~arm64 ~mips ~x86"
118 - S="${WORKDIR}/${MY_P}"
119 -fi
120 -
121 -DESCRIPTION="Daemon to watch for creation and set default SELinux fcontexts"
122 -HOMEPAGE="https://github.com/SELinuxProject/selinux/wiki"
123 -
124 -LICENSE="GPL-2"
125 -SLOT="0"
126 -
127 -DEPEND=">=sys-libs/libsepol-${PV}:=
128 - >=sys-libs/libselinux-${PV}:=
129 - dev-libs/dbus-glib
130 - dev-libs/libpcre:=
131 - >=sys-libs/libcap-1.10-r10:="
132 -
133 -RDEPEND="${DEPEND}
134 - !<sys-apps/policycoreutils-2.7_pre"
135 -
136 -src_prepare() {
137 - default
138 -
139 - sed -i 's/-Werror//g' "${S}"/Makefile || die "Failed to remove Werror"
140 -}
141 -
142 -src_compile() {
143 - tc-export CC
144 - default
145 -}
146 -
147 -src_install() {
148 - emake DESTDIR="${D}" install
149 -
150 - rm -rf "${D}/etc/rc.d" || die
151 -
152 - newinitd "${FILESDIR}/restorecond.init" restorecond
153 -}