summaryrefslogtreecommitdiff
path: root/package/ptunnel
diff options
context:
space:
mode:
authorwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
committerwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
commit219a6dab8995aad9ac4860cc1a84d6f3509a03a4 (patch)
treeb9c0f3c43aebba2fcfef777592d0add39f2072f4 /package/ptunnel
Initial import
Diffstat (limited to 'package/ptunnel')
-rw-r--r--package/ptunnel/Config.in14
-rw-r--r--package/ptunnel/Makefile29
-rw-r--r--package/ptunnel/ipkg/ptunnel.control5
3 files changed, 48 insertions, 0 deletions
diff --git a/package/ptunnel/Config.in b/package/ptunnel/Config.in
new file mode 100644
index 000000000..0b714af2e
--- /dev/null
+++ b/package/ptunnel/Config.in
@@ -0,0 +1,14 @@
+config ADK_PACKAGE_PTUNNEL
+ prompt "ptunnel........................... Tunnel TCP connections over ICMP packets"
+ tristate
+ default n
+ select ADK_PACKAGE_LIBPCAP
+ select ADK_PACKAGE_LIBPTHREAD
+ help
+ ptunnel is an application that allows you to reliably tunnel TCP connections to
+ a remote host using ICMP echo request and reply packets, commonly known as ping
+ requests and replies. It acts as a proxy and can handle sockets and secured
+ identification.
+
+ http://www.cs.uit.no/~daniels/PingTunnel/
+
diff --git a/package/ptunnel/Makefile b/package/ptunnel/Makefile
new file mode 100644
index 000000000..db1a83347
--- /dev/null
+++ b/package/ptunnel/Makefile
@@ -0,0 +1,29 @@
+# $Id$
+#-
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include ${TOPDIR}/rules.mk
+
+PKG_NAME:= ptunnel
+PKG_VERSION:= 0.61
+PKG_RELEASE:= 1
+PKG_MD5SUM:= b45f73875f2af48f101816672f83a5fe
+MASTER_SITES:= http://www.cti.ecp.fr/~beauxir5/ptunnel/
+
+include ${TOPDIR}/mk/package.mk
+
+$(eval $(call PKG_template,PTUNNEL,ptunnel,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
+
+CONFIGURE_STYLE:= gnu
+CONFIGURE_ENV+= BUILD_CC="${TARGET_CC}" \
+ ac_cv_linux_vers=2 \
+ td_cv_buggygetaddrinfo="no"
+BUILD_STYLE:= auto
+INSTALL_STYLE:= auto
+
+post-install:
+ ${INSTALL_DIR} ${IDIR_PTUNNEL}/usr/sbin
+ ${INSTALL_BIN} ${WRKINST}/usr/sbin/ptunnel ${IDIR_PTUNNEL}/usr/sbin/
+
+include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/ptunnel/ipkg/ptunnel.control b/package/ptunnel/ipkg/ptunnel.control
new file mode 100644
index 000000000..0020f1377
--- /dev/null
+++ b/package/ptunnel/ipkg/ptunnel.control
@@ -0,0 +1,5 @@
+Package: ptunnel
+Priority: optional
+Section: net
+Description: Tunnel TCP connections over ICMP packets
+Depends: libpcap, libpthread