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, 09 Apr 2022 02:55:12
Message-Id: 1649472875.363ef1e03ce5d472b20ea18fb7f247d4c9d7b68c.perfinion@gentoo
1 commit: 363ef1e03ce5d472b20ea18fb7f247d4c9d7b68c
2 Author: Jason Zaman <perfinion <AT> gentoo <DOT> org>
3 AuthorDate: Sat Apr 9 01:46:10 2022 +0000
4 Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org>
5 CommitDate: Sat Apr 9 02:54:35 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=363ef1e0
7
8 sys-apps/restorecond: Drop old
9
10 Package-Manager: Portage-3.0.30, Repoman-3.0.3
11 Signed-off-by: Jason Zaman <perfinion <AT> gentoo.org>
12
13 sys-apps/restorecond/Manifest | 2 --
14 sys-apps/restorecond/restorecond-3.1.ebuild | 54 -----------------------------
15 sys-apps/restorecond/restorecond-3.2.ebuild | 50 --------------------------
16 3 files changed, 106 deletions(-)
17
18 diff --git a/sys-apps/restorecond/Manifest b/sys-apps/restorecond/Manifest
19 index 72a26729f3bb..5823e3897be5 100644
20 --- a/sys-apps/restorecond/Manifest
21 +++ b/sys-apps/restorecond/Manifest
22 @@ -1,3 +1 @@
23 -DIST restorecond-3.1.tar.gz 18939 BLAKE2B 3a3fcde057dad3ed05692d679ba27e0b24f191d92ed5114fa38cb5f846c4cc00d85bb09b5d4e560ed2b914444e0c2d1c407f6c03900610624d5626d05f2991bc SHA512 cdcf299f48b89a7c641ded9507b9b966bf648497394f8e988a9cb1ceb3224c86369706027f3416a4f9750836f7a8f4580a4b3df76673e03f897b383d7ed0e2c8
24 -DIST restorecond-3.2.tar.gz 18965 BLAKE2B 6cbd32c7c33fcc9f3fff78cc1faaa354c7ee918bfde8e12dfa73ce99632a8bc1e00d2f3b7cdd9c72179dbb51af1847e8dadd41cdc3ca20e9fb45e61871325029 SHA512 b1437a5d4dffef3463a0f2994f07c98585e9cfbc354db2dc07483fd9b964b079090697a277d2f4fd6bcd8df62f7505962fdca22d700721f6ba71490ace0167a9
25 DIST restorecond-3.3.tar.gz 18970 BLAKE2B 41c0eed734ab1e89cdfd40fdb0ceff47e1c4bb66354ff78d548a9747c661fbf7ed4b6b3daa1e39325de2a2ca087aca803f073f942f3ac89b71d873e27a1d6712 SHA512 ea2b97d22c1d68aa4ea31d8850f8c9632c0db0d4d666e323c648da896554c6a6fdf6dfa3c105a1df3f1ede9da8cce5ba4c1533b05520846fcb2d584935e5d7cb
26
27 diff --git a/sys-apps/restorecond/restorecond-3.1.ebuild b/sys-apps/restorecond/restorecond-3.1.ebuild
28 deleted file mode 100644
29 index 7184259428fe..000000000000
30 --- a/sys-apps/restorecond/restorecond-3.1.ebuild
31 +++ /dev/null
32 @@ -1,54 +0,0 @@
33 -# Copyright 1999-2021 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI="7"
37 -
38 -inherit systemd toolchain-funcs
39 -
40 -MY_RELEASEDATE="20200710"
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="dev-libs/glib:2
62 - >=sys-libs/libsepol-${PV}:=
63 - >=sys-libs/libselinux-${PV}:="
64 -
65 -RDEPEND="${DEPEND}"
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 - SYSTEMDSYSTEMUNITDIR="$(systemd_get_systemunitdir)" \
80 - SYSTEMDUSERUNITDIR=$(systemd_get_userunitdir) \
81 - emake DESTDIR="${D}" install
82 -
83 - rm -rf "${D}/etc/rc.d" || die
84 -
85 - newinitd "${FILESDIR}/restorecond.init" restorecond
86 -}
87
88 diff --git a/sys-apps/restorecond/restorecond-3.2.ebuild b/sys-apps/restorecond/restorecond-3.2.ebuild
89 deleted file mode 100644
90 index 600b91f0ad82..000000000000
91 --- a/sys-apps/restorecond/restorecond-3.2.ebuild
92 +++ /dev/null
93 @@ -1,50 +0,0 @@
94 -# Copyright 1999-2021 Gentoo Authors
95 -# Distributed under the terms of the GNU General Public License v2
96 -
97 -EAPI="7"
98 -
99 -inherit systemd toolchain-funcs
100 -
101 -IUSE=""
102 -
103 -if [[ ${PV} == *9999 ]] ; then
104 - inherit git-r3
105 - EGIT_REPO_URI="https://github.com/SELinuxProject/selinux.git"
106 - S="${WORKDIR}/${P}/${PN}"
107 -else
108 - SRC_URI="https://github.com/SELinuxProject/selinux/releases/download/${PV}/${P}.tar.gz"
109 - KEYWORDS="amd64 ~arm ~arm64 ~mips x86"
110 -fi
111 -
112 -DESCRIPTION="Daemon to watch for creation and set default SELinux fcontexts"
113 -HOMEPAGE="https://github.com/SELinuxProject/selinux/wiki"
114 -
115 -LICENSE="GPL-2"
116 -SLOT="0"
117 -
118 -DEPEND="dev-libs/glib:2
119 - >=sys-libs/libsepol-${PV}:=
120 - >=sys-libs/libselinux-${PV}:="
121 -
122 -RDEPEND="${DEPEND}"
123 -
124 -src_prepare() {
125 - default
126 -
127 - sed -i 's/-Werror//g' "${S}"/Makefile || die "Failed to remove Werror"
128 -}
129 -
130 -src_compile() {
131 - tc-export CC
132 - default
133 -}
134 -
135 -src_install() {
136 - SYSTEMDSYSTEMUNITDIR="$(systemd_get_systemunitdir)" \
137 - SYSTEMDUSERUNITDIR=$(systemd_get_userunitdir) \
138 - emake DESTDIR="${D}" install
139 -
140 - rm -rf "${D}/etc/rc.d" || die
141 -
142 - newinitd "${FILESDIR}/restorecond.init" restorecond
143 -}