summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-11-08 03:40:04 +0000
committerMike Frysinger <vapier@gentoo.org>2005-11-08 03:40:04 +0000
commit30fcaca6fb1850cb8ca6659b009e3b9b7816e1ae (patch)
treed39f1885c61fbe4d122479a5ff7e8a11d2123123 /sys-apps/logwatch
parentold (diff)
downloadgentoo-2-30fcaca6fb1850cb8ca6659b009e3b9b7816e1ae.tar.gz
gentoo-2-30fcaca6fb1850cb8ca6659b009e3b9b7816e1ae.tar.bz2
gentoo-2-30fcaca6fb1850cb8ca6659b009e3b9b7816e1ae.zip
Fix ies by Rod Begbie so that the install actually works #111477.
(Portage version: 2.0.53_rc7)
Diffstat (limited to 'sys-apps/logwatch')
-rw-r--r--sys-apps/logwatch/ChangeLog7
-rw-r--r--sys-apps/logwatch/files/digest-logwatch-7.0-r11
-rw-r--r--sys-apps/logwatch/logwatch-7.0-r1.ebuild62
3 files changed, 69 insertions, 1 deletions
diff --git a/sys-apps/logwatch/ChangeLog b/sys-apps/logwatch/ChangeLog
index 625f5fd6be92..302dd6e07cf5 100644
--- a/sys-apps/logwatch/ChangeLog
+++ b/sys-apps/logwatch/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-apps/logwatch
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/logwatch/ChangeLog,v 1.26 2005/11/04 03:36:21 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/logwatch/ChangeLog,v 1.27 2005/11/08 03:40:04 vapier Exp $
+
+*logwatch-7.0-r1 (08 Nov 2005)
+
+ 08 Nov 2005; Mike Frysinger <vapier@gentoo.org> +logwatch-7.0-r1.ebuild:
+ Fixes by Rod Begbie so that the install actually works #111477.
*logwatch-7.0 (04 Nov 2005)
diff --git a/sys-apps/logwatch/files/digest-logwatch-7.0-r1 b/sys-apps/logwatch/files/digest-logwatch-7.0-r1
new file mode 100644
index 000000000000..46692be4d935
--- /dev/null
+++ b/sys-apps/logwatch/files/digest-logwatch-7.0-r1
@@ -0,0 +1 @@
+MD5 58fc1ea61df69e0e0839e70a289f5b3e logwatch-7.0.tar.gz 193457
diff --git a/sys-apps/logwatch/logwatch-7.0-r1.ebuild b/sys-apps/logwatch/logwatch-7.0-r1.ebuild
new file mode 100644
index 000000000000..ec3b3c84dd76
--- /dev/null
+++ b/sys-apps/logwatch/logwatch-7.0-r1.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/logwatch/logwatch-7.0-r1.ebuild,v 1.1 2005/11/08 03:40:04 vapier Exp $
+
+DESCRIPTION="Analyzes and Reports on system logs"
+HOMEPAGE="http://www.logwatch.org/"
+SRC_URI="ftp://ftp.kaybee.org/pub/linux/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE=""
+
+RDEPEND="virtual/cron
+ virtual/mta
+ dev-lang/perl
+ dev-perl/Tie-IxHash
+ dev-perl/Date-Calc
+ virtual/mailx"
+DEPEND=""
+
+src_install() {
+ dodir /usr/share/logwatch/lib
+ dodir /usr/share/logwatch/scripts/services
+ dodir /usr/share/logwatch/scripts/shared
+ dodir /usr/share/logwatch/default.conf/logfiles
+ dodir /usr/share/logwatch/default.conf/services
+ dodir /var/cache/logwatch
+ dodir /etc/logwatch
+
+ newsbin scripts/logwatch.pl logwatch.pl
+
+ for i in scripts/logfiles/* ; do
+ exeinto /usr/share/logwatch/$i
+ doexe $i/* || die "doexe $i failed"
+ done
+
+ exeinto /usr/share/logwatch/lib
+ doexe lib/*.pm
+
+ exeinto /usr/share/logwatch/scripts/services
+ doexe scripts/services/*
+
+ exeinto /usr/share/logwatch/scripts/shared
+ doexe scripts/shared/*
+
+ insinto /usr/share/logwatch/default.conf
+ doins conf/logwatch.conf
+
+ insinto /usr/share/logwatch/default.conf/logfiles
+ doins conf/logfiles/*
+
+ insinto /usr/share/logwatch/default.conf/services
+ doins conf/services/*
+
+ # Make sure logwatch is run before anything else #100243
+ exeinto /etc/cron.daily
+ newexe "${FILESDIR}"/logwatch 00-logwatch
+
+ doman logwatch.8
+ dodoc project/CHANGES README HOWTO-Make-Filter
+}