blob: 7d88f5d862ec619a8f9fccc01d361c496310a3bb (
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
|
#
# Copyright (C) 2012-2013 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
include $(TOPDIR)/rules.mk
PKG_NAME:=ohybridproxy
PKG_SOURCE_VERSION:=8a28ae92c97099e771c9ede5641e3782ae809c27
PKG_VERSION:=2016-06-28-$(PKG_SOURCE_VERSION)
PKG_RELEASE:=1
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=git://github.com/sbyx/ohybridproxy.git
PKG_MAINTAINER:=Steven Barth <cyrus@openwrt.org>
PKG_LICENSE:=GPL-2.0
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/cmake.mk
# Spammy debug builds for now
CMAKE_OPTIONS += -DL_LEVEL=7
define Package/ohybridproxy
SECTION:=net
CATEGORY:=Network
SUBMENU:=IP Addresses and Names
TITLE:=mdns/dns hybrid-proxy
URL:=https://github.com/sbyx/ohybridproxy
DEPENDS+=+libubox +mdnsd
endef
define Package/ohybridproxy/description
This package provides a statically configured daemon for translating DNS
requests to Multicast DNS and back again.
endef
define Package/ohybridproxy/install
$(INSTALL_DIR) $(1)/usr/sbin/
$(INSTALL_BIN) $(PKG_BUILD_DIR)/ohybridproxy $(1)/usr/sbin/
$(INSTALL_DIR) $(1)/etc/config/
$(INSTALL_DATA) ./files/ohybridproxy.config $(1)/etc/config/ohybridproxy
$(INSTALL_DIR) $(1)/etc/init.d/
$(INSTALL_BIN) ./files/ohybridproxy.init $(1)/etc/init.d/ohybridproxy
$(INSTALL_DIR) $(1)/etc/hotplug.d/iface
$(INSTALL_DATA) ./files/ohybridproxy.hotplug $(1)/etc/hotplug.d/iface/ohybridproxy
endef
$(eval $(call BuildPackage,ohybridproxy))
define Package/zonestitcher
SECTION:=net
CATEGORY:=Network
SUBMENU:=IP Addresses and Names
TITLE:=dynamically combine multiple DNS zones into one
URL:=https://github.com/sbyx/ohybridproxy
DEPENDS+=+libubox
endef
define Package/zonestitcher/description
This package provides a statically configured daemon for translating DNS
requests to Multicast DNS and back again.
endef
define Package/zonestitcher/install
$(INSTALL_DIR) $(1)/usr/sbin/
$(INSTALL_BIN) $(PKG_BUILD_DIR)/zonestitcher $(1)/usr/sbin/
endef
$(eval $(call BuildPackage,zonestitcher))
|