diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2011-11-23 12:35:22 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2011-11-23 12:35:28 +0100 |
commit | 789ff6950f463f10aa3c34035311c319f81b862f (patch) | |
tree | f61cf6f59577e898b1f99016a08d8d7bae563e65 /rules/smartmontools.make | |
parent | 021bb03aec9f699c4f18ab3306020f5e46872c42 (diff) | |
download | ptxdist-789ff6950f463f10aa3c34035311c319f81b862f.tar.gz ptxdist-789ff6950f463f10aa3c34035311c319f81b862f.tar.xz |
smartmontools: version bump 5.39.1 -> 5.42
this also fixes building with gcc 4.6
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/smartmontools.make')
-rw-r--r-- | rules/smartmontools.make | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/rules/smartmontools.make b/rules/smartmontools.make index 35992e199..0bf3ff3fb 100644 --- a/rules/smartmontools.make +++ b/rules/smartmontools.make @@ -16,8 +16,8 @@ PACKAGES-$(PTXCONF_SMARTMONTOOLS) += smartmontools # # Paths and names # -SMARTMONTOOLS_VERSION := 5.39.1 -SMARTMONTOOLS_MD5 := f6f7380ae45587161c0adae8862110e9 +SMARTMONTOOLS_VERSION := 5.42 +SMARTMONTOOLS_MD5 := 4460bf9a79a1252ff5c00ba52cf76b2a SMARTMONTOOLS := smartmontools-$(SMARTMONTOOLS_VERSION) SMARTMONTOOLS_SUFFIX := tar.gz SMARTMONTOOLS_URL := $(PTXCONF_SETUP_SFMIRROR)/smartmontools/$(SMARTMONTOOLS).$(SMARTMONTOOLS_SUFFIX) @@ -40,7 +40,10 @@ $(SMARTMONTOOLS_SOURCE): SMARTMONTOOLS_CONF_TOOL := autoconf SMARTMONTOOLS_CONF_OPT := \ $(CROSS_AUTOCONF_USR) \ - --disable-sample + --disable-sample \ + --with-systemdsystemunitdir=/lib/systemd/system \ + --without-selinux \ + --without-libcap-ng # ---------------------------------------------------------------------------- # Target-Install @@ -73,6 +76,12 @@ ifneq ($(call remove_quotes,$(PTXCONF_SMARTMONTOOLS_BBINIT_LINK)),) /etc/rc.d/$(PTXCONF_SMARTMONTOOLS_BBINIT_LINK)) endif endif +ifdef PTXCONF_SMARTMONTOOLS_SYSTEMD_UNIT + @$(call install_copy, smartmontools, 0, 0, 0644, -, \ + /lib/systemd/system/smartd.service) + @$(call install_link, smartmontools, ../smartd.service, \ + /lib/systemd/system/multi-user.target.wants/smartd.service) +endif @$(call install_finish, smartmontools) |