diff options
author | Grant Goodyear <g2boojum@gentoo.org> | 2002-09-27 22:20:03 +0000 |
---|---|---|
committer | Grant Goodyear <g2boojum@gentoo.org> | 2002-09-27 22:20:03 +0000 |
commit | 1bc33de2b3498492199e601fd7d6a005986288e5 (patch) | |
tree | 0a6f306c257e109f9fc0fc8e07768867f55badf5 /app-admin/logsentry | |
parent | Masked logsentry for freeze (diff) | |
download | historical-1bc33de2b3498492199e601fd7d6a005986288e5.tar.gz historical-1bc33de2b3498492199e601fd7d6a005986288e5.tar.bz2 historical-1bc33de2b3498492199e601fd7d6a005986288e5.zip |
New security package; masked until freeze lifts
Diffstat (limited to 'app-admin/logsentry')
-rw-r--r-- | app-admin/logsentry/ChangeLog | 9 | ||||
-rw-r--r-- | app-admin/logsentry/files/digest-logsentry-1.1.1 | 1 | ||||
-rw-r--r-- | app-admin/logsentry/logsentry-1.1.1.ebuild | 56 |
3 files changed, 66 insertions, 0 deletions
diff --git a/app-admin/logsentry/ChangeLog b/app-admin/logsentry/ChangeLog new file mode 100644 index 000000000000..027898534c55 --- /dev/null +++ b/app-admin/logsentry/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for app-admin/logsentry +# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/logsentry/ChangeLog,v 1.1 2002/09/27 22:20:03 g2boojum Exp $ + +*logsentry-1.1.1 (27 Sept. 2002) + + 27 Sept. 2002; Grant Goodyear <g2boojum@gentoo.org> + New package + diff --git a/app-admin/logsentry/files/digest-logsentry-1.1.1 b/app-admin/logsentry/files/digest-logsentry-1.1.1 new file mode 100644 index 000000000000..9c8c0cd8fb3f --- /dev/null +++ b/app-admin/logsentry/files/digest-logsentry-1.1.1 @@ -0,0 +1 @@ +MD5 e97c2f096e219e20310c1b80e9e1bc29 logsentry-1.1.1.tar.gz 30267 diff --git a/app-admin/logsentry/logsentry-1.1.1.ebuild b/app-admin/logsentry/logsentry-1.1.1.ebuild new file mode 100644 index 000000000000..426bc9b0e430 --- /dev/null +++ b/app-admin/logsentry/logsentry-1.1.1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# $Header: /var/cvsroot/gentoo-x86/app-admin/logsentry/logsentry-1.1.1.ebuild,v 1.1 2002/09/27 22:20:03 g2boojum Exp $ + +S=${WORKDIR}/logcheck-${PV} +DESCRIPTION="LogSentry automatically monitors your system logs and mails security violations to you on a periodic basis" +HOMEPAGE="http://www.psionic.com/products/logsentry.html/" +SRC_URI="http://www.psionic.com/downloads/${P}.tar.gz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="x86" + +DEPEND="sys-apps/supersed" +RDEPEND="" + +src_compile() { + + echo "compile and install mixed in the package makefile" +} + +src_install() { + + dodir /usr/bin /etc/logcheck/tmp /etc/cron.hourly + ssed -i -e 's:/usr/local/bin:/usr/bin:' \ + -e 's:/usr/local/etc:/etc/logcheck:' \ + ${S}/systems/linux/logcheck.sh || die + ssed -i -e "s:/usr/local/bin:${D}/usr/bin:" \ + -e "s:/usr/local/etc:${D}/etc/logcheck:" \ + ${S}/Makefile || die + make CFLAGS="${CFLAGS}" linux || die + + dodoc README* CHANGES LICENSE CREDITS + dodoc systems/linux/README.* + + cat << EOF > ${D}/etc/cron.hourly/logsentry.cron +#!/bin/sh +# +# Uncomment the following if you want +# logsentry (logcheck) to run hourly +# +# this is part of the logsentry package +# +# + +#/bin/sh /etc/logcheck/logcheck.sh +EOF + +} + +pkg_postinst() { + einfo + einfo "uncomment the logwatch line in /etc/cron.hourly/logsentry.cron," + einfo "or add directly to root's crontab" + einfo +} |