2 # Copyright (C) 2006-2011 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR)/rules.mk
11 PKG_VERSION:=0.6.0-rc1
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=http://code.kryo.se/iodine/
16 PKG_MD5SUM:=a15bb4faba020d217016fde6e231074a
18 include $(INCLUDE_DIR)/package.mk
20 define Package/iodine/Default
23 SUBMENU:=Firewall Tunnel
24 DEPENDS:= +kmod-tun +zlib
25 TITLE:=IP over DNS tunneling
26 URL:=http://code.kryo.se/iodine/
30 $(call Package/iodine/Default)
31 TITLE+= client version
34 define Package/iodine/description
38 define Package/iodined
39 $(call Package/iodine/Default)
40 TITLE+= server version
43 define Package/iodined/description
47 define Build/Configure
50 define Package/iodine/install
51 $(INSTALL_DIR) $(1)/usr/sbin
52 $(INSTALL_BIN) $(PKG_BUILD_DIR)/bin/iodine $(1)/usr/sbin
55 define Package/iodined/install
56 $(INSTALL_DIR) $(1)/etc/init.d
57 $(INSTALL_BIN) ./files/iodined.init $(1)/etc/init.d/iodined
58 $(INSTALL_DIR) $(1)/etc/config
59 $(INSTALL_DATA) ./files/iodined.config $(1)/etc/config/iodined
60 $(INSTALL_DIR) $(1)/usr/sbin
61 $(INSTALL_BIN) $(PKG_BUILD_DIR)/bin/iodined $(1)/usr/sbin
64 $(eval $(call BuildPackage,iodine))
65 $(eval $(call BuildPackage,iodined))