update to check_mssql_health-2.7.2.1
This commit is contained in:
parent
eb03ffc386
commit
9c3fc8a7bd
@ -1,29 +1,26 @@
|
||||
# $OpenBSD: Makefile,v 1.6 2019/07/12 20:48:33 sthen Exp $
|
||||
# $OpenBSD: Makefile,v 1.7 2021/03/02 20:30:57 sthen Exp $
|
||||
|
||||
COMMENT= Nagios plugin to check Microsoft SQL Server
|
||||
|
||||
DISTNAME= check_mssql_health-1.5.19
|
||||
DISTNAME= check_mssql_health-2.7.2.1
|
||||
CATEGORIES= net databases
|
||||
|
||||
HOMEPAGE= http://labs.consol.de/lang/en/nagios/check_mssql_health/
|
||||
HOMEPAGE= https://labs.consol.de/nagios/check_mssql_health/
|
||||
|
||||
# GPLv2
|
||||
PERMIT_PACKAGE= Yes
|
||||
|
||||
MASTER_SITES= http://labs.consol.de/download/shinken-nagios-plugins/
|
||||
MASTER_SITES= https://labs.consol.de/assets/downloads/nagios/
|
||||
|
||||
PKG_ARCH= *
|
||||
BUILD_DEPENDS= ${RUN_DEPENDS} \
|
||||
archivers/gtar
|
||||
TAR= gtar
|
||||
BUILD_DEPENDS= ${RUN_DEPENDS}
|
||||
RUN_DEPENDS= databases/p5-DBD-Sybase
|
||||
|
||||
MAKE_FLAGS= AWK=/usr/bin/awk
|
||||
|
||||
CONFIGURE_STYLE= gnu
|
||||
CONFIGURE_ENV= ac_cv_path_mkdir=/bin/mkdir
|
||||
MAKE_FLAGS= AWK=/usr/bin/awk
|
||||
CONFIGURE_ARGS= --with-mymodules-dir=${LOCALBASE}/libexec/nagios \
|
||||
--with-mymodules-dyn-dir=${LOCALBASE}/libexec/nagios \
|
||||
--libexecdir=${LOCALBASE}/libexec/nagios \
|
||||
CONFIGURE_ARGS= --libexecdir=${LOCALBASE}/libexec/nagios \
|
||||
--with-nagios-user=_nagios \
|
||||
--with-nagios-group=_nagios
|
||||
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (check_mssql_health-1.5.19.tar.gz) = gwq61zHv20GVZvKsrUQvu+ma8+4ra6k9umX/SC1Yabw=
|
||||
SIZE (check_mssql_health-1.5.19.tar.gz) = 134966
|
||||
SHA256 (check_mssql_health-2.7.2.1.tar.gz) = U5gkoFLsQ/fys78S7BTrcT1TGu27KOVbtuff6FUJKaE=
|
||||
SIZE (check_mssql_health-2.7.2.1.tar.gz) = 160543
|
||||
|
@ -0,0 +1,17 @@
|
||||
$OpenBSD: patch-GLPlugin_lib_Monitoring_GLPlugin_DB_pm,v 1.1 2021/03/02 20:30:57 sthen Exp $
|
||||
|
||||
avoid "The ROLLBACK TRANSACTION request has no corresponding BEGIN
|
||||
TRANSACTION. during global destruction."
|
||||
|
||||
Index: GLPlugin/lib/Monitoring/GLPlugin/DB.pm
|
||||
--- GLPlugin/lib/Monitoring/GLPlugin/DB.pm.orig
|
||||
+++ GLPlugin/lib/Monitoring/GLPlugin/DB.pm
|
||||
@@ -73,7 +73,7 @@ sub add_db_args {
|
||||
spec => 'commit',
|
||||
help => '--commit
|
||||
turns on autocommit for the dbd::* module',
|
||||
- default => 0,
|
||||
+ default => 1,
|
||||
required => 0,
|
||||
);
|
||||
$self->add_arg(
|
@ -0,0 +1,16 @@
|
||||
$OpenBSD: patch-plugins-scripts_Makefile_in,v 1.1 2021/03/02 20:30:57 sthen Exp $
|
||||
|
||||
Index: plugins-scripts/Makefile.in
|
||||
--- plugins-scripts/Makefile.in.orig
|
||||
+++ plugins-scripts/Makefile.in
|
||||
@@ -283,8 +283,8 @@ EXTRA_MODULES = \
|
||||
Classes/Sybase.pm \
|
||||
Classes/Device.pm
|
||||
|
||||
-SED = /bin/sed
|
||||
-GREP = /bin/grep
|
||||
+SED = /usr/bin/sed
|
||||
+GREP = /usr/bin/grep
|
||||
CAT = /bin/cat
|
||||
ECHO = /bin/echo
|
||||
@DISABLE_STANDALONE_FALSE@STANDALONE = yes
|
Loading…
x
Reference in New Issue
Block a user