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