@ -10,7 +10,7 @@ include $(INCLUDE_DIR)/uclibc++.mk
PKG_NAME := smartmontools
PKG_VERSION := 7.1
PKG_RELEASE := 1
PKG_RELEASE := 2
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.gz
PKG_SOURCE_URL := @SF/smartmontools
@ -68,6 +68,17 @@ define Package/smartmontools-drivedb/description
Database of known drives and USB bridges for smartctl and smartd.
e n d e f
d e f i n e P a c k a g e / s m a r t d - m a i l
$( call Package/smartmontools/Default)
TITLE += Email notifications
PKGARCH = all
DEPENDS += +smartd, +nail, +msmtp-mta
e n d e f
d e f i n e P a c k a g e / s m a r t d - m a i l / d e s c r i p t i o n
A script for mailing about SMART issues
e n d e f
i f e q ( $( CONFIG_USE_UCLIBCXX ) , y )
TARGET_LDFLAGS += -nodefaultlibs
e l s e
@ -110,6 +121,11 @@ define Package/smartmontools-drivedb/install
$( INSTALL_DATA) $( PKG_INSTALL_DIR) /usr/share/smartmontools/drivedb.h $( 1) /usr/share/smartmontools/
e n d e f
d e f i n e P a c k a g e / s m a r t d - m a i l / i n s t a l l
$( INSTALL_DIR) $( 1) /etc
$( INSTALL_BIN) $( PKG_INSTALL_DIR) /etc/smartd_warning.sh $( 1) /etc
e n d e f
d e f i n e P a c k a g e / s m a r t d / c o n f f i l e s
/ e t c / s m a r t d . c o n f
e n d e f
@ -117,3 +133,4 @@ endef
$( eval $ ( call BuildPackage ,smartmontools ) )
$( eval $ ( call BuildPackage ,smartd ) )
$( eval $ ( call BuildPackage ,smartmontools -drivedb ) )
$( eval $ ( call BuildPackage ,smartd -mail ) )