--- bnetd-0.4.25.orig/debian/postinst
+++ bnetd-0.4.25/debian/postinst
@@ -0,0 +1,28 @@
+#!/bin/sh
+
+set -e
+
+case "$1" in
+    configure|abort-upgrade|abort-remove|abort-deconfigure)
+        # continue below
+    ;;
+    *)
+        echo "postinst called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+for dir in /var/lib/bnetd/player /var/lib/bnetd/reports /var/lib/bnetd/chanlogs /var/run/bnetd; do
+	chown games $dir
+done
+
+# postrms prior to 0.4.25-3 had a bug which created an empty
+# /etc/bnetd/users directory, which we don't need.
+if [ -d /etc/bnetd/users ]; then
+	rmdir --ignore-fail-on-non-empty /etc/bnetd/users
+fi
+
+#DEBHELPER#
+
+exit 0
+
--- bnetd-0.4.25.orig/debian/copyright
+++ bnetd-0.4.25/debian/copyright
@@ -0,0 +1,34 @@
+This is the Debian GNU/Linux packaged version of BNETD version 0.4.18.
+
+The developers of this software are :
+  Mark Baysinger <mbaysing@ucsd.edu>
+  Ross Combs <rocombs@cs.nmsu.edu>
+  Rob Crittenden <rcrit@greyoak.com>
+  Descolada <dyn1-tnt9-237.chicago.il.ameritech.net>
+  Gediminas <gediminas_lt@mailexcite.com>
+  Damien Clermonte <clermond@esiee.fr>
+  Moreaus Denis
+
+It was put together by Raphael Bossek <bossekr@debian.org> 
+from the following sources:
+
+  <http://www.bnetd.org/files/bnetd-0.4.18.tar.gz>
+
+Changes:
+  * Added Debian GNU/Linux packaging files.
+  * Changed the directories for Debian.
+  * Added Debian GNU/Linux banner.
+
+BNETD is distributed under the terms of the GNU General Public License.
+
+On Debian systems, the complete text of the GNU General Public License
+can be found in `/usr/share/common-licenses/GPL'.
+
+Other legal notices:
+
+  Battle.net, Diablo, Starcraft, Brood War, Warcraft, and Blizzard
+  Entertainment are trademarks or registered trademarks of Blizzard
+  Entertainment in the U.S. and/or other countries. All rights reserved.
+
+  Neither this program nor the bnetd project are in any way affiliated with
+  Blizzard Entertainment.
--- bnetd-0.4.25.orig/debian/prerm
+++ bnetd-0.4.25/debian/prerm
@@ -0,0 +1,44 @@
+#!/bin/sh
+
+set -e
+
+case "$1" in
+    upgrade|remove|failed-upgrade|deconfigure)
+    ;;
+    *)
+        echo "prerm called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+if [ \( "$1" = "upgrade" -o "$1" = "remove" \) -a -L /usr/doc/bnetd ]; then
+	rm -f /usr/doc/bnetd
+fi
+
+# If the previous bnetd configuration was buggy, the init script called by
+# the debhelper code may not be able to stop the bnetd daemon.
+# To catch this, we ignore shell failures while running the devhelper code
+# and look at its exit status.
+
+set +e
+
+#DEBHELPER#
+
+# If devhelper code didn't work, kill bnetd using cruder methods
+if [ $? -ne 0 ]; then
+	BNETD_PS_REGEX='[0-9]:[0-9][0-9] /usr/sbin/bnetd$'
+	if ps ax | grep -q "$BNETD_PS_REGEX"; then
+		echo -n 'Sending TERM signal to bnetd ... '
+		kill `ps ax | grep "$BNETD_PS_REGEX" | cut -c1-6`
+		echo 'done.'
+	fi
+	sleep 2
+	if ps ax | grep -q "$BNETD_PS_REGEX"; then
+		echo -n 'Sending KILL signal to bnetd ... '
+		kill -9 `ps ax | grep "$BNETD_PS_REGEX" | cut -c1-6`
+		echo 'done.'
+	fi
+fi
+
+exit 0
+
--- bnetd-0.4.25.orig/debian/changelog
+++ bnetd-0.4.25/debian/changelog
@@ -0,0 +1,197 @@
+bnetd (0.4.25-8) unstable; urgency=low
+
+  * Removed bashism in init.d script (Closes: #464496)
+  * Addded LSB formatted dependency info in init.d script (Closes:
+    #469121)
+
+ -- Dennis L. Clark <dbugger@debian.org>  Mon,  3 Mar 2008 21:17:01 -0500
+
+bnetd (0.4.25-7) unstable; urgency=low
+
+  * Don't force stripping of executables before calling dh_strip
+    (Closes: #436598).
+
+ -- Dennis L. Clark <dbugger@debian.org>  Tue, 28 Aug 2007 05:04:27 -0400
+
+bnetd (0.4.25-6) unstable; urgency=low
+
+  * Update config.guess and config.sub on debian/rules clean (Closes: #342394).
+
+ -- Dennis L. Clark <dbugger@debian.org>  Mon,  6 Feb 2006 22:29:27 -0500
+
+bnetd (0.4.25-5) unstable; urgency=low
+
+  * Updated documentation on the status of the bnetd project, and removed
+    all references to the www.bnetd.org web site (Closes: #254584).
+
+ -- Dennis L. Clark <dbugger@debian.org>  Sat, 31 Jul 2004 22:04:26 -0400
+
+bnetd (0.4.25-4) unstable; urgency=low
+
+  * Included some more docs, such as the bnetd FAQ.
+  * Changed some optional configuration files from conffiles to examples.
+  * Upgraded debhelper to V4 compatibility mode.
+  * Changed init script so that 'restart' works when bnetd isn't running.
+  * Conforms to Debian policy 3.6.1.0.
+
+ -- Dennis L. Clark <dbugger@debian.org>  Sat, 25 Oct 2003 17:35:13 -0400
+
+bnetd (0.4.25-3) unstable; urgency=low
+
+  * Fixed multiline string literals so that package could be built with
+    gcc 3.3.  (Closes: #195221).
+  * Tweaked debian/rules to stop (sooner) on build failure.
+  * Fixed some incorrect paths in bnetd.conf.
+  * Postinst now changes the ownership of some of bnetd's directories so that
+    bnetd can create and delete files in them.
+  * Turned on the pidfile option in bnetd.conf so the pid file can be used
+    to stop bnetd, and put the pid file in its own directory.
+  * Included chat online help file.
+  * Included some missing configuration files (bnissue.txt, bnban, gametrans).
+  * Made the terms of service files (tos_*.txt) conffiles and put them
+    in /etc/bnetd, with symlinks to them from /usr/share/bnetd.
+  * Updated text in various places to be more respectful of Blizzard
+    Entertainment's trademarks, particulary Battle.net(R).
+  * Upgraded from dh_installmanpages to dh_installman, removed useless
+    manpages, and moved the bnetd and bnproxy manpages to section 8.
+  * Modified the text in the Debian bnetd ad banner, and included an entry
+    for it in the ad banner list.  Removed the default.pcx symlink as it isn't
+    a valid ad banner filename.
+  * Fixed the wrong version numbers used in some of the maintenance scripts.
+  * Added 'set -e' to maintenance scripts.
+  * The prerm script now explicitly kills bnetd if the init script didn't
+    work.
+
+ -- Dennis L. Clark <dbugger@debian.org>  Sun, 13 Jul 2003 15:10:22 -0400
+
+bnetd (0.4.25-2) unstable; urgency=low
+
+  * New Maintainer (Closes: #123479).
+
+ -- Dennis L. Clark <dbugger@debian.org>  Sat, 12 Apr 2003 23:23:27 -0400
+
+bnetd (0.4.25-1) unstable; urgency=low
+
+  * Maintainer set to QA group.
+  * Policy updated to 3.5.8.
+  * deb scripts normalized for a correct debhelper use.
+  * removed /usr/doc linking in postinst.
+  * Lintian clean.
+
+    According to SlashDot this project is no more active.
+    http://slashdot.org/articles/02/02/21/0136256.shtml?tid=127
+
+ -- Francesco Paolo Lovergine <frankie@debian.org>  Mon, 13 Jan 2003 14:06:28 +0100
+
+bnetd (0.4.25-0.2) unstable; urgency=medium
+
+  * Non-Maintainer Upload.
+  * Applied patch from Randolph Chung to fix build errors in 64-bit
+    architectures (closes: #136705). Thanks tausq!
+  * Updated config.{guess,sub}.
+
+ -- Jordi Mallach <jordi@debian.org>  Mon,  4 Mar 2002 14:18:21 +0100
+
+bnetd (0.4.25-0.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * New upstream release. (Closes: #134494)
+  * Running the daemon as games. (part of #76749, needs chroot)
+  * Removed obsolete dh_suidregister from debian/rules.
+  * Above fixes by Robert Millan <zeratul2@wanadoo.es>.
+  * Install symlinks for manpages. (Closes: #99533)
+  * Users in the USA should read #134984 and do something about it...
+
+ -- Jordi Mallach <jordi@debian.org>  Thu, 21 Feb 2002 13:03:20 +0100
+
+bnetd (0.4.19-1.3) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Mark /etc/bnetd/{bnetd.reg,news.txt} as conffiles (closes: #132155).
+
+ -- Colin Watson <cjwatson@debian.org>  Fri,  8 Feb 2002 01:12:25 +0000
+
+bnetd (0.4.19-1.2) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * debian/control (Build-Depends): add sharutils, closes: #98897.
+
+ -- James Troup <james@nocrew.org>  Sun,  1 Jul 2001 16:24:18 +0100
+
+bnetd (0.4.19-1.1) unstable; urgency=low
+
+  * Non-maintainer upload
+  * Fixed typo in bnetd.conf (Closes: Bug#62449)
+  * Added build-depends (Closes: Bug#70363)
+  * Changed default userdir and reportdir to comply with the FHS
+  (Closes: Bug#81883)
+
+ -- Gergely Nagy <8@free.bsd.hu>  Sun, 15 Apr 2001 17:14:19 +0200
+
+bnetd (0.4.19-1) unstable; urgency=low
+
+  * New upstream version.
+  * Works with latest SartCraft patch again.
+
+ -- Raphael Bossek <bossekr@debian.org>  Sun, 24 Oct 1999 11:19:43 +0200
+
+bnetd (0.4.18-2) unstable; urgency=low
+
+  * Configuration file could not be found.
+  * FHS 2.0 compilent.
+
+ -- Raphael Bossek <bossekr@debian.org>  Sun,  3 Oct 1999 12:23:54 +0200
+
+bnetd (0.4.18-1) unstable; urgency=low
+
+  * New upstream version.
+  * Confirms with debian policy 3.0.1.
+
+ -- Raphael Bossek <bossekr@debian.org>  Sat, 28 Aug 1999 00:26:38 +0200
+
+bnetd (0.4.16-1) unstable; urgency=low
+
+  * New upstream version
+  * Changed syntax for closing bugs
+
+ -- Raphael Bossek <bossekr@debian.org>  Thu, 10 Aug 1999 20:41:41 +0200
+
+bnetd (0.4.9-2) unstable; urgency=low
+
+  * Missing -lm options caused compilation errors on m68k (closes: #40791)
+
+ -- Raphael Bossek <bossekr@debian.org>  Mon,  5 Jul 1999 16:15:01 +0200
+
+bnetd (0.4.9-1) unstable; urgency=low
+
+  * New upstream version
+  * Moved user database to /var/cache/bnetd/player (closes: #40461)
+
+ -- Raphael Bossek <bossekr@debian.org>  Fri,  2 Jul 1999 07:29:26 +0200
+
+bnetd (0.4.8-3) unstable; urgency=low
+
+  * Changed the supported architectures to "any" (closes: #39259)
+
+ -- Raphael Bossek <bossekr@debian.org>  Thu, 10 Jun 1999 12:06:56 +0200
+
+bnetd (0.4.8-2) unstable; urgency=low
+
+  * Typographic error(s) removed (closes: #39034)
+
+ -- Raphael Bossek <bossekr@debian.org>  Tue,  6 Jun 1999 22:55:02 +0200
+
+bnetd (0.4.8-1) unstable; urgency=low
+
+  * Initial release (considered unstable, but seems pretty stable to me.)
+  * Created autoconf/automake build environment missing for the source package
+  * New man page added for the bnbot program.
+  * Windows Registry file added for simple Battle.Net client configuration.
+  * New Battle.Net logo for the Debian GNU/Linux distribution set as default.
+
+ -- Raphael Bossek <bossekr@debian.org>  Tue,  1 Jun 1999 18:20:36 +0200
+
+Local variables:
+mode: debian-changelog
+End:
+
--- bnetd-0.4.25.orig/debian/postrm
+++ bnetd-0.4.25/debian/postrm
@@ -0,0 +1,45 @@
+#!/bin/sh
+
+set -e
+
+case "$1" in
+    purge)
+    	rm -f /var/log/bnetd.log /var/run/bnetd.pid
+        rm -fr /var/lib/bnetd /var/run/bnetd /etc/bnetd
+    ;;
+    upgrade)
+        a=`echo $2|sed 's/\.[0-9]*\.[0-9]*-[0-9]*$//g'`
+        b=`echo $2|sed -e 's/^[0-9]*\.//g' -e 's/\.[0-9]*-[0-9]*$//g'`
+        c=`echo $2|sed -e 's/^[0-9]*\.[0-9]*\.//g' -e 's/-[0-9]*$//g'`
+        #
+        # Workaround for bug #40461
+        #
+	if dpkg --compare-versions $2 lt 0.4.9 ; then
+		mkdir -p /etc/bnetd/users
+		if [ -d /var/lib/bnetd/player ]; then
+			mv /var/lib/bnetd/player/* /etc/bnetd/users/.
+		fi
+	elif dpkg --compare-versions $2 le 0.4.19-1 ; then
+		mkdir -p /var/cache/bnetd/player
+		if [ -d /var/lib/bnetd/player ]; then
+			mv /var/lib/bnetd/player/* /var/cache/bnetd/player/.
+		fi
+	fi
+
+	if dpkg --compare-versions $2 lt 0.4.25-3 ; then
+		if [ ! -e /usr/share/bnetd/default.pcx ]; then
+			ln -s debian.pcx /usr/share/bnetd/default.pcx
+		fi
+	fi
+    ;;
+    remove|failed-upgrade|abort-install|abort-upgrade|disapper)
+    ;;
+    *)
+        echo "postrm called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+#DEBHELPER#
+
+exit 0
--- bnetd-0.4.25.orig/debian/examples
+++ bnetd-0.4.25/debian/examples
@@ -0,0 +1,6 @@
+conf/autoupdate
+conf/bnban
+conf/gametrans
+conf/realm.list
+conf/versioncheck
+debian/bnetd.reg
--- bnetd-0.4.25.orig/debian/rules
+++ bnetd-0.4.25/debian/rules
@@ -0,0 +1,134 @@
+#!/usr/bin/make -f
+
+build:
+	cd src && ./configure --prefix=/
+	cd src && make
+	uudecode debian/debian.pcx.uu --o debian/debian.pcx
+	touch build
+
+clean:
+	if [ -f src/Makefile ]; then cd src && make distclean; fi
+	rm -f build debian/debian.pcx
+	-test -r /usr/share/misc/config.sub && \
+		cp -f /usr/share/misc/config.sub src/autoconf/config.sub
+	-test -r /usr/share/misc/config.guess && \
+		cp -f /usr/share/misc/config.guess src/autoconf/config.guess
+	dh_clean
+
+binary-indep:
+
+binary-arch: build
+# Initialize the building procedure
+	dh_testdir
+	dh_testroot
+	dh_clean
+	dh_installdirs
+
+# Install the configuration files
+	install -p -o root -g root -m 644 conf/bnetd.conf.in \
+			debian/bnetd/etc/bnetd/bnetd.conf
+	#ln -s bnetd/bnetd.conf debian/bnetd/etc/bnetd.conf
+	install -p -o root -g root -m 644 conf/bnetd_default_user \
+			debian/bnetd/etc/bnetd/bnetd_default_user
+	install -p -o root -g root -m 644 conf/channel.list \
+			debian/bnetd/etc/bnetd/channel.list
+	install -p -o root -g root -m 644 conf/bnmotd.txt \
+			debian/bnetd/etc/bnetd/bnmotd.txt
+	install -p -o root -g root -m 644 debian/changelog \
+			debian/bnetd/etc/bnetd/news.txt
+	install -p -o root -g root -m 644 conf/ad.list \
+			debian/bnetd/etc/bnetd/ad.list
+	install -p -o root -g root -m 644 conf/bnissue.txt \
+			debian/bnetd/etc/bnetd/bnissue.txt
+
+# Install the Terms of Service
+	install -p -o root -g root -m 644 files/tos_USA.txt \
+			debian/bnetd/etc/bnetd/tos_USA.txt
+	install -p -o root -g root -m 644 files/tos_DEU.txt \
+			debian/bnetd/etc/bnetd/tos_DEU.txt
+
+# Install the banners
+	install -p -o root -g root -m 644 files/ad000001.pcx \
+			debian/bnetd/usr/share/bnetd/ad000001.pcx
+	install -p -o root -g root -m 644 debian/debian.pcx \
+			debian/bnetd/usr/share/bnetd/debian.pcx
+
+# Install the files
+	install -p -o root -g root -m 644 files/icons.bni \
+			debian/bnetd/usr/share/bnetd/icons.bni
+	install -p -o root -g root -m 644 conf/bnhelp \
+			debian/bnetd/usr/share/bnetd/bnhelp
+
+# Install the bnetd console applications
+	install -o root -g root -m 755 bin/bnbot \
+			debian/bnetd/usr/bin/bnbot
+	install -o root -g root -m 755 bin/bnchat \
+			debian/bnetd/usr/bin/bnchat
+	install -o root -g root -m 755 bin/bnftp \
+			debian/bnetd/usr/bin/bnftp
+	install -o root -g root -m 755 bin/bnpass \
+			debian/bnetd/usr/bin/bnpass
+	install -o root -g root -m 755 bin/bnstat \
+			debian/bnetd/usr/bin/bnstat
+
+# Install the bnetd daemon
+	install -o root -g root -m 755 sbin/bnetd \
+			debian/bnetd/usr/sbin/bnetd
+	install -o root -g root -m 755 sbin/bnproxy \
+			debian/bnetd/usr/sbin/bnproxy
+
+# Install the man1 pages
+#	install -p -o root -g root -m 644 man/bnetd.1 \
+#			debian/bnetd/usr/man/man1/bnetd.1
+#	install -p -o root -g root -m 644 man/bnpass.1 \
+#			debian/bnetd/usr/man/man1/bnpass.1
+#	install -p -o root -g root -m 644 debian/bnbot.1 \
+#			debian/bnetd/usr/man/man1/bnbot.1
+#	install -p -o root -g root -m 644 man/bnftp.1 \
+#			debian/bnetd/usr/man/man1/bnftp.1
+#	install -p -o root -g root -m 644 man/bnchat.1 \
+#			debian/bnetd/usr/man/man1/bnchat.1
+# Install the man4 pages
+#	install -p -o root -g root -m 644 man/bntext.4 \
+#			debian/bnetd/usr/man/man4/bntext.4
+#	install -p -o root -g root -m 644 man/bnetd.conf.4 \
+#			debian/bnetd/usr/man/man4/bnetd.conf.4
+#	install -p -o root -g root -m 644 man/bntext.4 \
+#			debian/bnetd/usr/man/man4/bntext.4
+#	install -p -o root -g root -m 644 man/bnmotd.txt.4 \
+#			debian/bnetd/usr/man/man4/bnmotd.txt.4
+#	install -p -o root -g root -m 644 man/bnnews.txt.4 \
+#			debian/bnetd/usr/man/man4/bnnews.txt.4
+
+# Install the docs
+#	install -p -o root -g root -m 644 CHANGELOG \
+#			debian/bnetd/usr/doc/bnetd/CHANGELOG
+#	install -p -o root -g root -m 644 CREDITS \
+#			debian/bnetd/usr/doc/bnetd/CREDITS
+#	install -p -o root -g root -m 644 README \
+#			debian/bnetd/usr/doc/bnetd/README
+
+# Install the other (Debian) stuff
+	dh_installdocs
+	mv debian/bnetd/usr/share/doc/bnetd/CHANGELOG debian/bnetd/usr/share/doc/bnetd/changelog
+	dh_installexamples
+#	dh_installmenu
+#	dh_installemacsen
+	dh_installinit
+#	dh_installcron
+	dh_installman
+	dh_installchangelogs
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+#	dh_makeshlibs
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-arch binary-indep
+
+.PHONY: clean binary binary-arch binary-indep
--- bnetd-0.4.25.orig/debian/init
+++ bnetd-0.4.25/debian/init
@@ -0,0 +1,75 @@
+#! /bin/sh
+### BEGIN INIT INFO
+# Provides:          bnetd
+# Required-Start:    $remote_fs $syslog
+# Required-Stop:     $remote_fs $syslog
+# Default-Start:     2 3 4 5
+# Default-Stop:      0 1 6
+# Short-Description: Start or stop the bnetd daemon.
+### END INIT INFO
+
+PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
+DAEMON=/usr/sbin/bnetd
+NAME=bnetd
+DESC="Battle.net(R) gaming server"
+
+CONFFILE=/etc/bnetd/bnetd.conf
+PIDFILE=`grep ^pidfile $CONFFILE | head -n 1 | cut -d '=' -f 2 | tr -d ' \t'`
+
+# The config setting `` pidfile = "" '' means do not use a pid file
+if [ "$PIDFILE" = '""' ]; then
+    PIDFILE=
+fi
+
+test -f $DAEMON || exit 0
+
+set -e
+
+case "$1" in
+  start)
+	echo -n "Starting $DESC: "
+	start-stop-daemon --start --quiet ${PIDFILE:+ --pidfile $PIDFILE} \
+		--exec $DAEMON
+	echo "$NAME."
+	;;
+  stop)
+	echo -n "Stopping $DESC: "
+	start-stop-daemon --stop --quiet ${PIDFILE:+ --pidfile $PIDFILE} \
+		--exec $DAEMON
+	echo "$NAME."
+	;;
+  #reload)
+	#
+	#	If the daemon can reload its config files on the fly
+	#	for example by sending it SIGHUP, do it here.
+	#
+	#	If the daemon responds to changes in its config file
+	#	directly anyway, make this a do-nothing entry.
+	#
+	# echo "Reloading $DESC configuration files."
+	# start-stop-daemon --stop --signal 1 --quiet --pidfile \
+	#	/var/run/$NAME.pid --exec $DAEMON
+  #;;
+  restart|force-reload)
+	#
+	#	If the "reload" option is implemented, move the "force-reload"
+	#	option to the "reload" entry above. If not, "force-reload" is
+	#	just the same as "restart".
+	#
+	echo -n "Restarting $DESC: "
+	start-stop-daemon --stop --oknodo --quiet ${PIDFILE:+ --pidfile $PIDFILE} \
+		--exec $DAEMON
+	sleep 1
+	start-stop-daemon --start --quiet ${PIDFILE:+ --pidfile $PIDFILE} \
+		--exec $DAEMON
+	echo "$NAME."
+	;;
+  *)
+	N=/etc/init.d/$NAME
+	# echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2
+	echo "Usage: $N {start|stop|restart|force-reload}" >&2
+	exit 1
+	;;
+esac
+
+exit 0
--- bnetd-0.4.25.orig/debian/prerm.debhelper
+++ bnetd-0.4.25/debian/prerm.debhelper
@@ -0,0 +1,9 @@
+# Automatically added by dh_installinit
+if [ -x "/etc/init.d/bnetd" ]; then
+	if [ -x /usr/sbin/invoke-rc.d ] ; then
+		invoke-rc.d bnetd stop
+	else
+		/etc/init.d/bnetd stop
+	fi
+fi
+# End automatically added section
--- bnetd-0.4.25.orig/debian/dirs
+++ bnetd-0.4.25/debian/dirs
@@ -0,0 +1,9 @@
+etc/bnetd
+usr/bin
+usr/sbin
+usr/share/bnetd
+var/log
+var/lib/bnetd/player
+var/lib/bnetd/reports
+var/lib/bnetd/chanlogs
+var/run/bnetd
--- bnetd-0.4.25.orig/debian/manpages
+++ bnetd-0.4.25/debian/manpages
@@ -0,0 +1,9 @@
+man/bnbot.1
+man/bnchat.1
+man/bnetd.1
+man/bnetd.conf.5
+man/bnftp.1
+man/bnpass.1
+man/bnproxy.1
+man/bnstat.1
+man/bntext.5
--- bnetd-0.4.25.orig/debian/docs
+++ bnetd-0.4.25/debian/docs
@@ -0,0 +1,8 @@
+CHANGELOG
+CREDITS
+README
+docs/FAQ.html
+docs/README.adbanner
+docs/README.diablo108
+docs/README.ladder
+docs/README.registry
--- bnetd-0.4.25.orig/debian/debian.pcx.uu
+++ bnetd-0.4.25/debian/debian.pcx.uu
@@ -0,0 +1,93 @@
+begin 644 debian.pcx
+M"@4!"`````#3`3L`+`$L`0``````````````````````````````````````
+M```````````````````````````!U`$!````````````````````````````
+M``````````````````````````````````````````````````#_`/\`_P#_
+M`/\`_P#_`-L`_P#_`/\`_P#_`/\`_P#;`/\`_P#_`/\`_P#_`/\`VP#_`/\`
+M_P#_`/\`_P#_`-L`_P#_`/\`_P#_`/\`_P#;`/\`_P#_`/\`_P#_`/\`VP#_
+M`/\`_P#_`/\`_P#_`-L`_P#_`/\`_P#_`/\`_P#;`/\`_P#_`/\`_P#_`/\`
+MVP#_`/\`_P#_`/\`_P#_`-L`_P#_`/\`_P#_`/\`_P#;`/\`_P#_`/\`_P#_
+M`/\`VP#_`/\`_P#_`/\`_P#_`-L`_P#_`/\`_P#_`/\`_P#;`/\`_P#_`/\`
+M_P#_`/\`VP#_`/\`_P#_`/\`_P#_`-L`_P#_`/\`_P#_`/\`_P#;`/\`_P#_
+M`/\`_P#_`/\`VP#_`/\`_P#_`/\`_P#_`-L`_P#_`/\`_P#_`/\`_P#;`/\`
+M_P#_`/\`_P#_`/\`VP#_`/\`_P#_`/\`_P#_`-L`XP#,!]4`PP?,`,('Z@#'
+M!\,`Q0?'`,X'Q`#(!\<`P@?"`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-C8W&QL;B
+MXN+___^(<7&K556.556@<7'5QL9Q557PXN)G5559.#B<.#BX<7'NXN)".#B@
+MC8UH'!SFXN*NJJK&C8W2QL:SC8V.'!Q[.#C5JJJ$557+JJK9QL;/QL:]JJKB
+MQL:8<7&SJJJH<7'MXN*7557KXN+CXN*3C8V0.#A"'!SEXN)O.#BXJJHH'!R!
+M'!R9C8WHXN)>556_C8W&JJHT'!Q;'!RA5560<7%X<7'?QL;0JJK<QL;JXN)D
+M.#A[554`````````````````````````````````````````````````````
+M````````````````````````````````````````````````````````````
+M````````````````````````````````````````````````````````````
+M````````````````````````````````````````````````````````````
+M````````````````````````````````````````````````````````````
+M````````````````````````````````````````````````````````````
+M````````````````````````````````````````````````````````````
+C````````````````````````````````````````````````
+`
+end
--- bnetd-0.4.25.orig/debian/bnetd.reg
+++ bnetd-0.4.25/debian/bnetd.reg
@@ -0,0 +1,16 @@
+REGEDIT4
+
+[HKEY_LOCAL_MACHINE\SOFTWARE\Battle.net]
+
+[HKEY_LOCAL_MACHINE\SOFTWARE\Battle.net\Configuration]
+"Registration Version"=dword:00000001
+"Server Version"=dword:00000001
+"Server List"="192.168.1.1"
+
+[HKEY_LOCAL_MACHINE\SOFTWARE\Battle.net\Characters]
+
+[HKEY_LOCAL_MACHINE\SOFTWARE\Battle.net\Preferences]
+"Clicked Link"=dword:00000001
+
+[HKEY_LOCAL_MACHINE\SOFTWARE\Battle.net\Recent Games]
+
--- bnetd-0.4.25.orig/debian/links
+++ bnetd-0.4.25/debian/links
@@ -0,0 +1,6 @@
+usr/share/man/man5/bntext.5.gz usr/share/man/man5/bnissue.txt.5.gz
+usr/share/man/man5/bntext.5.gz usr/share/man/man5/bnmotd.txt.5.gz
+usr/share/man/man5/bntext.5.gz usr/share/man/man5/bnnews.txt.5.gz
+etc/bnetd/tos_USA.txt usr/share/bnetd/tos_USA.txt
+etc/bnetd/tos_DEU.txt usr/share/bnetd/tos_DEU.txt
+usr/share/bnetd/debian.pcx usr/share/bnetd/ad000002.pcx
--- bnetd-0.4.25.orig/debian/preinst
+++ bnetd-0.4.25/debian/preinst
@@ -0,0 +1,46 @@
+#!/bin/bash
+
+set -e
+
+case "$1" in
+    upgrade)
+        #
+        # Close bug #40461
+        #
+        if dpkg --compare-versions $2 lt 0.4.9 ; then
+            test -f /etc/bnetd/users/bnetd_default_user && mv -f /etc/bnetd/users/bnetd_default_user /etc/bnetd/.
+            if [ -f /etc/bnetd/users ]; then
+                mkdir -p /var/lib/bnetd/player
+                mv -f /etc/bnetd/users/* /var/lib/bnetd/player/.
+		rmdir -p /etc/bnetd/users
+            fi
+            if [ -e /etc/bnetd/news ]; then
+                mv -f /etc/bnetd/news /etc/bnetd/news.txt
+            fi
+        elif dpkg --compare-versions $2 le 0.4.19-1 ; then
+            if [ -d /var/cache/bnetd/player ]; then
+                mkdir -p /var/lib/bnetd/player
+                mv -f /var/cache/bnetd/player/* /var/lib/bnetd/player/.
+                rmdir -p /var/cache/bnetd/player
+            fi
+        fi
+
+        if dpkg --compare-versions $2 lt 0.4.25-3 ; then
+	    if [ -L /usr/share/bnetd/default.pcx ]; then
+		rm -f /usr/share/bnetd/default.pcx
+	    fi
+	fi
+
+    ;;
+    install|abort-upgrade)
+    ;;
+    *)
+        echo "preinst called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+#DEBHELPER#
+
+exit 0
+
--- bnetd-0.4.25.orig/debian/README
+++ bnetd-0.4.25/debian/README
@@ -0,0 +1,18 @@
+This package contains a Windows Registry file that
+should help you configure your Battle.net(R) games.
+This file can be found in /etc/bnetd/bnetd.reg
+Be careful with this file ! It will overwrite
+your already existing Battle.net(R) configuration so
+check your configuration before import this file.
+The Battle.net(R) configuration can by found at
+  \HKEY_LOCAL_MACHINE\SOFTWARE\Battle.Net
+
+Don't forget to enter your new bnetd Server IP into
+the 'Server List' entry within the Battle.net(R)
+Registry section. If you use our Registry file this
+is set to 192.168.1.1. You can enter more than one
+IP using ';' as sperator.
+
+NOTE: If you have trouble remove the bncache.dat
+file from your game directory first.
+
--- bnetd-0.4.25.orig/debian/substvars
+++ bnetd-0.4.25/debian/substvars
@@ -0,0 +1 @@
+shlibs:Depends=libc6 (>= 2.3.2-1)
--- bnetd-0.4.25.orig/debian/postrm.debhelper
+++ bnetd-0.4.25/debian/postrm.debhelper
@@ -0,0 +1,5 @@
+# Automatically added by dh_installinit
+if [ "$1" = "purge" ] ; then
+	update-rc.d bnetd remove defaults >/dev/null
+fi
+# End automatically added section
--- bnetd-0.4.25.orig/debian/README.Debian
+++ bnetd-0.4.25/debian/README.Debian
@@ -0,0 +1,13 @@
+bnetd for Debian
+------------------
+
+The upstream bnetd project is dead, and has been so for a while now.
+Do not expect major enhancements or anything in the upsteam's TODO list 
+to ever be implemented in this package.
+
+This bnetd works sufficiently well for Starcraft(R), Diablo(R), and
+Warcraft(R) II games, but for Diablo(R) II and Warcraft(R) III games
+I strongly recommend the pvpgn package, which is being actively developed
+upstream at the time of this writing.
+
+-- Dennis L. Clark <dbugger@debian.org>  Sat, 31 Jul 2004 20:27:53 -0400
--- bnetd-0.4.25.orig/debian/compat
+++ bnetd-0.4.25/debian/compat
@@ -0,0 +1 @@
+4
--- bnetd-0.4.25.orig/debian/postinst.debhelper
+++ bnetd-0.4.25/debian/postinst.debhelper
@@ -0,0 +1,10 @@
+# Automatically added by dh_installinit
+if [ -x "/etc/init.d/bnetd" ]; then
+	update-rc.d bnetd defaults >/dev/null
+	if [ -x /usr/sbin/invoke-rc.d ]; then
+		invoke-rc.d bnetd start
+	else
+		/etc/init.d/bnetd start
+	fi
+fi
+# End automatically added section
--- bnetd-0.4.25.orig/debian/control
+++ bnetd-0.4.25/debian/control
@@ -0,0 +1,20 @@
+Source: bnetd
+Section: net
+Priority: optional
+Maintainer: Dennis L. Clark <dbugger@debian.org>
+Standards-Version: 3.6.1.0
+Build-Depends: debhelper (>= 2.4.0), sharutils, autotools-dev
+
+Package: bnetd
+Architecture: any
+Depends: ${shlibs:Depends}
+Suggests: fortune
+Description: Gaming server that emulates Battle.net(R)
+ The server currently implements most of the same functionality as the
+ real Battle.net(R) servers from Blizzard Entertainment.  You can chat,
+ play games, use / commands, and things like account passwords, user
+ icons, ad banners, and channel operators work too.  It is by no means
+ complete, though.
+ .
+ Currently Starcraft(R), Brood War(R), Diablo(R), and Warcraft(R) II
+ BNE are supported as clients.
