--- dircproxy-1.0.5.orig/debian/dirs
+++ dircproxy-1.0.5/debian/dirs
@@ -0,0 +1,2 @@
+usr/bin
+usr/share/doc
--- dircproxy-1.0.5.orig/debian/copyright
+++ dircproxy-1.0.5/debian/copyright
@@ -0,0 +1,27 @@
+This is the Debian GNU/Linux prepackaged version of dircproxy.
+dircproxy was written by Scott James Remnant <scott@netsplit.com>
+
+The dircproxy package was originally made by Peter Novodvorsky
+<nidd@debian.org>, then by Scott James Remnant <scott@netsplit.com>
+
+Development of dircproxy seems to live on at
+http://dircproxy.securiweb.net/
+
+Copyright:
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
+On Debian GNU/Linux systems, the complete text of the GNU General Public
+License can be found in `/usr/share/common-licenses/GPL'.
--- dircproxy-1.0.5.orig/debian/examples
+++ dircproxy-1.0.5/debian/examples
@@ -0,0 +1,5 @@
+conf/dircproxyrc
+contrib/README
+contrib/log.pl
+contrib/privmsg-log.pl
+contrib/cronchk.sh
--- dircproxy-1.0.5.orig/debian/control
+++ dircproxy-1.0.5/debian/control
@@ -0,0 +1,23 @@
+Source: dircproxy
+Section: net
+Priority: optional
+Maintainer: Alex Pennace <alex@pennace.org>
+Build-Depends: debhelper (>= 4.0.2)
+Standards-Version: 3.5.7
+
+Package: dircproxy
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: IRC proxy for people who use IRC from different workstations
+ dircproxy is an IRC proxy server designed for people who use
+ IRC from lots of different workstations or clients, but wish to
+ remain connected and see what they missed while they were away.
+ You connect to IRC through dircproxy, and it keeps you connected
+ to the server, even after you detach your client from it.
+ While you're detached, it logs channel and private messages
+ as well as important events, and when you re-attach it'll let
+ you know what you missed.
+ .
+ This can be used to give you roughly the same functionality as
+ using ircII and screen together, except you can use whatever
+ IRC client you like, including X ones!
--- dircproxy-1.0.5.orig/debian/changelog
+++ dircproxy-1.0.5/debian/changelog
@@ -0,0 +1,105 @@
+dircproxy (1.0.5-5.1) unstable; urgency=high
+
+ * Non-maintainer upload by the testing-security team
+ * Backport upstream patch to fix a NULL pointer reference, which
+ can lead to a DoS (Closes: #445883)
+ Fixes: CVE-2007-5226
+
+ -- Steffen Joeris <white@debian.org> Tue, 09 Oct 2007 07:36:49 +0000
+
+dircproxy (1.0.5-5) unstable; urgency=low
+
+ * Dropped stale dircproxy.net references from README. Thanks, Steen
+ Eugen Poulsen (Closes: #276611, 274322).
+
+ -- Alex Pennace <alex@pennace.org> Sun, 25 Dec 2005 23:31:37 -0500
+
+dircproxy (1.0.5-4) unstable; urgency=low
+
+ * Thanks, Roger Leigh.
+ * Recent config.guess and config.sub to support Debian
+ GNU/k*BSD. Thanks, Aurelien Jarno (closes: #320368).
+
+ -- Alex Pennace <alex@pennace.org> Sun, 31 Jul 2005 19:42:06 -0400
+
+dircproxy (1.0.5-3.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Apply patch from Andreas Jochens to fix build failure with GCC
+ 4.0 due to invalid lvalues (Closes: #285626).
+ * debian/control: Use a versioned build-dependency on debhelper.
+ * debian/rules: Use debhelper version 4 compatibility mode.
+
+ -- Roger Leigh <rleigh@debian.org> Thu, 21 Jul 2005 22:09:53 +0100
+
+dircproxy (1.0.5-3) unstable; urgency=low
+
+ * New maintainer. (Closes: Bug#208586)
+ * Updated copyright.
+ * Updated FAQ.
+
+ -- Alex Pennace <alex@pennace.org> Sat, 10 Jul 2004 22:27:06 -0400
+
+dircproxy (1.0.5-2) unstable; urgency=low
+
+ * Changed Maintainer to Debian QA Group <packages@qa.debian.org>.
+
+ -- Scott James Remnant <scott@netsplit.com> Wed, 3 Sep 2003 20:22:20 +0100
+
+dircproxy (1.0.5-1) unstable; urgency=medium
+
+ * New upstream release
+
+ -- Scott James Remnant <scott@netsplit.com> Thu, 21 Nov 2002 14:35:05 +0000
+
+dircproxy (1.0.4-1) unstable; urgency=low
+
+ * New upstream release. Closes: #98322. (I think, anyway :)
+
+ -- Scott James Remnant <scott@netsplit.com> Mon, 9 Sep 2002 13:55:24 +0100
+
+dircproxy (1.0.3-1) unstable; urgency=low
+
+ * New upstream release. Closes: #90526.
+
+ -- Scott James Remnant <scott@netsplit.com> Fri, 8 Feb 2002 18:27:15 +0000
+
+dircproxy (1.0.2-1) unstable; urgency=low
+
+ * New upstream release. Closes: #96275, #108970, #107893.
+
+ -- Scott James Remnant <scott@netsplit.com> Tue, 1 Jan 2002 19:03:21 +0000
+
+dircproxy (1.0.1-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Scott James Remnant <scott@netsplit.com> Sat, 10 Nov 2001 22:34:02 +0000
+
+dircproxy (1.0.0-1) unstable; urgency=low
+
+ * New upstream version.
+ * Changed bug with rc file. Now in /etc/dircproxy.conf.
+
+ -- Peter Novodvorsky <nidd@debian.org> Fri, 12 Jan 2001 16:34:17 +0300
+
+dircproxy (0.99.0-1) unstable; urgency=low
+
+ * New upstream version.
+
+ -- Peter Novodvorsky <nidd@debian.org> Thu, 11 Jan 2001 02:32:58 +0300
+
+dircproxy (0.8.4-1) unstable; urgency=low
+
+ * New upstream version.
+ * Moved /usr/share/dircproxy stuff to examples. /usr/share/dircproxy
+ removed.
+
+ -- Peter Novodvorsky <nidd@debian.org> Fri, 8 Dec 2000 17:20:20 +0300
+
+dircproxy (0.8.3-1) unstable; urgency=low
+
+ * Initial Release. (Closes: Bug#78026)
+
+ -- Peter Novodvorsky <nidd@debian.org> Sun, 26 Nov 2000 11:52:55 +0300
+
--- dircproxy-1.0.5.orig/debian/rules
+++ dircproxy-1.0.5/debian/rules
@@ -0,0 +1,84 @@
+#!/usr/bin/make -f
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# This is the debhelper compatability version to use.
+export DH_COMPAT=4
+
+configure: configure-stamp
+configure-stamp:
+ dh_testdir
+ # Add here commands to configure the package.
+ ./configure --prefix=/usr --sysconfdir=/etc --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info
+
+ touch configure-stamp
+
+build: configure-stamp build-stamp
+build-stamp:
+ dh_testdir
+
+ # Add here commands to compile the package.
+ $(MAKE)
+ #/usr/bin/docbook-to-man debian/dircproxy.sgml > dircproxy.1
+
+ touch build-stamp
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp configure-stamp
+
+ # Add here commands to clean up after the build process.
+ -$(MAKE) distclean
+
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+
+ # Add here commands to install the package into debian/tmp.
+ $(MAKE) install "prefix=`pwd`/debian/dircproxy/usr"
+ rm -rf debian/dircproxy/usr/share/dircproxy
+
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+# dh_testversion
+ dh_testdir
+ dh_testroot
+# dh_installdebconf
+ dh_installdocs
+ dh_installexamples
+ dh_installmenu
+# dh_installemacsen
+# dh_installpam
+# dh_installinit
+ dh_installcron
+ dh_installmanpages
+ dh_installinfo
+# dh_undocumented
+ dh_installchangelogs ChangeLog
+ dh_link
+ dh_strip
+ dh_compress
+ dh_fixperms
+# dh_makeshlibs
+ dh_installdeb
+# dh_perl
+ dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure
--- dircproxy-1.0.5.orig/debian/docs
+++ dircproxy-1.0.5/debian/docs
@@ -0,0 +1,5 @@
+FAQ
+NEWS
+README
+README.dcc-via-ssh
+README.inetd