[Buildroot] [PATCH/next 1/1] package/smartmontools: bump to version 7.1

Fabrice Fontaine fontaine.fabrice at gmail.com
Sat Feb 22 22:08:55 UTC 2020


- systemd optional dependency has been added in version 7.0
- Update indentation of hash file (two spaces)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
---
 package/smartmontools/smartmontools.hash | 8 +++++---
 package/smartmontools/smartmontools.mk   | 9 ++++++++-
 2 files changed, 13 insertions(+), 4 deletions(-)

diff --git a/package/smartmontools/smartmontools.hash b/package/smartmontools/smartmontools.hash
index ffa1e8f97e..bec007aabd 100644
--- a/package/smartmontools/smartmontools.hash
+++ b/package/smartmontools/smartmontools.hash
@@ -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
diff --git a/package/smartmontools/smartmontools.mk b/package/smartmontools/smartmontools.mk
index bad7da2d16..77eedfabd8 100644
--- a/package/smartmontools/smartmontools.mk
+++ b/package/smartmontools/smartmontools.mk
@@ -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))
-- 
2.25.0



More information about the buildroot mailing list