package/smartmontools: bump to version 7.1
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Sat, 22 Feb 2020 22:08:55 +0000 (23:08 +0100)
committerYann E. MORIN <yann.morin.1998@free.fr>
Sun, 23 Feb 2020 07:50:26 +0000 (08:50 +0100)
- systemd optional dependency has been added in version 7.0
- Update indentation of hash file (two spaces)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/smartmontools/smartmontools.hash
package/smartmontools/smartmontools.mk

index ffa1e8f97eced131b41e400093304edbd17ad857..bec007aabd6ab3f3c7f87820bb774acde739dc27 100644 (file)
@@ -1,5 +1,7 @@
-# From http://sourceforge.net/projects/smartmontools/files/smartmontools/6.5/
-md5    093aeec3f8f39fa9a37593c4012d3156        smartmontools-6.5.tar.gz
-sha1   7e788b429534a4ae627858fbcc826b93402cee7e        smartmontools-6.5.tar.gz
+# From http://sourceforge.net/projects/smartmontools/files/smartmontools/7.1/
+md5  430cd5f64caa4524018b536e5ecd9c29  smartmontools-7.1.tar.gz
+sha1  207dc2b50cab1c6fba7bc248665fbbe3189374e1  smartmontools-7.1.tar.gz
+
 # Locally computed
+sha256  3f734d2c99deb1e4af62b25d944c6252de70ca64d766c4c7294545a2e659b846  smartmontools-7.1.tar.gz
 sha256  8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643  COPYING
index bad7da2d160a2a65aa5251e989f95eee69b98428..77eedfabd8c0024c07f964382538f9cd2c0fc583 100644 (file)
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-SMARTMONTOOLS_VERSION = 6.5
+SMARTMONTOOLS_VERSION = 7.1
 SMARTMONTOOLS_SITE = http://downloads.sourceforge.net/project/smartmontools/smartmontools/$(SMARTMONTOOLS_VERSION)
 SMARTMONTOOLS_LICENSE = GPL-2.0+
 SMARTMONTOOLS_LICENSE_FILES = COPYING
@@ -23,4 +23,11 @@ else
 SMARTMONTOOLS_CONF_OPTS += --without-selinux
 endif
 
+ifeq ($(BR2_PACKAGE_SYSTEMD),y)
+SMARTMONTOOLS_CONF_OPTS += --with-libsystemd
+SMARTMONTOOLS_DEPENDENCIES += systemd
+else
+SMARTMONTOOLS_CONF_OPTS += --without-libsystemd
+endif
+
 $(eval $(autotools-package))