diff options
author | Paul Healy <lmiphay@gmail.com> | 2018-10-05 19:53:04 +0100 |
---|---|---|
committer | Paul Healy <lmiphay@gmail.com> | 2018-10-05 19:53:04 +0100 |
commit | 6baebcc0d4cd3951a93bbad860d62360307d6f2a (patch) | |
tree | 58239a6347edc8bb248e8f19a0467779176b9d02 /app-admin/syslog-summary | |
parent | update to EAPI 7 (diff) | |
download | lmiphay-6baebcc0d4cd3951a93bbad860d62360307d6f2a.tar.gz lmiphay-6baebcc0d4cd3951a93bbad860d62360307d6f2a.tar.bz2 lmiphay-6baebcc0d4cd3951a93bbad860d62360307d6f2a.zip |
fixed up syslog-summary
Diffstat (limited to 'app-admin/syslog-summary')
-rw-r--r-- | app-admin/syslog-summary/Manifest | 2 | ||||
-rw-r--r-- | app-admin/syslog-summary/syslog-summary-1.14-r2.ebuild | 47 |
2 files changed, 49 insertions, 0 deletions
diff --git a/app-admin/syslog-summary/Manifest b/app-admin/syslog-summary/Manifest new file mode 100644 index 0000000..266f9cf --- /dev/null +++ b/app-admin/syslog-summary/Manifest @@ -0,0 +1,2 @@ +DIST syslog-summary-1.14.tar.gz 7278 BLAKE2B 609e506c099b734be87ba6d6e21f70283d4654ab5c6d3794da71099f3e590d178348c13ab271ddb84682220091adfd702c107bf2dee792419de3ce14d2a9c9db SHA512 db1f0660ad435eea26fc3ec4cd475f5f1b98bb629495707741077e52aef88fe8bff4a318bb5b0821e57ccfa0646454c6825a5a4fc1fb4b73ea67cbd4defef277 +EBUILD syslog-summary-1.14-r2.ebuild 953 BLAKE2B 73be6dd77870fc4316e54c98d9b788eefedb0d11faae5f7a6dd1ce3e094f78bf7913c6f3b0c2c5133ba1e7985caedfbac156720e407b4a968ee293fda7e16e90 SHA512 5640666efdea9dc16540b9abccd4dc1796177e8d73e91a826dcab290aa87786bd0b38f466096d0f0a82fb3d24473cdf3a9a104584a2b69b26fe294e06edab2b3 diff --git a/app-admin/syslog-summary/syslog-summary-1.14-r2.ebuild b/app-admin/syslog-summary/syslog-summary-1.14-r2.ebuild new file mode 100644 index 0000000..036c2ea --- /dev/null +++ b/app-admin/syslog-summary/syslog-summary-1.14-r2.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 ) + +inherit eutils python-single-r1 + +DESCRIPTION="Summarizes the contents of a syslog log file" +HOMEPAGE="https://github.com/dpaleino/syslog-summary" +SRC_URI="mirror://github/dpaleino/${PN}/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~sparc ~x86" +IUSE="" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +DEPEND="" +RDEPEND="${PYTHON_DEPS}" + +src_prepare() { + python_fix_shebang -f syslog-summary + + sed -i -e 's:python-magic:sys-apps/file[python]:' "syslog-summary" + + # Sadly, the makefile is useless for us. + rm Makefile || die + + eapply_user +} + +src_install() { + dobin syslog-summary + dodoc AUTHORS ChangeLog NEWS README + doman syslog-summary.1 + + insinto /etc/syslog-summary + doins ignore.rules +} + +pkg_postinst() { + elog "install sys-apps/file[python] to enable processing" + elog "of gzip compressed logfiles" +} |