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.

74 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:=4
  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. PKG_CPE_ID:=cpe:/a:kryo:iodine
  18. include $(INCLUDE_DIR)/package.mk
  19. define Package/iodine/Default
  20. SECTION:=net
  21. CATEGORY:=Network
  22. SUBMENU:=Firewall Tunnel
  23. DEPENDS:= +kmod-tun +zlib
  24. TITLE:=IP over DNS tunneling
  25. URL:=http://code.kryo.se/iodine/
  26. endef
  27. define Package/iodine
  28. $(call Package/iodine/Default)
  29. TITLE+= client version
  30. endef
  31. define Package/iodine/description
  32. iodine client version
  33. endef
  34. define Package/iodined
  35. $(call Package/iodine/Default)
  36. TITLE+= server version
  37. endef
  38. define Package/iodined/description
  39. iodine server version
  40. endef
  41. define Build/Configure
  42. endef
  43. define Package/iodine/install
  44. $(INSTALL_DIR) $(1)/usr/sbin
  45. $(INSTALL_BIN) $(PKG_BUILD_DIR)/bin/iodine $(1)/usr/sbin
  46. endef
  47. define Package/iodined/install
  48. $(INSTALL_DIR) $(1)/etc/init.d
  49. $(INSTALL_BIN) ./files/iodined.init $(1)/etc/init.d/iodined
  50. $(INSTALL_DIR) $(1)/etc/config
  51. $(INSTALL_DATA) ./files/iodined.config $(1)/etc/config/iodined
  52. $(INSTALL_DIR) $(1)/usr/sbin
  53. $(INSTALL_BIN) $(PKG_BUILD_DIR)/bin/iodined $(1)/usr/sbin
  54. endef
  55. define Package/iodined/conffiles
  56. /etc/config/iodined
  57. endef
  58. $(eval $(call BuildPackage,iodine))
  59. $(eval $(call BuildPackage,iodined))