diff options
Diffstat (limited to 'main/nagios-plugins/APKBUILD')
-rw-r--r-- | main/nagios-plugins/APKBUILD | 26 |
1 files changed, 12 insertions, 14 deletions
diff --git a/main/nagios-plugins/APKBUILD b/main/nagios-plugins/APKBUILD index ac05114ea14..fc01ab15284 100644 --- a/main/nagios-plugins/APKBUILD +++ b/main/nagios-plugins/APKBUILD @@ -3,10 +3,10 @@ # Contributor: Jakub Jirutka <jakub@jirutka.cz> # Maintainer: Jeff Bilyk <jbilyk@gmail.com> pkgname=nagios-plugins -pkgver=2.3.3 +pkgver=2.4.5 pkgrel=1 pkgdesc="Plugins for Nagios to check services on hosts" -url="https://nagios-plugins.org" +url="https://nagios-plugins.org/" arch="all" license="GPL-3.0-only" _depends_by_ssh="openssh-client" @@ -20,16 +20,15 @@ _depends_sensors="grep lm-sensors" _depends_snmp="net-snmp-tools" makedepends="openssh-client bind-tools samba-client fping grep rpcbind lm-sensors net-snmp-tools - file freeradius-client-dev libdbi-dev libpq linux-headers mariadb-dev + file freeradius-client-dev<1.1.8 libdbi-dev libpq linux-headers mariadb-dev mariadb-connector-c-dev perl - net-snmp-dev openldap-dev opensmtpd openssl1.1-compat-dev libpq-dev" + net-snmp-dev openldap-dev openssl-dev>3 libpq-dev" install="$pkgname.post-upgrade" pkgusers="nagios" pkggroups="nagios" -options="suid" -source="https://www.nagios-plugins.org/download/nagios-plugins-$pkgver.tar.gz +options="suid !check" +source="https://github.com/nagios-plugins/nagios-plugins/releases/download/release-$pkgver/nagios-plugins-$pkgver.tar.gz fix-compilation-warnings-about-sys-poll.patch - check_mysql_query-fix-use-after-free.patch check_openrc nagios-openrc.doasd " @@ -51,14 +50,12 @@ subpackages="$subpackages $pkgname-all:_all" # all must be the last _plugins="$_plugins openrc tcp" - prepare() { - default_prepare + default_prepare update_config_sub } build() { - ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -69,8 +66,10 @@ build() { --libexecdir="/$_plugins_dir" \ --localstatedir=/var/nagios \ --with-ipv6 \ - --with-ps-command="/bin/ps -o stat,pid,ppid,vsz,rss,comm,args" \ - --with-ps-format="%s %d %d %d %d %s %n" \ + --with-mailq-command=/usr/bin/mailq \ + --with-sudo-command=/usr/bin/sudo \ + --with-ps-command="/bin/busybox ps -o stat,pid,ppid,vsz,rss,comm,args" \ + --with-ps-format="%s %d %d %s %s %s %n" \ --with-ps-varlist="procstat,&procpid,&procppid,&procvsz,&procrss,procprog,&pos" \ --with-ps-cols=7 \ --with-ping-command="/bin/ping -c %d %s" \ @@ -153,9 +152,8 @@ _all() { } sha512sums=" -2128601b1098eb82f4e7d720b96a5f92d6ad75dc181a94b25c38172767de8b72f9fece3eddb74933b1cd520928ae9416a7dc665e2f059bfe362dd74041d28cd7 nagios-plugins-2.3.3.tar.gz +f2575d547ddebff54ac664d2aaa287b29610c76ef6e482b3d55d5856ddbe2f2bd2d8eab3c993ecd1f1ad9bb62cf090f8e0cca3c258cb7c44055fd5e1e4288c65 nagios-plugins-2.4.5.tar.gz 7a62e4808eb8b07ca43bc17a625f4199708da6c52b79eca7a756817cb734648fc3054cd89862638ae925022017db32479d2cfcfddeba79ab4557d7b9ec97c323 fix-compilation-warnings-about-sys-poll.patch -0daff387c80d2132ec16b3d161e5fffe9e2cae1d3e08fc1c4e65b2bfdf4685c42fb129e4df92b08a17f250018f57eac39b2c8ff299ae378d4442681a88e39f9e check_mysql_query-fix-use-after-free.patch 27050160a71e897343da6d6fd25c322a227702caec98065f82e06cba8929c2f6c538a4563a420fb0a07419622107caba1ad44c2cad195a0c0c76a6a925ec1c4b check_openrc 4a4c267c8403d3a1c8630adda9ddbdf7ce421b65e6dbfc0eb3f2bf03f94df563371e78193e8b3127ba9f3edcf8f1a7f96d9312167e6f924028d16d144e8af5d2 nagios-openrc.doasd " |