diff options
author | Michael Mair-Keimberger <mmk@levelnine.at> | 2022-06-07 18:35:25 +0200 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2022-06-08 09:07:11 +0200 |
commit | 013a859248d449a387ae5754d3fc443491a9cf72 (patch) | |
tree | e58f9caa97753b89d9969c7b55efac91959b7d37 /net-analyzer | |
parent | app-portage/mgorny-dev-scripts: Bump to v19 (diff) | |
download | gentoo-013a859248d449a387ae5754d3fc443491a9cf72.tar.gz gentoo-013a859248d449a387ae5754d3fc443491a9cf72.tar.bz2 gentoo-013a859248d449a387ae5754d3fc443491a9cf72.zip |
net-analyzer/zabbix: remove unused patch
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/25797
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'net-analyzer')
-rw-r--r-- | net-analyzer/zabbix/files/zabbix-5.4.12-system.sw.packages.patch | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/net-analyzer/zabbix/files/zabbix-5.4.12-system.sw.packages.patch b/net-analyzer/zabbix/files/zabbix-5.4.12-system.sw.packages.patch deleted file mode 100644 index 54a5299ee791..000000000000 --- a/net-analyzer/zabbix/files/zabbix-5.4.12-system.sw.packages.patch +++ /dev/null @@ -1,35 +0,0 @@ -From ee5ed14f0f858eb0f776f5b8c4c1a1e740787bfa Mon Sep 17 00:00:00 2001 -From: Alexey Shvetsov <alexxy@gentoo.org> -Date: Mon, 21 Mar 2022 11:23:54 +0300 -Subject: [PATCH] Allow to use system.sw.packages on gentoo linux - -Signed-off-by: Alexey Shvetsov <alexxy@gentoo.org> ---- - src/go/plugins/system/sw/sw.go | 1 + - src/libs/zbxsysinfo/linux/software.c | 1 + - 2 files changed, 2 insertions(+) - -diff --git a/src/go/plugins/system/sw/sw.go b/src/go/plugins/system/sw/sw.go -index 6ff354fd711..db9a4b763f7 100644 ---- a/src/go/plugins/system/sw/sw.go -+++ b/src/go/plugins/system/sw/sw.go -@@ -163,6 +163,7 @@ func getManagers() []manager { - {"pkgtools", "[ -d /var/log/packages ] && echo true", "ls /var/log/packages", parseRegex}, - {"rpm", "rpm --version 2> /dev/null", "rpm -qa", parseRegex}, - {"pacman", "pacman --version 2> /dev/null", "pacman -Q", parseRegex}, -+ {"portage", "emerge --version 2> /dev/null", "qlist -IRCv", parseRegex}, - } - } - -diff --git a/src/libs/zbxsysinfo/linux/software.c b/src/libs/zbxsysinfo/linux/software.c -index 24f8e93eed8..8dcf01a3e47 100644 ---- a/src/libs/zbxsysinfo/linux/software.c -+++ b/src/libs/zbxsysinfo/linux/software.c -@@ -176,6 +176,7 @@ static ZBX_PACKAGE_MANAGER package_managers[] = - {"pkgtools", "[ -d /var/log/packages ] && echo true", "ls /var/log/packages", NULL}, - {"rpm", "rpm --version 2> /dev/null", "rpm -qa", NULL}, - {"pacman", "pacman --version 2> /dev/null", "pacman -Q", NULL}, -+ {"portage", "emerge --version 2> /dev/null", "qlist -IRCv", NULL}, - {NULL} - }; - |