--- ejabberd-1.1.1.orig/src/ejabberd_ctl.erl
+++ ejabberd-1.1.1/src/ejabberd_ctl.erl
@@ -222,13 +222,14 @@
 		   Desc, NewLine]
 	  end, CmdDescs),
     io:format(
-      "Usage: ejabberdctl node command~n"
+      "Usage: ejabberdctl [--node node] command [options]~n"
       "~n"
       "Available commands:~n"
       ++ FmtCmdDescs ++
       "~n"
-      "Example:~n"
-      "  ejabberdctl ejabberd@host restart~n"
+      "Examples:~n"
+      "  ejabberdctl restart~n"
+      "  ejabberdctl --node ejabberd@host restart~n"
      ).
 
 print_vhost_usage(Host) ->
@@ -253,7 +254,7 @@
 		   Desc, NewLine]
 	  end, CmdDescs),
     io:format(
-      "Usage: ejabberdctl node vhost host command~n"
+      "Usage: ejabberdctl [--node node] vhost host command~n"
       "~n"
       "Available commands:~n"
       ++ FmtCmdDescs ++
--- ejabberd-1.1.1.orig/examples/extauth/check_pass_null.pl
+++ ejabberd-1.1.1/examples/extauth/check_pass_null.pl
@@ -1,4 +1,4 @@
-#!/usr/local/bin/perl
+#!/usr/bin/perl
 
 use Unix::Syslog qw(:macros :subs);
 
--- ejabberd-1.1.1.orig/debian/scripts/ejabberdctl
+++ ejabberd-1.1.1/debian/scripts/ejabberdctl
@@ -0,0 +1,27 @@
+#!/bin/sh
+
+if [ -r /var/lib/ejabberd/.erlang.cookie ]
+then
+    HOME=/var/lib/ejabberd
+    export HOME
+fi
+
+NODE=ejabberd@`hostname -s`
+
+if [ $# -ne 0 ]
+then
+    case $1 in
+	--node)
+	    shift
+	    if [[ $1 == *@* ]]
+	    then
+		NODE=$1
+	    else
+		NODE=$1@`hostname -s`
+	    fi
+	    shift ;;
+    esac
+fi
+
+exec erl -noinput -sname ejabberdctl -s ejabberd_ctl -extra $NODE "$@"
+
--- ejabberd-1.1.1.orig/debian/scripts/ejabberd
+++ ejabberd-1.1.1/debian/scripts/ejabberd
@@ -0,0 +1,40 @@
+#!/bin/sh
+
+[ -f /etc/default/ejabberd ] && . /etc/default/ejabberd
+
+if [ -r /var/lib/ejabberd/.erlang.cookie ]
+then
+    HOME=/var/lib/ejabberd
+    export HOME
+fi
+
+NODE=ejabberd
+CONFIG=/etc/ejabberd/ejabberd.cfg
+LOG=/var/log/ejabberd/ejabberd.log
+SASL_LOG=/var/log/ejabberd/sasl.log
+SPOOL=/var/lib/ejabberd
+
+ARGS=
+while [ $# -ne 0 ]
+do
+    PARAM=$1
+    shift
+    case $PARAM in
+	--) break ;;
+	--node) NODE=$1; shift ;;
+	--config) CONFIG=$1 ; shift ;;
+	--log) LOG=$1 ; shift ;;
+	--sasl-log) SASL_LOG=$1 ; shift ;;
+	--spool) SPOOL=$1 ; shift ;;
+	*) ARGS="$ARGS $PARAM" ;;
+    esac
+done
+
+exec erl -sname $NODE \
+    -s ejabberd \
+    -kernel inetrc \"/etc/ejabberd/inetrc\" \
+    -ejabberd config \"$CONFIG\" log_path \"$LOG\" \
+    -sasl sasl_error_logger \{file,\"$SASL_LOG\"\} \
+    -mnesia dir \"$SPOOL\" \
+    $ERL_OPTIONS $ARGS "$@"
+
--- ejabberd-1.1.1.orig/debian/rules
+++ ejabberd-1.1.1/debian/rules
@@ -0,0 +1,26 @@
+#!/usr/bin/make -f
+
+DEB_AUTO_UPDATE_DEBIAN_CONTROL := true
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/autotools.mk
+
+DEB_BUILDDIR := $(shell pwd)/src
+DEB_CONFIGURE_SCRIPT := $(DEB_BUILDDIR)/configure
+DEB_CONFIGURE_EXTRA_FLAGS := --enable-odbc
+# Not sure if we should enable workaround for gateway subscription
+# Adding it breaks XMPP compatibility
+# Not adding breaks roster import for some gateways (specifically JIT)
+#DEB_CONFIGURE_EXTRA_FLAGS := --enable-odbc --enable-roster-gateway-workaround
+
+UPSTREAM_VERSION := $(shell dpkg-parsechangelog | sed -ne's!^Version: \(.*\)-.*!\1!p')
+
+DEB_MAKE_INSTALL_TARGET := install DESTDIR=`pwd`/debian/ejabberd \
+	EJABBERDDIR=`pwd`/debian/ejabberd/usr/lib/erlang/lib/ejabberd-$(UPSTREAM_VERSION) \
+	ETCDIR=`pwd`/debian/ejabberd/etc/ejabberd
+
+CFLAGS := -I `ls -d /usr/lib/erlang/erts-*`/include/
+
+# declares a minimal versioned erlang Depends:
+install/ejabberd::
+	grep-status -s Version -PX erlang-nox | sed -e's!^Version: \(.*\)!erlang:Depends=erlang-base (>= \1) | erlang-base-hipe (>= \1), erlang-nox (>= \1)!' >> debian/ejabberd.substvars
--- ejabberd-1.1.1.orig/debian/ejabberd.postinst
+++ ejabberd-1.1.1/debian/ejabberd.postinst
@@ -0,0 +1,91 @@
+#! /bin/sh
+# postinst script for ejabberd
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+#        * <postinst> `configure' <most-recently-configured-version>
+#        * <old-postinst> `abort-upgrade' <new version>
+#        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
+#          <new-version>
+#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
+#          <failed-install-package> <version> `removing'
+#          <conflicting-package> <version>
+# for details, see /usr/doc/packaging-manual/
+#
+# quoting from the policy:
+#     Any necessary prompting should almost always be confined to the
+#     post-installation script, and should be protected with a conditional
+#     so that unnecessary prompting doesn't happen if a package's
+#     installation fails and the `postinst' is called with `abort-upgrade',
+#     `abort-remove' or `abort-deconfigure'.
+
+case "$1" in
+    configure)
+	chown ejabberd:ejabberd /etc/ejabberd
+	chmod 700 /etc/ejabberd
+
+	chown ejabberd:ejabberd /etc/ejabberd/ejabberd.cfg
+	chmod 600 /etc/ejabberd/ejabberd.cfg
+
+	install -m 700 -d /var/lib/ejabberd
+	chown -R ejabberd:ejabberd /var/lib/ejabberd
+	install -o ejabberd -g adm -m 750 -d /var/log/ejabberd
+
+	cd /etc/ssl/certs
+	if [ -f ejabberd.pem ]
+	then
+	    echo "You already have /etc/ssl/certs/ejabberd.pem"
+	else
+	    HOSTNAME=`hostname -s`
+	    DOMAINNAME=`hostname -d`
+	    openssl req -new -x509 -days 365 -nodes -out ejabberd.pem \
+		-keyout ejabberd.pem > /dev/null 2>&1 <<+
+.
+.
+.
+$DOMAINNAME
+$HOSTNAME
+ejabberd
+root@$HOSTNAME.$DOMAINNAME
++
+	    chown ejabberd:ejabberd ejabberd.pem
+	    chmod 600 ejabberd.pem
+	    ln -sf ejabberd.pem `openssl x509 -noout -hash < ejabberd.pem`.0
+	fi
+
+	# before 0.7.5-1 init.d script returned before ejabberd actually stopped
+	if [ ! -z $2 ] && dpkg --compare-versions "$2" lt-nl "0.7.5-1"
+	then
+	    echo "Waiting for stopping ejabberd..."
+	    sleep 5
+	fi
+	# database format have been changed in 0.9, so extra backup
+	if [ ! -z $2 ] && dpkg --compare-versions "$2" lt-nl "0.9-1"
+	then
+	    echo "Backing up old database to /var/lib/ejabberd.bak..."
+	    rm -rf /var/lib/ejabberd.bak
+	    cp -a /var/lib/ejabberd /var/lib/ejabberd.bak
+	fi
+    ;;
+
+    abort-upgrade|abort-remove|abort-deconfigure)
+
+    ;;
+
+    *)
+        echo "postinst called with unknown argument \`$1'" >&2
+        exit 0
+    ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+
--- ejabberd-1.1.1.orig/debian/control
+++ ejabberd-1.1.1/debian/control
@@ -0,0 +1,29 @@
+Source: ejabberd
+Section: net
+Priority: optional
+Maintainer: Torsten Werner <twerner@debian.org>
+Build-Depends: cdbs (>= 0.4.23-1.1), debhelper (>= 4.1.0), erlang-base | erlang-runtime, erlang-nox, erlang-src, grep-dctrl, libexpat1-dev, libssl-dev, zlib1g-dev
+Standards-Version: 3.6.1
+
+Package: ejabberd
+Architecture: any
+Depends: ${erlang:Depends}, adduser, openssl, ${misc:Depends}, ${shlibs:Depends}
+Suggests: libunix-syslog-perl
+Description: Distributed, fault-tolerant Jabber/XMPP server written in Erlang
+ ejabberd is a distributed, fault-tolerant Jabber/XMPP server written in Erlang
+ Features:
+  - XMPP-compliant
+  - Web based administration
+  - Load balancing: can run in a cluster of machines
+  - Fault-tolerance: database can be replicated and stored on multiple
+    nodes (nodes can be added or replaced 'on the fly')
+  - Virtual hosting: several virtual domains can be served using single ejabberd
+    instance
+  - SSL/TLS support
+  - Multi-User Chat (MUC/conference)
+  - IRC transport
+  - Jabber Users Directory, based on users vCards
+  - Service Discovery
+  - Shared roster
+ .
+ Homepage: http://www.process-one.net/en/projects/ejabberd/ 
--- ejabberd-1.1.1.orig/debian/ejabberd.preinst
+++ ejabberd-1.1.1/debian/ejabberd.preinst
@@ -0,0 +1,38 @@
+#! /bin/sh
+# preinst script for ejabberd
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+#        * <new-preinst> `install'
+#        * <new-preinst> `install' <old-version>
+#        * <new-preinst> `upgrade' <old-version>
+#        * <old-preinst> `abort-upgrade' <new-version>
+
+case "$1" in
+    install)
+	adduser --quiet --system --shell /bin/sh --group --home /var/lib/ejabberd ejabberd
+    ;;
+
+    upgrade)
+    ;;
+
+    abort-upgrade)
+    ;;
+
+    *)
+        echo "preinst called with unknown argument \`$1'" >&2
+        exit 0
+    ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+
--- ejabberd-1.1.1.orig/debian/ejabberd.postrm
+++ ejabberd-1.1.1/debian/ejabberd.postrm
@@ -0,0 +1,57 @@
+#! /bin/sh
+# postrm script for ejabberd
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+#        * <postrm> `remove'
+#        * <postrm> `purge'
+#        * <old-postrm> `upgrade' <new-version>
+#        * <new-postrm> `failed-upgrade' <old-version>
+#        * <new-postrm> `abort-install'
+#        * <new-postrm> `abort-install' <old-version>
+#        * <new-postrm> `abort-upgrade' <old-version>
+#        * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version>
+# for details, see /usr/doc/packaging-manual/
+
+case "$1" in
+    remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+        ;;
+
+    purge)
+	rm -Rf /etc/ejabberd 2>/dev/null
+	rm -f /etc/default/ejabberd 2>/dev/null
+	rm -Rf /var/log/ejabberd 2>/dev/null
+	rm -f /var/lib/ejabberd/.erlang.cookie 2>/dev/null
+
+	# remove SSL certificate if it was created during install
+	cd /etc/ssl/certs
+	if [ -f ejabberd.pem ] ; then
+	    rm -f `openssl x509 -noout -hash < ejabberd.pem`.0
+	    rm -f ejabberd.pem
+	fi
+	
+	[ -d /var/lib/ejabberd ] && chown -R root:root /var/lib/ejabberd 
+	deluser ejabberd 2>/dev/null || true
+	delgroup ejabberd 2>/dev/null || true
+        ;;
+
+    *)
+        echo "postrm called with unknown argument \`$1'" >&2
+        exit 0
+
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+if [ "$1" = purge ] ; then
+    echo
+    echo Ejabberd user database at /var/lib/ejabberd has NOT been deleted.
+    echo
+fi
+
--- ejabberd-1.1.1.orig/debian/ejabberd.default
+++ ejabberd-1.1.1/debian/ejabberd.default
@@ -0,0 +1,13 @@
+# Additional options passed to erlang while starting ejabberd.
+# See erl(3) for more info
+# default options already passed are:
+#   -noshell -detached
+#export ERL_OPTIONS="-heart"
+
+# To use more than 1024 connections, you will need to set environment variable ERL_MAX_PORTS:
+#export ERL_MAX_PORTS=1024
+
+# To reduce memory usage, you can set environment variable ERL_FULLSWEEP_AFTER:
+# But in this case ejabberd may work slower.
+#export ERL_FULLSWEEP_AFTER=0
+
--- ejabberd-1.1.1.orig/debian/ejabberd.prerm
+++ ejabberd-1.1.1/debian/ejabberd.prerm
@@ -0,0 +1,37 @@
+#! /bin/sh
+# prerm script for ejabberd
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+#        * <prerm> `remove'
+#        * <old-prerm> `upgrade' <new-version>
+#        * <new-prerm> `failed-upgrade' <old-version>
+#        * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
+#        * <deconfigured's-prerm> `deconfigure' `in-favour'
+#          <package-being-installed> <version> `removing'
+#          <conflicting-package> <version>
+# for details, see /usr/doc/packaging-manual/
+
+case "$1" in
+    remove|upgrade)
+    ;;
+
+    deconfigure)
+    ;;
+
+    failed-upgrade)
+    ;;
+
+    *)
+	echo "prerm called with unknown argument \`$1'" >&2
+	exit 1
+    ;;
+esac
+
+#DEBHELPER#
+
+exit 0
+
--- ejabberd-1.1.1.orig/debian/ejabberd.init.d
+++ ejabberd-1.1.1/debian/ejabberd.init.d
@@ -0,0 +1,86 @@
+#! /bin/sh
+#
+# ejabberd        Start/stop ejabberd server
+#
+#
+
+PATH=/sbin:/bin:/usr/sbin:/usr/bin
+EJABBERD=/usr/sbin/ejabberd
+EJABBERDCTL=/usr/sbin/ejabberdctl
+EJABBERDUSER=ejabberd
+NAME=ejabberd
+
+test -f $EJABBERD || exit 0
+test -f $EJABBERDCTL || exit 0
+
+# Include ejabberd defaults if available
+if [ -f /etc/default/ejabberd ] ; then
+    . /etc/default/ejabberd
+fi
+
+ctl()
+{
+    action="$1"
+    su $EJABBERDUSER -c "$EJABBERDCTL $action" >/dev/null
+}
+
+start()
+{
+    cd /var/lib/ejabberd
+    su $EJABBERDUSER -c "$EJABBERD -noshell -detached"
+}
+
+case "$1" in
+    start)
+	echo -n "Starting jabber server: $NAME"
+	if ctl status ; then
+	    echo -n " already running"
+	else
+	    start
+	fi
+    ;;
+    stop)
+	echo -n "Stopping jabber server: $NAME"
+	if ctl status ; then
+	    if ctl stop ; then
+		cnt=0
+		sleep 1
+		while ctl status ; do
+		    echo -n .
+		    cnt=`expr $cnt + 1`
+		    if [ $cnt -gt 60 ] ; then
+			echo -n " failed"
+			break
+		    fi
+		    sleep 1
+		done
+	    else
+		echo -n " failed"
+	    fi
+	else
+	    echo -n " already stopped"
+	fi
+    ;;
+    restart|force-reload)
+	echo -n "Restarting jabber server: $NAME"
+	if ctl status ; then
+	    ctl restart
+	else
+	    echo -n " is not running. Starting $NAME"
+	    start
+	fi
+    ;;
+    *)
+	echo "Usage: /etc/init.d/$NAME {start|stop|restart|force-reload}" >&2
+	exit 1
+    ;;
+esac
+
+if [ $? -eq 0 ]; then
+    echo .
+else
+    echo " failed."
+fi
+
+exit 0
+
--- ejabberd-1.1.1.orig/debian/compat
+++ ejabberd-1.1.1/debian/compat
@@ -0,0 +1 @@
+4
--- ejabberd-1.1.1.orig/debian/inetrc
+++ ejabberd-1.1.1/debian/inetrc
@@ -0,0 +1,2 @@
+{file, resolv, "/etc/resolv.conf"}.
+
--- ejabberd-1.1.1.orig/debian/ejabberd.docs
+++ ejabberd-1.1.1/debian/ejabberd.docs
@@ -0,0 +1,4 @@
+doc/*.html
+doc/*.png
+doc/*.txt
+
--- ejabberd-1.1.1.orig/debian/control.in
+++ ejabberd-1.1.1/debian/control.in
@@ -0,0 +1,29 @@
+Source: ejabberd
+Section: net
+Priority: optional
+Maintainer: Torsten Werner <twerner@debian.org>
+Build-Depends: @cdbs@, erlang-base | erlang-runtime, erlang-nox, erlang-src, grep-dctrl, libexpat1-dev, libssl-dev, zlib1g-dev
+Standards-Version: 3.6.1
+
+Package: ejabberd
+Architecture: any
+Depends: ${erlang:Depends}, adduser, openssl, ${misc:Depends}, ${shlibs:Depends}
+Suggests: libunix-syslog-perl
+Description: Distributed, fault-tolerant Jabber/XMPP server written in Erlang
+ ejabberd is a distributed, fault-tolerant Jabber/XMPP server written in Erlang
+ Features:
+  - XMPP-compliant
+  - Web based administration
+  - Load balancing: can run in a cluster of machines
+  - Fault-tolerance: database can be replicated and stored on multiple
+    nodes (nodes can be added or replaced 'on the fly')
+  - Virtual hosting: several virtual domains can be served using single ejabberd
+    instance
+  - SSL/TLS support
+  - Multi-User Chat (MUC/conference)
+  - IRC transport
+  - Jabber Users Directory, based on users vCards
+  - Service Discovery
+  - Shared roster
+ .
+ Homepage: http://www.process-one.net/en/projects/ejabberd/ 
--- ejabberd-1.1.1.orig/debian/changelog
+++ ejabberd-1.1.1/debian/changelog
@@ -0,0 +1,188 @@
+ejabberd (1.1.1-2ipsyn) experimental; urgency=low
+
+  * backport to woody 
+
+ -- JLB <jlb@ipsyn.net>  Wed,  7 Jun 2006 16:28:49 +0200
+
+ejabberd (1.1.1-2) experimental; urgency=low
+
+  [ Sergei Golovan ]
+  * changed Build-Depends from erlang-base-hipe to erlang-base
+  * fix for lintian complaint about incorrect usage of chown
+
+  [ Torsten Werner ]
+  * making Build-Depends and erlang:Depends more strict: they are working now
+    only with the latest versions of erlang
+
+ -- Torsten Werner <twerner@debian.org>  Tue,  2 May 2006 21:00:47 +0200
+
+ejabberd (1.1.1-1) experimental; urgency=low
+
+  * New upstream release
+  * applied changes from Sergei Golovan
+  * removed src/Makefile.in from Debians SVN because the changes have been
+    included upstream
+
+ -- Torsten Werner <twerner@debian.org>  Mon,  1 May 2006 19:36:19 +0200
+
+ejabberd (1.0.0-2) unstable; urgency=low
+
+  * downgraded erlang-Depends to erlang-runtime, closes: #361739
+
+ -- Torsten Werner <twerner@debian.org>  Mon, 10 Apr 2006 20:52:45 +0200
+
+ejabberd (1.0.0-1) unstable; urgency=low
+
+  * new upstream release, closes: #344330, #353989
+    - Server-to-server Encryption for Enhanced Security: STARTTLS +
+    SASL_EXTERNAL and STARTTLS + Dialback.
+    - Different certificates can be defined for each virtual host.
+    - Shared Roster groups support has been enhanced. New is the ability to
+    add all registered users to a Shared Roster group.
+    - Improved ODBC support.
+    - Support for vCard storage in ODBC has been added.
+    - New tool to convert an Mnesia-based installation to an ODBC compatible
+    relational database.
+    - Native PostgreSQL support.
+    - More XHTML 1.0 Transitional compliancy work is included.
+    - Documentation has been extended to cover more topics.
+
+ -- Torsten Werner <twerner@debian.org>  Sun,  5 Mar 2006 10:20:50 +0100
+
+ejabberd (0.9.8-1) unstable; urgency=low
+
+  * new upstream version
+  * added debian/watch
+  * merged some documentation and configuration fixes from Sergei Golovan
+    <sgolovan@nes.ru>
+
+ -- Torsten Werner <twerner@debian.org>  Sat,  6 Aug 2005 19:39:59 +0200
+
+ejabberd (0.9.1-2) unstable; urgency=low
+
+  * some fixes to the german translation, thanks to Patrick Dreker
+    <pdreker@debianforum.de> for pointing that out, closes: #317955
+
+ -- Torsten Werner <twerner@debian.org>  Wed, 13 Jul 2005 21:53:16 +0200
+
+ejabberd (0.9.1-1) unstable; urgency=low
+
+  * New upstream release, closes: #309526
+  * added --enable-odbc to configure
+  * small fix to init script
+  * thanks to Sergei Golovan <sgolovan@nes.ru> for helping
+
+ -- Torsten Werner <twerner@debian.org>  Wed, 25 May 2005 23:55:28 +0200
+
+ejabberd (0.9-2) unstable; urgency=low
+
+  * smoothed the upgrade procedure from 0.7.5
+  * added custom inetrc file (erlang R10 doesn't load /etc/resolv.conf when
+    running in -sname mode, making resolving of SRV record impossible),
+    thanks to Sergej Golovan, closes: #299533
+  * updated homepage
+
+ -- Torsten Werner <twerner@debian.org>  Wed, 18 May 2005 00:16:22 +0200
+
+ejabberd (0.9-1) unstable; urgency=low
+
+  * new upstream version, closes: #307652
+
+ -- Torsten Werner <twerner@debian.org>  Tue, 10 May 2005 22:04:03 +0200
+
+ejabberd (0.7.5-7) unstable; urgency=low
+
+  * can build now with various erlang versions because of buggy erlang on arm
+
+ -- Torsten Werner <twerner@debian.org>  Sat,  8 Jan 2005 23:34:27 +0100
+
+ejabberd (0.7.5-6) unstable; urgency=low
+
+  * changed to versioned (Build-)Depends: erlang (>= 1:10), closes: #282836
+  * fixed error in init script, closes: #283205
+  * scripts ejabberd and ejabberdctl export $HOME environment variable now
+  * usage message for ejabberdctl updated to reflect the different call syntax
+    thanks to Sergei Golovan (both changes)
+  * updated the Description proposed by Andreas van Cranenburgh
+
+ -- Torsten Werner <twerner@debian.org>  Tue, 30 Nov 2004 22:05:28 +0100
+
+ejabberd (0.7.5-5) unstable; urgency=low
+
+  * renamed debian/control to debian/control.in and changed Build-Depends:
+    @cdbs@
+
+ -- Torsten Werner <twerner@debian.org>  Fri, 19 Nov 2004 23:58:01 +0100
+
+ejabberd (0.7.5-4) unstable; urgency=low
+
+  * switched to cdbs
+  * fixed perl script and added Suggests: libunix-syslog-perl
+
+ -- Torsten Werner <twerner@debian.org>  Thu, 18 Nov 2004 15:48:36 +0100
+
+ejabberd (0.7.5-3) unstable; urgency=low
+
+  * changed maintainer to myself
+
+ -- Torsten Werner <twerner@debian.org>  Wed, 17 Nov 2004 19:23:08 +0100
+
+ejabberd (0.7.5-2) unstable; urgency=low
+
+  * fixed doc-base file
+  * initial upload based on Sergei's work
+
+ -- Torsten Werner <twerner@debian.org>  Wed,  3 Nov 2004 21:43:58 +0100
+
+ejabberd (0.7.5-1) unstable; urgency=low
+
+  * new upstream release (highlights: new tls module, starttls,
+    improvements in admiin web interface, bugfixes)
+  * improved init.d script
+
+ -- Sergei Golovan <sgolovan@nes.ru>  Sun, 10 Oct 2004 21:44:25 +0400
+
+ejabberd (0.7-2) unstable; urgency=low
+
+  * workaround for mnesia issue in mod_last
+
+ -- Sergei Golovan <sgolovan@nes.ru>  Wed, 14 Jul 2004 01:43:13 +0400
+
+ejabberd (0.7-1) unstable; urgency=low
+
+  * new upstream release
+
+ -- Sergei Golovan <sgolovan@nes.ru>  Tue, 13 Jul 2004 20:35:29 +0400
+
+ejabberd (0.6-alpha-20040522-4) unstable; urgency=low
+
+  * fixed icq.localhost entry in config file
+  * added example options to config file
+
+ -- Sergei Golovan <sgolovan@nes.ru>  Thu, 17 Jun 2004 00:23:32 +0400
+
+ejabberd (0.6-alpha-20040522-3) unstable; urgency=low
+
+  * fixed comments in config file
+
+ -- Sergei Golovan <sgolovan@nes.ru>  Wed, 16 Jun 2004 21:10:13 +0400
+
+ejabberd (0.6-alpha-20040522-2) unstable; urgency=low
+
+  * added comments to config file
+
+ -- Sergei Golovan <sgolovan@nes.ru>  Sun, 13 Jun 2004 13:24:58 +0400
+
+ejabberd (0.6-alpha-20040522-1) unstable; urgency=low
+
+  * new upstream CVS snapshot
+  * updated manual pade for ejabberdctl
+
+ -- Sergei Golovan <sgolovan@nes.ru>  Sun, 30 May 2004 09:36:59 +0400
+
+ejabberd (0.6-alpha-20040417-1) unstable; urgency=low
+
+  * initial prerelease from upstream CVS snapshot
+
+ -- Sergei Golovan <sgolovan@nes.ru>  Sun, 25 Apr 2004 16:39:22 +0400
+
--- ejabberd-1.1.1.orig/debian/ejabberd.manpages
+++ ejabberd-1.1.1/debian/ejabberd.manpages
@@ -0,0 +1,3 @@
+debian/ejabberd.8
+debian/ejabberdctl.8
+
--- ejabberd-1.1.1.orig/debian/ejabberd.cfg
+++ ejabberd-1.1.1/debian/ejabberd.cfg
@@ -0,0 +1,215 @@
+% Default Debian ejabberd.cfg
+
+%override_acls.
+
+
+% Users that have admin access.  Add line like one of the following after you
+% will be successfully registered on server to get admin access:
+%{acl, admin, {user, "aleksey"}}.
+%{acl, admin, {user, "ermine"}}.
+
+% Blocked users:
+%{acl, blocked, {user, "test"}}.
+
+% Local users:
+{acl, local, {user_regexp, ""}}.
+
+% Another examples of ACLs:
+%{acl, jabberorg, {server, "jabber.org"}}.
+%{acl, aleksey, {user, "aleksey", "jabber.ru"}}.
+%{acl, test, {user_regexp, "^test"}}.
+%{acl, test, {user_glob, "test*"}}.
+
+
+% Only admins can use configuration interface:
+{access, configure, [{allow, admin}]}.
+
+% Every username can be registered via in-band registration:
+{access, register, [{allow, all}]}.
+
+% None username can be registered via in-band registration:
+%{access, register, [{deny, all}]}.
+
+% After successful registration user will get message with following subject
+% and body:
+{welcome_message,
+ {"Welcome!",
+  "Welcome to Debian Jabber Service.  "
+  "For information about Jabber visit http://jabber.org"}}.
+% Replace them with 'none' if you don't want to send such message:
+%{welcome_message, none}.
+
+% List of people who will get notifications about registered users
+%{registration_watchers, ["admin1@localhost",
+%                         "admin2@localhost"]}.
+
+% Only admins can send announcement messages:
+{access, announce, [{allow, admin}]}.
+
+
+% Only non-blocked users can use c2s connections:
+{access, c2s, [{deny, blocked},
+	       {allow, all}]}.
+
+% Set shaper with name "normal" to limit traffic speed to 1000B/s
+{shaper, normal, {maxrate, 1000}}.
+
+% Set shaper with name "fast" to limit traffic speed to 50000B/s
+{shaper, fast, {maxrate, 50000}}.
+
+% For all users except admins used "normal" shaper
+{access, c2s_shaper, [{none, admin},
+		      {normal, all}]}.
+
+% For all S2S connections used "fast" shaper
+{access, s2s_shaper, [{fast, all}]}.
+
+% Admins of this server are also admins of MUC service:
+{access, muc_admin, [{allow, admin}]}.
+
+% All users are allowed to use MUC service:
+{access, muc, [{allow, all}]}.
+
+% This rule allows access only for local users:
+{access, local, [{allow, local}]}.
+
+
+% Authentication method.  If you want to use internal user base, then use
+% this line:
+{auth_method, internal}.
+
+% For LDAP authentication use these lines instead of above one:
+%{auth_method, ldap}.
+%{ldap_servers, ["localhost"]}.    % List of LDAP servers
+%{ldap_uidattr, "uid"}.            % LDAP attribute that holds user ID
+%{ldap_base, "dc=example,dc=com"}. % Search base of LDAP directory
+%{ldap_rootdn, "dc=example,dc=com"}. % LDAP manager
+%{ldap_password, "******"}. % Password to LDAP manager
+
+% For authentication via external script use the following:
+%{auth_method, external}.
+%{extauth_program, "/path/to/authentication/script"}.
+
+% For authentication via ODBC use the following:
+%{auth_method, odbc}.
+%{odbc_server, "DSN=ejabberd;UID=ejabberd;PWD=ejabberd"}.
+
+%% Anonymous login support:
+%%  auth_method: anonymous
+%%  anonymous_protocol: sasl_anon|login_anon|both
+%%  allow_multiple_connections: true|false
+%%{host_config, "public.example.org", [{auth_method, anonymous},
+%%                                     {allow_multiple_connections, false},
+%%                                     {anonymous_protocol, sasl_anon}]}.
+%% To use both anonymous and internal authentication:
+%%{host_config, "public.example.org", [{auth_method, [anonymous, internal]}]}.
+
+
+% Host(s) name: (replace for your hostname(s))
+% Old {host, "localhost"}. option is equivalent to {hosts, ["localhost"]}.
+{hosts, ["localhost"]}.
+
+
+% Default language for server messages
+{language, "en"}.
+
+% Listened ports:
+{listen,
+% Ordinary client-2-server service
+ [{5222, ejabberd_c2s,     [{access, c2s},
+			    {max_stanza_size, 65536},
+                            starttls, {certfile, "/etc/ssl/certs/ejabberd.pem"},
+                            {shaper, c2s_shaper}]},
+
+% SSL-enabled client-2-server service
+  {5223, ejabberd_c2s,     [{access, c2s},
+			    {max_stanza_size, 65536},
+                            tls, {certfile, "/etc/ssl/certs/ejabberd.pem"},
+			    {shaper, c2s_shaper}]},
+
+% Server-2-server service
+  {5269, ejabberd_s2s_in,  [{shaper, s2s_shaper},
+			    {max_stanza_size, 131072}]},
+
+% External MUC jabber-muc (but internal mod_muc is better :))
+% {5554, ejabberd_service, [{ip, {127, 0, 0, 1}},
+%                           {access, all},
+%                           {host, "muc.localhost", [{password, "secret"}]}]},
+
+% Jabber ICQ Transport
+% {5555, ejabberd_service, [{ip, {127, 0, 0, 1}},
+%                           {access, all},
+%                           {hosts, ["icq.localhost", "sms.localhost"], [{password, "secret"}]}]},
+
+% AIM Transport
+% {5556, ejabberd_service, [{ip, {127, 0, 0, 1}},
+%                           {access, all},
+%                           {host, "aim.localhost", [{password, "secret"}]}]},
+
+% MSN Transport
+% {5557, ejabberd_service, [{ip, {127, 0, 0, 1}},
+%                           {access, all},
+%                           {host, "msn.localhost", [{password, "secret"}]}]},
+
+% Yahoo! Transport
+% {5558, ejabberd_service, [{ip, {127, 0, 0, 1}},
+%                           {access, all},
+%                           {host, "yahoo.localhost", [{password, "secret"}]}]},
+
+% External JUD (internal is more powerful,
+% but doesn't allow to register users from other servers)
+% {5559, ejabberd_service, [{ip, {127, 0, 0, 1}},
+%                           {access, all},
+%                           {host, "jud.localhost", [{password, "secret"}]}]},
+
+% HTTP service (You may choose options HTTP-polling and Web-administering)
+% When commenting out, be careful with commas
+  {5280, ejabberd_http,    [http_poll, web_admin]}
+ ]}.
+
+% Use STARTTLS+Dialback for S2S connections
+{s2s_use_starttls, true}.
+{s2s_certfile, "/etc/ssl/certs/ejabberd.pem"}.
+%{domain_certfile, "example.org", "/etc/ssl/certs/example_org.pem"}.
+%{domain_certfile, "example.com", "/etc/ssl/certs/example_com.pem"}.
+
+% If SRV lookup fails, then port 5269 is used to communicate with remote server
+{outgoing_s2s_port, 5269}.
+
+% Used modules:
+{modules,
+ [
+  {mod_adhoc,      []},
+  {mod_announce,   [{access, announce}]}, % Depends on mod_adhoc
+  {mod_register,   [{access, register}]},
+  {mod_roster,     []},
+  {mod_privacy,    []},
+  {mod_configure,  []}, % Depends on mod_adhoc
+  {mod_configure2, []},
+  {mod_disco,      [{extra_domains, ["users.jabber.org"]}]},
+  {mod_stats,      []},
+  {mod_vcard,      []},
+  {mod_offline,    []},
+  {mod_echo,       []},
+  {mod_private,    []},
+  {mod_irc,        []},
+% Default options for mod_muc:
+%   host: "conference." ++ ?MYNAME
+%   access: all
+%   access_create: all
+%   access_admin: none (only room creator has owner privileges)
+  {mod_muc,        [{access, muc},
+		    {access_create, muc},
+		    {access_admin, muc_admin}]},
+%  {mod_muc_log,   []},
+%  {mod_shared_roster, []},
+  {mod_pubsub,     []},
+  {mod_time,       []},
+  {mod_last,       []},
+  {mod_version,    []}
+ ]}.
+
+% vim:set ft=erlang:
+% Local Variables:
+% mode: erlang
+% End:
--- ejabberd-1.1.1.orig/debian/ejabberd.logrotate
+++ ejabberd-1.1.1/debian/ejabberd.logrotate
@@ -0,0 +1,13 @@
+/var/log/ejabberd/ejabberd.log {
+	weekly
+	missingok
+	rotate 12
+	size 1M
+	compress
+	delaycompress
+	ifempty
+	create 640 ejabberd adm
+	postrotate
+		/usr/sbin/ejabberdctl reopen-log > /dev/null
+	endscript
+}
--- ejabberd-1.1.1.orig/debian/ejabberd.dirs
+++ ejabberd-1.1.1/debian/ejabberd.dirs
@@ -0,0 +1,2 @@
+var/lib/ejabberd
+var/log/ejabberd
--- ejabberd-1.1.1.orig/debian/ejabberd.install
+++ ejabberd-1.1.1/debian/ejabberd.install
@@ -0,0 +1,5 @@
+debian/scripts/ejabberd usr/sbin/
+debian/scripts/ejabberdctl usr/sbin/
+debian/ejabberd.cfg etc/ejabberd/
+debian/inetrc etc/ejabberd/
+
--- ejabberd-1.1.1.orig/debian/ejabberd.8
+++ ejabberd-1.1.1/debian/ejabberd.8
@@ -0,0 +1,172 @@
+.TH ejabberd 8 "24 April 2006" "Version 1.1.1" "ejabberd manual page"
+
+.SH NAME
+ejabberd \(em Distributed fault-tolerant Jabber/XMPP server 
+
+.SH SYNOPSIS
+.PP 
+\fBejabberd\fR \fI[options] [--] [erlang_options]\fP
+
+.SH DESCRIPTION
+.PP 
+\fBejabberd\fR is a distributed fault-tolerant Jabber/XMPP server written in Erlang. 
+
+main features are: 
+.PD 0
+.TP
+- XMPP-compliant 
+.TP
+- Distributed: \fBejabberd\fR can run on a cluster of machines
+.TP
+- Fault-tolerant: All the information can be stored on more than one node, nodes can be added or replaced 'on the fly' 
+.TP
+- Built-in Multi-User Chat service 
+.TP
+- Built-in IRC transport 
+.TP
+- Built-in Publish-Subscribe service 
+.TP
+- Built-in Jabber User Directory service based on users vCards 
+.TP
+- SSL support 
+.TP
+- Support for JEP-0030 (Service Discovery) 
+.TP
+- Support for JEP-0039 (Statistics Gathering) 
+.TP
+- Support for xml:lang
+
+.SH OPTIONS
+.TP
+.BI \-\-node " node"
+Specifies erlang \fInode\fP at which ejabberd server will be run. Default
+node is \fBejabberd\fP. If the node name does not contain symbol @ then
+actual node name becomes \fBnode@hostname\fP where hostname is short host
+name (\fI`hostname -s`\fP).
+
+Examples of \fI--node\fP option:
+
+.BI ejabberd
+Locally run ejabberd server at node \fIejabberd@`hostname -s`\fP.
+
+.BI ejabberd@otherhost
+Pretend that ejabberd server runs at otherhost at node \fIejabberd@otherhost\fP.
+(Note that none can remotely connect to this node if otherhost is resoved
+to other computer IP.)
+
+.BI ejabberd@localhost
+Locally run ejabberd server at node \fIejabberd@localhost\fP. Only nodes
+running at the same host can connect to this node.
+
+.TP
+.BI \-\-config " config\-file"
+Specifies an alternate \fIconfig\-file\fP to be parsed at startup, rather
+than the default (\fB/etc/ejabberd/ejabberd.cfg\fP).
+.TP
+.BI \-\-spool " spool\-dir"
+Specifies an alternate \fIspool\-dir\fP to store user database instead of
+the default (\fB/var/lib/ejabberd\fP).
+.TP
+.BI \-\-log " log\-file"
+Log Jabber events to specified \fIlog\-file\fP rather than to the default
+(\fB/var/log/ejabberd/ejabberd.log\fP).
+.TP
+.BI \-\-sasl\-log " sasl\-log\-file"
+Log SASL (System Application Support Libraries) events to specified
+\fIsasl\-log\-file\fP rather than to the default (\fB/var/log/ejabberd/sasl.log\fP).
+.TP
+.I erlang_options
+Other options (and all options following \fB\-\-\fR) are passed directly to
+\fBErlang\fR interpreter. See \fBErlang\fR documentation for more details on
+interpreter options.
+Some useful options are:
+.br
+.sp
+.BI -detached
+    Starts the Erlang system detached from the system console.
+.br
+.BI -heart
+    Starts heart beat monitoring of the Erlang system.
+.br
+.BI -noinput
+    Ensures that the Erlang system never tries to read any input.
+
+.SH CONFIGURATION FILE
+.PP 
+The file \fB/etc/ejabberd/ejabberd.cfg\fR contains the main configuration.
+It is initially loaded the first time \fBejabberd\fR is
+executed, then it is parsed and stored in a database. Subsiquently the
+configuration is loaded from the database and any commands in the configuration
+file are appended to the entries in the database. The configuration file
+consists of a sequence of Erlang terms. Parts of lines after `%' sign
+are ignored. Each term is a tuple, where the first element is the name of an
+option, and the others are option values. E. g. if this file does not contain a
+"host" definition, then the value stored in the database will be used.
+
+To override old values stored in the database the following lines can be added
+in config:
+.br
+  override_global.
+.br
+  override_local.
+.br
+  override_acls.
+
+A complete explanation of each configuration value can be found in the
+official \fBejabberd\fR documentation. See "\fBSEE ALSO\fR" part of this
+manual page for more information about the documentation.
+
+.SH OPTIONS FILE
+.PP 
+The file \fB/etc/default/ejabberd\fR contains specific options.
+
+.PD 0
+.TP
+.I ERL_OPTIONS
+With this option, parameters can be passed to \fBErlang\fR interpretor. See
+\fBErlang\fR documentation for more details on interpreter options.
+
+.TP
+.I ERL_MAX_PORTS
+To use more than 1024 connections (default value), \fIERL_MAX_PORTS\fP should be set
+to the number of connections needed.
+
+.TP
+.I ERL_FULLSWEEP_AFTER
+To reduce memory usage when allowing a large number of connections, \fIERL_FULLSWEEP_AFTER\fP
+may be set to 0 by uncommenting the corresponding line into the options file,
+but in this case \fBejabberd\fR may start to work slower.
+
+.SH FILES
+.PD 0
+.TP
+.I /etc/ejabberd/ejabberd.cfg
+default configuration file
+
+.TP
+.I /etc/default/ejabberd
+default variables
+
+.SH SEE ALSO 
+.PP 
+\fBerl\fR(1), \fBsasl\fR(6), \fBejabberdctl\fR(8). 
+
+.PP 
+The program documentation is available at \fIhttp://www.process-one.net/en/projects/ejabberd/\fP. 
+A copy of the documentation can be found at /usr/share/doc/ejabberd/html/guide.html.
+ 
+.SH AUTHORS
+.PP 
+This manual page was adapted by Christophe Romain <cro@tuxfamily.org>
+and Sergei Golovan <sgolovan@nes.ru> for 
+the \fBDebian\fP system (but may be used by others) from the
+\fBejabberd\fP documentation written by Alexey Shchepin <alexey@sevcom.net>.
+
+Permission is granted to copy, distribute and/or modify this document under 
+the terms of the GNU General Public License, Version 2 any  
+later version published by the Free Software Foundation. 
+.PP 
+On Debian systems, the complete text of the GNU General Public 
+License can be found in /usr/share/common-licenses/GPL. 
+
+
--- ejabberd-1.1.1.orig/debian/watch
+++ ejabberd-1.1.1/debian/watch
@@ -0,0 +1,5 @@
+version=3
+
+http://www.process-one.net/en/projects/ejabberd/download.html \
+   download/[\d.]+/ejabberd-([\d.]+).tar.gz
+
--- ejabberd-1.1.1.orig/debian/ejabberdctl.8
+++ ejabberd-1.1.1/debian/ejabberdctl.8
@@ -0,0 +1,129 @@
+.TH ejabberdctl 8 "24 April 2006" "Version 1.1.1" "ejabberdctl manual page"
+
+.SH NAME
+ejabberd Jabber/XMPP server control interface
+
+.SH SYNOPSIS
+.PP 
+\fBejabberdctl\fR \fI[--node node] [vhost server] command [options]\fP
+
+.SH DESCRIPTION
+.PP 
+\fBejabberdctl\fR  is a front end to the ejabberd Jabber/XMPP server.
+It is designed to help the administrator control the functioning of the
+running \fBejabberd\fR daemon.
+
+.SH OPTIONS
+.TP
+.BI \-\-node " node"
+Specifies remote erlang node to connect to. Default value is
+\fIejabberd@`hostname -s`\fP. If the node name does not contain symbol \fI@\fP
+then actual node name becomes \fInode@host\fP where \fIhost\fP is short
+hostname (\fI`hostname -s`\fP).
+
+Examples of \fI--node\fP option:
+
+.BI ejabberd
+Connect to locally run ejabberd server at node \fIejabberd@`hostname -s`\fP.
+
+.BI ejabberd@otherhost
+Connect to remotely run ejabberd server at node \fIejabberd@otherhost\fP.
+
+.BI ejabberd@localhost
+Connect to locally run ejabberd server at node \fIejabberd@localhost\fP.
+
+.TP
+.BI vhost " server"
+Specifies that \fIcommand\fP should be executed for virtual host \fIserver\fP.
+There are only few commands that require \fIvhost\fP argument.
+
+.PP
+If there are no \fIvhost server\fP options then the \fIcommand\fP can be any
+of the following:
+.TP
+.BI status
+Requests status of the ejabberd server.
+.TP
+.BI stop
+Stops the ejabberd server.
+.TP
+.BI restart
+Restarts the ejabberd server.
+.TP
+.BI reopen-log
+Force the ejabberd server to reopen its log file.
+.TP
+.BI register " user server password"
+Register user \fIuser\fP with password \fIpassword\fP at ejabberd virtual
+host \fIserver\fP.
+.TP
+.BI unregister " user server"
+Unregister user \fIuser\fP at ejabberd virtual host \fIserver\fP.
+.TP
+.BI backup " filepath"
+Backup user database of the ejabberd server to file \fIfilepath\fP.
+.TP
+.BI restore " filepath"
+Restore user database of the ejabberd server from backup file \fIfilepath\fP.
+.TP
+.BI install-fallback " filepath"
+Install a backup to \fIfilepath\fP as fallback. The fallback will be
+used to restore the database at the next start-up.
+.TP
+.BI dump " filepath"
+Dump user database of the ejabberd server to text file \fIfilepath\fP.
+.TP
+.BI load " filepath"
+Restore user database of the ejabberd server from text file \fIfilepath\fP.
+.TP
+.BI import-file " filepath"
+Import user data from jabberd 1.4 spool file \fIfilepath\fP. For example, if
+\fIfilepath\fP is \fI.../example.org/user.xml\fP then imported username will be
+\fIuser\fP and it will be imported to virtual server \fIexample.org\fP.
+.TP
+.BI import-dir " directorypath"
+Import user data from jabberd 1.4 spool directory \fIdirectorypath\fP. Directory
+name should be the name of virtual server to import users.
+.TP
+.BI delete-expired-messages
+Delete expired offline messages from ejabberd database.
+.TP
+.BI user-resources " user server"
+List all connected resources of user \fIuser@server\fP.
+.TP
+.BI connected-users-number
+Report number of established users' sessions.
+.TP
+.BI connected-users
+List all established users' sessions.
+
+.PP
+If there are \fIvhost server\fP options then the \fIcommand\fP can be
+the following:
+.TP
+.BI registered-users
+List all registered at the ejabberd server users (at virtual host \fIserver\fP).
+
+
+.SH SEE ALSO 
+.PP 
+\fBerl\fR(1), \fBejabberd\fR(8), \fBmnesia\fR(3).
+
+.PP 
+The program documentation is available at \fIhttp://www.process-one.net/en/projects/ejabberd/\fP. 
+A copy of the documentation can be found at /usr/share/doc/ejabberd/html/guide.html.
+ 
+.SH AUTHORS
+.PP 
+This manual page was adapted by Sergei Golovan <sgolovan@nes.ru> for 
+the \fBDebian\fP system (but may be used by others) from the
+\fBejabberd\fP documentation written by Alexey Shchepin <alexey@sevcom.net>.
+
+Permission is granted to copy, distribute and/or modify this document under 
+the terms of the GNU General Public License, Version 2 any  
+later version published by the Free Software Foundation. 
+.PP 
+On Debian systems, the complete text of the GNU General Public 
+License can be found in /usr/share/common-licenses/GPL. 
+
+
--- ejabberd-1.1.1.orig/debian/copyright
+++ ejabberd-1.1.1/debian/copyright
@@ -0,0 +1,21 @@
+This package was debianized by Sergei Golovan <sgolovan@nes.ru> on
+Sun, 25 Apr 2004 16:39:22 +0400.
+
+Original source has been downloaded from
+  http://www.process-one.net/en/projects/ejabberd/download.html
+
+Upstream Author: Alexey Shchepin <alexey@sevcom.net>
+
+This software is copyright (c) 2002-2005 Alexey Shchepin
+
+You are free to distribute this software under the terms of
+the GNU General Public License as published by the
+Free Software Foundation; either version 2, or (at your option) any
+later version.
+
+On Debian systems, the complete text of the GNU General Public
+License can be found in the file `/usr/share/common-licenses/GPL'.
+
+As a special exception, the author gives permission to link this program
+with the OpenSSL library and distribute the resulting binary.
+
--- ejabberd-1.1.1.orig/debian/ejabberd.doc-base
+++ ejabberd-1.1.1/debian/ejabberd.doc-base
@@ -0,0 +1,10 @@
+Document: ejabberd
+Title: Debian ejabberd Manual
+Author: Alexey Shchepin <alexey@sevcom.net>
+Abstract: User manual for ejabberd - Erlang Jabber server.
+Section: Apps/Net
+
+Format: HTML
+Index: /usr/share/doc/ejabberd/guide.html
+Files: /usr/share/doc/ejabberd/*.html
+ 
--- ejabberd-1.1.1.orig/debian/ejabberd.examples
+++ ejabberd-1.1.1/debian/ejabberd.examples
@@ -0,0 +1,2 @@
+src/ejabberd.cfg.example
+examples/*
--- ejabberd-1.1.1.orig/debian/README.Debian
+++ ejabberd-1.1.1/debian/README.Debian
@@ -0,0 +1,10 @@
+This package tries to backup the old ejabberd database if upgraded from
+0.7.5 to 0.9 because the new format is incompatible to the old one. The
+backup can be found at /var/lib/ejabberd.bak .
+
+IMPORTANT: do not forget to update the 'host' configuration to 'hosts'
+in /etc/ejabberd/ejabberd.cfg when upgrading from version 0.7.5.
+
+
+Torsten Werner <twerner@debian.org>       Tue May 17 23:59:41 CEST 2005
+
