--- ptunnel-0.71.orig/debian/dirs +++ ptunnel-0.71/debian/dirs @@ -0,0 +1,2 @@ +usr/sbin +usr/share/man/man8 --- ptunnel-0.71.orig/debian/docs +++ ptunnel-0.71/debian/docs @@ -0,0 +1,2 @@ +README +web/ --- ptunnel-0.71.orig/debian/control +++ ptunnel-0.71/debian/control @@ -0,0 +1,21 @@ +Source: ptunnel +Section: net +Priority: optional +Maintainer: Romain Beauxis +Build-Depends: cdbs (>= 0.4.53), debhelper (>= 7.0.1), quilt, patchutils (>= 0.2.25), + libpcap0.8-dev | libpcap-dev, libselinux1-dev [!hurd-i386 !kfreebsd-amd64 !kfreebsd-i386] +Standards-Version: 3.8.3 +Homepage: http://www.cs.uit.no/~daniels/PingTunnel/ + +Package: ptunnel +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Tunnel TCP connections over ICMP packets + 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. + . + Those features can be very handy when working in a closed networking + environment with firewalls and proxies. + --- ptunnel-0.71.orig/debian/rules +++ ptunnel-0.71/debian/rules @@ -0,0 +1,12 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/rules/patchsys-quilt.mk +include /usr/share/cdbs/1/class/makefile.mk + +# In order to regenerate 'debian/control' : +# DEB_AUTO_UPDATE_DEBIAN_CONTROL=yes fakeroot debian/rules clean +# Then check manually if everything's ok + +DEB_MAKE_INSTALL_TARGET := install DESTDIR=$(CURDIR)/debian/ptunnel + --- ptunnel-0.71.orig/debian/watch +++ ptunnel-0.71/debian/watch @@ -0,0 +1,13 @@ +# Example watch control file for uscan +# Rename this file to "watch" and then you can run the "uscan" command +# to check for upstream updates and more. +# See uscan(1) for format + +# Compulsory line, this is a version 3 file +version=3 + +# Uncomment to examine a Webserver directory +http://www.cs.uit.no/~daniels/PingTunnel/PingTunnel-(.*)\.tar\.gz + + + --- ptunnel-0.71.orig/debian/changelog +++ ptunnel-0.71/debian/changelog @@ -0,0 +1,45 @@ +ptunnel (0.71-2) unstable; urgency=low + + * Updated build-dep to allow building + in non-linux port. Thanks to Cyril Brulebois + for reporting the issue. + Closes: #559717 + * Bumped standards-version to 3.8.3 + * Added Homepage: + + -- Romain Beauxis Wed, 09 Dec 2009 10:29:11 -0600 + +ptunnel (0.71-1) unstable; urgency=low + + * New upstream release. + * Updated standards to 3.8.2 + * Bumped compat to 7 + * Refreshed patches. + * Added build-dep on libselinux1-dev to enable SELinux support. + + -- Romain Beauxis Thu, 30 Jul 2009 04:57:07 +0200 + +ptunnel (0.70-1) unstable; urgency=low + + * New upstream release + * Updated standards to 3.8.0 + * Reverted build-deps on libpcap + * Updated debian/copyright + + -- Romain Beauxis Wed, 25 Feb 2009 03:06:53 +0100 + +ptunnel (0.61-2) unstable; urgency=low + + * Wrapped description to 70th col (Closes: #325809) + * Switched to cdbs + * Updated debian standards + * Added patch to correct the manual page + + -- Romain Beauxis Sun, 18 Feb 2007 13:39:47 +0100 + +ptunnel (0.61-1) unstable; urgency=low + + * Initial release Closes: #311348 + + -- Romain Beauxis Tue, 31 May 2005 20:49:25 +0200 + --- ptunnel-0.71.orig/debian/compat +++ ptunnel-0.71/debian/compat @@ -0,0 +1 @@ +7 --- ptunnel-0.71.orig/debian/control.in +++ ptunnel-0.71/debian/control.in @@ -0,0 +1,21 @@ +Source: ptunnel +Section: net +Priority: optional +Maintainer: Romain Beauxis +Build-Depends: @cdbs@, + libpcap0.8-dev | libpcap-dev, libselinux1-dev [!hurd-i386 !kfreebsd-amd64 !kfreebsd-i386] +Standards-Version: 3.8.3 +Homepage: http://www.cs.uit.no/~daniels/PingTunnel/ + +Package: ptunnel +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Tunnel TCP connections over ICMP packets + 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. + . + Those features can be very handy when working in a closed networking + environment with firewalls and proxies. + --- ptunnel-0.71.orig/debian/copyright +++ ptunnel-0.71/debian/copyright @@ -0,0 +1,25 @@ +This package was debianized by Romain Beauxis on +Tue, 31 May 2005 20:49:25 +0200. + +It was downloaded from http://www.cs.uit.no/~daniels/PingTunnel/index.html + +Copyright (c) 2004-2009, Daniel Stoedle + +License: + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + + - Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + + - Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + + - Neither the name of the Yellow Lemon Software nor the names of its + contributors may be used to endorse or promote products derived from this + software without specific prior written permission. + +On Debian systems, the complete text of the BSD License can be +found in `/usr/share/common-licenses/BSD'. + --- ptunnel-0.71.orig/debian/patches/fix_minus_chars_in_man.patch +++ ptunnel-0.71/debian/patches/fix_minus_chars_in_man.patch @@ -0,0 +1,71 @@ +Index: PingTunnel/ptunnel.8 +=================================================================== +--- PingTunnel.orig/ptunnel.8 2009-06-22 10:41:21.000000000 +0200 ++++ PingTunnel/ptunnel.8 2009-07-30 05:01:53.000000000 +0200 +@@ -3,7 +3,7 @@ + ptunnel \- tunnel TCP connections over ICMP echo request/reply packets. + .SH SYNOPSIS + .B ptunnel +-\-p proxy_address \-lp listen_port \-da destination_address \-dp dest_port [\-c network_device] [\-v verbosity] [-f file] [-udp] [-syslog] ++\-p proxy_address \-lp listen_port \-da destination_address \-dp dest_port [\-c network_device] [\-v verbosity] [\-f file] [\-udp] [\-syslog] + + .B ptunnel + [\-c network_device] [\-v verbosity] [\-f file] [\-udp] [\-syslog] [\-daemon file] +@@ -39,13 +39,13 @@ + Specify the network interface to capture packets from. Note that packet capturing isn't always necessary, but you should try this if you experience problems with ptunnel. + .TP + .B \-v verbosity +-Controls the verbosity level. -1 is no output, 0 shows errors only, 1 shows info messages, 2 gives more output, 3 provides even more output, level 4 displays debug info and level 5 displays absolutely everything, including the nasty details of sends and receives. ++Controls the verbosity level. \-1 is no output, 0 shows errors only, 1 shows info messages, 2 gives more output, 3 provides even more output, level 4 displays debug info and level 5 displays absolutely everything, including the nasty details of sends and receives. + .TP + .B \-udp +-Enables tunneling over UDP port 53 (DNS) instead of using ICMP. This will only work if your proxy can accept incoming traffic on port 53, and the client is able to send data to the proxy on port 53. Note that this option does not wrap ptunnel's data in DNS-compliant packets. This option must be given on both the proxy and client side for things to work correctly. ++Enables tunneling over UDP port 53 (DNS) instead of using ICMP. This will only work if your proxy can accept incoming traffic on port 53, and the client is able to send data to the proxy on port 53. Note that this option does not wrap ptunnel's data in DNS\-compliant packets. This option must be given on both the proxy and client side for things to work correctly. + .TP + .B \-syslog (Not available on Windows.) +-Changes logging to use the built-in syslog fascility. ++Changes logging to use the built\-in syslog fascility. + .TP + .B \-daemon file (Not available on Windows.) + Run in background, writing PID in file. +@@ -64,13 +64,13 @@ + .TP + .B \-setcon context (Not available on Windows.) + Set SELinux context when all there is left to do are network I/O operations. +-In order to be able to combine with -chroot you will have to `mount --bind /proc /chrootdir/proc` ++In order to be able to combine with \-chroot you will have to `mount \-\-bind /proc /chrootdir/proc` + .TP + .B \-x password + Specifies a password or passphrase to use. This will allow you to protect the proxy from use by others who don't know the password. It needs to be specified on both proxy and client. + .TP + .B \-f file +-Specifies a log file. If you specify -syslog, syslog is always used instead. ++Specifies a log file. If you specify \-syslog, syslog is always used instead. + .TP + .B \-h + Displays brief usage information. +@@ -84,19 +84,19 @@ + .TP + .B ssh \-p 8000 localhost + .PP +-If ssh complains about potential man-in-the-middle attacks, simply remove the offending key from the known_hosts file. The warning/error is expected if you have previously ssh'd to your local computer (i.e., ssh localhost), or you have used ptunnel to forward ssh connections to different hosts. ++If ssh complains about potential man\-in\-the\-middle attacks, simply remove the offending key from the known_hosts file. The warning/error is expected if you have previously ssh'd to your local computer (i.e., ssh localhost), or you have used ptunnel to forward ssh connections to different hosts. + +-Of course, for all of this to work, you need to start the proxy on your proxy-computer (proxy.pingtunnel.com). Doing this is very simple: ++Of course, for all of this to work, you need to start the proxy on your proxy\-computer (proxy.pingtunnel.com). Doing this is very simple: + + .B ptunnel + +-If you find that the proxy isn't working, you will need to enable packet capturing on the main network device. Currently this device is assumed to be an ethernet-device (i.e., ethernet or wireless). Packet capturing is enabled by giving the -c switch, and supplying the device name to capture packets on (for instance eth0 or en1). The same goes for the client. On Mac OS X, packet capturing must always be enabled (both for proxy and client), as resent packets won't be received otherwise. ++If you find that the proxy isn't working, you will need to enable packet capturing on the main network device. Currently this device is assumed to be an ethernet\-device (i.e., ethernet or wireless). Packet capturing is enabled by giving the \-c switch, and supplying the device name to capture packets on (for instance eth0 or en1). The same goes for the client. On Mac OS X, packet capturing must always be enabled (both for proxy and client), as resent packets won't be received otherwise. + +-To protect yourself from others using your proxy, you can protect access to it with a password using the -x switch. The password is never sent in the clear, but keep in mind that it may be visible from tools like top or ps, which can display the command line used to start an application. ++To protect yourself from others using your proxy, you can protect access to it with a password using the \-x switch. The password is never sent in the clear, but keep in mind that it may be visible from tools like top or ps, which can display the command line used to start an application. + + .SH EXIT STATUS + .B ptunnel +-does not exit until forced to do so by an interrupt (Ctrl-C) or if it crashes. ++does not exit until forced to do so by an interrupt (Ctrl\-C) or if it crashes. + .SH BUGS + .B ptunnel + currently does not handle packet capturing on network interfaces other than ethernet or wireless correctly. --- ptunnel-0.71.orig/debian/patches/makefile-debian-prefix +++ ptunnel-0.71/debian/patches/makefile-debian-prefix @@ -0,0 +1,15 @@ +Index: PingTunnel/Makefile +=================================================================== +--- PingTunnel.orig/Makefile 2009-07-30 05:00:10.000000000 +0200 ++++ PingTunnel/Makefile 2009-07-30 05:00:22.000000000 +0200 +@@ -12,8 +12,8 @@ + WIN32_LDOPTS = -lwpcap -lwsock32 -L"c:\Program Files\WpdPack\Lib" + WIN32_PT_OBJS = ptunnel.obj md5.obj + +-prefix = /usr +-bindir = $(prefix)/bin ++prefix = $(DESTDIR)/usr ++bindir = $(prefix)/sbin + mandir = $(prefix)/share/man/man8 + + all: ptunnel --- ptunnel-0.71.orig/debian/patches/series +++ ptunnel-0.71/debian/patches/series @@ -0,0 +1,2 @@ +makefile-debian-prefix +fix_minus_chars_in_man.patch