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: Thu, 25 Feb 2016 09:04:53
Message-Id: 1456391287.cadf29c712232952f145c98c606b0aa481c24fe6.nimiux@gentoo
1 commit: cadf29c712232952f145c98c606b0aa481c24fe6
2 Author: José María Alonso Josa <nimiux <AT> gentoo <DOT> org>
3 AuthorDate: Thu Feb 25 09:08:07 2016 +0000
4 Commit: José María Alonso <nimiux <AT> gentoo <DOT> org>
5 CommitDate: Thu Feb 25 09:08:07 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cadf29c7
7
8 app-admin/logrotate: Drop old
9
10 app-admin/logrotate/Manifest | 1 -
11 app-admin/logrotate/logrotate-3.8.9-r1.ebuild | 82 ---------------------------
12 app-admin/logrotate/logrotate-3.8.9.ebuild | 78 -------------------------
13 3 files changed, 161 deletions(-)
14
15 diff --git a/app-admin/logrotate/Manifest b/app-admin/logrotate/Manifest
16 index eae536b..dd072bb 100644
17 --- a/app-admin/logrotate/Manifest
18 +++ b/app-admin/logrotate/Manifest
19 @@ -1,3 +1,2 @@
20 DIST 3.9.2.tar.gz 80711 SHA256 2de00c65e23fa9d7909cae6594e550b9abe9a7eb1553669ddeaca92d30f97009 SHA512 62c84a98ec3373562a5c0ab0abd68e33620787cbbafbcf442cb5c7bdc1a41a7f673ee5dabc5f905ad4dd3fffebcbee0dab2ea8698f20de04cc13950212aaab33 WHIRLPOOL b77338f2cc88e6bd03310cea40c26cd4d890238455b4d9507f64a3f8de1006bf98e0d3b783f6536da963f3d695ab604ab3f9bb0e6aa1ae9575005a665b497ec1
21 -DIST logrotate-3.8.9.tar.gz 77408 SHA256 700ed7ce9072a1cca324779a74797dfaefdae37ac50a817134b947c4ded1dfa7 SHA512 342533f321a1d77c0ca389fd0a393377ba73f10654aae163cbd35f8d5df25673f1aa6e44d0af42be5419d152a7dae11024d9005076bce0a3b3dad1f0e12b9c0d WHIRLPOOL 005621b5dc7f6954e505876eece76e3adf03b9b89b724e5c28b845c8af3ebb8e978d20e3a82c8a503c32bfd8758517625207e23518d6d08068e237c22fe7212d
22 DIST logrotate-3.9.1.tar.gz 79061 SHA256 022769e3288c80981559a8421703c88e8438b447235e36dd3c8e97cd94c52545 SHA512 e6da7c7f067befaf2441e9c6ce77e53cf5ddb4f56cc3304c3e50873b6f20c68520f4a0e50ec466cbebcbed20bfd77bf6dfc489975a8131e9573fb19856c0fe28 WHIRLPOOL 9b3558bb03c6c95f8f386ea75ca09bfda802ae4c45b9ef8408692e3aa7a2ee57447cf15ce04d0289946b9cae2266acb5509d8151d15ac6ea0ad9113aeb32dc17
23
24 diff --git a/app-admin/logrotate/logrotate-3.8.9-r1.ebuild b/app-admin/logrotate/logrotate-3.8.9-r1.ebuild
25 deleted file mode 100644
26 index 8a3dd15..0000000
27 --- a/app-admin/logrotate/logrotate-3.8.9-r1.ebuild
28 +++ /dev/null
29 @@ -1,82 +0,0 @@
30 -# Copyright 1999-2015 Gentoo Foundation
31 -# Distributed under the terms of the GNU General Public License v2
32 -# $Id$
33 -
34 -EAPI=5
35 -
36 -inherit autotools eutils toolchain-funcs flag-o-matic
37 -
38 -DESCRIPTION="Rotates, compresses, and mails system logs"
39 -HOMEPAGE="https://fedorahosted.org/logrotate/"
40 -SRC_URI="https://fedorahosted.org/releases/l/o/logrotate/${P}.tar.gz"
41 -
42 -LICENSE="GPL-2"
43 -SLOT="0"
44 -KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd"
45 -IUSE="acl +cron selinux"
46 -
47 -CDEPEND="
48 - >=dev-libs/popt-1.5
49 - selinux? (
50 - sys-libs/libselinux
51 - )
52 - acl? ( virtual/acl )"
53 -
54 -DEPEND="${CDEPEND}
55 - >=sys-apps/sed-4"
56 -
57 -RDEPEND="${CDEPEND}
58 - selinux? ( sec-policy/selinux-logrotate )
59 - cron? ( virtual/cron )"
60 -
61 -install_cron_file() {
62 - exeinto /etc/cron.daily
63 - newexe "${S}"/examples/logrotate.cron "${PN}"
64 -}
65 -
66 -src_prepare() {
67 - epatch \
68 - "${FILESDIR}"/${P}-ignore-hidden.patch \
69 - "${FILESDIR}"/${P}-fbsd.patch \
70 - "${FILESDIR}"/${P}-noasprintf.patch \
71 - "${FILESDIR}"/${P}-atomic-create.patch \
72 - "${FILESDIR}"/${P}-Werror.patch
73 - eautoreconf
74 -}
75 -
76 -src_configure() {
77 - econf $(use_with acl) $(use_with selinux)
78 -}
79 -
80 -src_compile() {
81 - emake ${myconf} RPM_OPT_FLAGS="${CFLAGS}"
82 -}
83 -
84 -src_test() {
85 - emake test
86 -}
87 -
88 -src_install() {
89 - insinto /usr
90 - dosbin logrotate
91 - doman logrotate.8
92 - dodoc CHANGES examples/logrotate*
93 -
94 - insinto /etc
95 - doins "${FILESDIR}"/logrotate.conf
96 -
97 - use cron && install_cron_file
98 -
99 - keepdir /etc/logrotate.d
100 -}
101 -
102 -pkg_postinst() {
103 - if [[ -z ${REPLACING_VERSIONS} ]] ; then
104 - elog "If you wish to have logrotate e-mail you updates, please"
105 - elog "emerge virtual/mailx and configure logrotate in"
106 - elog "/etc/logrotate.conf appropriately"
107 - elog
108 - elog "Additionally, /etc/logrotate.conf may need to be modified"
109 - elog "for your particular needs. See man logrotate for details."
110 - fi
111 -}
112
113 diff --git a/app-admin/logrotate/logrotate-3.8.9.ebuild b/app-admin/logrotate/logrotate-3.8.9.ebuild
114 deleted file mode 100644
115 index 8b6a7e4..0000000
116 --- a/app-admin/logrotate/logrotate-3.8.9.ebuild
117 +++ /dev/null
118 @@ -1,78 +0,0 @@
119 -# Copyright 1999-2015 Gentoo Foundation
120 -# Distributed under the terms of the GNU General Public License v2
121 -# $Id$
122 -
123 -EAPI=5
124 -
125 -inherit autotools eutils toolchain-funcs flag-o-matic
126 -
127 -DESCRIPTION="Rotates, compresses, and mails system logs"
128 -HOMEPAGE="https://fedorahosted.org/logrotate/"
129 -SRC_URI="https://fedorahosted.org/releases/l/o/logrotate/${P}.tar.gz"
130 -
131 -LICENSE="GPL-2"
132 -SLOT="0"
133 -KEYWORDS="alpha amd64 ~arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd"
134 -IUSE="acl selinux"
135 -
136 -CDEPEND="
137 - >=dev-libs/popt-1.5
138 - selinux? (
139 - sys-libs/libselinux
140 - )
141 - acl? ( virtual/acl )"
142 -
143 -DEPEND="${CDEPEND}
144 - >=sys-apps/sed-4"
145 -
146 -RDEPEND="${CDEPEND}
147 - selinux? ( sec-policy/selinux-logrotate )
148 - virtual/cron"
149 -
150 -src_prepare() {
151 - epatch \
152 - "${FILESDIR}"/${P}-ignore-hidden.patch \
153 - "${FILESDIR}"/${P}-fbsd.patch \
154 - "${FILESDIR}"/${P}-noasprintf.patch \
155 - "${FILESDIR}"/${P}-atomic-create.patch \
156 - "${FILESDIR}"/${P}-Werror.patch
157 - eautoreconf
158 -}
159 -
160 -src_compile() {
161 - local myconf
162 - myconf="CC=$(tc-getCC)"
163 - use selinux && myconf="${myconf} WITH_SELINUX=yes"
164 - use acl && myconf="${myconf} WITH_ACL=yes"
165 - emake ${myconf} RPM_OPT_FLAGS="${CFLAGS}"
166 -}
167 -
168 -src_test() {
169 - emake test
170 -}
171 -
172 -src_install() {
173 - insinto /usr
174 - dosbin logrotate
175 - doman logrotate.8
176 - dodoc CHANGES examples/logrotate*
177 -
178 - exeinto /etc/cron.daily
179 - newexe "${S}"/examples/logrotate.cron "${PN}"
180 -
181 - insinto /etc
182 - doins "${FILESDIR}"/logrotate.conf
183 -
184 - keepdir /etc/logrotate.d
185 -}
186 -
187 -pkg_postinst() {
188 - if [[ -z ${REPLACING_VERSIONS} ]] ; then
189 - elog "If you wish to have logrotate e-mail you updates, please"
190 - elog "emerge virtual/mailx and configure logrotate in"
191 - elog "/etc/logrotate.conf appropriately"
192 - elog
193 - elog "Additionally, /etc/logrotate.conf may need to be modified"
194 - elog "for your particular needs. See man logrotate for details."
195 - fi
196 -}