summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmy Liffey <amynka@gentoo.org>2017-08-07 09:41:08 +0200
committerAmy Liffey <amynka@gentoo.org>2017-08-07 09:41:46 +0200
commit3832eeee6adc95e2d0cde1c89c9678e14724363e (patch)
treeadda8e6b87b262b27bf821b321077d80dc3d2e44 /app-admin
parentsys-devel/binutils: stable 2.28.1 for ia64, bug #624524 (diff)
downloadgentoo-3832eeee6adc95e2d0cde1c89c9678e14724363e.tar.gz
gentoo-3832eeee6adc95e2d0cde1c89c9678e14724363e.tar.bz2
gentoo-3832eeee6adc95e2d0cde1c89c9678e14724363e.zip
app-admin/logsentry: eapi bump to 6
Package-Manager: Portage-2.3.6, Repoman-2.3.1
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/logsentry/logsentry-1.1.1-r2.ebuild (renamed from app-admin/logsentry/logsentry-1.1.1-r1.ebuild)6
1 files changed, 4 insertions, 2 deletions
diff --git a/app-admin/logsentry/logsentry-1.1.1-r1.ebuild b/app-admin/logsentry/logsentry-1.1.1-r2.ebuild
index fa0b6cc6a7d..bc8f5c7ed17 100644
--- a/app-admin/logsentry/logsentry-1.1.1-r1.ebuild
+++ b/app-admin/logsentry/logsentry-1.1.1-r2.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
+EAPI=6
+
inherit toolchain-funcs
DESCRIPTION="Automatically monitor system logs and mail security violations"
@@ -24,7 +26,7 @@ src_compile() {
src_install() {
dodir /usr/bin /var/tmp/logcheck /etc/logcheck
- cp systems/linux/logcheck.sh{,.orig}
+ cp systems/linux/logcheck.sh{,.orig} || die
sed -i \
-e 's:/usr/local/bin:/usr/bin:' \
-e 's:/usr/local/etc:/etc/logcheck:' \
@@ -42,7 +44,7 @@ src_install() {
dodoc README* CHANGES CREDITS
dodoc systems/linux/README.*
- cat << EOF > "${S}"/logsentry.cron
+ cat << EOF > "${S}"/logsentry.cron || die
#!/bin/sh
#
# Uncomment the following if you want