Gentoo Archives: gentoo-commits

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/logwatch/
Date: Sun, 16 Aug 2020 00:54:00
Message-Id: 1597539221.2c12ab68bae327cd381dc81ac84de5451d25ae85.whissi@gentoo
1 commit: 2c12ab68bae327cd381dc81ac84de5451d25ae85
2 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
3 AuthorDate: Sun Aug 16 00:50:47 2020 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Sun Aug 16 00:53:41 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c12ab68
7
8 sys-apps/logwatch: drop old
9
10 Package-Manager: Portage-3.0.2, Repoman-2.3.23
11 Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
12
13 sys-apps/logwatch/Manifest | 2 -
14 sys-apps/logwatch/logwatch-7.5.1.ebuild | 95 ---------------------------------
15 sys-apps/logwatch/logwatch-7.5.2.ebuild | 95 ---------------------------------
16 3 files changed, 192 deletions(-)
17
18 diff --git a/sys-apps/logwatch/Manifest b/sys-apps/logwatch/Manifest
19 index 032d1f21a70..724bde2b08e 100644
20 --- a/sys-apps/logwatch/Manifest
21 +++ b/sys-apps/logwatch/Manifest
22 @@ -1,3 +1 @@
23 -DIST logwatch-7.5.1.tar.gz 469715 BLAKE2B 706352c60370d13b4f72047d08965ab0dd36837194a03bf44e08ec43641eddb8d80d655c783d4f25c8fa757853a4e069997b80676b781561c5e0a23b44a393c9 SHA512 945e66192a9e198169426497f7b5167fcbec2af9565dfead728aa91bfdac5f7e1b2ce2f5f404b6f03841fe6b978f70fb969b47d4f60f02f9a8ccea865c5c782c
24 -DIST logwatch-7.5.2.tar.gz 475277 BLAKE2B e3d841749af4776da84646444dd90bb084dc33712c1a6eeab87d46cb267656527008505f78506168b7ded40f3d0f8209c205249c2f953e6ee8af7a6cd82833d9 SHA512 157486143ba12167f6c50c778372a4295db3744878607bceba8e0813357651bffd8924ef5ef41a4fbd20811c020dcc031eb354a0f52b8eb6d9aac197087c2bc5
25 DIST logwatch-7.5.3.tar.gz 495110 BLAKE2B b28d7381d259a132de7d9fd347ac4bafb44440b187aa811f3d3f65d7b1ccbb00c6b5bb660229cd8155fa5d7bc9668e7b4dd1ebe7bbb909b48367c6a6dd6793e5 SHA512 ad404f031fe016599a8f8d8c0820b23db61a9ad102815d3713e5d13e9a810c819ca7ad9cea50891852982e073ef033dbe7595fde8846971336148e32cbbe29ca
26
27 diff --git a/sys-apps/logwatch/logwatch-7.5.1.ebuild b/sys-apps/logwatch/logwatch-7.5.1.ebuild
28 deleted file mode 100644
29 index 82d7ba396df..00000000000
30 --- a/sys-apps/logwatch/logwatch-7.5.1.ebuild
31 +++ /dev/null
32 @@ -1,95 +0,0 @@
33 -# Copyright 1999-2020 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI="7"
37 -
38 -inherit tmpfiles
39 -
40 -PATCHES=()
41 -
42 -if [[ ${PV} == "9999" ]] ; then
43 - EGIT_REPO_URI="https://git.code.sf.net/p/logwatch/git ${PN}"
44 - inherit git-r3
45 -else
46 - SRC_URI="mirror://sourceforge/${PN}/${P}/${P}.tar.gz"
47 - KEYWORDS="~alpha amd64 arm arm64 hppa ppc ppc64 sparc x86"
48 -fi
49 -
50 -DESCRIPTION="Analyzes and Reports on system logs"
51 -HOMEPAGE="http://www.logwatch.org/"
52 -
53 -LICENSE="MIT"
54 -SLOT="0"
55 -IUSE=""
56 -
57 -DEPEND=""
58 -RDEPEND="virtual/cron
59 - virtual/mta
60 - virtual/mailx
61 - dev-lang/perl
62 - dev-perl/Date-Calc
63 - dev-perl/Date-Manip
64 - dev-perl/Tie-IxHash
65 - dev-perl/Sys-CPU
66 - dev-perl/Sys-MemInfo"
67 -
68 -src_install() {
69 - dodir /usr/share/logwatch/lib
70 - dodir /usr/share/logwatch/scripts/services
71 - dodir /usr/share/logwatch/scripts/shared
72 - dodir /usr/share/logwatch/default.conf/logfiles
73 - dodir /usr/share/logwatch/default.conf/services
74 - dodir /usr/share/logwatch/default.conf/html
75 - keepdir /etc/logwatch
76 -
77 - # logwatch.pl requires cache dir (bug #607668)
78 - newtmpfiles "${FILESDIR}"/logwatch.tmpfile ${PN}.conf
79 -
80 - newsbin scripts/logwatch.pl logwatch.pl
81 -
82 - exeinto /usr/share/logwatch/lib
83 - doexe lib/*.pm
84 -
85 - exeinto /usr/share/logwatch/scripts/services
86 - doexe scripts/services/*
87 -
88 - exeinto /usr/share/logwatch/scripts/shared
89 - doexe scripts/shared/*
90 -
91 - insinto /usr/share/logwatch/default.conf
92 - doins conf/logwatch.conf
93 -
94 - insinto /usr/share/logwatch/default.conf/logfiles
95 - doins conf/logfiles/*
96 -
97 - insinto /usr/share/logwatch/default.conf/services
98 - doins conf/services/*
99 -
100 - insinto /usr/share/logwatch/default.conf/html
101 - doins conf/html/*
102 -
103 - # Make sure logwatch is run before anything else #100243
104 - exeinto /etc/cron.daily
105 - newexe "${FILESDIR}"/logwatch 00-logwatch
106 -
107 - doman logwatch.8
108 - dodoc README HOWTO-Customize-LogWatch
109 -
110 - # Do last due to insopts modification.
111 - insinto /usr/share/logwatch/scripts/logfiles
112 - insopts -m755
113 - doins -r scripts/logfiles/*
114 -}
115 -
116 -pkg_postinst() {
117 - # Migration from /etc/cron.daily/logwatch -> /etc/cron.daily/00-logwatch (bug #100243)
118 - if [[ -e ${ROOT}/etc/cron.daily/logwatch ]] ; then
119 - local md5=$(md5sum "${ROOT}"/etc/cron.daily/logwatch)
120 - [[ ${md5} == "edb003cbc0686ed4cf37db16025635f3" ]] \
121 - && rm -f "${ROOT}"/etc/cron.daily/logwatch \
122 - || ewarn "You have two logwatch files in /etc/cron.daily/"
123 - fi
124 -
125 - # Trigger cache dir creation to allow immediate use of logwatch (bug #607668)
126 - tmpfiles_process ${PN}.conf
127 -}
128
129 diff --git a/sys-apps/logwatch/logwatch-7.5.2.ebuild b/sys-apps/logwatch/logwatch-7.5.2.ebuild
130 deleted file mode 100644
131 index 73de997ba96..00000000000
132 --- a/sys-apps/logwatch/logwatch-7.5.2.ebuild
133 +++ /dev/null
134 @@ -1,95 +0,0 @@
135 -# Copyright 1999-2019 Gentoo Authors
136 -# Distributed under the terms of the GNU General Public License v2
137 -
138 -EAPI="7"
139 -
140 -inherit tmpfiles
141 -
142 -PATCHES=()
143 -
144 -if [[ ${PV} == "9999" ]] ; then
145 - EGIT_REPO_URI="https://git.code.sf.net/p/logwatch/git ${PN}"
146 - inherit git-r3
147 -else
148 - SRC_URI="mirror://sourceforge/${PN}/${P}/${P}.tar.gz"
149 - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
150 -fi
151 -
152 -DESCRIPTION="Analyzes and Reports on system logs"
153 -HOMEPAGE="http://www.logwatch.org/"
154 -
155 -LICENSE="MIT"
156 -SLOT="0"
157 -IUSE=""
158 -
159 -DEPEND=""
160 -RDEPEND="virtual/cron
161 - virtual/mta
162 - virtual/mailx
163 - dev-lang/perl
164 - dev-perl/Date-Calc
165 - dev-perl/Date-Manip
166 - dev-perl/Tie-IxHash
167 - dev-perl/Sys-CPU
168 - dev-perl/Sys-MemInfo"
169 -
170 -src_install() {
171 - dodir /usr/share/logwatch/lib
172 - dodir /usr/share/logwatch/scripts/services
173 - dodir /usr/share/logwatch/scripts/shared
174 - dodir /usr/share/logwatch/default.conf/logfiles
175 - dodir /usr/share/logwatch/default.conf/services
176 - dodir /usr/share/logwatch/default.conf/html
177 - keepdir /etc/logwatch
178 -
179 - # logwatch.pl requires cache dir (bug #607668)
180 - newtmpfiles "${FILESDIR}"/logwatch.tmpfile ${PN}.conf
181 -
182 - newsbin scripts/logwatch.pl logwatch.pl
183 -
184 - exeinto /usr/share/logwatch/lib
185 - doexe lib/*.pm
186 -
187 - exeinto /usr/share/logwatch/scripts/services
188 - doexe scripts/services/*
189 -
190 - exeinto /usr/share/logwatch/scripts/shared
191 - doexe scripts/shared/*
192 -
193 - insinto /usr/share/logwatch/default.conf
194 - doins conf/logwatch.conf
195 -
196 - insinto /usr/share/logwatch/default.conf/logfiles
197 - doins conf/logfiles/*
198 -
199 - insinto /usr/share/logwatch/default.conf/services
200 - doins conf/services/*
201 -
202 - insinto /usr/share/logwatch/default.conf/html
203 - doins conf/html/*
204 -
205 - # Make sure logwatch is run before anything else #100243
206 - exeinto /etc/cron.daily
207 - newexe "${FILESDIR}"/logwatch 00-logwatch
208 -
209 - doman logwatch.8
210 - dodoc README HOWTO-Customize-LogWatch
211 -
212 - # Do last due to insopts modification.
213 - insinto /usr/share/logwatch/scripts/logfiles
214 - insopts -m755
215 - doins -r scripts/logfiles/*
216 -}
217 -
218 -pkg_postinst() {
219 - # Migration from /etc/cron.daily/logwatch -> /etc/cron.daily/00-logwatch (bug #100243)
220 - if [[ -e ${ROOT}/etc/cron.daily/logwatch ]] ; then
221 - local md5=$(md5sum "${ROOT}"/etc/cron.daily/logwatch)
222 - [[ ${md5} == "edb003cbc0686ed4cf37db16025635f3" ]] \
223 - && rm -f "${ROOT}"/etc/cron.daily/logwatch \
224 - || ewarn "You have two logwatch files in /etc/cron.daily/"
225 - fi
226 -
227 - # Trigger cache dir creation to allow immediate use of logwatch (bug #607668)
228 - tmpfiles_process ${PN}.conf
229 -}