aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2011-01-03 21:45:25 +0800
committerarved <arved@FreeBSD.org>2011-01-03 21:45:25 +0800
commitf4474b2b68396851a50ad5d329f57973a84337bc (patch)
treea5f25335631f017784bae53e50bda63d9d55055d
parentea57ef0fffc605ca310be01573d95963faf4a9bd (diff)
downloadfreebsd-ports-gnome-f4474b2b68396851a50ad5d329f57973a84337bc.tar.gz
freebsd-ports-gnome-f4474b2b68396851a50ad5d329f57973a84337bc.tar.zst
freebsd-ports-gnome-f4474b2b68396851a50ad5d329f57973a84337bc.zip
Update to 1.0.1
PR: 153631 Submitted by: maintainer Don't try to fetch the distfile, it is directly committed to the port
-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