diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-04-01 23:15:56 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-04-01 23:15:56 +0100 |
commit | 85a2a2153ef8027c2ba1be45143cd91914be0ad0 (patch) | |
tree | ad0163abb9755ef7f76a919d9225f26559a27076 /app-admin/fetchlog/fetchlog-1.4-r2.ebuild | |
parent | 4de024ca2423b3aa77a91dd34ef0b70aff64f768 (diff) |
gentoo auto-resync : 01:04:2023 - 23:15:55
Diffstat (limited to 'app-admin/fetchlog/fetchlog-1.4-r2.ebuild')
-rw-r--r-- | app-admin/fetchlog/fetchlog-1.4-r2.ebuild | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/app-admin/fetchlog/fetchlog-1.4-r2.ebuild b/app-admin/fetchlog/fetchlog-1.4-r2.ebuild new file mode 100644 index 000000000000..a7d6e064d1dd --- /dev/null +++ b/app-admin/fetchlog/fetchlog-1.4-r2.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="Displays the last new messages of a logfile" +HOMEPAGE="https://fetchlog.sourceforge.net/" +SRC_URI="mirror://sourceforge/fetchlog/${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="snmp" + +RDEPEND=" + snmp? ( + >=dev-perl/Net-SNMP-4.0.1-r2 + >=net-analyzer/net-snmp-5.0.6 + )" + +PATCHES=( "${FILESDIR}"/${PN}-1.4-fix-build-system.patch ) + +src_configure() { + tc-export CC +} + +src_install() { + dobin fetchlog + einstalldocs + dodoc *cfg* + doman fetchlog.1 +} + +pkg_preinst() { + elog + elog "This utility can be used together with Nagios" + elog "To make use of these features you need to" + elog "install net-analyzer/nagios." + elog "This feature depends on SNMP, so make sure you" + elog "have 'snmp' in your USE flags" + elog +} |