Import check_bioctl:
pkg/DESCR: The check_bioctl plugin for Nagios monitors RAID arrays on OpenBSD using bioctl. Tweaks from Andrew Fresh (author) and suggestions from sthen@ ok sthen@
This commit is contained in:
parent
600a91f76c
commit
4bce00a56f
36
net/nagios/check_bioctl/Makefile
Normal file
36
net/nagios/check_bioctl/Makefile
Normal file
@ -0,0 +1,36 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2009/11/09 21:28:19 merdely Exp $
|
||||
|
||||
PKG_ARCH = *
|
||||
|
||||
COMMENT = Nagios plugin to check RAID status with bioctl
|
||||
|
||||
DISTNAME = check_bioctl-1.9
|
||||
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/
|
||||
|
||||
# BSD
|
||||
PERMIT_PACKAGE_CDROM = Yes
|
||||
PERMIT_PACKAGE_FTP = Yes
|
||||
PERMIT_DISTFILES_CDROM =Yes
|
||||
PERMIT_DISTFILES_FTP = Yes
|
||||
|
||||
NO_BUILD = Yes
|
||||
NO_REGRESS = Yes
|
||||
WRKDIST = ${WRKDIR}
|
||||
|
||||
RUN_DEPENDS = ::net/nagios/plugins,-main
|
||||
|
||||
do-configure:
|
||||
@${SUBST_CMD} ${WRKSRC}/check_bioctl ${WRKSRC}/README
|
||||
|
||||
do-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/libexec/nagios
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/check_bioctl ${PREFIX}/libexec/nagios
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/check_bioctl
|
||||
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/check_bioctl
|
||||
|
||||
.include <bsd.port.mk>
|
5
net/nagios/check_bioctl/distinfo
Normal file
5
net/nagios/check_bioctl/distinfo
Normal file
@ -0,0 +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
|
12
net/nagios/check_bioctl/patches/patch-check_bioctl
Normal file
12
net/nagios/check_bioctl/patches/patch-check_bioctl
Normal file
@ -0,0 +1,12 @@
|
||||
$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
|
||||
|
||||
use POSIX;
|
||||
-use lib "/usr/local/libexec/nagios";
|
||||
+use lib "${PREFIX}/libexec/nagios";
|
||||
use utils qw($TIMEOUT %ERRORS &support);
|
||||
|
||||
use Getopt::Long;
|
2
net/nagios/check_bioctl/pkg/DESCR
Normal file
2
net/nagios/check_bioctl/pkg/DESCR
Normal file
@ -0,0 +1,2 @@
|
||||
The check_bioctl plugin for Nagios monitors RAID arrays on OpenBSD using
|
||||
bioctl.
|
4
net/nagios/check_bioctl/pkg/PLIST
Normal file
4
net/nagios/check_bioctl/pkg/PLIST
Normal file
@ -0,0 +1,4 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2009/11/09 21:28:19 merdely Exp $
|
||||
libexec/nagios/check_bioctl
|
||||
share/doc/check_bioctl/
|
||||
share/doc/check_bioctl/README
|
Loading…
Reference in New Issue
Block a user