Gentoo Archives: gentoo-commits

From: "Benedikt Boehm (hollow)" <hollow@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-apps/logwatch: ChangeLog logwatch-7.3.7_pre20100217.ebuild logwatch-7.3.7_pre20091204.ebuild logwatch-7.3.7_pre20100211.ebuild
Date: Wed, 17 Feb 2010 19:56:05
Message-Id: E1Nhq0A-0003uw-W2@stork.gentoo.org
1 hollow 10/02/17 19:56:02
2
3 Modified: ChangeLog
4 Added: logwatch-7.3.7_pre20100217.ebuild
5 Removed: logwatch-7.3.7_pre20091204.ebuild
6 logwatch-7.3.7_pre20100211.ebuild
7 Log:
8 fix #305527
9 (Portage version: 2.2_rc61/cvs/Linux i686)
10
11 Revision Changes Path
12 1.69 sys-apps/logwatch/ChangeLog
13
14 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/logwatch/ChangeLog?rev=1.69&view=markup
15 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/logwatch/ChangeLog?rev=1.69&content-type=text/plain
16 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/logwatch/ChangeLog?r1=1.68&r2=1.69
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/sys-apps/logwatch/ChangeLog,v
21 retrieving revision 1.68
22 retrieving revision 1.69
23 diff -u -r1.68 -r1.69
24 --- ChangeLog 11 Feb 2010 10:23:49 -0000 1.68
25 +++ ChangeLog 17 Feb 2010 19:56:02 -0000 1.69
26 @@ -1,6 +1,13 @@
27 # ChangeLog for sys-apps/logwatch
28 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/logwatch/ChangeLog,v 1.68 2010/02/11 10:23:49 hollow Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/logwatch/ChangeLog,v 1.69 2010/02/17 19:56:02 hollow Exp $
31 +
32 +*logwatch-7.3.7_pre20100217 (17 Feb 2010)
33 +
34 + 17 Feb 2010; Benedikt Böhm <hollow@g.o>
35 + -logwatch-7.3.7_pre20091204.ebuild, -logwatch-7.3.7_pre20100211.ebuild,
36 + +logwatch-7.3.7_pre20100217.ebuild:
37 + fix #305527
38
39 *logwatch-7.3.7_pre20100211 (11 Feb 2010)
40
41
42
43
44 1.1 sys-apps/logwatch/logwatch-7.3.7_pre20100217.ebuild
45
46 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/logwatch/logwatch-7.3.7_pre20100217.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/logwatch/logwatch-7.3.7_pre20100217.ebuild?rev=1.1&content-type=text/plain
48
49 Index: logwatch-7.3.7_pre20100217.ebuild
50 ===================================================================
51 # Copyright 1999-2010 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/sys-apps/logwatch/logwatch-7.3.7_pre20100217.ebuild,v 1.1 2010/02/17 19:56:02 hollow Exp $
54
55 DESCRIPTION="Analyzes and Reports on system logs"
56 HOMEPAGE="http://www.logwatch.org/"
57 SRC_URI="mirror://gentoo/${P}.tar.bz2"
58
59 LICENSE="MIT"
60 SLOT="0"
61 KEYWORDS="~alpha ~amd64 ~hppa ~ppc64 ~sparc ~x86"
62 IUSE=""
63
64 DEPEND=""
65 RDEPEND="virtual/cron
66 virtual/mta
67 virtual/mailx
68 dev-lang/perl
69 dev-perl/Date-Calc
70 dev-perl/DateManip
71 dev-perl/Tie-IxHash
72 dev-perl/Sys-CPU
73 dev-perl/Sys-MemInfo"
74
75 src_install() {
76 dodir /usr/share/logwatch/lib
77 dodir /usr/share/logwatch/scripts/services
78 dodir /usr/share/logwatch/scripts/shared
79 dodir /usr/share/logwatch/default.conf/logfiles
80 dodir /usr/share/logwatch/default.conf/services
81 dodir /usr/share/logwatch/default.conf/html
82 keepdir /etc/logwatch
83 keepdir /var/cache/logwatch
84
85 newsbin scripts/logwatch.pl logwatch.pl || die "dosbin logwatch failed"
86
87 for i in scripts/logfiles/* ; do
88 exeinto /usr/share/logwatch/$i
89 doexe $i/* || die "doexe $i failed"
90 done
91
92 exeinto /usr/share/logwatch/lib
93 doexe lib/*.pm
94
95 exeinto /usr/share/logwatch/scripts/services
96 doexe scripts/services/*
97
98 exeinto /usr/share/logwatch/scripts/shared
99 doexe scripts/shared/*
100
101 insinto /usr/share/logwatch/default.conf
102 doins conf/logwatch.conf
103
104 insinto /usr/share/logwatch/default.conf/logfiles
105 doins conf/logfiles/*
106
107 insinto /usr/share/logwatch/default.conf/services
108 doins conf/services/*
109
110 insinto /usr/share/logwatch/default.conf/html
111 doins conf/html/*
112
113 # Make sure logwatch is run before anything else #100243
114 exeinto /etc/cron.daily
115 newexe "${FILESDIR}"/logwatch 00-logwatch
116
117 doman logwatch.8
118 dodoc project/CHANGES README HOWTO-Customize-LogWatch
119 }
120
121 pkg_postinst() {
122 if [[ -e ${ROOT}/etc/cron.daily/logwatch ]] ; then
123 local md5=$(md5sum "${ROOT}"/etc/cron.daily/logwatch)
124 [[ ${md5} == "edb003cbc0686ed4cf37db16025635f3" ]] \
125 && rm -f "${ROOT}"/etc/cron.daily/logwatch \
126 || ewarn "You have two logwatch files in /etc/cron.daily/"
127 fi
128 }