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 | fcc6711581cfda49df35b812c6569f1f6aac6c9a (patch) | |
tree | 1641d58ba88ff8dcedba57ab50c31b73f4ffbd8b /app-admin/logsentry | |
parent | Masked logsentry for freeze (diff) | |
download | gentoo-2-fcc6711581cfda49df35b812c6569f1f6aac6c9a.tar.gz gentoo-2-fcc6711581cfda49df35b812c6569f1f6aac6c9a.tar.bz2 gentoo-2-fcc6711581cfda49df35b812c6569f1f6aac6c9a.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 +} |