diff options
author | Michael Sterrett <msterret@gentoo.org> | 2003-06-09 21:07:44 +0000 |
---|---|---|
committer | Michael Sterrett <msterret@gentoo.org> | 2003-06-09 21:07:44 +0000 |
commit | 5c63df2676c9f7e1acc11e6914065bcb10f71deb (patch) | |
tree | 5b35b89d681e89b1758a593c8c37b3b76e75eaab /app-admin | |
parent | unmask for everyone (diff) | |
download | gentoo-2-5c63df2676c9f7e1acc11e6914065bcb10f71deb.tar.gz gentoo-2-5c63df2676c9f7e1acc11e6914065bcb10f71deb.tar.bz2 gentoo-2-5c63df2676c9f7e1acc11e6914065bcb10f71deb.zip |
DEPEND on sed >=4; use sed -i; fix SRC_URI and comment out HOMEPAGE since things are unclear.
Diffstat (limited to 'app-admin')
-rw-r--r-- | app-admin/logsentry/ChangeLog | 6 | ||||
-rw-r--r-- | app-admin/logsentry/Manifest | 4 | ||||
-rw-r--r-- | app-admin/logsentry/logsentry-1.1.1.ebuild | 27 |
3 files changed, 23 insertions, 14 deletions
diff --git a/app-admin/logsentry/ChangeLog b/app-admin/logsentry/ChangeLog index 0a5d424cfc5a..07c02a950779 100644 --- a/app-admin/logsentry/ChangeLog +++ b/app-admin/logsentry/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-admin/logsentry # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/logsentry/ChangeLog,v 1.6 2003/03/28 10:27:14 pvdabeel Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/logsentry/ChangeLog,v 1.7 2003/06/09 21:07:40 msterret Exp $ + + 09 Jun 2003; <msterret@gentoo.org> logsentry-1.1.1.ebuild: + DEPEND on sed >=4; use sed -i; fix SRC_URI and comment out HOMEPAGE since + things are unclear. 07 Jan 2003; Daniel Ahlberg <aliz@gentoo.org> logsentry-1.1.1.ebuild : Updated dependencies, closes #13332. diff --git a/app-admin/logsentry/Manifest b/app-admin/logsentry/Manifest index 23440e646d50..e759427bd0e4 100644 --- a/app-admin/logsentry/Manifest +++ b/app-admin/logsentry/Manifest @@ -1,3 +1,3 @@ -MD5 6b56c660f7ba35aefc62795e7f2823f3 ChangeLog 700 -MD5 f7995e3f21571d7b789f37d9dc98944d logsentry-1.1.1.ebuild 1493 +MD5 d7c1c08406db1625940407907ee462e5 ChangeLog 860 +MD5 b7181e5461ba6bca73da1d1c9cd5c42f logsentry-1.1.1.ebuild 1569 MD5 03f9002c435a60fa69ed010578e34fd7 files/digest-logsentry-1.1.1 66 diff --git a/app-admin/logsentry/logsentry-1.1.1.ebuild b/app-admin/logsentry/logsentry-1.1.1.ebuild index d7f7f1973bed..9087a6d47c8f 100644 --- a/app-admin/logsentry/logsentry-1.1.1.ebuild +++ b/app-admin/logsentry/logsentry-1.1.1.ebuild @@ -1,15 +1,18 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/logsentry/logsentry-1.1.1.ebuild,v 1.10 2003/03/28 10:27:14 pvdabeel Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/logsentry/logsentry-1.1.1.ebuild,v 1.11 2003/06/09 21:07:40 msterret Exp $ DESCRIPTION="automatically monitor system logs and mail security violations on a periodic basis" -HOMEPAGE="http://www.psionic.com/products/logsentry.html/" -SRC_URI="http://www.psionic.com/downloads/${P}.tar.gz" + +# Seems that the project has been discontinued by CISCO? +#HOMEPAGE="http://www.psionic.com/products/logsentry.html/" +SRC_URI="mirror://gentoo/${P}.tar.gz" SLOT="0" LICENSE="GPL-2" KEYWORDS="x86 ppc sparc" +DEPEND=">=sys-apps/sed-4" RDEPEND="net-mail/mailx" S=${WORKDIR}/logcheck-${PV} @@ -21,13 +24,15 @@ src_compile() { src_install() { dodir /usr/bin /etc/logcheck/tmp /etc/cron.hourly cp systems/linux/logcheck.sh{,.orig} - sed -e 's:/usr/local/bin:/usr/bin:' \ + sed -i \ + -e 's:/usr/local/bin:/usr/bin:' \ -e 's:/usr/local/etc:/etc/logcheck:' \ - systems/linux/logcheck.sh.orig > systems/linux/logcheck.sh - cp Makefile{,.orig} - sed -e "s:/usr/local/bin:${D}/usr/bin:" \ + systems/linux/logcheck.sh || \ + die "sed logcheck.sh failed" + sed -i \ + -e "s:/usr/local/bin:${D}/usr/bin:" \ -e "s:/usr/local/etc:${D}/etc/logcheck:" \ - Makefile.orig > Makefile + Makefile || die "sed Makefile failed" make CFLAGS="${CFLAGS}" linux || die dodoc README* CHANGES CREDITS @@ -36,7 +41,7 @@ src_install() { cat << EOF > ${D}/etc/cron.hourly/logsentry.cron #!/bin/sh # -# Uncomment the following if you want +# Uncomment the following if you want # logsentry (logcheck) to run hourly # # this is part of the logsentry package @@ -48,8 +53,8 @@ EOF } pkg_postinst() { - einfo - einfo "uncomment the logwatch line in /etc/cron.hourly/logsentry.cron," + einfo + einfo "Uncomment the logwatch line in /etc/cron.hourly/logsentry.cron," einfo "or add directly to root's crontab" einfo } |