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