1 |
commit: 3832eeee6adc95e2d0cde1c89c9678e14724363e |
2 |
Author: Amy Liffey <amynka <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Aug 7 07:41:08 2017 +0000 |
4 |
Commit: Amy Liffey <amynka <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Aug 7 07:41:46 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3832eeee |
7 |
|
8 |
app-admin/logsentry: eapi bump to 6 |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.1 |
11 |
|
12 |
.../{logsentry-1.1.1-r1.ebuild => logsentry-1.1.1-r2.ebuild} | 6 ++++-- |
13 |
1 file changed, 4 insertions(+), 2 deletions(-) |
14 |
|
15 |
diff --git a/app-admin/logsentry/logsentry-1.1.1-r1.ebuild b/app-admin/logsentry/logsentry-1.1.1-r2.ebuild |
16 |
similarity index 94% |
17 |
rename from app-admin/logsentry/logsentry-1.1.1-r1.ebuild |
18 |
rename to app-admin/logsentry/logsentry-1.1.1-r2.ebuild |
19 |
index fa0b6cc6a7d..bc8f5c7ed17 100644 |
20 |
--- a/app-admin/logsentry/logsentry-1.1.1-r1.ebuild |
21 |
+++ b/app-admin/logsentry/logsentry-1.1.1-r2.ebuild |
22 |
@@ -1,6 +1,8 @@ |
23 |
# Copyright 1999-2017 Gentoo Foundation |
24 |
# Distributed under the terms of the GNU General Public License v2 |
25 |
|
26 |
+EAPI=6 |
27 |
+ |
28 |
inherit toolchain-funcs |
29 |
|
30 |
DESCRIPTION="Automatically monitor system logs and mail security violations" |
31 |
@@ -24,7 +26,7 @@ src_compile() { |
32 |
|
33 |
src_install() { |
34 |
dodir /usr/bin /var/tmp/logcheck /etc/logcheck |
35 |
- cp systems/linux/logcheck.sh{,.orig} |
36 |
+ cp systems/linux/logcheck.sh{,.orig} || die |
37 |
sed -i \ |
38 |
-e 's:/usr/local/bin:/usr/bin:' \ |
39 |
-e 's:/usr/local/etc:/etc/logcheck:' \ |
40 |
@@ -42,7 +44,7 @@ src_install() { |
41 |
dodoc README* CHANGES CREDITS |
42 |
dodoc systems/linux/README.* |
43 |
|
44 |
- cat << EOF > "${S}"/logsentry.cron |
45 |
+ cat << EOF > "${S}"/logsentry.cron || die |
46 |
#!/bin/sh |
47 |
# |
48 |
# Uncomment the following if you want |