--- atheme-services-3.0.3.orig/debian/control
+++ atheme-services-3.0.3/debian/control
@@ -0,0 +1,24 @@
+# $Id: control 130 2008-01-19 03:10:52Z dblaber-guest $
+
+Source: atheme-services
+Section: net
+Priority: optional
+Maintainer: Debian IRC Team <pkg-irc-maintainers@lists.alioth.debian.org>
+Uploaders: William Pitcock <nenolod@sacredspiral.co.uk>, Mario Iseli <mario@debian.org>, Darren Blaber <dmbtech@gmail.com>
+Build-Depends: debhelper (>= 5), autotools-dev, libssl-dev, libmowgli-dev (>= 0.4), pkg-config
+Standards-Version: 3.7.3
+Homepage: http://www.atheme.net
+Vcs-Svn: svn://svn.debian.org/pkg-irc/packages/atheme-services/trunk/
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-irc/packages/atheme-services/trunk/
+
+Package: atheme-services
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Enhances: ircd
+Description: modular IRC services daemon
+ atheme-services is a portable, secure set of open source, modular IRC
+ services, designed to run on many IRC server implementations.
+ .
+ Unlike alternative packages, atheme-services' core is minimalistic,
+ providing only core functionality. atheme-services is a complete services
+ set, excluding features designed for oper abuse.
--- atheme-services-3.0.3.orig/debian/docs
+++ atheme-services-3.0.3/debian/docs
@@ -0,0 +1,2 @@
+README
+TODO
--- atheme-services-3.0.3.orig/debian/rules
+++ atheme-services-3.0.3/debian/rules
@@ -0,0 +1,89 @@
+#!/usr/bin/make -f
+# $Id: rules 145 2008-01-20 04:16:23Z nenolod-guest $
+
+DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -O0
+else
+	CFLAGS += -O2
+endif
+
+configure: configure-stamp
+configure-stamp:
+	dh_testdir
+	ln -sf /usr/share/misc/config.sub config.sub
+	ln -sf /usr/share/misc/config.guess config.guess
+	CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --enable-fhs-paths --prefix=/ --exec-prefix=/usr --datadir=/usr/share --sysconfdir=/etc/atheme --mandir=\$${prefix}/share/man --bindir=\$${prefix}/usr/sbin --disable-rpath
+	touch $@
+
+build: configure-stamp build-stamp
+build-stamp: configure-stamp
+	dh_testdir
+	$(MAKE)
+	touch $@
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f configure-stamp build-stamp
+	[ ! -f Makefile ] || $(MAKE) distclean
+	# Remove extra files, due to authors distclean not removing them
+	[ ! -f modules/*/Makefile ] || rm modules/*/Makefile
+	[ ! -f modules/Makefile ] || rm modules/Makefile
+	[ ! -f modules/*/.depend ] || rm modules/*/.depend
+	[ ! -f po/Makefile ] || rm po/Makefile
+	[ ! -f po/Makefile.in ] || rm po/Makefile.in
+	[ ! -f src/.depend ] || rm src/.depend
+	[ ! -f src/Makefile ] || rm src/Makefile
+	[ ! -f contrib/Makefile ] || rm contrib/Makefile
+	[ ! -f contrib/.depend ] || rm contrib/.depend
+	[ ! -f po/POTFILES ] || rm po/POTFILES
+	[ ! -f config.sub ] || rm config.sub
+	[ ! -f config.guess ] || rm config.guess
+	[ ! -f config.log ] || rm config.log
+
+	dh_clean
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+
+	$(MAKE) DOCDIR=usr/share/doc/atheme-services/ DESTDIR=$(CURDIR)/debian/atheme-services/ install
+	cp $(CURDIR)/debian/atheme-services.default $(CURDIR)/debian/atheme-services/etc/default/atheme-services
+
+	# atheme-services allows wide configure latitude, so we want to make sure the user
+	# reads the config files...
+	rm -f $(CURDIR)/debian/atheme-services/etc/atheme/*
+
+	# shut lintian up by not installing the LICENSE...
+	rm -f $(CURDIR)/debian/atheme-services/usr/share/doc/atheme-services/LICENSE
+
+binary-indep: build install
+
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installdirs
+	dh_installchangelogs
+	dh_installdocs
+	dh_installexamples
+	dh_installinit
+	dh_installman
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install patch unpatch
--- atheme-services-3.0.3.orig/debian/init.d
+++ atheme-services-3.0.3/debian/init.d
@@ -0,0 +1,86 @@
+#! /bin/sh
+
+### BEGIN INIT INFO
+# Provides:          atheme-services
+# Required-Start:    $syslog
+# Required-Stop:     $syslog
+# Default-Start:     2 3 4 5
+# Default-Stop:      0 1 6
+# Short-Description: Atheme-services daemon init.d script
+# Description:       Use to manage the Atheme services daemon.
+### END INIT INFO
+
+PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
+DAEMON=/usr/sbin/atheme-services
+NAME="atheme-services"
+DESC="Atheme IRC Services"
+
+test -x $DAEMON || exit 0
+
+# Include atheme defaults if available
+if [ -f /etc/default/atheme-services ] ; then
+	. /etc/default/atheme-services
+fi
+
+if [ "$ENABLED" != "1" ] ; then
+	echo "Please set ENABLED to 1 in /etc/default/atheme-services"
+fi
+
+set -e
+
+case "$1" in
+  start)
+	if [ "$ENABLED" = "1" ]; then
+		echo -n "Starting $DESC: $NAME"
+		if [ -f "/var/run/atheme/atheme.pid" ]; then
+			echo -en "\nAlready running!"
+		else
+			start-stop-daemon -u irc -c irc --start --quiet --pidfile /var/run/atheme/atheme.pid \
+				--exec $DAEMON -- $DAEMON_OPTS
+		fi
+		echo "."
+	fi
+	;;
+  stop)
+	if [ "$ENABLED" = "1" ]; then
+		echo -n "Stopping $DESC: $NAME"
+		if [ -f "/var/run/atheme/atheme.pid" ]; then
+			start-stop-daemon --stop --quiet --pidfile /var/run/atheme/atheme.pid \
+				--exec $DAEMON --signal 15
+		fi
+		echo "."
+	fi
+	;;
+  reload|force-reload)
+	if [ "$ENABLED" = "1" ]; then
+		if [ -f "/var/run/atheme/atheme.pid" ]; then
+			echo "Reloading $DESC configuration files."
+			start-stop-daemon --stop --signal 1 --quiet --pidfile \
+				/var/run/atheme/atheme.pid --exec $DAEMON
+		else
+			echo "$NAME not running!"
+		fi
+	fi
+	;;
+  restart)
+	if [ "$ENABLED" = "1" ]; then
+    	echo -n "Restarting $DESC: $NAME"
+		if [ -f "/var/run/atheme/atheme.pid" ]; then
+			start-stop-daemon --stop --quiet --pidfile \
+				/var/run/atheme/atheme.pid --exec $DAEMON --signal 15
+		fi
+		sleep 1
+		start-stop-daemon -u irc -c irc --start --quiet --pidfile \
+			/var/run/atheme/atheme.pid --exec $DAEMON -- $DAEMON_OPTS
+		echo "."
+	fi
+	;;
+  *)
+	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
--- atheme-services-3.0.3.orig/debian/atheme-services.8
+++ atheme-services-3.0.3/debian/atheme-services.8
@@ -0,0 +1,55 @@
+.TH ATHEME-SERVICES 8 "November 2007"
+.SH NAME
+atheme-services \- a modular IRC services daemon
+.SH SYNOPSIS
+.B atheme-services
+\&\fR[\fB\-dhnv\fR] [\fB\-c\fR \fIconf\fR] [\fB\-l\fR \fIlogfile\fR] [\fB-p\fR \fIpidfile\fR]
+.br
+.SH DESCRIPTION
+This manual page documents the
+.B atheme-services
+command.
+.PP
+\fBatheme-services\fP is an IRC Services implementation, which connects to an IRC server and
+provides services such as NickServ and ChanServ to users, allowing them to register their
+nicknames and channels.
+.SH OPTIONS
+\fBatheme-services\fR accepts the following command line options:
+.TP
+.B \-c \fIconf\fR
+Specifies an alternate config file for the daemon to load.
+.TP
+.B \-d
+Starts in debugging mode.
+.TP
+.B \-h
+Prints the help message and exits.
+.TP
+.B \-l \fIlogfile\fR
+Specifies the log file.
+.TP
+.B \-n
+Doesn't fork into the background, logs messages to stdout as well as the logfile.
+.TP
+.B \-p \fIpidfile\fR
+Specifies the pid file.
+.TP
+.B \-v
+Prints the version information and exits.
+.SH AUTHOR
+atheme-services was primarly written by:
+.PP
+.RS 4
+.nf
+William Pitcock <nenolod -at- nenolod.net>
+Michael Tharp <gxti -at- partiallystapled.com>
+Jilles Tjoelker <jilles -at- stack.nl>
+Pippijn van Steenhoven <pippijn -at- one09.net>
+Robin Burchell <w00t -at- staff.chatspike.net>
+.fi
+.RE
+.PP
+This manual page was originally written by Bradley Smith <brad@brad-smith.co.uk>,
+for the Debian project (but may be used by others).
+.PP
+This manual page was later revised by William Pitcock <nenolod@sacredspiral.co.uk>.
--- atheme-services-3.0.3.orig/debian/atheme.motd
+++ atheme-services-3.0.3/debian/atheme.motd
@@ -0,0 +1,8 @@
+This is the services daemon for &network&.
+
+Network registrations will expire after &expiry& days.
+
+Registered users: &myusers&
+Registered channels: &mychans&
+
+Please /join #services for help.
--- atheme-services-3.0.3.orig/debian/watch
+++ atheme-services-3.0.3/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://distfiles.atheme.org/ atheme-(.*)\.tar\.gz
--- atheme-services-3.0.3.orig/debian/atheme-services.examples
+++ atheme-services-3.0.3/debian/atheme-services.examples
@@ -0,0 +1 @@
+dist/*
--- atheme-services-3.0.3.orig/debian/changelog
+++ atheme-services-3.0.3/debian/changelog
@@ -0,0 +1,18 @@
+atheme-services (3.0.3-1~bpo40+1) etch-backports; urgency=low
+
+  * Backport testing version for backports.org (no changes)
+  * Built against backports version of libmowgli-dev (0.6.0-1~bpo40+1)
+
+ -- Micah Anderson <micah@debian.org>  Sun,  3 Feb 2008 14:34:08 -0500
+
+atheme-services (3.0.3-1) unstable; urgency=low
+  
+  * New upstream release.
+ 
+ -- Darren Blaber <dmbtech@gmail.com>  Fri, 18 Jan 2008 21:41:39 -0500 
+
+atheme-services (2.2.0+hg20071209-1) experimental; urgency=low
+
+  * Initial release (Closes: #435881)
+
+ -- William Pitcock <nenolod@sacredspiral.co.uk>  Sun, 09 Dec 2007 13:12:21 -0600
--- atheme-services-3.0.3.orig/debian/compat
+++ atheme-services-3.0.3/debian/compat
@@ -0,0 +1 @@
+5
--- atheme-services-3.0.3.orig/debian/atheme-services.dirs
+++ atheme-services-3.0.3/debian/atheme-services.dirs
@@ -0,0 +1 @@
+etc/default
--- atheme-services-3.0.3.orig/debian/copyright
+++ atheme-services-3.0.3/debian/copyright
@@ -0,0 +1,280 @@
+This package was debianized by William Pitcock <nenolod@sacredspiral.co.uk>
+on Wed, 21 Nov 2007 19:52:19 -0600.
+
+It was downloaded from <http://hg.atheme.org/atheme>
+
+Upstream Authors: William Pitcock <nenolod@sacredspiral.co.uk>,
+  Jilles Tjoelker <jilles@stack.nl>,
+  Pippijn van Steenhoven <pippijn@one09.net>,
+  Michael Tharp <gxti@partiallystapled.com>,
+  Robin Burchell <w00t@staff.chatspike.net>
+
+Copyright:
+
+  For all other than those listed below:
+
+    Copyright (c) 2005-2007 Atheme Development Group (atheme.org)
+
+  contrib/gen_listenerdemo.c, contrib/ircd_catserv.c, contrib/os_pingspam.c,
+  include/balloc.h, include/channels.h, include/commandtree.h,
+  include/confparse.h, include/dlink.h, include/hook.h, include/i18n.h,
+  include/linker.h, include/metadata.h, include/module.h, include/news.h,
+  include/phandler.h, include/pmodule.h, include/servers.h,
+  include/services.h, include/servtree.h, include/stdinc.h,
+  include/uplink.h, include/users.h, src/linker.c,
+  All in include/protocol/, other than inspircd.h,
+  modules/chanserv/akick.c, modules/chanserv/ban.c,
+  modules/chanserv/clear_bans.c, modules/chanserv/clear.c,
+  modules/chanserv/clear_users.c, modules/chanserv/drop.c,
+  modules/chanserv/ftransfer.c, modules/chanserv/getkey.c,
+  modules/chanserv/halfop.c, modules/chanserv/info.c,
+  modules/chanserv/invite.c, modules/chanserv/kick.c,
+  modules/chanserv/mark.c, modules/chanserv/op.c,
+  modules/chanserv/quiet.c, modules/chanserv/recover.c,
+  modules/chanserv/register.c, modules/chanserv/status.c
+  modules/chanserv/taxonomy.c, modules/chanserv/topic.c,
+  modules/chanserv/voice.c, modules/nickserv/drop.c,
+  modules/nickserv/help.c, modules/nickserv/listmail.c,
+  modules/nickserv/logout.c, modules/nickserv/mark.c,
+  modules/nickserv/register.c, modules/nickserv/sendpass.c,
+  modules/nickserv/status.c, modules/nickserv/taxonomy.c,
+  modules/nickserv/vhost.c, contrib/cs_kickdots.c,
+  contrib/gen_echoserver.c, contrib/ircd_loveserv.c,
+  include/dictionary.h, src/dictionary.c, modules/nickserv/set.c,
+  modules/gameserv/gen_namegen_tab.pl, contrib/gen_vhostonreg.c,
+  contrib/os_logonnews.c, src/culture.c,
+  src/poll.c, modules/chanserv/fflags.c, modules/chanserv/why.c,
+  modules/gameserv/eightball.c, modules/gameserv/namegen.c,
+  modules/gameserv/rps.c, modules/nickserv/identify.c,
+  modules/nickserv/info.c, modules/operserv/jupe.c,
+  modules/operserv/mode.c, modules/operserv/modlist.c,
+  modules/operserv/modload.c, modules/operserv/modrestart.c,
+  modules/operserv/modunload.c, modules/operserv/noop.c,
+  modules/protocol/asuka.c, modules/protocol/bircd.c,
+  modules/protocol/hyperion.c, modules/protocol/ircnet.c,
+  modules/protocol/nefarious.c, modules/protocol/undernet.c,
+  contrib/ns_fregister.c, include/flags.h, modules/chanserv/flags.c,
+  modules/nickserv/ghost.c, include/object.h, include/table.h,
+  src/logger.c, src/object.c, src/table.c:
+
+    Copyright (c) 2005, 2006, 2007 William Pitcock
+
+  modules/nickserv/resetpass.c, modules/operserv/ignore.c,
+  modules/nickserv/freeze.c, modules/chanserv/count.c,
+  modules/operserv/specs.c, modules/operserv/uptime.c:
+
+    Copyright (c) 2005, 2006, 2007 Patrick Fish
+
+  modules/chanserv/list.c. modules/nickserv/list.c,
+  modules/operserv/clearchan.c, modules/operserv/compare.c,
+  modules/operserv/rakill.c, modules/operserv/rmatch.c,
+  modules/operserv/rnc.c:
+
+    Copyright (c) 2005, 2006, 2007 Robin Burchell
+
+  contrib/cs_userinfo.c, contrib/ns_ratelimitreg.c,
+  contrib/gen_httpd.c, contrib/gen_regcheckemail.c,
+  contrib/ircd_nohalfops.c, contrib/ircd_noowner.c,
+  contrib/ircd_noprotect.c, contrib/os_testcmd.c,
+  tools/html_helpfiles.sh, modules/nickserv/group.c.
+  contrib/hybservtoatheme.pl, include/privs.h, include/template.h,
+  src/privs.c, modules/chanserv/template.c, modules/xmlrpc/main.c:
+
+    Copyright (c) 2005, 2006, 2007 Jilles Tjoelker
+
+  contrib/ircd_alis.c:
+
+    Copyright (c) 2005-2007 William Pitcock
+    Copyright (C) 2003-2007 Lee Hardy <leeh@leeh.co.uk>
+    Copyright (C) 2003-2007 ircd-ratbox development team
+
+  contrib/Makefile.in, include/atheme.h, modules/backend/Makefile.in,
+  modules/chanserv/help.c, modules/chanserv/Makefile.in,
+  modules/Makefile.in, modules/chanserv/set.c, modules/crypto/Makefile.in,
+  modules/gameserv/Makefile.in, modules/global/Makefile.in,
+  modules/memoserv/Makefile.in, modules/nickserv/Makefile.in,
+  modules/operserv/Makefile.in, modules/protocol/Makefile.in,
+  modules/saslserv/Makefile.in, modules/xmlrpc/Makefile.in:
+
+    Copyright (c) 2003-2004 E. Will
+
+  contrib/ns_generatepass.c:
+
+    Copyright (c) 2005 Greg Feigenson
+
+  contrib/wumpus.c:
+
+    Copyright (c) 2006 William Pitcock <nenolod -at- nenolod.net>
+    Portions copyright (c) 2006 Kiyoshi Aman <kiyoshi.aman -at- gmail.com>
+
+  contrib/xmlrpc_explorer.php, modules/nickserv/return.c:
+
+    Copyright (c) 2005 Alex Lambert <alambert at quickfire dot org>
+
+  include/base64.h:
+
+    Copyright (C) 2004, 2005 Free Software Foundation, Inc.
+
+  src/base64.c:
+
+    Copyright (C) 1999, 2000, 2001, 2004, 2005 Free Software Foundation, Inc.
+
+  include/global.h, include/match.h, include/tools.h,
+  modules/operserv/akill.c, modules/operserv/help.c,
+  modules/operserv/inject.c, modules/protocol/bahamut.c,
+  modules/protocol/charybdis.c, modules/protocol/dreamforge.c,
+  modules/protocol/officeirc.c, modules/protocol/plexus.c,
+  modules/protocol/ptlink.c, modules/protocol/ratbox.c,
+  modules/protocol/shadowircd.c, modules/protocol/sorcery.c,
+  modules/protocol/ultimate3.c, modules/protocol/unreal.c:
+
+    Copyright (C) 2003-2004 E. Will.
+    Copyright (C) 2005-2006 Atheme Development Group
+
+  include/xmlrpc.h:
+
+    Copyright (c) 2005 Atheme Development Group and
+    Trystan Scott Lee <trystan@nomadirc.net>
+
+  src/xmlrpc.c:
+
+    (C) 2005 Trystan Scott Lee
+
+  src/arc4random.c:
+
+    Copyright 1996 David Mazieres <dm@lcs.mit.edu>.
+
+  src/cidr.c:
+
+    Copyright (c) 1996-2002 Hybrid Development Team
+    Copyright (c) 2002-2005 ircd-ratbox development team
+    Copyright (c) 2006 Atheme Development Group
+
+  modules/crypto/sorservices.c:
+
+    Copyright (c) 2006 William Pitcock <nenolod -at- nenolod.net>
+    Portions copyright (c) 2001 James Hess <mysidia -at- sorcery.net>
+
+  modules/gameserv/dice.c:
+
+    Copyright (c) 2005-2007 William Pitcock <nenolod@nenolod.net>
+    Copyright (c) 2006-2007 Jilles Tjoelker <jilles@stack.nl>
+
+  src/md5.c, include/md5.h:
+
+    Copyright (C) 1999, 2000, 2002 Aladdin Enterprises.  All rights reserved.
+
+License:
+
+  For all other than those listed below:
+
+    Permission to use, copy, modify, and/or distribute this software for any
+    purpose with or without fee is hereby granted, provided that the above
+    copyright notice and this permission notice appear in all copies.
+
+    THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
+    ANY EXPRESS 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 THE COPYRIGHT OWNER OR 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.
+
+  contrib/cap_sasl.pl:
+
+    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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301,
+    USA.
+
+    On Debian and Ubuntu systems, the complete text of the GNU General
+    Public License is available at `/usr/share/common-licenses/GPL'.
+
+  include/base64.h, src/base64.c:
+
+    This program is free software; you can redistribute it and/or modify it
+    under the terms of the GNU Lesser General Public License as published
+    by the Free Software Foundation; either version 2.1, 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
+    Lesser General Public License for more details.
+
+    You should have received a copy of the GNU Lesser General Public
+    License along with this program; if not, write to the Free Software
+    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+    MA 02110-1301, USA.
+
+    On Debian and Ubuntu systems, the complete text of the GNU Lesser General
+    Public License is available at `/usr/share/common-licenses/LGPL'.
+
+  contrib/hybservtoatheme.pl:
+
+    Redistribution and use in source and binary forms, with or without
+    modification, are permitted provided that the following conditions are
+    met:
+
+      1. Redistributions of 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.
+
+    THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
+    IS" AND ANY EXPRESS 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 THE COPYRIGHT
+    OWNER OR 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.
+
+  src/arc4random.c:
+
+    Modification and redistribution in source and binary forms is permitted
+    provided that due credit is given to the author and the OpenBSD project
+    (for instance by leaving this copyright notice intact).
+
+  src/md5.c, include/md5.h:
+
+    This software is provided 'as-is', without any express or implied
+    warranty.  In no event will the authors be held liable for any damages
+    arising from the use of this software.
+
+    Permission is granted to anyone to use this software for any purpose,
+    including commercial applications, and to alter it and redistribute it
+    freely, subject to the following restrictions:
+
+     1. The origin of this software must not be misrepresented; you must not
+        claim that you wrote the original software. If you use this software
+        in a product, an acknowledgment in the product documentation would
+        be appreciated but is not required.
+
+     2. Altered source versions must be plainly marked as such, and must not
+        be misrepresented as being the original software.
+
+     3. This notice may not be removed or altered from any source
+        distribution.
+
+The Debian packaging is (C) 2007, William Pitcock <nenolod@sacredspiral.co.uk> and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
--- atheme-services-3.0.3.orig/debian/atheme-services.manpages
+++ atheme-services-3.0.3/debian/atheme-services.manpages
@@ -0,0 +1 @@
+debian/atheme-services.8
--- atheme-services-3.0.3.orig/debian/atheme-services.postinst
+++ atheme-services-3.0.3/debian/atheme-services.postinst
@@ -0,0 +1,30 @@
+#! /bin/sh
+
+# atheme-services
+# Version:	atheme-services 2.2.0  06-08-07
+# Author:	Bradley Smith <brad@brad-smith.co.uk>
+
+set -e
+
+case "$1" in
+
+    configure)
+	    chown irc:irc /var/lib/atheme/
+	    chown irc:irc /var/log/atheme/
+	    chown irc:irc /var/run/atheme/
+	    chown root:irc /etc/atheme/
+	    chmod 770 /etc/atheme/
+	;;
+    abort-upgrade|abort-remove|abort-deconfigure)
+    ;;
+
+    *)
+        echo "ERROR: Postinst called with unknown argument!"
+        exit 0
+    ;;
+
+esac
+
+#DEBHELPER#
+
+exit 0
--- atheme-services-3.0.3.orig/debian/atheme-services.postrm
+++ atheme-services-3.0.3/debian/atheme-services.postrm
@@ -0,0 +1,21 @@
+#!/bin/sh
+
+# atheme
+# Version:	atheme-2.2.0  06/08/07
+# Author:	Bradley Smith <brad@brad-smith.co.uk>
+
+set -e
+
+case "$1" in
+    purge)
+	rm -rf /etc/atheme
+        rm -rf /var/run/atheme
+        rm -rf /var/lib/atheme
+        rm -rf /var/log/atheme
+    ;;
+
+esac
+
+#DEBHELPER#
+
+exit 0
--- atheme-services-3.0.3.orig/debian/atheme-services.default
+++ atheme-services-3.0.3/debian/atheme-services.default
@@ -0,0 +1,11 @@
+# Defaults for atheme initscript
+# sourced by /etc/init.d/atheme-services
+#
+# This is a POSIX shell fragment
+#
+# Additional options that are passed to the Daemon.
+# Please configure atheme-services first, there are examples provided in
+# /usr/share/doc/atheme-services/, there is also a manpage available describing
+# the possible DAEMON_OPTS.
+DAEMON_OPTS=""
+ENABLED=0
