1 |
phajdan.jr 10/01/02 14:39:05 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: logcheck-1.3.5.ebuild |
5 |
Log: |
6 |
Bump app-admin/logcheck to 1.3.5. |
7 |
(Portage version: 2.1.6.13/cvs/Linux i686) |
8 |
|
9 |
Revision Changes Path |
10 |
1.3 app-admin/logcheck/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/logcheck/ChangeLog?rev=1.3&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/logcheck/ChangeLog?rev=1.3&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/logcheck/ChangeLog?r1=1.2&r2=1.3 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/app-admin/logcheck/ChangeLog,v |
19 |
retrieving revision 1.2 |
20 |
retrieving revision 1.3 |
21 |
diff -u -r1.2 -r1.3 |
22 |
--- ChangeLog 23 Dec 2009 14:28:39 -0000 1.2 |
23 |
+++ ChangeLog 2 Jan 2010 14:39:05 -0000 1.3 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for app-admin/logcheck |
26 |
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/app-admin/logcheck/ChangeLog,v 1.2 2009/12/23 14:28:39 phajdan.jr Exp $ |
28 |
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
29 |
+# $Header: /var/cvsroot/gentoo-x86/app-admin/logcheck/ChangeLog,v 1.3 2010/01/02 14:39:05 phajdan.jr Exp $ |
30 |
+ |
31 |
+*logcheck-1.3.5 (02 Jan 2010) |
32 |
+ |
33 |
+ 02 Jan 2010; Pawel Hajdan jr <phajdan.jr@g.o> |
34 |
+ +logcheck-1.3.5.ebuild: |
35 |
+ Version bump. |
36 |
|
37 |
23 Dec 2009; Pawel Hajdan jr <phajdan.jr@g.o> |
38 |
logcheck-1.3.4.ebuild: |
39 |
|
40 |
|
41 |
|
42 |
1.1 app-admin/logcheck/logcheck-1.3.5.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/logcheck/logcheck-1.3.5.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/logcheck/logcheck-1.3.5.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: logcheck-1.3.5.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2010 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/app-admin/logcheck/logcheck-1.3.5.ebuild,v 1.1 2010/01/02 14:39:05 phajdan.jr Exp $ |
52 |
|
53 |
EAPI=2 |
54 |
|
55 |
inherit eutils |
56 |
|
57 |
DESCRIPTION="Mails anomalies in the system logfiles to the administrator." |
58 |
HOMEPAGE="http://packages.debian.org/sid/logcheck" |
59 |
SRC_URI="mirror://debian/pool/main/l/${PN}/${PN}_${PV}.tar.gz" |
60 |
|
61 |
LICENSE="GPL-2" |
62 |
SLOT="0" |
63 |
KEYWORDS="~amd64 ~x86" |
64 |
IUSE="" |
65 |
|
66 |
DEPEND="" |
67 |
RDEPEND="!app-admin/logsentry |
68 |
app-misc/lockfile-progs |
69 |
dev-lang/perl |
70 |
virtual/mailx |
71 |
${DEPEND}" |
72 |
|
73 |
pkg_setup() { |
74 |
enewgroup logcheck |
75 |
enewuser logcheck -1 -1 -1 logcheck |
76 |
} |
77 |
|
78 |
src_prepare() { |
79 |
epatch "${FILESDIR}/${PN}-makefile.patch" |
80 |
} |
81 |
|
82 |
src_install() { |
83 |
emake DESTDIR="${D}" install || die "emake install failed" |
84 |
keepdir /var/{lib,lock}/logcheck |
85 |
dodoc AUTHORS CHANGES CREDITS TODO docs/README.* || die "dodoc failed" |
86 |
doman docs/logtail.8 docs/logtail2.8 || die "doman failed" |
87 |
|
88 |
exeinto /etc/cron.hourly |
89 |
doexe "${FILESDIR}/${PN}.cron" || die "doexe failed" |
90 |
} |
91 |
|
92 |
pkg_postinst() { |
93 |
chown -R logcheck:logcheck /etc/logcheck /var/{lib,lock}/logcheck \ |
94 |
|| die "chown failed" |
95 |
|
96 |
elog "The configuration files are located in /etc/logcheck. The most" |
97 |
elog "important files are /etc/logcheck/logcheck.conf" |
98 |
elog "and /etc/logcheck/logcheck.logfiles. Also, make sure that" |
99 |
elog "the logcheck user has access to your log files." |
100 |
elog "Finally, uncomment the logcheck line" |
101 |
elog "/etc/cron.hourly/logcheck.cron to enable periodic log checks." |
102 |
} |