1 # This is free software, licensed under the GNU General Public License v2.
2 # See /LICENSE for more information.
5 include $(TOPDIR
)/rules.mk
11 PKG_LICENSE
:=BSD-3-Clause
12 PKG_LICENSE_FILES
:=COPYING
13 PKG_MAINTAINER
:=David Mora
<iamperson347
+public@gmail.com
>
16 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.xz
17 PKG_SOURCE_URL
:=https
://github.com
/getdnsapi
/$(PKG_NAME
)
18 PKG_SOURCE_VERSION
:=8fb853ac8d6148fd9b53fdcbc107ecd375071ec5
19 PKG_MIRROR_HASH
:=db736f4a728970d2441009ac19716d6129700eab3f441a5db3a0c26d41bf162c
25 include $(INCLUDE_DIR
)/package.mk
27 define Package
/stubby
/Default
29 URL
:=https
://dnsprivacy.org
/wiki
/display
/DP
/DNS
+Privacy
+Daemon
+-+Stubby
32 define Package
/stubby
/description
33 This package contains the Stubby daemon
(which utilizes the getdns library
).
35 See https
://github.com
/openwrt
/packages
/blob
/master
/net
/stubby
/files
/README.md for more details.
39 $(call Package
/stubby
/Default
)
42 SUBMENU
:=IP Addresses and Names
43 TITLE
+= - (daemon that uses getdns
)
44 USERID
:=stubby
=410:stubby
=410
45 DEPENDS
:= +libyaml
+getdns
+ca-certificates
48 define Package
/stubby
/install
49 $(INSTALL_DIR
) $(1)/usr
/sbin
50 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/bin
/stubby
$(1)/usr
/sbin
/stubby
51 $(INSTALL_DIR
) $(1)/etc
/init.d
52 $(INSTALL_BIN
) .
/files
/stubby.init
$(1)/etc
/init.d
/stubby
53 $(INSTALL_DIR
) $(1)/etc
/stubby
54 $(INSTALL_DATA
) $(PKG_INSTALL_DIR
)/etc
/stubby
/stubby.yml
$(1)/etc
/stubby
/stubby.yml.default
55 $(INSTALL_DATA
) .
/files
/stubby.yml
$(1)/etc
/stubby
/stubby.yml
59 define Package
/stubby
/conffiles
60 /etc
/stubby
/stubby.yml
63 $(eval
$(call BuildPackage
,stubby
))