aboutsummaryrefslogtreecommitdiff
path: root/net/ztdns/Makefile
blob: d5517cd897f92f16d6cb0acbcbff5b6a4fe8701d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
include $(TOPDIR)/rules.mk

PKG_NAME:=ztdns
PKG_VERSION:=0.0.2
PKG_RELEASE:=1

PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/palonsoro/ztdns.git
PKG_SOURCE_DATE:=2023-01-08
PKG_SOURCE_VERSION:=1510cb47083989549ce2ed53d01b56a79df69ad0
PKG_MIRROR_HASH:=5054c934e030e337edb43659beb23f6cac1401c0ba63453be5b446c885c50041

PKG_LICENSE:=MIT
PKG_LICENSE_FILES:=LICENSE
PKG_MAINTAINER:=Oskari Rauta <oskari.rauta@gmail.com>

PKG_BUILD_DEPENDS:=golang/host
PKG_BUILD_PARALLEL:=1
PKG_USE_MIPS16:=0

GO_PKG:=github.com/uxbh/ztdns

include $(INCLUDE_DIR)/package.mk
include ../../lang/golang/golang-package.mk

define Package/ztdns
  SECTION:=net
  CATEGORY:=Network
  TITLE:=ZerotierDNS
  URL:=https://github.com/uxbh/ztdns
  DEPENDS:=$(GO_ARCH_DEPENDS)
endef

define Package/ztdns/description
  ztDNS is a dedicated DNS server for a ZeroTier virtual network.
  It is alternative to Zerotier's own zeronsd.
endef

$(eval $(call GoBinPackage,ztdns))
$(eval $(call BuildPackage,ztdns))