2007-01-08 10:22:39 +00:00
|
|
|
#
|
2010-10-23 15:44:51 +00:00
|
|
|
# Copyright (C) 2006-2010 OpenWrt.org
|
2007-01-08 10:22:39 +00:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=iodine
|
2010-08-13 13:21:20 +00:00
|
|
|
PKG_VERSION:=0.6.0-rc1
|
2010-11-04 11:23:33 +00:00
|
|
|
PKG_RELEASE:=3
|
2007-01-08 10:22:39 +00:00
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|
|
|
PKG_SOURCE_URL:=http://code.kryo.se/iodine/
|
2010-08-13 13:21:20 +00:00
|
|
|
PKG_MD5SUM:=a15bb4faba020d217016fde6e231074a
|
2007-01-08 10:22:39 +00:00
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/iodine/Default
|
|
|
|
SECTION:=net
|
|
|
|
CATEGORY:=Network
|
2011-03-12 05:01:14 +00:00
|
|
|
SUBMENU:=Firewall Tunnel
|
2010-11-04 11:23:33 +00:00
|
|
|
DEPENDS:= +kmod-tun +zlib
|
2007-01-08 10:22:39 +00:00
|
|
|
TITLE:=IP over DNS tunneling
|
|
|
|
URL:=http://code.kryo.se/iodine/
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/iodine
|
|
|
|
$(call Package/iodine/Default)
|
|
|
|
TITLE+= client version
|
2007-10-14 04:32:56 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/iodine/description
|
|
|
|
iodine client version
|
2007-01-08 10:22:39 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/iodined
|
|
|
|
$(call Package/iodine/Default)
|
|
|
|
TITLE+= server version
|
2007-10-14 04:32:56 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/iodined/description
|
|
|
|
iodine server version
|
2007-01-08 10:22:39 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Configure
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/iodine/install
|
|
|
|
$(INSTALL_DIR) $(1)/usr/sbin
|
2007-04-08 21:50:05 +00:00
|
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/bin/iodine $(1)/usr/sbin
|
2007-01-08 10:22:39 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/iodined/install
|
2007-09-16 09:53:42 +00:00
|
|
|
$(INSTALL_DIR) $(1)/etc/init.d
|
|
|
|
$(INSTALL_BIN) ./files/iodined.init $(1)/etc/init.d/iodined
|
|
|
|
$(INSTALL_DIR) $(1)/etc/config
|
|
|
|
$(INSTALL_DATA) ./files/iodined.config $(1)/etc/config/iodined
|
2007-01-08 10:22:39 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/sbin
|
2007-04-08 21:50:05 +00:00
|
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/bin/iodined $(1)/usr/sbin
|
2007-01-08 10:22:39 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,iodine))
|
|
|
|
$(eval $(call BuildPackage,iodined))
|