2014-02-18 23:37:57 +01:00
|
|
|
#
|
|
|
|
# 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
|
2020-05-22 08:27:16 +02:00
|
|
|
PKG_SOURCE_VERSION:=0dfef1eb5f067250a5f24a899536879ea4fdc4c5
|
2020-12-16 02:17:14 +01:00
|
|
|
PKG_SOURCE_DATE:=2020-05-22
|
2021-10-20 15:33:02 +02:00
|
|
|
PKG_RELEASE:=3
|
2014-02-18 23:37:57 +01:00
|
|
|
|
|
|
|
PKG_SOURCE_PROTO:=git
|
2018-07-12 16:50:47 +02:00
|
|
|
PKG_SOURCE_URL:=https://github.com/sbyx/ohybridproxy.git
|
2020-12-16 02:17:14 +01:00
|
|
|
PKG_MIRROR_HASH:=f47904d8ac860b8b80cb9f99e094cd74e95464b5ed011a7adbfc3445dab598b3
|
|
|
|
|
2014-02-18 23:37:57 +01:00
|
|
|
PKG_MAINTAINER:=Steven Barth <cyrus@openwrt.org>
|
2020-12-16 02:17:14 +01:00
|
|
|
PKG_LICENSE:=GPL-2.0-only
|
|
|
|
PKG_LICENSE_FILES:=LICENSE
|
2014-02-18 23:37:57 +01:00
|
|
|
|
2020-12-16 02:17:14 +01:00
|
|
|
PKG_BUILD_PARALLEL:=1
|
2014-02-18 23:37:57 +01:00
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
include $(INCLUDE_DIR)/cmake.mk
|
|
|
|
|
|
|
|
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))
|
2015-09-29 12:11:01 +02:00
|
|
|
|
|
|
|
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))
|