mirror of
https://github.com/openwrt/packages.git
synced 2026-01-08 03:30:19 +04:00
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:
13
utils/smartmontools/patches/002-os_mailer-is-mailx.patch
Normal file
13
utils/smartmontools/patches/002-os_mailer-is-mailx.patch
Normal 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'"
|
||||
Reference in New Issue
Block a user