summaryrefslogtreecommitdiff
path: root/hnetd/Makefile
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2020-12-15 17:58:15 -0800
committerMoritz Warning <moritzwarning@web.de>2020-12-17 06:28:05 +0000
commit3dd7f27558fa1d6f0a11b997a6bbde5614bdbe96 (patch)
tree483cd20d0934cf3fe7eab16215afdd5eb46e9868 /hnetd/Makefile
parent330a0cc9d48eb3a08ea805b41d0f5d792237f781 (diff)
hnetd: update to latest commit
Fixed compilation with newer libubox. libubox added a sys/stat.h include, which happens to break compilation. The reason being __unused is a variable in musl and an attribute here. Fixed by undefining right before including the headers. Clean up Makefile for consistency between packages. Refreshed patches. Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'hnetd/Makefile')
-rw-r--r--hnetd/Makefile16
1 files changed, 9 insertions, 7 deletions
diff --git a/hnetd/Makefile b/hnetd/Makefile
index 2d1b2cc..1335467 100644
--- a/hnetd/Makefile
+++ b/hnetd/Makefile
@@ -7,17 +7,19 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=hnetd
-PKG_SOURCE_VERSION:=606d7e904603ad8792ac1a7ba825618df97b5a4e
-PKG_VERSION:=2016-06-28-$(PKG_SOURCE_VERSION)
-PKG_RELEASE:=3
+PKG_SOURCE_DATE:=2018-12-21
+PKG_SOURCE_VERSION:=c43766610ed30194b048bc070a3c433aec731c40
+PKG_RELEASE:=1
PKG_SOURCE_PROTO:=git
-PKG_SOURCE_URL:=https://github.com/sbyx/hnetd.git
+PKG_SOURCE_URL:=https://github.com/sbyx/hnetd
+PKG_MIRROR_HASH:=a41baa2e3d7930cc88073b0b3f6e1fa6a4abd9fd663f2577cfde1564fa07f8f2
+
PKG_MAINTAINER:=Steven Barth <cyrus@openwrt.org>
-PKG_LICENSE:=GPL-2.0
+PKG_LICENSE:=GPL-2.0-only
+PKG_LICENSE_FILES:=LICENSE
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
-PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
+PKG_BUILD_PARALLEL:=1
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/cmake.mk