diff options
author | Andreas K. Hüttel <dilfridge@gentoo.org> | 2019-06-23 01:00:38 +0200 |
---|---|---|
committer | Andreas K. Hüttel <dilfridge@gentoo.org> | 2019-06-23 01:00:38 +0200 |
commit | 64e0ebbda7d8b19ce5e77c8f0c7739a0ff293413 (patch) | |
tree | 60cf4839d37050c7a4c1e2cd0a5927a29458db8e /net-analyzer/nagtrap/nagtrap-0.1.3.ebuild | |
parent | package.mask: Remove obsolete mask of net-mail/qmail-qfilter (diff) | |
download | gentoo-64e0ebbda7d8b19ce5e77c8f0c7739a0ff293413.tar.gz gentoo-64e0ebbda7d8b19ce5e77c8f0c7739a0ff293413.tar.bz2 gentoo-64e0ebbda7d8b19ce5e77c8f0c7739a0ff293413.zip |
net-analyzer/nagtrap: EAPI bump
Package-Manager: Portage-2.3.67, Repoman-2.3.14
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
Diffstat (limited to 'net-analyzer/nagtrap/nagtrap-0.1.3.ebuild')
-rw-r--r-- | net-analyzer/nagtrap/nagtrap-0.1.3.ebuild | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/net-analyzer/nagtrap/nagtrap-0.1.3.ebuild b/net-analyzer/nagtrap/nagtrap-0.1.3.ebuild deleted file mode 100644 index d1ed7bd19ebb..000000000000 --- a/net-analyzer/nagtrap/nagtrap-0.1.3.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=2 - -inherit eutils multilib - -DESCRIPTION="Integrated snmptt visualization addon for the Nagios monitoring system" -HOMEPAGE="http://www.nagtrap.org/" -SRC_URI="http://www.nagiosforge.org/gf/download/frsrelease/126/252/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86" -IUSE="" - -DEPEND="virtual/httpd-php" -RDEPEND="dev-lang/php[mysql] - net-analyzer/snmptt[mysql] - net-analyzer/nagios-core - virtual/httpd-php" - -src_install() { - dodoc ChangeLog THANKS - - dodir /usr/share/nagtrap - cp -r {db,nagtrap} "${D}"/usr/share/nagtrap/ - fperms 640 "${D}"/usr/share/nagtrap/nagtrap/etc/config.ini.php-dist - - sed -i -e 's#use lib.*#use lib "/usr/lib/nagios/plugins";#g' \ - plugin/check_snmptraps.pl || die "sed failed" - - insinto /usr/$(get_libdir)/nagios/plugins - insopts -m 750 -g nagios - doins plugin/check_snmptraps.pl -} -pkg_postinst() { - elog "Before running NagTrap for the first time, you will need setup its configuration" - elog "/usr/share/nagtrap/nagtrap/etc/config.ini.php" - elog "A sample is installed in" - elog "/usr/share/nagtrap/nagtrap/etc/config.ini.php-sample" - elog - elog "NagTrap requires snmptt to write traps into a MySQL database." - elog "A database schema is available in {$D}usr/share/nagtrap/db" -} |