From 92fe9dfd98a0891e0ee395bbbfa00538c7899605 Mon Sep 17 00:00:00 2001 From: kn Date: Thu, 17 Nov 2022 09:48:08 +0000 Subject: [PATCH] Install /etc/smartd_warning.sh to fix send_smart_mail Reported and debugged by Moviuro, tested by Martin Zimmer --- sysutils/smartmontools/Makefile | 1 + sysutils/smartmontools/pkg/PLIST | 1 + 2 files changed, 2 insertions(+) diff --git a/sysutils/smartmontools/Makefile b/sysutils/smartmontools/Makefile index 2f529b5fa98..fcb4fbf045d 100644 --- a/sysutils/smartmontools/Makefile +++ b/sysutils/smartmontools/Makefile @@ -3,6 +3,7 @@ COMMENT= control and monitor storage systems using SMART # XXX at update time check whether C++11 is actually needed DISTNAME= smartmontools-7.3 CATEGORIES= sysutils +REVISION= 0 HOMEPAGE= https://www.smartmontools.org/ diff --git a/sysutils/smartmontools/pkg/PLIST b/sysutils/smartmontools/pkg/PLIST index 1594d93cbd3..4daef57cfcc 100644 --- a/sysutils/smartmontools/pkg/PLIST +++ b/sysutils/smartmontools/pkg/PLIST @@ -26,3 +26,4 @@ share/examples/smartmontools/Example7 share/examples/smartmontools/Example8 share/examples/smartmontools/README share/examples/smartmontools/smartd_warning.sh +@sample ${SYSCONFDIR}/smartd_warning.sh