[net] Firewall Tunnel: Move all programs meant to get tunnel trhough restrictive...
[openwrt/svn-archive/archive.git] / net / httptunnel / Makefile
1 #
2 # Copyright (C) 2006 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=httptunnel
11 PKG_VERSION:=3.3
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=ftp://ftp.nocrew.org/pub/nocrew/unix/
16 PKG_MD5SUM:=493cc0f5f21e9955db27ee9cd9a976d5
17
18 include $(INCLUDE_DIR)/package.mk
19
20 define Package/httptunnel
21 SECTION:=net
22 CATEGORY:=Network
23 DEPENDS:=+libopenssl
24 SUBMENU:=Firewall Tunnel
25 TITLE:=bidirectional tunnel in HTTP requests
26 URL:=http://www.nocrew.org/software/httptunnel.html
27 endef
28
29 define Package/httptunnel/description
30 httptunnel creates a bidirectional virtual data connection tunnelled in HTTP requests.
31 The HTTP requests can be sent via an HTTP proxy if so desired.
32 endef
33
34 define Package/httptunnel/install
35 $(INSTALL_DIR) $(1)/usr/sbin
36 $(INSTALL_BIN) $(PKG_BUILD_DIR)/hts $(1)/usr/sbin/
37 $(INSTALL_BIN) $(PKG_BUILD_DIR)/htc $(1)/usr/sbin/
38 $(INSTALL_DIR) $(1)/etc/init.d
39 $(INSTALL_BIN) ./files/httptunnel.init $(1)/etc/init.d/httptunnel
40 $(INSTALL_DIR) $(1)/etc/config
41 $(INSTALL_DATA) ./files/httptunnel.conf $(1)/etc/config/httptunnel
42 endef
43
44 $(eval $(call BuildPackage,httptunnel))