net/inadyn: Add inadyn to package repo
authorDaniel Engberg <redacted>
Sat, 4 Feb 2017 09:47:36 +0000 (10:47 +0100)
committerDaniel Engberg <redacted>
Sun, 5 Feb 2017 15:05:50 +0000 (16:05 +0100)
Adds inadyn to package repo

Signed-off-by: Daniel Engberg <redacted>
net/inadyn/Makefile [new file with mode: 0644]

diff --git a/net/inadyn/Makefile b/net/inadyn/Makefile
new file mode 100644 (file)
index 0000000..792bb83
--- /dev/null
@@ -0,0 +1,54 @@
+#
+# Copyright (C) 2017 Daniel Engberg <daniel.engberg.lists@pyret.net>
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=inadyn
+PKG_VERSION=2017-02-02
+PKG_RELEASE:=1
+PKG_MAINTAINER:=Daniel Engberg <daniel.engberg.lists@pyret.net>
+PKG_LICENSE:=GPL-2.0
+PKG_LICENSE_FILES:=COPYING
+
+PKG_SOURCE_PROTO:=git
+PKG_SOURCE_URL=https://github.com/troglobit/inadyn
+PKG_SOURCE_SUBDIR=$(PKG_NAME)-$(PKG_VERSION)
+PKG_SOURCE_VERSION:=3b9ae1c22f96194232cc86ded33af9e0a1602af2
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
+PKG_MIRROR_HASH:=9db6cd8d2b421d8bc61d4ae60c8215a86d73657746a1b06d79f4fbfd79734f6e
+
+PKG_FIXUP:=autoreconf
+
+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
+  URL:=https://github.com/troglobit/inadyn
+  SUBMENU:=IP Addresses and Names
+endef
+
+define Package/inadyn/description
+  Suitable for embedded systems, written in C.
+endef
+
+define Package/inadyn/conffiles
+/etc/inadyn.conf
+endef
+
+CONFIGURE_ARGS += --enable-shared --disable-static --enable-openssl
+
+define Package/inadyn/install
+       $(INSTALL_DIR) $(1)/etc
+       $(INSTALL_DATA) $(PKG_BUILD_DIR)/examples/dyndns.conf $(1)/etc/inadyn.conf
+       $(INSTALL_DIR) $(1)/usr/sbin
+       $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/inadyn $(1)/usr/sbin/
+endef
+
+$(eval $(call BuildPackage,inadyn))
git clone https://git.99rst.org/PROJECT