Makefile 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. #
  2. # Copyright (C) 2012-2013 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. include $(TOPDIR)/rules.mk
  7. PKG_NAME:=ohybridproxy
  8. PKG_SOURCE_VERSION:=0dfef1eb5f067250a5f24a899536879ea4fdc4c5
  9. PKG_SOURCE_DATE:=2020-05-22
  10. PKG_RELEASE:=3
  11. PKG_SOURCE_PROTO:=git
  12. PKG_SOURCE_URL:=https://github.com/sbyx/ohybridproxy.git
  13. PKG_MIRROR_HASH:=378559afd98a4336f327fde981e55167e988dc5ab7a19773c8ef24aa7fca0689
  14. PKG_MAINTAINER:=Steven Barth <cyrus@openwrt.org>
  15. PKG_LICENSE:=GPL-2.0-only
  16. PKG_LICENSE_FILES:=LICENSE
  17. PKG_BUILD_PARALLEL:=1
  18. include $(INCLUDE_DIR)/package.mk
  19. include $(INCLUDE_DIR)/cmake.mk
  20. define Package/ohybridproxy
  21. SECTION:=net
  22. CATEGORY:=Network
  23. SUBMENU:=IP Addresses and Names
  24. TITLE:=mdns/dns hybrid-proxy
  25. URL:=https://github.com/sbyx/ohybridproxy
  26. DEPENDS+=+libubox +mdnsd
  27. endef
  28. define Package/ohybridproxy/description
  29. This package provides a statically configured daemon for translating DNS
  30. requests to Multicast DNS and back again.
  31. endef
  32. define Package/ohybridproxy/install
  33. $(INSTALL_DIR) $(1)/usr/sbin/
  34. $(INSTALL_BIN) $(PKG_BUILD_DIR)/ohybridproxy $(1)/usr/sbin/
  35. $(INSTALL_DIR) $(1)/etc/config/
  36. $(INSTALL_DATA) ./files/ohybridproxy.config $(1)/etc/config/ohybridproxy
  37. $(INSTALL_DIR) $(1)/etc/init.d/
  38. $(INSTALL_BIN) ./files/ohybridproxy.init $(1)/etc/init.d/ohybridproxy
  39. $(INSTALL_DIR) $(1)/etc/hotplug.d/iface
  40. $(INSTALL_DATA) ./files/ohybridproxy.hotplug $(1)/etc/hotplug.d/iface/ohybridproxy
  41. endef
  42. $(eval $(call BuildPackage,ohybridproxy))
  43. define Package/zonestitcher
  44. SECTION:=net
  45. CATEGORY:=Network
  46. SUBMENU:=IP Addresses and Names
  47. TITLE:=dynamically combine multiple DNS zones into one
  48. URL:=https://github.com/sbyx/ohybridproxy
  49. DEPENDS+=+libubox
  50. endef
  51. define Package/zonestitcher/description
  52. This package provides a statically configured daemon for translating DNS
  53. requests to Multicast DNS and back again.
  54. endef
  55. define Package/zonestitcher/install
  56. $(INSTALL_DIR) $(1)/usr/sbin/
  57. $(INSTALL_BIN) $(PKG_BUILD_DIR)/zonestitcher $(1)/usr/sbin/
  58. endef
  59. $(eval $(call BuildPackage,zonestitcher))