Update bioctl to 1.16.
Account for change in bioctl output: http://www.openbsd.org/cgi-bin/cvsweb/src/sbin/bioctl/bioctl.c.diff?r1=1.98;r2=1.99;f=h ok sthen@
This commit is contained in:
parent
136feb26c0
commit
422fb91b89
@ -1,16 +1,16 @@
|
||||
# $OpenBSD: Makefile,v 1.2 2010/11/19 22:31:34 espie Exp $
|
||||
# $OpenBSD: Makefile,v 1.3 2012/04/04 21:49:44 merdely Exp $
|
||||
|
||||
PKG_ARCH = *
|
||||
|
||||
COMMENT = Nagios plugin to check RAID status with bioctl
|
||||
|
||||
DISTNAME = check_bioctl-1.9
|
||||
DISTNAME = check_bioctl-1.16
|
||||
CATEGORIES = net
|
||||
|
||||
MAINTAINER = Michael Erdely <merdely@openbsd.org>
|
||||
|
||||
HOMEPAGE = http://openbsd.somedomain.net/nagios/check_bioctl.html
|
||||
MASTER_SITES = http://www.nagiosexchange.org/attachment/download/Check-Plugins/Hardware/Devices/RAID-Controller/check_bioctl/
|
||||
HOMEPAGE = https://www.monitoringexchange.org/inventory/Check-Plugins/Hardware/Devices/RAID-Controller/check_bioctl
|
||||
MASTER_SITES = https://www.monitoringexchange.org/attachment/download/Check-Plugins/Hardware/Devices/RAID-Controller/check_bioctl/
|
||||
|
||||
# BSD
|
||||
PERMIT_PACKAGE_CDROM = Yes
|
||||
@ -20,7 +20,6 @@ PERMIT_DISTFILES_FTP = Yes
|
||||
|
||||
NO_BUILD = Yes
|
||||
NO_REGRESS = Yes
|
||||
WRKDIST = ${WRKDIR}
|
||||
|
||||
RUN_DEPENDS = net/nagios/plugins,-main
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
MD5 (check_bioctl-1.9.tar.gz) = GbiFNMx5h3BA7qus2g8cdw==
|
||||
RMD160 (check_bioctl-1.9.tar.gz) = ghFdb18vDgx/m2sr+cPlC1NpddM=
|
||||
SHA1 (check_bioctl-1.9.tar.gz) = pU4YuwJjEjna4KSiic3D/H9M3h0=
|
||||
SHA256 (check_bioctl-1.9.tar.gz) = FGBMJMyuicJfz9jZpOXXDT0nqWw+Oe4ZijEJd/XTh1U=
|
||||
SIZE (check_bioctl-1.9.tar.gz) = 2723
|
||||
MD5 (check_bioctl-1.16.tar.gz) = /fmeNhHOGY2DTbLizGJj+g==
|
||||
RMD160 (check_bioctl-1.16.tar.gz) = 8303+vneljRK39/5vALhtmizLes=
|
||||
SHA1 (check_bioctl-1.16.tar.gz) = CwWL3U9m4xUdPOJhU/3G/f6qyzY=
|
||||
SHA256 (check_bioctl-1.16.tar.gz) = cRbq/Ioz3XyrqVauo491fu54oh3xuRjf91yEWr7690w=
|
||||
SIZE (check_bioctl-1.16.tar.gz) = 3037
|
||||
|
@ -1,12 +1,15 @@
|
||||
$OpenBSD: patch-check_bioctl,v 1.1.1.1 2009/11/09 21:28:19 merdely Exp $
|
||||
--- check_bioctl.orig Mon Nov 9 15:44:02 2009
|
||||
+++ check_bioctl Mon Nov 9 15:44:15 2009
|
||||
@@ -28,7 +28,7 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS S
|
||||
EOL
|
||||
Account for changes in bioctl output from:
|
||||
http://www.openbsd.org/cgi-bin/cvsweb/src/sbin/bioctl/bioctl.c.diff?r1=1.98;r2=1.99;f=h
|
||||
|
||||
$OpenBSD: patch-check_bioctl,v 1.2 2012/04/04 21:49:44 merdely Exp $
|
||||
--- check_bioctl.orig Sat Mar 31 13:32:08 2012
|
||||
+++ check_bioctl Sat Mar 31 13:32:21 2012
|
||||
@@ -158,7 +158,7 @@ sub read_bioctl {
|
||||
chomp $line;
|
||||
|
||||
use POSIX;
|
||||
-use lib "/usr/local/libexec/nagios";
|
||||
+use lib "${PREFIX}/libexec/nagios";
|
||||
use utils qw($TIMEOUT %ERRORS &support);
|
||||
# Do these by columns cuZ that is the easiest for now
|
||||
- my @o = unpack( "A6 A1 A11 A15 A7 A9 A*", $line );
|
||||
+ my @o = unpack( "A10 A1 A11 A15 A7 A9 A*", $line );
|
||||
return if $o[0] eq 'Volume';
|
||||
|
||||
use Getopt::Long;
|
||||
foreach (@o) {
|
||||
|
Loading…
Reference in New Issue
Block a user