2 # Copyright (C) 2012-2013 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
7 include $(TOPDIR
)/rules.mk
10 PKG_SOURCE_VERSION
:=0dfef1eb5f067250a5f24a899536879ea4fdc4c5
11 PKG_SOURCE_DATE
:=2020-05-22
15 PKG_SOURCE_URL
:=https
://github.com
/sbyx
/ohybridproxy.git
16 PKG_MIRROR_HASH
:=f47904d8ac860b8b80cb9f99e094cd74e95464b5ed011a7adbfc3445dab598b3
18 PKG_MAINTAINER
:=Steven Barth
<cyrus@openwrt.org
>
19 PKG_LICENSE
:=GPL-2.0
-only
20 PKG_LICENSE_FILES
:=LICENSE
24 include $(INCLUDE_DIR
)/package.mk
25 include $(INCLUDE_DIR
)/cmake.mk
27 define Package
/ohybridproxy
30 SUBMENU
:=IP Addresses and Names
31 TITLE
:=mdns
/dns hybrid-proxy
32 URL
:=https
://github.com
/sbyx
/ohybridproxy
33 DEPENDS
+=+libubox
+mdnsd
36 define Package
/ohybridproxy
/description
37 This package provides a statically configured daemon for translating DNS
38 requests to Multicast DNS and back again.
41 define Package
/ohybridproxy
/install
42 $(INSTALL_DIR
) $(1)/usr
/sbin
/
43 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/ohybridproxy
$(1)/usr
/sbin
/
44 $(INSTALL_DIR
) $(1)/etc
/config
/
45 $(INSTALL_DATA
) .
/files
/ohybridproxy.config
$(1)/etc
/config
/ohybridproxy
46 $(INSTALL_DIR
) $(1)/etc
/init.d
/
47 $(INSTALL_BIN
) .
/files
/ohybridproxy.init
$(1)/etc
/init.d
/ohybridproxy
48 $(INSTALL_DIR
) $(1)/etc
/hotplug.d
/iface
49 $(INSTALL_DATA
) .
/files
/ohybridproxy.hotplug
$(1)/etc
/hotplug.d
/iface
/ohybridproxy
52 $(eval
$(call BuildPackage
,ohybridproxy
))
54 define Package
/zonestitcher
57 SUBMENU
:=IP Addresses and Names
58 TITLE
:=dynamically combine multiple DNS zones into one
59 URL
:=https
://github.com
/sbyx
/ohybridproxy
63 define Package
/zonestitcher
/description
64 This package provides a statically configured daemon for translating DNS
65 requests to Multicast DNS and back again.
68 define Package
/zonestitcher
/install
69 $(INSTALL_DIR
) $(1)/usr
/sbin
/
70 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/zonestitcher
$(1)/usr
/sbin
/
73 $(eval
$(call BuildPackage
,zonestitcher
))