Files
guru/net-analyzer/zabbix-agent2-plugin-mssql/zabbix-agent2-plugin-mssql-6.0.41.ebuild
Niklaus 'vimja' Hofer 08e518880b net-analyzer/zabbix-agent2-plugin-mssql: new package
Signed-off-by: Niklaus 'vimja' Hofer <gentoo-bugzilla@vimja.email>
2026-05-14 17:55:43 +02:00

34 lines
791 B
Bash

# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="MSSQL loadable plugin for Zabbix Agent 2."
HOMEPAGE="https://git.zabbix.com/projects/AP/repos/mssql/browse"
SRC_URI="
https://git.zabbix.com/rest/api/latest/projects/AP/repos/mssql/archive?at=refs%2Ftags%2F${PV}&format=tgz
-> ${P}.tar.gz
https://vimja.cloud/public.php/dav/files/z59eKDyLFokW2KK/${CATEGORY}/${PN}/${P}-vendor.tar.xz
"
inherit go-module
S="${WORKDIR}"
LICENSE="AGPL-3"
SLOT="0"
KEYWORDS="~amd64"
DEPEND="~net-analyzer/zabbix-${PV}[agent2]"
RDEPEND="${DEPEND}"
DOCS=( "README.md" )
src_install() {
exeinto "/usr/libexec/zabbix-agent2-plugin"
doexe zabbix-agent2-plugin-mssql
insinto /etc/zabbix/zabbix_agent2.d/plugins.d/
doins mssql.conf
}