Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
aports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
alpine
aports
Commits
7d5fe720
Commit
7d5fe720
authored
2 years ago
by
alice
Browse files
Options
Downloads
Patches
Plain Diff
community/monitoring-plugins: upgrade to 2.3.2
parent
70c64243
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
community/monitoring-plugins/APKBUILD
+22
-14
22 additions, 14 deletions
community/monitoring-plugins/APKBUILD
community/monitoring-plugins/prototype.patch
+27
-0
27 additions, 0 deletions
community/monitoring-plugins/prototype.patch
with
49 additions
and
14 deletions
community/monitoring-plugins/APKBUILD
+
22
−
14
View file @
7d5fe720
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname
=
monitoring-plugins
pkgver
=
2.3.
1
pkgrel
=
4
pkgver
=
2.3.
2
pkgrel
=
0
pkgdesc
=
"Plugins for Icinga, Naemon, Nagios, Shinken, Sensu and other monitoring applications"
url
=
"https://www.monitoring-plugins.org"
arch
=
"all"
license
=
"GPL-3.0-or-later"
options
=
"suid !check"
# Tests require interactive output and connecting to various URLs
depends
=
"iputils procps bind-tools"
makedepends
=
"linux-headers libdbi-dev openssl-dev>3
mariadb-connector-c-dev libpq-dev perl-dev perl-net-snmp net-snmp-tools"
makedepends
=
"
gettext-dev
libdbi-dev
libpq-dev
linux-headers
mariadb-connector-c-dev
net-snmp-tools
openssl-dev
perl-dev
perl-net-snmp
"
checkdepends
=
"cmd:ksh"
subpackages
=
"
$pkgname
-doc"
subpackages
=
"
$pkgname
-lang
$pkgname
-doc"
source
=
"https://www.monitoring-plugins.org/download/
$pkgname
-
$pkgver
.tar.gz
mariadb.patch"
prepare
()
{
default_prepare
update_config_guess
update_config_sub
}
mariadb.patch
prototype.patch
"
build
()
{
./configure
\
...
...
@@ -47,5 +52,8 @@ package() {
rm
$pkgdir
/usr/lib/charset.alias
}
sha512sums
=
"0ae76bc776997ed23d142ad9a688edc4df9b8ec0f9539b446e4fb4849a165cc88e97cbfb3a7a9a450de452e021d38f2e4ada7e8a22d78cf58e17e266472d01d7 monitoring-plugins-2.3.1.tar.gz
3db122a22012dbd571865023d5542c38541a6667b8e00a08d4180c04117300737f57dbdff3264240cda9f6746419022bace8da06d997b0ade776604c55da9bde mariadb.patch"
sha512sums
=
"
d155f09ddd99f4e0d065627d3bf8768e13ae3f58ed25912f33b070cd24d6f3f43243616ec3e2d496dec633feee6b1f14950035a928034a1413f725814e850765 monitoring-plugins-2.3.2.tar.gz
3db122a22012dbd571865023d5542c38541a6667b8e00a08d4180c04117300737f57dbdff3264240cda9f6746419022bace8da06d997b0ade776604c55da9bde mariadb.patch
8e217d791424453486d4733f4a2209b956a56b9278092d2b65db845d875251796a222e636087bc2bbadb47534189dffa13d19b6f51f172bca8f5d3dac5961375 prototype.patch
"
This diff is collapsed.
Click to expand it.
community/monitoring-plugins/prototype.patch
0 → 100644
+
27
−
0
View file @
7d5fe720
used before being defined, so fix some missing prototypes
diff --git a/plugins/runcmd.c b/plugins/runcmd.c
index a7155d2..540d29a 100644
--- a/plugins/runcmd.c
+++ b/plugins/runcmd.c
@@ -44,6 +44,8 @@
# include <sys/wait.h>
#endif
+#include "utils.h"
+
/** macros **/
#ifndef WEXITSTATUS
# define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
diff --git a/plugins/sslutils.c b/plugins/sslutils.c
index 286273f..3950df7 100644
--- a/plugins/sslutils.c
+++ b/plugins/sslutils.c
@@ -30,6 +30,8 @@
#include "common.h"
#include "netutils.h"
+int np_net_ssl_check_certificate(X509 *certificate, int days_till_exp_warn, int days_till_exp_crit);
+
#ifdef HAVE_SSL
static SSL_CTX *c=NULL;
static SSL *s=NULL;
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment