summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaweł Hajdan <phajdan.jr@gentoo.org>2014-02-08 06:06:35 +0000
committerPaweł Hajdan <phajdan.jr@gentoo.org>2014-02-08 06:06:35 +0000
commit127cc1297e182b35add9689297321aeb79eefb9a (patch)
tree13b9baeb10894dc399b207c13e86f7b83c96713d /app-admin
parentAdjust ssuominen's change to work when LIBDIR_x86 != lib32. (diff)
downloadgentoo-2-127cc1297e182b35add9689297321aeb79eefb9a.tar.gz
gentoo-2-127cc1297e182b35add9689297321aeb79eefb9a.tar.bz2
gentoo-2-127cc1297e182b35add9689297321aeb79eefb9a.zip
Version bump.
(Portage version: 2.2.7/cvs/Linux i686, signed Manifest commit with key 0xED1685EE1D07B6E7!)
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/logcheck/ChangeLog10
-rw-r--r--app-admin/logcheck/logcheck-1.3.16.ebuild52
2 files changed, 59 insertions, 3 deletions
diff --git a/app-admin/logcheck/ChangeLog b/app-admin/logcheck/ChangeLog
index 651747c7b406..028f5f95b647 100644
--- a/app-admin/logcheck/ChangeLog
+++ b/app-admin/logcheck/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-admin/logcheck
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/logcheck/ChangeLog,v 1.29 2013/06/22 15:24:19 phajdan.jr Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/logcheck/ChangeLog,v 1.30 2014/02/08 06:06:35 phajdan.jr Exp $
+
+*logcheck-1.3.16 (08 Feb 2014)
+
+ 08 Feb 2014; Pawel Hajdan jr <phajdan.jr@gentoo.org> +logcheck-1.3.16.ebuild:
+ Version bump.
*logcheck-1.3.15-r2 (21 Jun 2013)
@@ -141,4 +146,3 @@
+files/logcheck-makefile.patch, +metadata.xml:
New ebuild for app-admin/logcheck. Implemented suggestions by Fritella
Laurento <mrfree@infinito.it>. Bug #105816.
-
diff --git a/app-admin/logcheck/logcheck-1.3.16.ebuild b/app-admin/logcheck/logcheck-1.3.16.ebuild
new file mode 100644
index 000000000000..572c952347cb
--- /dev/null
+++ b/app-admin/logcheck/logcheck-1.3.16.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/logcheck/logcheck-1.3.16.ebuild,v 1.1 2014/02/08 06:06:35 phajdan.jr Exp $
+
+EAPI="5"
+
+inherit user
+
+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.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~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
+
+ # Do not install /var/lock, bug #449968 . Use rmdir to make sure
+ # the directories removed are empty.
+ rmdir "${D}/var/lock/logcheck" || die
+ rmdir "${D}/var/lock" || die
+
+ keepdir /var/lib/logcheck
+ dodoc AUTHORS CHANGES CREDITS TODO docs/README.*
+ doman docs/logtail.8 docs/logtail2.8
+
+ exeinto /etc/cron.hourly
+ doexe "${FILESDIR}/${PN}.cron"
+}
+
+pkg_postinst() {
+ chown -R logcheck:logcheck /etc/logcheck /var/lib/logcheck || die
+
+ elog "Please read the guide ad http://www.gentoo.org/doc/en/logcheck.xml"
+ elog "for installation instructions."
+}