smartmontools: package a script for sending email notifications

A separate package which depdens on msmtp and nail is introduced.
Once more packages provide `sendmail` and `mail` interfaces, this
dependency can be made more flexible.

Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
This commit is contained in:
Maxim Storchak
2020-01-05 19:41:52 +02:00
parent 1ab383fb71
commit f5f49e48fe
2 changed files with 31 additions and 1 deletions

View File

@@ -0,0 +1,13 @@
diff --git a/configure b/configure
index 6f442b3..5803c83 100755
--- a/configure
+++ b/configure
@@ -6988,7 +6988,7 @@ releaseversion='${PACKAGE}-${VERSION}'
# Set platform-specific modules and symbols
os_libs=
os_dltools='curl wget lynx svn'
-os_mailer=mail
+os_mailer=mailx
os_hostname="'hostname'"
os_dnsdomainname=
os_nisdomainname="'domainname'"