diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-11-18 10:15:03 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-11-18 10:15:03 +0000 |
commit | b284a3168fa91a038925d2ecf5e4791011ea5e7d (patch) | |
tree | 16fe44748708acacd909d4e2e160a09a7f6d936a /app-admin/syslog-summary/syslog-summary-1.14-r3.ebuild | |
parent | 77398e424e45d9e98c1cef3c43bdadb9d56e81ef (diff) |
gentoo resync : 18.11.2019
Diffstat (limited to 'app-admin/syslog-summary/syslog-summary-1.14-r3.ebuild')
-rw-r--r-- | app-admin/syslog-summary/syslog-summary-1.14-r3.ebuild | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/app-admin/syslog-summary/syslog-summary-1.14-r3.ebuild b/app-admin/syslog-summary/syslog-summary-1.14-r3.ebuild new file mode 100644 index 000000000000..75c1c04b2464 --- /dev/null +++ b/app-admin/syslog-summary/syslog-summary-1.14-r3.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python2_7 ) + +inherit python-single-r1 + +DESCRIPTION="Summarizes the contents of a syslog log file" +HOMEPAGE="https://github.com/dpaleino/syslog-summary" +SRC_URI="https://github.com/downloads/dpaleino/${PN}/${P}.tar.gz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~sparc ~x86" +IUSE="" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +DEPEND="" +RDEPEND="${PYTHON_DEPS}" + +PATCHES=( "${FILESDIR}/${P}-fix-ignore-code.patch" ) + +src_prepare() { + python_fix_shebang -f syslog-summary + + sed -i -e 's:python-magic:sys-apps/file[python]:' "syslog-summary" || die + + # Sadly, the makefile is useless for us. + rm Makefile || die + + default +} + +src_install() { + dobin syslog-summary + einstalldocs + 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" +} |