inadyn: update to 2.7
authorRosen Penev <rosenp@gmail.com>
Sun, 2 Aug 2020 21:41:30 +0000 (14:41 -0700)
committerRosen Penev <rosenp@gmail.com>
Wed, 5 Aug 2020 02:10:09 +0000 (19:10 -0700)
Remove pic hack.

Fix license information.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
net/inadyn/Makefile

index d32a95b8aa687fcbb8b17f96779db2007ea00b98..2aae77d3a69656a529a971a1a659c59004a0f673 100644 (file)
@@ -8,15 +8,15 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=inadyn
-PKG_VERSION:=2.5
+PKG_VERSION:=2.7
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
 PKG_SOURCE_URL:=https://github.com/troglobit/inadyn/releases/download/v$(PKG_VERSION)
-PKG_HASH:=4a9ad208671f62912428413da0282450b2d2c4da38f3c95c4ac975d048c41fcd
+PKG_HASH:=eb03bc9d9c09dfbbc651b43a2eb5a967d0454a8293576df23784710dac50c6a4
 
 PKG_MAINTAINER:=
-PKG_LICENSE:=GPL-2.0
+PKG_LICENSE:=GPL-2.0-or-later
 PKG_LICENSE_FILES:=COPYING
 
 PKG_INSTALL:=1
@@ -41,16 +41,13 @@ define Package/inadyn/conffiles
 /etc/inadyn.conf
 endef
 
-TARGET_CFLAGS += $(FPIC)
-
 CONFIGURE_ARGS += \
        --enable-shared \
        --disable-static \
        --enable-openssl \
-       --without-pic
+       --with-pic
 
 define Package/inadyn/install
-       $(INSTALL_DIR) $(1)/etc
        $(INSTALL_DIR) $(1)/usr/sbin
        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/inadyn $(1)/usr/sbin/
 endef