app-admin/logsentry: eapi bump to 6
authorAmy Liffey <amynka@gentoo.org>
Mon, 7 Aug 2017 07:41:08 +0000 (09:41 +0200)
committerAmy Liffey <amynka@gentoo.org>
Mon, 7 Aug 2017 07:41:46 +0000 (09:41 +0200)
Package-Manager: Portage-2.3.6, Repoman-2.3.1

app-admin/logsentry/logsentry-1.1.1-r2.ebuild [moved from app-admin/logsentry/logsentry-1.1.1-r1.ebuild with 94% similarity]

similarity index 94%
rename from app-admin/logsentry/logsentry-1.1.1-r1.ebuild
rename to app-admin/logsentry/logsentry-1.1.1-r2.ebuild
index fa0b6cc6a7df661300191e720ed69dd27db3c5f9..bc8f5c7ed176147842d9308b59459558926ae18a 100644 (file)
@@ -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