Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/logwatch/
Date: Sun, 03 Oct 2021 11:28:38
Message-Id: 1633260472.375108a820141a4303181be67cc289d1f11bbb3f.soap@gentoo
1 commit: 375108a820141a4303181be67cc289d1f11bbb3f
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Sun Oct 3 11:27:52 2021 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Sun Oct 3 11:27:52 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=375108a8
7
8 sys-apps/logwatch: drop 7.5.5
9
10 Signed-off-by: David Seifert <soap <AT> gentoo.org>
11
12 sys-apps/logwatch/Manifest | 1 -
13 sys-apps/logwatch/logwatch-7.5.5.ebuild | 95 ---------------------------------
14 2 files changed, 96 deletions(-)
15
16 diff --git a/sys-apps/logwatch/Manifest b/sys-apps/logwatch/Manifest
17 index 56017d64013..d3be92470bd 100644
18 --- a/sys-apps/logwatch/Manifest
19 +++ b/sys-apps/logwatch/Manifest
20 @@ -1,2 +1 @@
21 -DIST logwatch-7.5.5.tar.gz 474167 BLAKE2B 3e4183ea6dad4f415987870c555391d2a9496b4d4d894f1c06336876077b2a72e06b4e3f8d272aeb65aa5ea14f5f4d17a6f461ae54b2e50f073fef58a27a5241 SHA512 71df4d69d7e580b21dc0a0f813201822a161ada68a19c6d3f0df9c8576f22c8d43ebe90643d6184e91ee1c6628de9501896a9444ff7ad6af6fe17eba5d3573f2
22 DIST logwatch-7.5.6.tar.gz 484873 BLAKE2B 18a10f7baade4650c836ad402fcb92096923e0a8b6890352916e3b514bf85fe5b5070c0a47059c68fd84624407006107332f75a5ce3164a25cfa05f28f2ec882 SHA512 fb490f5bc1bf469309ee9caa1e040d71b4332d7fb64f94865a9b5fe707a92cb10c207022ce5e279709bf3412605f67f7da11303d91aa078f680c598398aab2ab
23
24 diff --git a/sys-apps/logwatch/logwatch-7.5.5.ebuild b/sys-apps/logwatch/logwatch-7.5.5.ebuild
25 deleted file mode 100644
26 index f0df4e4b95a..00000000000
27 --- a/sys-apps/logwatch/logwatch-7.5.5.ebuild
28 +++ /dev/null
29 @@ -1,95 +0,0 @@
30 -# Copyright 1999-2021 Gentoo Authors
31 -# Distributed under the terms of the GNU General Public License v2
32 -
33 -EAPI="7"
34 -
35 -inherit tmpfiles
36 -
37 -PATCHES=()
38 -
39 -if [[ ${PV} == "9999" ]] ; then
40 - EGIT_REPO_URI="https://git.code.sf.net/p/logwatch/git ${PN}"
41 - inherit git-r3
42 -else
43 - SRC_URI="mirror://sourceforge/${PN}/${P}/${P}.tar.gz"
44 - KEYWORDS="~alpha amd64 arm arm64 ~hppa ppc ppc64 sparc x86"
45 -fi
46 -
47 -DESCRIPTION="Analyzes and Reports on system logs"
48 -HOMEPAGE="https://sourceforge.net/projects/logwatch/"
49 -
50 -LICENSE="MIT"
51 -SLOT="0"
52 -IUSE=""
53 -
54 -DEPEND=""
55 -RDEPEND="virtual/cron
56 - virtual/mta
57 - virtual/mailx
58 - dev-lang/perl
59 - dev-perl/Date-Calc
60 - dev-perl/Date-Manip
61 - dev-perl/Tie-IxHash
62 - dev-perl/Sys-CPU
63 - dev-perl/Sys-MemInfo"
64 -
65 -src_install() {
66 - dodir /usr/share/logwatch/lib
67 - dodir /usr/share/logwatch/scripts/services
68 - dodir /usr/share/logwatch/scripts/shared
69 - dodir /usr/share/logwatch/default.conf/logfiles
70 - dodir /usr/share/logwatch/default.conf/services
71 - dodir /usr/share/logwatch/default.conf/html
72 - keepdir /etc/logwatch
73 -
74 - # logwatch.pl requires cache dir (bug #607668)
75 - newtmpfiles "${FILESDIR}"/logwatch.tmpfile ${PN}.conf
76 -
77 - newsbin scripts/logwatch.pl logwatch.pl
78 -
79 - exeinto /usr/share/logwatch/lib
80 - doexe lib/*.pm
81 -
82 - exeinto /usr/share/logwatch/scripts/services
83 - doexe scripts/services/*
84 -
85 - exeinto /usr/share/logwatch/scripts/shared
86 - doexe scripts/shared/*
87 -
88 - insinto /usr/share/logwatch/default.conf
89 - doins conf/logwatch.conf
90 -
91 - insinto /usr/share/logwatch/default.conf/logfiles
92 - doins conf/logfiles/*
93 -
94 - insinto /usr/share/logwatch/default.conf/services
95 - doins conf/services/*
96 -
97 - insinto /usr/share/logwatch/default.conf/html
98 - doins conf/html/*
99 -
100 - # Make sure logwatch is run before anything else #100243
101 - exeinto /etc/cron.daily
102 - newexe "${FILESDIR}"/logwatch 00-logwatch
103 -
104 - doman logwatch.8
105 - dodoc README HOWTO-Customize-LogWatch
106 -
107 - # Do last due to insopts modification.
108 - insinto /usr/share/logwatch/scripts/logfiles
109 - insopts -m755
110 - doins -r scripts/logfiles/*
111 -}
112 -
113 -pkg_postinst() {
114 - # Migration from /etc/cron.daily/logwatch -> /etc/cron.daily/00-logwatch (bug #100243)
115 - if [[ -e ${ROOT}/etc/cron.daily/logwatch ]] ; then
116 - local md5=$(md5sum "${ROOT}"/etc/cron.daily/logwatch)
117 - [[ ${md5} == "edb003cbc0686ed4cf37db16025635f3" ]] \
118 - && rm -f "${ROOT}"/etc/cron.daily/logwatch \
119 - || ewarn "You have two logwatch files in /etc/cron.daily/"
120 - fi
121 -
122 - # Trigger cache dir creation to allow immediate use of logwatch (bug #607668)
123 - tmpfiles_process ${PN}.conf
124 -}