From d67d2639ffaa89cfe17d613755371d61ab52e721 Mon Sep 17 00:00:00 2001 From: nork Date: Thu, 15 Jul 2004 14:26:07 +0000 Subject: o Update to 5.31. o Fix handling smartd_pidfile on rcNG script. Approved by: Eduard Martinescu (maintainer) --- sysutils/smartmontools-devel/Makefile | 4 ++-- sysutils/smartmontools-devel/distinfo | 4 ++-- sysutils/smartmontools-devel/files/smartd.sh | 3 ++- 3 files changed, 6 insertions(+), 5 deletions(-) (limited to 'sysutils/smartmontools-devel') diff --git a/sysutils/smartmontools-devel/Makefile b/sysutils/smartmontools-devel/Makefile index 1424cb3d17bf..d0e1ee54e066 100644 --- a/sysutils/smartmontools-devel/Makefile +++ b/sysutils/smartmontools-devel/Makefile @@ -6,8 +6,8 @@ # PORTNAME= smartmontools -PORTVERSION= 5.30 -PORTREVISION= 2 +PORTVERSION= 5.31 +PORTREVISION= 0 CATEGORIES= sysutils MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} diff --git a/sysutils/smartmontools-devel/distinfo b/sysutils/smartmontools-devel/distinfo index abf976b3ac34..230de9869e52 100644 --- a/sysutils/smartmontools-devel/distinfo +++ b/sysutils/smartmontools-devel/distinfo @@ -1,2 +1,2 @@ -MD5 (smartmontools-5.30.tar.gz) = 6713b5f2ea28a86a4af238c4c0e0b59d -SIZE (smartmontools-5.30.tar.gz) = 360349 +MD5 (smartmontools-5.31.tar.gz) = 820acc2f0d030adc04cae2dfac28ea85 +SIZE (smartmontools-5.31.tar.gz) = 403142 diff --git a/sysutils/smartmontools-devel/files/smartd.sh b/sysutils/smartmontools-devel/files/smartd.sh index 681b47d0c33a..5da00f01c0f2 100644 --- a/sysutils/smartmontools-devel/files/smartd.sh +++ b/sysutils/smartmontools-devel/files/smartd.sh @@ -22,11 +22,12 @@ smartd_pidfile="/var/run/smartd.pid" name="smartd" rcvar=`set_rcvar` command="%%PREFIX%%/sbin/smartd" -pidfile="${smartd_pidfile}" required_files="%%PREFIX%%/etc/smartd.conf" load_rc_config $name +pidfile="${smartd_pidfile}" + case "${smartd_flags}" in *-p\ *) echo "ERROR: \$smartd_flags includes -p option." \ -- cgit