aboutsummaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorHannu Nyman <hannu.nyman@iki.fi>2019-01-19 13:14:29 +0200
committerGitHub <noreply@github.com>2019-01-19 13:14:29 +0200
commit2cf3336481d1e5ebd9717adeb66fb30cd4ef06d2 (patch)
treef74655d44134510f5b468498c4a984ad224394d4 /utils
parent52021e64b642885bc6f704c8453df5cf04b29245 (diff)
parente23379746ff5c4bffe425925009194e062cf9cf6 (diff)
Merge pull request #7939 from dengqf6/lm-sensors
lm-sensors: update to 3.5.0
Diffstat (limited to 'utils')
-rw-r--r--utils/lm-sensors/Makefile20
-rw-r--r--utils/lm-sensors/patches/100-musl-compat.patch44
2 files changed, 10 insertions, 54 deletions
diff --git a/utils/lm-sensors/Makefile b/utils/lm-sensors/Makefile
index c9cd8bbe3..291576223 100644
--- a/utils/lm-sensors/Makefile
+++ b/utils/lm-sensors/Makefile
@@ -8,15 +8,15 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=lm-sensors
-PKG_VERSION:=3.3.5
-PKG_RELEASE:=4
-
-PKG_SOURCE_PROTO:=git
-PKG_SOURCE_URL:=https://github.com/groeck/lm-sensors.git
-PKG_SOURCE_VERSION:=f8cdcc35bff0785aecf49d9a8484a71ce3ebee4f
-PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
-PKG_MIRROR_HASH:=892e9e2eed78e27fb7a08e8ce78b1164a3d101ba79a9e04f1c1273940d48cf17
+PKG_VERSION:=3.5.0
+PKG_RELEASE:=1
+
+PKG_VERSION_SUBST=$(subst .,-,$(PKG_VERSION))
+PKG_SOURCE_URL:=https://github.com/lm-sensors/lm-sensors/archive/V$(PKG_VERSION_SUBST)/lm-sensors
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
+PKG_HASH:=f671c1d63a4cd8581b3a4a775fd7864a740b15ad046fe92038bcff5c5134d7e0
+PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION_SUBST)
+
PKG_MAINTAINER:=Jo-Philipp Wich <jo@mein.io>
PKG_LICENSE:=GPL-2.0+ LGPL-2.1+
@@ -26,7 +26,7 @@ include $(INCLUDE_DIR)/package.mk
define Package/lm-sensors/Default
DEPENDS:=+sysfsutils
- URL:=http://www.lm-sensors.org/
+ URL:=https://hwmon.wiki.kernel.org/lm_sensors
endef
define Package/lm-sensors
diff --git a/utils/lm-sensors/patches/100-musl-compat.patch b/utils/lm-sensors/patches/100-musl-compat.patch
deleted file mode 100644
index 1cd82aba9..000000000
--- a/utils/lm-sensors/patches/100-musl-compat.patch
+++ /dev/null
@@ -1,44 +0,0 @@
---- a/prog/dump/isadump.c
-+++ b/prog/dump/isadump.c
-@@ -38,7 +38,7 @@
-
-
- /* To keep glibc2 happy */
--#if defined(__GLIBC__) && __GLIBC__ == 2 && __GLIBC_MINOR__ >= 0
-+#if !defined(__UCLIBC__)
- #include <sys/io.h>
- #else
- #include <asm/io.h>
---- a/prog/dump/isaset.c
-+++ b/prog/dump/isaset.c
-@@ -34,7 +34,7 @@
-
-
- /* To keep glibc2 happy */
--#if defined(__GLIBC__) && __GLIBC__ == 2 && __GLIBC_MINOR__ >= 0
-+#if !defined(__UCLIBC__)
- #include <sys/io.h>
- #else
- #include <asm/io.h>
---- a/prog/dump/superio.c
-+++ b/prog/dump/superio.c
-@@ -21,7 +21,7 @@
-
- #include <stdlib.h>
-
--#if defined(__GLIBC__) && __GLIBC__ == 2 && __GLIBC_MINOR__ >= 0
-+#if !defined(__UCLIBC__)
- #include <sys/io.h>
- #else
- #include <asm/io.h>
---- a/prog/dump/util.c
-+++ b/prog/dump/util.c
-@@ -12,7 +12,7 @@
- #include "util.h"
-
- /* To keep glibc2 happy */
--#if defined(__GLIBC__) && __GLIBC__ == 2 && __GLIBC_MINOR__ >= 0
-+#if !defined(__UCLIBC__)
- #include <sys/io.h>
- #else
- #include <asm/io.h>