summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2006-07-23 09:50:47 +0000
committerMartin Schlemmer <azarah@gentoo.org>2006-07-23 09:50:47 +0000
commitebb31517bb03641add7c1197881220aae59c407c (patch)
tree9d10bee7a65bb5027ad777e3cb876171072aacfb /sys-apps
parentstable on amd64 (diff)
downloadgentoo-2-ebb31517bb03641add7c1197881220aae59c407c.tar.gz
gentoo-2-ebb31517bb03641add7c1197881220aae59c407c.tar.bz2
gentoo-2-ebb31517bb03641add7c1197881220aae59c407c.zip
Install html templates to enable html output to work.
(Portage version: 2.1.1_pre3-r3)
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/logwatch/ChangeLog7
-rw-r--r--sys-apps/logwatch/files/digest-logwatch-7.3-r13
-rw-r--r--sys-apps/logwatch/logwatch-7.3-r1.ebuild66
3 files changed, 75 insertions, 1 deletions
diff --git a/sys-apps/logwatch/ChangeLog b/sys-apps/logwatch/ChangeLog
index 4a7955487b6f..ce0fdd7788bc 100644
--- a/sys-apps/logwatch/ChangeLog
+++ b/sys-apps/logwatch/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-apps/logwatch
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/logwatch/ChangeLog,v 1.34 2006/07/20 18:11:10 corsair Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/logwatch/ChangeLog,v 1.35 2006/07/23 09:50:47 azarah Exp $
+
+*logwatch-7.3-r1 (23 Jul 2006)
+
+ 23 Jul 2006; Martin Schlemmer <azarah@gentoo.org> +logwatch-7.3-r1.ebuild:
+ Install html templates to enable html output to work.
20 Jul 2006; Markus Rothe <corsair@gentoo.org> logwatch-7.1.ebuild:
Stable on ppc64; bug #140600
diff --git a/sys-apps/logwatch/files/digest-logwatch-7.3-r1 b/sys-apps/logwatch/files/digest-logwatch-7.3-r1
new file mode 100644
index 000000000000..63292119ea3e
--- /dev/null
+++ b/sys-apps/logwatch/files/digest-logwatch-7.3-r1
@@ -0,0 +1,3 @@
+MD5 4a788202618a5a849b206c71c6b1766f logwatch-7.3.tar.gz 226362
+RMD160 9bba6b646d1688fd422a420f2105abc516695e74 logwatch-7.3.tar.gz 226362
+SHA256 42872d8d3a781afca6a7eaec986e6650064ecd4ee2c6d95e600463d4c8630fb9 logwatch-7.3.tar.gz 226362
diff --git a/sys-apps/logwatch/logwatch-7.3-r1.ebuild b/sys-apps/logwatch/logwatch-7.3-r1.ebuild
new file mode 100644
index 000000000000..223d6e8aa5d3
--- /dev/null
+++ b/sys-apps/logwatch/logwatch-7.3-r1.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/logwatch/logwatch-7.3-r1.ebuild,v 1.1 2006/07/23 09:50:47 azarah 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 /usr/share/logwatch/default.conf/html
+ dodir /etc/logwatch
+ keepdir /var/cache/logwatch
+
+ newsbin scripts/logwatch.pl logwatch.pl || die "dosbin logwatch failed"
+
+ 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/*
+
+ insinto /usr/share/logwatch/default.conf/html
+ doins conf/html/*
+
+ # 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-Customize-LogWatch
+}