diff --git a/net-analyzer/zabbix-agent2-plugin-postgresql/Manifest b/net-analyzer/zabbix-agent2-plugin-postgresql/Manifest new file mode 100644 index 0000000000..7fecdf6f86 --- /dev/null +++ b/net-analyzer/zabbix-agent2-plugin-postgresql/Manifest @@ -0,0 +1,2 @@ +DIST zabbix-agent2-plugin-postgresql-7.4.2-vendor.tar.xz 1261028 BLAKE2B a7bfee55e4d8381f939d03e1b3895b17501df89e669e2430db144d77ea5e2524b67a2f3a95d1965f27fac76aa469bfc53ba219649c66881c231c006a6dbe3e67 SHA512 e48ffb5ab6a410d2a47bfada3e9e641940fea12d2e1b0e95e900a94075f5702b3c359fd7d97e83ccc8ef72fde2e4c6385a92ca3f6c8a4acc529dd7e9a528b249 +DIST zabbix-agent2-plugin-postgresql-7.4.2.tar.gz 58210 BLAKE2B f39745ce736e4df74c413dffa62604eab9201b3bd362be898e8d1f1d70103aa9dbd6c8ff509f548dbf1ece1026936b202c014c9c9491455e0f7015b63b7650eb SHA512 8a8d475acc30c190f877fac80ace9cba31e6025722f6d18a2604acf73ef5ed860a078a1d350c024d5ee212b33cdc252ac81ec12d7c4bc32cc746ec83e38cbd5d diff --git a/net-analyzer/zabbix-agent2-plugin-postgresql/metadata.xml b/net-analyzer/zabbix-agent2-plugin-postgresql/metadata.xml new file mode 100644 index 0000000000..8e60160235 --- /dev/null +++ b/net-analyzer/zabbix-agent2-plugin-postgresql/metadata.xml @@ -0,0 +1,8 @@ + + + + + gentoo-bugzilla@vimja.email + Niklaus 'vimja' Hofer + + diff --git a/net-analyzer/zabbix-agent2-plugin-postgresql/zabbix-agent2-plugin-postgresql-7.4.2.ebuild b/net-analyzer/zabbix-agent2-plugin-postgresql/zabbix-agent2-plugin-postgresql-7.4.2.ebuild new file mode 100644 index 0000000000..0332301ff9 --- /dev/null +++ b/net-analyzer/zabbix-agent2-plugin-postgresql/zabbix-agent2-plugin-postgresql-7.4.2.ebuild @@ -0,0 +1,33 @@ +# Copyright 2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="PostgreSQL loadable plugin for Zabbix Agent 2." +HOMEPAGE="https://git.zabbix.com/projects/AP/repos/postgresql/browse" +SRC_URI=" + https://git.zabbix.com/rest/api/latest/projects/AP/repos/postgresql/archive?at=refs%2Ftags%2F${PV}&format=tgz + -> ${P}.tar.gz + https://vimja.cloud/public.php/dav/files/RdwWDqx5JQ9G6wt -> ${P}-vendor.tar.xz +" + +inherit go-module + +S="${WORKDIR}" + +LICENSE="AGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +DEPEND="~net-analyzer/zabbix-${PV}[agent2]" +RDEPEND="${DEPEND}" + +DOCS=( "README.md" ) + +src_install() { + exeinto "/usr/libexec/zabbix-agent2-plugin" + doexe zabbix-agent2-plugin-postgresql + + insinto /etc/zabbix/zabbix_agent2.d/plugins.d/ + doins postgresql.conf +}