You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

73 lines
1.6 KiB

  1. #
  2. # Copyright (C) 2006-2011 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=iodine
  9. PKG_VERSION:=0.7.0
  10. PKG_RELEASE:=2
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  12. PKG_SOURCE_URL:=http://code.kryo.se/iodine/
  13. PKG_HASH:=ad2b40acf1421316ec15800dcde0f587ab31d7d6f891fa8b9967c4ded93c013e
  14. PKG_MAINTAINER:=Uwe Kleine-König <uwe+openwrt@kleine-koenig.org>
  15. PKG_LICENSE:=ISC
  16. PKG_LICENSE_FILES:=README
  17. include $(INCLUDE_DIR)/package.mk
  18. define Package/iodine/Default
  19. SECTION:=net
  20. CATEGORY:=Network
  21. SUBMENU:=Firewall Tunnel
  22. DEPENDS:= +kmod-tun +zlib
  23. TITLE:=IP over DNS tunneling
  24. URL:=http://code.kryo.se/iodine/
  25. endef
  26. define Package/iodine
  27. $(call Package/iodine/Default)
  28. TITLE+= client version
  29. endef
  30. define Package/iodine/description
  31. iodine client version
  32. endef
  33. define Package/iodined
  34. $(call Package/iodine/Default)
  35. TITLE+= server version
  36. endef
  37. define Package/iodined/description
  38. iodine server version
  39. endef
  40. define Build/Configure
  41. endef
  42. define Package/iodine/install
  43. $(INSTALL_DIR) $(1)/usr/sbin
  44. $(INSTALL_BIN) $(PKG_BUILD_DIR)/bin/iodine $(1)/usr/sbin
  45. endef
  46. define Package/iodined/install
  47. $(INSTALL_DIR) $(1)/etc/init.d
  48. $(INSTALL_BIN) ./files/iodined.init $(1)/etc/init.d/iodined
  49. $(INSTALL_DIR) $(1)/etc/config
  50. $(INSTALL_DATA) ./files/iodined.config $(1)/etc/config/iodined
  51. $(INSTALL_DIR) $(1)/usr/sbin
  52. $(INSTALL_BIN) $(PKG_BUILD_DIR)/bin/iodined $(1)/usr/sbin
  53. endef
  54. define Package/iodined/conffiles
  55. /etc/config/iodined
  56. endef
  57. $(eval $(call BuildPackage,iodine))
  58. $(eval $(call BuildPackage,iodined))