2017-02-04 09:47:36 +00:00
|
|
|
#
|
2018-01-09 00:11:09 +00:00
|
|
|
# Copyright (C) 2017-2018 Daniel Engberg <daniel.engberg.lists@pyret.net>
|
2017-02-04 09:47:36 +00:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=inadyn
|
2023-06-28 17:23:39 +00:00
|
|
|
PKG_VERSION:=2.11.0
|
treewide: remove AUTORELEASE
Automatically compute and substitute current values for all
$(AUTORELEASE) instances as this feature is deprecated and shouldn't be
used.
The following temporary change was made to the core:
diff --git a/rules.mk b/rules.mk
index 57d7995d4fa8..f16367de87a8 100644
--- a/rules.mk
+++ b/rules.mk
@@ -429,7 +429,7 @@ endef
abi_version_str = $(subst -,,$(subst _,,$(subst .,,$(1))))
COMMITCOUNT = $(if $(DUMP),0,$(call commitcount))
-AUTORELEASE = $(if $(DUMP),0,$(call commitcount,1))
+AUTORELEASE = $(if $(DUMP),0,$(shell sed -i "s/\$$(AUTORELEASE)/$(call commitcount,1)/" $(CURDIR)/Makefile))
all:
FORCE: ;
And this command used to fix affected packages:
for i in $(cd feeds/packages; git grep -l PKG_RELEASE:=.*AUTORELEASE | \
sed 's^.*/\([^/]*\)/Makefile^\1^';);
do
make package/$i/download
done
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2023-04-21 16:32:27 +00:00
|
|
|
PKG_RELEASE:=1
|
2017-02-04 09:47:36 +00:00
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
2017-09-17 23:05:09 +00:00
|
|
|
PKG_SOURCE_URL:=https://github.com/troglobit/inadyn/releases/download/v$(PKG_VERSION)
|
2023-06-28 17:23:39 +00:00
|
|
|
PKG_HASH:=9c8b2a425acb9681564e9fc25a319f2109c7d2ebe1ffe99b06d4a722efb6ecba
|
2019-06-07 05:37:56 +00:00
|
|
|
|
|
|
|
PKG_MAINTAINER:=
|
2020-08-02 21:41:30 +00:00
|
|
|
PKG_LICENSE:=GPL-2.0-or-later
|
2019-06-07 05:37:56 +00:00
|
|
|
PKG_LICENSE_FILES:=COPYING
|
2017-02-04 09:47:36 +00:00
|
|
|
|
2019-06-07 05:37:56 +00:00
|
|
|
PKG_INSTALL:=1
|
|
|
|
PKG_BUILD_PARALLEL:=1
|
2017-02-04 09:47:36 +00:00
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/inadyn
|
|
|
|
SECTION:=net
|
|
|
|
CATEGORY:=Network
|
|
|
|
DEPENDS:=+confuse +libopenssl +ca-certificates
|
|
|
|
TITLE:=A Dynamic DNS client with SSL/TLS support
|
2018-01-27 06:36:41 +00:00
|
|
|
URL:=http://troglobit.com/project/inadyn/
|
2017-02-04 09:47:36 +00:00
|
|
|
SUBMENU:=IP Addresses and Names
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/inadyn/description
|
2018-01-27 06:36:41 +00:00
|
|
|
Inadyn is a small and simple Dynamic DNS, DDNS, client with HTTPS support
|
2017-02-04 09:47:36 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/inadyn/conffiles
|
|
|
|
/etc/inadyn.conf
|
|
|
|
endef
|
|
|
|
|
2019-06-07 05:37:56 +00:00
|
|
|
CONFIGURE_ARGS += \
|
|
|
|
--enable-shared \
|
|
|
|
--disable-static \
|
|
|
|
--enable-openssl \
|
2020-08-02 21:41:30 +00:00
|
|
|
--with-pic
|
2017-02-04 09:47:36 +00:00
|
|
|
|
|
|
|
define Package/inadyn/install
|
|
|
|
$(INSTALL_DIR) $(1)/usr/sbin
|
2019-06-07 05:37:56 +00:00
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/inadyn $(1)/usr/sbin/
|
2017-02-04 09:47:36 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,inadyn))
|