1 |
commit: 4c8bf8521c8d4330d6300452f6dd7e536cd47761 |
2 |
Author: Paul Healy <lmiphay <AT> gmail <DOT> com> |
3 |
AuthorDate: Thu Oct 4 18:46:00 2018 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Oct 13 20:00:54 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c8bf852 |
7 |
|
8 |
app-admin/syslog-summary: suggest sys-apps/file |
9 |
|
10 |
Also: |
11 |
EAPI 6 |
12 |
Dropped stable keywords |
13 |
|
14 |
Closes: https://bugs.gentoo.org/472884 |
15 |
|
16 |
Signed-off-by: Paul Healy <lmiphay <AT> gmail.com> |
17 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
18 |
|
19 |
.../syslog-summary/syslog-summary-1.14-r2.ebuild | 47 ++++++++++++++++++++++ |
20 |
1 file changed, 47 insertions(+) |
21 |
|
22 |
diff --git a/app-admin/syslog-summary/syslog-summary-1.14-r2.ebuild b/app-admin/syslog-summary/syslog-summary-1.14-r2.ebuild |
23 |
new file mode 100644 |
24 |
index 00000000000..036c2eabffe |
25 |
--- /dev/null |
26 |
+++ b/app-admin/syslog-summary/syslog-summary-1.14-r2.ebuild |
27 |
@@ -0,0 +1,47 @@ |
28 |
+# Copyright 1999-2018 Gentoo Foundation |
29 |
+# Distributed under the terms of the GNU General Public License v2 |
30 |
+ |
31 |
+EAPI=6 |
32 |
+ |
33 |
+PYTHON_COMPAT=( python2_7 ) |
34 |
+ |
35 |
+inherit eutils python-single-r1 |
36 |
+ |
37 |
+DESCRIPTION="Summarizes the contents of a syslog log file" |
38 |
+HOMEPAGE="https://github.com/dpaleino/syslog-summary" |
39 |
+SRC_URI="mirror://github/dpaleino/${PN}/${P}.tar.gz" |
40 |
+ |
41 |
+LICENSE="GPL-3" |
42 |
+SLOT="0" |
43 |
+KEYWORDS="~amd64 ~sparc ~x86" |
44 |
+IUSE="" |
45 |
+ |
46 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
47 |
+ |
48 |
+DEPEND="" |
49 |
+RDEPEND="${PYTHON_DEPS}" |
50 |
+ |
51 |
+src_prepare() { |
52 |
+ python_fix_shebang -f syslog-summary |
53 |
+ |
54 |
+ sed -i -e 's:python-magic:sys-apps/file[python]:' "syslog-summary" |
55 |
+ |
56 |
+ # Sadly, the makefile is useless for us. |
57 |
+ rm Makefile || die |
58 |
+ |
59 |
+ eapply_user |
60 |
+} |
61 |
+ |
62 |
+src_install() { |
63 |
+ dobin syslog-summary |
64 |
+ dodoc AUTHORS ChangeLog NEWS README |
65 |
+ doman syslog-summary.1 |
66 |
+ |
67 |
+ insinto /etc/syslog-summary |
68 |
+ doins ignore.rules |
69 |
+} |
70 |
+ |
71 |
+pkg_postinst() { |
72 |
+ elog "install sys-apps/file[python] to enable processing" |
73 |
+ elog "of gzip compressed logfiles" |
74 |
+} |