View | Details | Raw Unified | Return to bug 240519 | Differences between
and this patch

Collapse All | Expand All

(-)sysutils/smartmontools/Makefile (-1 / +1 lines)
Lines 3-9 Link Here
3
3
4
PORTNAME=	smartmontools
4
PORTNAME=	smartmontools
5
PORTVERSION=	7.0
5
PORTVERSION=	7.0
6
PORTREVISION=	1
6
PORTREVISION=	2
7
CATEGORIES=	sysutils
7
CATEGORIES=	sysutils
8
MASTER_SITES=	SF
8
MASTER_SITES=	SF
9
9
(-)sysutils/smartmontools/files/smart.in (-1 / +4 lines)
Lines 16-22 smartctl=%%PREFIX%%/sbin/smartctl Link Here
16
case "${daily_status_smart_devices}" in
16
case "${daily_status_smart_devices}" in
17
	# XXX AUTO mode selects only regular ad/da disks 
17
	# XXX AUTO mode selects only regular ad/da disks 
18
	[Aa][Uu][Tt][Oo])
18
	[Aa][Uu][Tt][Oo])
19
		daily_status_smart_devices="$(sysctl -n kern.disks | sed -E 's/[[:<:]](cd|ar)[0-9]+//g')"
19
		daily_status_smart_devices="$(sysctl -n kern.disks | sed -E 's/[[:<:]](cd|ar)[0-9]+//g; s/nvd/nvme/g')"
20
		;;
20
		;;
21
	*)	;;
21
	*)	;;
22
esac
22
esac
Lines 48-53 case "${daily_status_smart_enable}" in Link Here
48
			ciss*)  devflags="-dcciss,${device##ciss[0-9]*,}"
48
			ciss*)  devflags="-dcciss,${device##ciss[0-9]*,}"
49
				device="/dev/${device%,[0-9]*}"
49
				device="/dev/${device%,[0-9]*}"
50
				;;
50
				;;
51
			arcmsr*) devflags="-dareca,${device##arcmsr[0-9]*,}"
52
				device="/dev/${device%,[0-9]*}"
53
				;;
51
			/*)	;;
54
			/*)	;;
52
			*)	device="/dev/${device}"
55
			*)	device="/dev/${device}"
53
			        ;;
56
			        ;;
(-)sysutils/smartmontools/files/smartd.in (-1 / +1 lines)
Lines 3-9 Link Here
3
# $FreeBSD$
3
# $FreeBSD$
4
#
4
#
5
# PROVIDE: smartd
5
# PROVIDE: smartd
6
# REQUIRE: LOGIN
6
# REQUIRE: root ldconfig devfs syslogd mail
7
# KEYWORD: shutdown nojail
7
# KEYWORD: shutdown nojail
8
#
8
#
9
# Define these smartd_* variables in one of these files:
9
# Define these smartd_* variables in one of these files:

Return to bug 240519