summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaweł Hajdan <phajdan.jr@gentoo.org>2010-02-23 08:46:55 +0000
committerPaweł Hajdan <phajdan.jr@gentoo.org>2010-02-23 08:46:55 +0000
commitff9e5d4dd6c1f913e4f43d682c2b30f3a88fd5fa (patch)
tree8d60652175c3705f7add9e0d8380ac00adc18c14 /app-admin/logcheck
parentupdate xf86-video-nouveau description (diff)
downloadgentoo-2-ff9e5d4dd6c1f913e4f43d682c2b30f3a88fd5fa.tar.gz
gentoo-2-ff9e5d4dd6c1f913e4f43d682c2b30f3a88fd5fa.tar.bz2
gentoo-2-ff9e5d4dd6c1f913e4f43d682c2b30f3a88fd5fa.zip
Version bump.
(Portage version: 2.1.7.16/cvs/Linux i686)
Diffstat (limited to 'app-admin/logcheck')
-rw-r--r--app-admin/logcheck/ChangeLog8
-rw-r--r--app-admin/logcheck/logcheck-1.3.7.ebuild49
2 files changed, 56 insertions, 1 deletions
diff --git a/app-admin/logcheck/ChangeLog b/app-admin/logcheck/ChangeLog
index b40b217e8266..afcb95db4876 100644
--- a/app-admin/logcheck/ChangeLog
+++ b/app-admin/logcheck/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-admin/logcheck
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/logcheck/ChangeLog,v 1.5 2010/02/05 11:47:36 phajdan.jr Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/logcheck/ChangeLog,v 1.6 2010/02/23 08:46:55 phajdan.jr Exp $
+
+*logcheck-1.3.7 (23 Feb 2010)
+
+ 23 Feb 2010; Pawel Hajdan jr <phajdan.jr@gentoo.org>
+ +logcheck-1.3.7.ebuild:
+ Version bump.
05 Feb 2010; Pawel Hajdan jr <phajdan.jr@gentoo.org>
logcheck-1.3.6.ebuild:
diff --git a/app-admin/logcheck/logcheck-1.3.7.ebuild b/app-admin/logcheck/logcheck-1.3.7.ebuild
new file mode 100644
index 000000000000..f7ce39255fca
--- /dev/null
+++ b/app-admin/logcheck/logcheck-1.3.7.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/logcheck/logcheck-1.3.7.ebuild,v 1.1 2010/02/23 08:46:55 phajdan.jr Exp $
+
+inherit eutils
+
+DESCRIPTION="Mails anomalies in the system logfiles to the administrator."
+HOMEPAGE="http://packages.debian.org/sid/logcheck"
+SRC_URI="mirror://debian/pool/main/l/${PN}/${PN}_${PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND="!app-admin/logsentry
+ app-misc/lockfile-progs
+ dev-lang/perl
+ dev-perl/mime-construct
+ virtual/mailx
+ ${DEPEND}"
+
+pkg_setup() {
+ enewgroup logcheck
+ enewuser logcheck -1 -1 -1 logcheck
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ keepdir /var/{lib,lock}/logcheck
+ dodoc AUTHORS CHANGES CREDITS TODO docs/README.* || die "dodoc failed"
+ doman docs/logtail.8 docs/logtail2.8 || die "doman failed"
+
+ exeinto /etc/cron.hourly
+ doexe "${FILESDIR}/${PN}.cron" || die "doexe failed"
+}
+
+pkg_postinst() {
+ chown -R logcheck:logcheck /etc/logcheck /var/{lib,lock}/logcheck \
+ || die "chown failed"
+
+ elog "The configuration files are located in /etc/logcheck. The most"
+ elog "important files are /etc/logcheck/logcheck.conf"
+ elog "and /etc/logcheck/logcheck.logfiles. Also, make sure that"
+ elog "the logcheck user has access to your log files."
+ elog "Finally, uncomment the logcheck line"
+ elog "/etc/cron.hourly/logcheck.cron to enable periodic log checks."
+}