--- tcpwatch-httpproxy-1.3b.orig/debian/watch
+++ tcpwatch-httpproxy-1.3b/debian/watch
@@ -0,0 +1,25 @@
+# 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 Webpage 
+# <Webpage URL> <string match>
+http://hathawaymix.org/Software/TCPWatch tcpwatch-([0-9]\.[0-9]+)\.tar\.gz
+
+#http://www.example.com/downloads.php tcpwatch-(.*)\.tar\.gz
+
+# http://hathawaymix.org/Software/TCPWatch/tcpwatch-1.3.tar.gz
+# Uncomment to examine a Webserver directory
+#http://www.example.com/pub/tcpwatch-(.*)\.tar\.gz
+
+# Uncommment to examine a FTP server
+#ftp://ftp.example.com/pub/tcpwatch-(.*)\.tar\.gz debian uupdate
+
+# Uncomment to find new files on sourceforge, for debscripts >= 2.9
+# http://sf.net/tcpwatch/tcpwatch-(.*)\.tar\.gz
+
+
--- tcpwatch-httpproxy-1.3b.orig/debian/rules
+++ tcpwatch-httpproxy-1.3b/debian/rules
@@ -0,0 +1,58 @@
+#!/usr/bin/make -f
+
+
+PACKAGE=tcpwatch-httpproxy
+
+export DH_VERBOSE=1
+
+UPSTREAM_TARBALL=tcpwatch-1.3.tar.gz
+DEB_TARBALL=tcpwatch-httpproxy-1.3.orig.tar.gz
+UPSTREAM_DIR=tcpwatch
+
+
+BUILD_DIR=build-tree
+I_DIR=debian/$(PACKAGE)/usr
+
+clean:
+	echo -n "I'm in "; pwd
+	rm -fr $(BUILD_DIR)
+	dh_clean unpack-stamp
+
+
+
+
+build: clean unpack
+	install -m 755 $(BUILD_DIR)/$(UPSTREAM_DIR)/tcpwatch.py $(I_DIR)/bin/tcpwatch-httpproxy
+	install -m 644 $(BUILD_DIR)/$(UPSTREAM_DIR)/CHANGES.txt $(I_DIR)/share/doc/$(PACKAGE)/changelog
+	install -m 644 debian/copyright $(I_DIR)/share/doc/$(PACKAGE)
+	#install -m 644 debian/changelog $(I_DIR)/share/doc/$(PACKAGE)/changelog.Debian
+	# gzip -9 $(I_DIR)/share/doc/$(PACKAGE)/changelog $(I_DIR)/share/doc/$(PACKAGE)/changelog.Debian
+	gzip -9 $(I_DIR)/share/doc/$(PACKAGE)/changelog
+	dh_installman debian/*.1
+
+unpack: unpack-stamp
+	install -m 755 -d $(BUILD_DIR) $(I_DIR)/bin $(I_DIR)/share/doc/$(PACKAGE) $(I_DIR)/share/man
+	tar xzf $(UPSTREAM_TARBALL) -C $(BUILD_DIR)
+
+
+#rename-it:
+#	cp -a $(DEB_SRCDIR)/$(UPSTREAM_TARBALL) ../tcpwatch-httpproxy_1.3.orig.tar.gz
+
+
+unpack-stamp:
+	touch $@
+
+binary-arch: binary-indep
+
+binary-indep: binary
+
+binary:
+	dh_installchangelogs
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+.PHONY: build clean binary
--- tcpwatch-httpproxy-1.3b.orig/debian/control
+++ tcpwatch-httpproxy-1.3b/debian/control
@@ -0,0 +1,18 @@
+Source: tcpwatch-httpproxy
+Section: net
+Priority: extra
+Maintainer: Toni Mueller <toni@debian.org>
+Build-Depends: python, cdbs, debhelper (>= 5)
+XS-Python-Version: 2.4, 2.5
+Standards-Version: 3.8.0
+
+Package: tcpwatch-httpproxy
+Architecture: all
+Depends: python, python-tk
+Recommends: funkload
+XB-Python-Version: ${python:Versions}
+Description: TCP monitoring and logging tool with support for HTTP 1.1
+ This program allows recording of HTTP sessions by being used as
+ a proxy server. It writes out the requests you send to a file.
+ Its recommended usage is as a plugin to funkload.
+ .
--- tcpwatch-httpproxy-1.3b.orig/debian/dirs
+++ tcpwatch-httpproxy-1.3b/debian/dirs
@@ -0,0 +1 @@
+usr/bin
--- tcpwatch-httpproxy-1.3b.orig/debian/changelog
+++ tcpwatch-httpproxy-1.3b/debian/changelog
@@ -0,0 +1,36 @@
+tcpwatch-httpproxy (1.3b-3) unstable; urgency=low
+
+  * standards upgrade
+
+ -- Toni Mueller <toni@debian.org>  Tue, 15 Jul 2008 13:29:52 +0200
+
+tcpwatch-httpproxy (1.3b-2) unstable; urgency=low
+
+  * added dependency on python-tk (Closes: #464889)
+
+ -- Toni Mueller <toni@debian.org>  Sun, 10 Feb 2008 16:09:40 +0100
+
+tcpwatch-httpproxy (1.3b-1) unstable; urgency=low
+
+  * this is a non-native package
+
+ -- Toni Mueller <toni@debian.org>  Thu,  3 Jan 2008 23:59:34 +0100
+
+tcpwatch-httpproxy (1.3a-1) unstable; urgency=low
+
+  * correct packaging error
+
+ -- Toni Mueller <toni@debian.org>  Thu,  3 Jan 2008 23:38:52 +0100
+
+tcpwatch-httpproxy (1.3-2) unstable; urgency=low
+
+  * cleaned up packaging (closes: #458721)
+
+ -- Toni Mueller <toni@debian.org>  Wed,  2 Jan 2008 22:12:26 +0100
+
+tcpwatch-httpproxy (1.3-1) unstable; urgency=low
+
+  * Initial package (closes: #456782).
+
+ -- Toni Mueller <toni@debian.org>  Mon, 17 Dec 2007 23:05:32 +0100
+
--- tcpwatch-httpproxy-1.3b.orig/debian/tcpwatch-httpproxy.1
+++ tcpwatch-httpproxy-1.3b/debian/tcpwatch-httpproxy.1
@@ -0,0 +1,51 @@
+.\"                                      Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH TCPWATCH-HTTPPROXY 1 "December 22, 2007"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh        disable hyphenation
+.\" .hy        enable hyphenation
+.\" .ad l      left justify
+.\" .ad b      justify to both left and right margins
+.\" .nf        disable filling
+.\" .fi        enable filling
+.\" .br        insert line break
+.\" .sp <n>    insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+tcpwatch-httpproxy \- program to record your HTTP request
+.SH SYNOPSIS
+.B tcpwatch-httpproxy
+.RI [ -L listen_port:dest_port ]
+.RI [ -L listen_port:dest_hostname:dest_port ]
+.RI [ -L listen_port:listen_host:dest_hostname:dest_port ]
+.SH DESCRIPTION
+This manual page documents briefly the
+.B tcpwatch-httpproxy
+command.
+.PP
+.\" TeX users may be more comfortable with the \fB<whatever>\fP and
+.\" \fI<whatever>\fP escape sequences to invode bold face and italics, 
+.\" respectively.
+\fBtcpwatch-httpproxy\fP is a program that allows you to record HTTP request for later replay
+.SH OPTIONS
+.TP
+.B \-\-help
+show a summary about options and commands
+.TP
+.B \-L
+set up a proxy process that you can attach your browser to. See above for arguments.
+.TP
+.B \-v, \-\-version
+Show version of program.
+.SH SEE ALSO
+.BR funkload (1),
+.br
+.SH AUTHOR
+tcpwatch-httpproxy was written by Shane Hathaway, but under the name 'tcpwatch'.
+.PP
+This manual page was written by Toni Mueller <toni@debian.org>,
+for the Debian project (but may be used by others).
--- tcpwatch-httpproxy-1.3b.orig/debian/README.Debian
+++ tcpwatch-httpproxy-1.3b/debian/README.Debian
@@ -0,0 +1,7 @@
+
+Upstream distributes this program in a tarball by the name
+'tcpwatch', which contains a script named 'tcpwatch.py'.
+Because this naming met some resistance on debian-devel@,
+I chose to rename the program to more accurately reflect
+how it works.
+
--- tcpwatch-httpproxy-1.3b.orig/debian/compat
+++ tcpwatch-httpproxy-1.3b/debian/compat
@@ -0,0 +1 @@
+5
--- tcpwatch-httpproxy-1.3b.orig/debian/pycompat
+++ tcpwatch-httpproxy-1.3b/debian/pycompat
@@ -0,0 +1 @@
+2
--- tcpwatch-httpproxy-1.3b.orig/debian/copyright
+++ tcpwatch-httpproxy-1.3b/debian/copyright
@@ -0,0 +1,86 @@
+This package was debianized by Toni Mueller <toni@debian.org> on
+Thu, 13 Dec 2007 12:54:58 +0100.
+
+It was downloaded from http://hathawaymix.org/Software/TCPWatch/
+
+Upstream Author: Shane Hathaway <shane@hathawaymix.org>
+
+Copyright: Shane Hathaway 2004
+
+Released: 16 June 2004
+
+License (as quoted from the website):
+
+TCPWatch is licensed under ZPL 2.0 and requires Python 2.1 or later.
+
+The full license text appears below, at the end of this file, and is taken from
+this web page:
+
+http://opensource.org/licenses/zpl.php
+
+
+The Debian packaging is (C) 2007, Toni Mueller <toni@debian.org> and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
+
+
+
+
+Zope Public License (ZPL) Version 2.0
+-----------------------------------------------
+
+This software is Copyright (c) Zope Corporation (tm) and
+Contributors. All rights reserved.
+
+This license has been certified as open source. It has also
+been designated as GPL compatible by the Free Software
+Foundation (FSF).
+
+Redistribution and use in source and binary forms, with or
+without modification, are permitted provided that the
+following conditions are met:
+
+1. Redistributions in source code must retain the above
+   copyright notice, this list of conditions, and the following
+   disclaimer.
+
+2. 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.
+
+3. The name Zope Corporation (tm) must not be used to
+   endorse or promote products derived from this software
+   without prior written permission from Zope Corporation.
+
+4. The right to distribute this software or to use it for
+   any purpose does not give you the right to use Servicemarks
+   (sm) or Trademarks (tm) of Zope Corporation. Use of them is
+   covered in a separate agreement (see
+   http://www.zope.com/Marks).
+
+5. If any files are modified, you must cause the modified
+   files to carry prominent notices stating that you changed
+   the files and the date of any change.
+
+Disclaimer
+
+  THIS SOFTWARE IS PROVIDED BY ZOPE CORPORATION ``AS IS''
+  AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT
+  NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
+  AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN
+  NO EVENT SHALL ZOPE CORPORATION OR ITS CONTRIBUTORS BE
+  LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+  EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+  LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+  HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+  CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
+  OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+  SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
+  DAMAGE.
+
+
+This software consists of contributions made by Zope
+Corporation and many individuals on behalf of Zope
+Corporation.  Specific attributions are listed in the
+accompanying credits file.
