aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2011-01-03 13:45:25 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2011-01-03 13:45:25 +0000
commita1440dfa222739847e4871663a20a43adbe92d0b (patch)
tree149067d13c5b63123416f82983b11448d0f606fb /net-mgmt
parent910df85b14522da0e99a7deae66dbc98a2b88b94 (diff)
Update to 1.0.1
PR: 153631 Submitted by: maintainer Don't try to fetch the distfile, it is directly committed to the port
Notes
Notes: svn path=/head/; revision=267319
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/nagios-check_hdd_health/Makefile5
-rw-r--r--net-mgmt/nagios-check_hdd_health/distinfo2
-rw-r--r--net-mgmt/nagios-check_hdd_health/src/check_hdd_health6
3 files changed, 6 insertions, 7 deletions
diff --git a/net-mgmt/nagios-check_hdd_health/Makefile b/net-mgmt/nagios-check_hdd_health/Makefile
index 5b3cb4482c28..8ec3e305ea10 100644
--- a/net-mgmt/nagios-check_hdd_health/Makefile
+++ b/net-mgmt/nagios-check_hdd_health/Makefile
@@ -6,9 +6,10 @@
#
PORTNAME= nagios-check_hdd_health
-PORTVERSION= 1.0
+PORTVERSION= 1.0.1
CATEGORIES= net-mgmt
-MASTER_SITES= http://www.bwelectronics.sk/jamrich/ports/
+MASTER_SITES= # No distfile
+DISTFILES= # No distfile
MAINTAINER= jamrich.majo@gmail.com
COMMENT= Nagios plug-in to check HDD health from S.M.A.R.T
diff --git a/net-mgmt/nagios-check_hdd_health/distinfo b/net-mgmt/nagios-check_hdd_health/distinfo
deleted file mode 100644
index a08d6df098de..000000000000
--- a/net-mgmt/nagios-check_hdd_health/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (nagios-check_hdd_health-1.0.tar.gz) = e3dcad96d451bbc978d165682bfb9f1669fedf197fc96af971fe7d026fe47d1c
-SIZE (nagios-check_hdd_health-1.0.tar.gz) = 3445
diff --git a/net-mgmt/nagios-check_hdd_health/src/check_hdd_health b/net-mgmt/nagios-check_hdd_health/src/check_hdd_health
index cb8e7d29819a..9723e071d6f9 100644
--- a/net-mgmt/nagios-check_hdd_health/src/check_hdd_health
+++ b/net-mgmt/nagios-check_hdd_health/src/check_hdd_health
@@ -16,7 +16,7 @@ SMT=Smartmontools
PROGNAME=`basename $0`
# Version
-VERSION="Version 1.0"
+VERSION="Version 1.0.1"
# Author
AUTHOR="Marian Jamrich"
@@ -37,7 +37,7 @@ mini_help() {
print_help() {
clear;
echo "*********************************************************************************"
- echo "* $PROGNAME $VERSION $1""($AUTHOR) <jamrich.majo@gmail.com> (2010) *"
+ echo "* $PROGNAME $VERSION $1""($AUTHOR) <jamrich.majo@gmail.com> (2011) *"
echo "*********************************************************************************"
echo "This is Nagios plugin to check HDD health from S.M.A.R.T. by Smartmontools."
echo '
@@ -111,7 +111,7 @@ test `uname` != "FreeBSD" && echo "This plugin is only for FreeBSD." && exit $ST
if [ ! -e $device ]; then
echo
echo "Unknown device \"$device\"!"
- exit $ST_UK
+ exit $ST_UN
fi
if [ -z $smartctl ]; then