diff options
author | Jared H.Hudson <jhhudso@gentoo.org> | 2003-11-17 07:50:58 +0000 |
---|---|---|
committer | Jared H.Hudson <jhhudso@gentoo.org> | 2003-11-17 07:50:58 +0000 |
commit | 12945d3e9c75611a348c82c9743da4c80f3a84a8 (patch) | |
tree | 9af99b3fdcdecd25f4a54e2283de6c7084916ef4 /sys-apps/logwatch | |
parent | version bump (diff) | |
download | historical-12945d3e9c75611a348c82c9743da4c80f3a84a8.tar.gz historical-12945d3e9c75611a348c82c9743da4c80f3a84a8.tar.bz2 historical-12945d3e9c75611a348c82c9743da4c80f3a84a8.zip |
version bump
Diffstat (limited to 'sys-apps/logwatch')
-rw-r--r-- | sys-apps/logwatch/Manifest | 5 | ||||
-rw-r--r-- | sys-apps/logwatch/files/digest-logwatch-5.0 | 1 | ||||
-rw-r--r-- | sys-apps/logwatch/logwatch-5.0.ebuild | 62 | ||||
-rw-r--r-- | sys-apps/logwatch/metadata.xml | 8 |
4 files changed, 74 insertions, 2 deletions
diff --git a/sys-apps/logwatch/Manifest b/sys-apps/logwatch/Manifest index f2f194e121a9..789308ad631e 100644 --- a/sys-apps/logwatch/Manifest +++ b/sys-apps/logwatch/Manifest @@ -1,5 +1,6 @@ MD5 149233009fd4464f72174128de464d0c logwatch-4.3.2.ebuild 1354 -MD5 a1222f6df8b85eb59a125a3d5f7c8308 ChangeLog 2103 -MD5 c2f23954b0248653f83f419da9bec493 logwatch-5.0.ebuild 1404 +MD5 0759612e8f76b55cb00469f97dc53329 ChangeLog 2200 +MD5 e952b888daa7f90a01b4eec9aee6f35a logwatch-5.0.ebuild 1404 +MD5 2c3158204cfb4b9c36b8bc78e8421b16 metadata.xml 223 MD5 cf548a7143dce1aba3792d0647ae4f90 files/digest-logwatch-4.3.2 65 MD5 4a5e8c25106385b7e823785f6c61855d files/digest-logwatch-5.0 63 diff --git a/sys-apps/logwatch/files/digest-logwatch-5.0 b/sys-apps/logwatch/files/digest-logwatch-5.0 new file mode 100644 index 000000000000..8a654fc9910a --- /dev/null +++ b/sys-apps/logwatch/files/digest-logwatch-5.0 @@ -0,0 +1 @@ +MD5 1685b19695a5a5a5406d2c7c8a339870 logwatch-5.0.tar.gz 82989 diff --git a/sys-apps/logwatch/logwatch-5.0.ebuild b/sys-apps/logwatch/logwatch-5.0.ebuild new file mode 100644 index 000000000000..17538730e72f --- /dev/null +++ b/sys-apps/logwatch/logwatch-5.0.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/logwatch/logwatch-5.0.ebuild,v 1.1 2003/11/17 07:50:56 jhhudso 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="~x86 ~amd64" +IUSE="" +DEPEND="virtual/glibc + virtual/cron + virtual/mta + dev-lang/perl + net-mail/mailx" +RDEPEND="" + +src_install() { + dodir /etc/log.d/lib + dodir /etc/log.d/conf/logfiles + dodir /etc/log.d/conf/services + dodir /etc/log.d/scripts/services + dodir /etc/log.d/scripts/shared + + newsbin scripts/logwatch.pl logwatch.pl + + for i in scripts/logfiles/* ; do + if [ $(ls $i | wc -l) -ne 0 ] ; then + exeinto /etc/log.d/$i + doexe $i/* + fi + done + + exeinto /etc/log.d/lib + doexe lib/*.pm + + exeinto /etc/log.d/scripts/services + doexe scripts/services/* + + exeinto /etc/log.d/scripts/shared + doexe scripts/shared/* + + insinto /etc/log.d/conf + doins conf/logwatch.conf + + insinto /etc/log.d/conf/logfiles + doins conf/logfiles/* + + insinto /etc/log.d/conf/services + doins conf/services/* + + doman logwatch.8 + dodoc License project/CHANGES README HOWTO-Make-Filter +} + +pkg_postinst() { + einfo + einfo "you have to manually add ${PN} to cron..." + einfo "0 0 * * * /usr/sbin/logwatch.pl 2>&1 > /dev/null" + einfo +} diff --git a/sys-apps/logwatch/metadata.xml b/sys-apps/logwatch/metadata.xml new file mode 100644 index 000000000000..c5d67a611520 --- /dev/null +++ b/sys-apps/logwatch/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>no-herd</herd> +<maintainer> + <email>jhhudso@gentoo.org</email> +</maintainer> +</pkgmetadata> |