Gentoo Archives: gentoo-commits

From: "José María Alonso" <nimiux@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/logrotate/
Date: Sun, 26 Feb 2017 19:43:11
Message-Id: 1488138172.5943c4d56c20bc0415ca2ebaf0168f30c7334664.nimiux@gentoo
1 commit: 5943c4d56c20bc0415ca2ebaf0168f30c7334664
2 Author: Chema Alonso Josa <nimiux <AT> gentoo <DOT> org>
3 AuthorDate: Sun Feb 26 19:42:52 2017 +0000
4 Commit: José María Alonso <nimiux <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 26 19:42:52 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5943c4d5
7
8 app-admin/logrotate: Drops old versions
9
10 Package-Manager: Portage-2.3.3, Repoman-2.3.1
11
12 app-admin/logrotate/Manifest | 2 -
13 app-admin/logrotate/logrotate-3.10.0.ebuild | 90 ---------------------------
14 app-admin/logrotate/logrotate-3.9.2-r2.ebuild | 87 --------------------------
15 app-admin/logrotate/logrotate-3.9.2.ebuild | 83 ------------------------
16 4 files changed, 262 deletions(-)
17
18 diff --git a/app-admin/logrotate/Manifest b/app-admin/logrotate/Manifest
19 index 3731e2d1f5..81aeda95da 100644
20 --- a/app-admin/logrotate/Manifest
21 +++ b/app-admin/logrotate/Manifest
22 @@ -1,4 +1,2 @@
23 -DIST logrotate-3.10.0.tar.gz 162640 SHA256 dbc76cae5d4912455b5221654bb6114e43d91a3a0879ce3e20a62a157532912e SHA512 ec0328fbf4410c7a2f1386ebb7bd266d2fd7702eb1e3859e7cfb98fd0fcf313140bd1ad46aff1672a6613c0c524b2f98f1e6b9836858961c6e1ecdcd0988b6cd WHIRLPOOL bccf0d434b09f4777e8aca7150cecf81582d85017fc9688f5a652d7373c158a885be6a1d452dc360b3d053065f3522e498a5ea1aa9be36835dec8764215b9996
24 DIST logrotate-3.11.0.tar.gz 176488 SHA256 7dcb440ed2f1937459e1e06f841c6af1e564b77b2df8009147b56c8649197910 SHA512 67ceb2e18c175a5935c81e7699af7a5e6625cef50a3f52e993d49d6c10d9c433f6c7354a8dd05cb35ab28e4393d1db198f2e46e5f6eafd3e6f040b6518438cc1 WHIRLPOOL 0a581aa5922386b84a7c40a9490364287f4e162f7180fd0e15bf191694294168b663947c7081e92755406fe4f0b3b8792b6f0c5f0e646afa5505a17995a86858
25 DIST logrotate-3.9.1.tar.gz 79061 SHA256 022769e3288c80981559a8421703c88e8438b447235e36dd3c8e97cd94c52545 SHA512 e6da7c7f067befaf2441e9c6ce77e53cf5ddb4f56cc3304c3e50873b6f20c68520f4a0e50ec466cbebcbed20bfd77bf6dfc489975a8131e9573fb19856c0fe28 WHIRLPOOL 9b3558bb03c6c95f8f386ea75ca09bfda802ae4c45b9ef8408692e3aa7a2ee57447cf15ce04d0289946b9cae2266acb5509d8151d15ac6ea0ad9113aeb32dc17
26 -DIST logrotate-3.9.2.tar.gz 80711 SHA256 2de00c65e23fa9d7909cae6594e550b9abe9a7eb1553669ddeaca92d30f97009 SHA512 62c84a98ec3373562a5c0ab0abd68e33620787cbbafbcf442cb5c7bdc1a41a7f673ee5dabc5f905ad4dd3fffebcbee0dab2ea8698f20de04cc13950212aaab33 WHIRLPOOL b77338f2cc88e6bd03310cea40c26cd4d890238455b4d9507f64a3f8de1006bf98e0d3b783f6536da963f3d695ab604ab3f9bb0e6aa1ae9575005a665b497ec1
27
28 diff --git a/app-admin/logrotate/logrotate-3.10.0.ebuild b/app-admin/logrotate/logrotate-3.10.0.ebuild
29 deleted file mode 100644
30 index 2ede7763cc..0000000000
31 --- a/app-admin/logrotate/logrotate-3.10.0.ebuild
32 +++ /dev/null
33 @@ -1,90 +0,0 @@
34 -# Copyright 1999-2016 Gentoo Foundation
35 -# Distributed under the terms of the GNU General Public License v2
36 -# $Id$
37 -
38 -EAPI=6
39 -
40 -inherit autotools eutils toolchain-funcs flag-o-matic
41 -
42 -DESCRIPTION="Rotates, compresses, and mails system logs"
43 -HOMEPAGE="https://github.com/logrotate/logrotate"
44 -SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.gz -> ${P}.tar.gz"
45 -
46 -LICENSE="GPL-2"
47 -SLOT="0"
48 -KEYWORDS="alpha amd64 arm ~arm64 hppa ~ia64 ~m68k ~mips ~ppc ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd"
49 -IUSE="acl +cron selinux"
50 -
51 -CDEPEND="
52 - >=dev-libs/popt-1.5
53 - selinux? (
54 - sys-libs/libselinux
55 - )
56 - acl? ( virtual/acl )"
57 -
58 -DEPEND="${CDEPEND}
59 - >=sys-apps/sed-4"
60 -
61 -RDEPEND="${CDEPEND}
62 - selinux? ( sec-policy/selinux-logrotate )
63 - cron? ( virtual/cron )"
64 -
65 -install_cron_file() {
66 - sed -i 's#/usr/sbin/logrotate#/usr/bin/logrotate#' "${S}"/examples/logrotate.cron
67 - exeinto /etc/cron.daily
68 - newexe "${S}"/examples/logrotate.cron "${PN}"
69 -}
70 -
71 -PATCHES=(
72 - "${FILESDIR}/${P}-ignore-hidden.patch"
73 - "${FILESDIR}/${P}-fbsd.patch"
74 - "${FILESDIR}/${P}-noasprintf.patch"
75 - "${FILESDIR}/${P}-atomic-create.patch"
76 - "${FILESDIR}/${P}-Werror.patch"
77 - "${FILESDIR}/${P}-lfs.patch"
78 -)
79 -
80 -src_prepare() {
81 - default
82 - eautoreconf
83 -}
84 -
85 -src_configure() {
86 - econf $(use_with acl) $(use_with selinux)
87 -}
88 -
89 -src_compile() {
90 - emake ${myconf} RPM_OPT_FLAGS="${CFLAGS}"
91 -}
92 -
93 -src_test() {
94 - emake test
95 -}
96 -
97 -src_install() {
98 - insinto /usr
99 - dobin logrotate
100 - doman logrotate.8
101 - dodoc CHANGES examples/logrotate*
102 -
103 - insinto /etc
104 - doins "${FILESDIR}"/logrotate.conf
105 -
106 - use cron && install_cron_file
107 -
108 - keepdir /etc/logrotate.d
109 -}
110 -
111 -pkg_postinst() {
112 - elog "The ${PN} binary is now installed under /usr/bin. Please"
113 - elog "update your links"
114 - elog
115 - if [[ -z ${REPLACING_VERSIONS} ]] ; then
116 - elog "If you wish to have logrotate e-mail you updates, please"
117 - elog "emerge virtual/mailx and configure logrotate in"
118 - elog "/etc/logrotate.conf appropriately"
119 - elog
120 - elog "Additionally, /etc/logrotate.conf may need to be modified"
121 - elog "for your particular needs. See man logrotate for details."
122 - fi
123 -}
124
125 diff --git a/app-admin/logrotate/logrotate-3.9.2-r2.ebuild b/app-admin/logrotate/logrotate-3.9.2-r2.ebuild
126 deleted file mode 100644
127 index 23f743f206..0000000000
128 --- a/app-admin/logrotate/logrotate-3.9.2-r2.ebuild
129 +++ /dev/null
130 @@ -1,87 +0,0 @@
131 -# Copyright 1999-2016 Gentoo Foundation
132 -# Distributed under the terms of the GNU General Public License v2
133 -# $Id$
134 -
135 -EAPI=5
136 -
137 -inherit autotools eutils toolchain-funcs flag-o-matic
138 -
139 -DESCRIPTION="Rotates, compresses, and mails system logs"
140 -HOMEPAGE="https://fedorahosted.org/logrotate/"
141 -SRC_URI="https://github.com/logrotate/logrotate/archive/${PV}.tar.gz -> ${P}.tar.gz"
142 -
143 -LICENSE="GPL-2"
144 -SLOT="0"
145 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
146 -IUSE="acl +cron selinux"
147 -
148 -CDEPEND="
149 - >=dev-libs/popt-1.5
150 - selinux? (
151 - sys-libs/libselinux
152 - )
153 - acl? ( virtual/acl )"
154 -
155 -DEPEND="${CDEPEND}
156 - >=sys-apps/sed-4"
157 -
158 -RDEPEND="${CDEPEND}
159 - selinux? ( sec-policy/selinux-logrotate )
160 - cron? ( virtual/cron )"
161 -
162 -install_cron_file() {
163 - sed -i 's#/usr/sbin/logrotate#/usr/bin/logrotate#' "${S}"/examples/logrotate.cron
164 - exeinto /etc/cron.daily
165 - newexe "${S}"/examples/logrotate.cron "${PN}"
166 -}
167 -
168 -src_prepare() {
169 - epatch \
170 - "${FILESDIR}"/${P}-ignore-hidden.patch \
171 - "${FILESDIR}"/${P}-fbsd.patch \
172 - "${FILESDIR}"/${P}-noasprintf.patch \
173 - "${FILESDIR}"/${P}-atomic-create.patch \
174 - "${FILESDIR}"/${P}-Werror.patch \
175 - "${FILESDIR}"/${P}-lfs.patch
176 - eautoreconf
177 -}
178 -
179 -src_configure() {
180 - econf $(use_with acl) $(use_with selinux)
181 -}
182 -
183 -src_compile() {
184 - emake ${myconf} RPM_OPT_FLAGS="${CFLAGS}"
185 -}
186 -
187 -src_test() {
188 - emake test
189 -}
190 -
191 -src_install() {
192 - insinto /usr
193 - dobin logrotate
194 - doman logrotate.8
195 - dodoc CHANGES examples/logrotate*
196 -
197 - insinto /etc
198 - doins "${FILESDIR}"/logrotate.conf
199 -
200 - use cron && install_cron_file
201 -
202 - keepdir /etc/logrotate.d
203 -}
204 -
205 -pkg_postinst() {
206 - elog "The ${PN} binary is now installed under /usr/bin. Please"
207 - elog "update your links"
208 - elog
209 - if [[ -z ${REPLACING_VERSIONS} ]] ; then
210 - elog "If you wish to have logrotate e-mail you updates, please"
211 - elog "emerge virtual/mailx and configure logrotate in"
212 - elog "/etc/logrotate.conf appropriately"
213 - elog
214 - elog "Additionally, /etc/logrotate.conf may need to be modified"
215 - elog "for your particular needs. See man logrotate for details."
216 - fi
217 -}
218
219 diff --git a/app-admin/logrotate/logrotate-3.9.2.ebuild b/app-admin/logrotate/logrotate-3.9.2.ebuild
220 deleted file mode 100644
221 index b2e21a0f9e..0000000000
222 --- a/app-admin/logrotate/logrotate-3.9.2.ebuild
223 +++ /dev/null
224 @@ -1,83 +0,0 @@
225 -# Copyright 1999-2016 Gentoo Foundation
226 -# Distributed under the terms of the GNU General Public License v2
227 -# $Id$
228 -
229 -EAPI=5
230 -
231 -inherit autotools eutils toolchain-funcs flag-o-matic
232 -
233 -DESCRIPTION="Rotates, compresses, and mails system logs"
234 -HOMEPAGE="https://fedorahosted.org/logrotate/"
235 -SRC_URI="https://github.com/logrotate/logrotate/archive/${PV}.tar.gz -> ${P}.tar.gz"
236 -
237 -LICENSE="GPL-2"
238 -SLOT="0"
239 -KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd"
240 -IUSE="acl +cron selinux"
241 -
242 -CDEPEND="
243 - >=dev-libs/popt-1.5
244 - selinux? (
245 - sys-libs/libselinux
246 - )
247 - acl? ( virtual/acl )"
248 -
249 -DEPEND="${CDEPEND}
250 - >=sys-apps/sed-4"
251 -
252 -RDEPEND="${CDEPEND}
253 - selinux? ( sec-policy/selinux-logrotate )
254 - cron? ( virtual/cron )"
255 -
256 -install_cron_file() {
257 - exeinto /etc/cron.daily
258 - newexe "${S}"/examples/logrotate.cron "${PN}"
259 -}
260 -
261 -src_prepare() {
262 - epatch \
263 - "${FILESDIR}"/${P}-ignore-hidden.patch \
264 - "${FILESDIR}"/${P}-fbsd.patch \
265 - "${FILESDIR}"/${P}-noasprintf.patch \
266 - "${FILESDIR}"/${P}-atomic-create.patch \
267 - "${FILESDIR}"/${P}-Werror.patch \
268 - "${FILESDIR}"/${P}-lfs.patch
269 - eautoreconf
270 -}
271 -
272 -src_configure() {
273 - econf $(use_with acl) $(use_with selinux)
274 -}
275 -
276 -src_compile() {
277 - emake ${myconf} RPM_OPT_FLAGS="${CFLAGS}"
278 -}
279 -
280 -src_test() {
281 - emake test
282 -}
283 -
284 -src_install() {
285 - insinto /usr
286 - dosbin logrotate
287 - doman logrotate.8
288 - dodoc CHANGES examples/logrotate*
289 -
290 - insinto /etc
291 - doins "${FILESDIR}"/logrotate.conf
292 -
293 - use cron && install_cron_file
294 -
295 - keepdir /etc/logrotate.d
296 -}
297 -
298 -pkg_postinst() {
299 - if [[ -z ${REPLACING_VERSIONS} ]] ; then
300 - elog "If you wish to have logrotate e-mail you updates, please"
301 - elog "emerge virtual/mailx and configure logrotate in"
302 - elog "/etc/logrotate.conf appropriately"
303 - elog
304 - elog "Additionally, /etc/logrotate.conf may need to be modified"
305 - elog "for your particular needs. See man logrotate for details."
306 - fi
307 -}