summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2020-07-25 12:26:11 +0200
committerJeroen Roovers <jer@gentoo.org>2020-07-25 12:28:11 +0200
commit40916c7137450704f28a0d4449291a9a9c7cb3bc (patch)
tree9a0873c5412d9cc2badb7f2b7f9bc052a9a85f46 /net-analyzer
parentdev-python/soupsieve: Remove py2 (diff)
downloadgentoo-40916c7137450704f28a0d4449291a9a9c7cb3bc.tar.gz
gentoo-40916c7137450704f28a0d4449291a9a9c7cb3bc.tar.bz2
gentoo-40916c7137450704f28a0d4449291a9a9c7cb3bc.zip
net-analyzer/nagtrap: Fix net-analyzer/snmptt dependency
nagtrap "magically" depended on net-analyzer/snmptt[mysql] which then magically pulled in virtual/mysql as run-time dependency without actually changing what snmptt installed itself. Neither explicit dependency was ever required. Package-Manager: Portage-3.0.0, Repoman-2.3.23 Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/nagtrap/nagtrap-0.1.3-r1.ebuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/net-analyzer/nagtrap/nagtrap-0.1.3-r1.ebuild b/net-analyzer/nagtrap/nagtrap-0.1.3-r1.ebuild
index a287f19e46bc..203d35be9af9 100644
--- a/net-analyzer/nagtrap/nagtrap-0.1.3-r1.ebuild
+++ b/net-analyzer/nagtrap/nagtrap-0.1.3-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -14,7 +14,7 @@ IUSE=""
DEPEND="virtual/httpd-php"
RDEPEND="dev-lang/php[mysql]
- net-analyzer/snmptt[mysql]
+ net-analyzer/snmptt
net-analyzer/nagios-core
virtual/httpd-php"
@@ -26,7 +26,7 @@ src_install() {
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"
+ plugin/check_snmptraps.pl || die "sed failed"
insinto /usr/$(get_libdir)/nagios/plugins
insopts -m 750 -g nagios