diff -u ejabberd-2.0.1/debian/changelog ejabberd-2.0.1/debian/changelog
--- ejabberd-2.0.1/debian/changelog
+++ ejabberd-2.0.1/debian/changelog
@@ -1,3 +1,18 @@
+ejabberd (2.0.1-4) unstable; urgency=low
+
+  * Added Basque debconf templates translation (closes: #492129).
+  * Removed unneeded package grep-dctrl from build-dependencies (a call to
+    erlang-depends has replaced it long time ago).
+  * Updated Czech debconf templates translation (closes: #492495).
+  * Added a unique suffix to ejabberdctl nodes to allow several commands to
+    run in parallel.
+  * Fixed a bug in building mod_http_fileserver, which made it completely
+    unusable.
+  * Added missing description of reopen-weblog ejabberdctl command to
+    ejabberdctl.8 manpage.
+
+ -- Sergei Golovan <sgolovan@debian.org>  Mon, 04 Aug 2008 14:10:00 +0400
+
 ejabberd (2.0.1-3) unstable; urgency=low
 
   [ Sergei Golovan ]
diff -u ejabberd-2.0.1/debian/control.in ejabberd-2.0.1/debian/control.in
--- ejabberd-2.0.1/debian/control.in
+++ ejabberd-2.0.1/debian/control.in
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Torsten Werner <twerner@debian.org>
 Uploaders: Sergei Golovan <sgolovan@debian.org>
-Build-Depends: @cdbs@, erlang-nox, erlang-dev (>= 1:11.b.2), grep-dctrl, libexpat1-dev, libssl-dev, zlib1g-dev, libpam0g-dev
+Build-Depends: @cdbs@, erlang-nox, erlang-dev (>= 1:11.b.2), libexpat1-dev, libssl-dev, zlib1g-dev, libpam0g-dev
 Standards-Version: 3.8.0
 Homepage: http://www.process-one.net/en/projects/ejabberd/ 
 Vcs-Svn: svn+ssh://svn.debian.org/svn/collab-maint/deb-maint/ejabberd/trunk
diff -u ejabberd-2.0.1/debian/control ejabberd-2.0.1/debian/control
--- ejabberd-2.0.1/debian/control
+++ ejabberd-2.0.1/debian/control
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Torsten Werner <twerner@debian.org>
 Uploaders: Sergei Golovan <sgolovan@debian.org>
-Build-Depends: debhelper (>= 5), quilt, patchutils (>= 0.2.25), cdbs (>= 0.4.27), erlang-nox, erlang-dev (>= 1:11.b.2), grep-dctrl, libexpat1-dev, libssl-dev, zlib1g-dev, libpam0g-dev
+Build-Depends: debhelper (>= 5), quilt, patchutils (>= 0.2.25), cdbs (>= 0.4.27), erlang-nox, erlang-dev (>= 1:11.b.2), libexpat1-dev, libssl-dev, zlib1g-dev, libpam0g-dev
 Standards-Version: 3.8.0
 Homepage: http://www.process-one.net/en/projects/ejabberd/ 
 Vcs-Svn: svn+ssh://svn.debian.org/svn/collab-maint/deb-maint/ejabberd/trunk
diff -u ejabberd-2.0.1/debian/ejabberdctl.8 ejabberd-2.0.1/debian/ejabberdctl.8
--- ejabberd-2.0.1/debian/ejabberdctl.8
+++ ejabberd-2.0.1/debian/ejabberdctl.8
@@ -64,7 +64,12 @@
 or database tables) you have to stop ejabberd completely and then start it again.
 .TP
 .BI reopen\-log
-Force the ejabberd server to reopen its log file.
+Force the ejabberd server to reopen its log
+file (\fI/var/log/ejabberd/ejabberd.log\fP by default).
+.TP
+.BI reopen\-weblog
+If module mod_http_fileserver is loaded then force the ejabberd server to reopen
+its weblog file.
 .TP
 .BI register " user server password"
 Register user \fIuser\fP with password \fIpassword\fP at ejabberd virtual
diff -u ejabberd-2.0.1/debian/patches/series ejabberd-2.0.1/debian/patches/series
--- ejabberd-2.0.1/debian/patches/series
+++ ejabberd-2.0.1/debian/patches/series
@@ -10,0 +11 @@
+web.patch
diff -u ejabberd-2.0.1/debian/scripts/ejabberdctl ejabberd-2.0.1/debian/scripts/ejabberdctl
--- ejabberd-2.0.1/debian/scripts/ejabberdctl
+++ ejabberd-2.0.1/debian/scripts/ejabberdctl
@@ -27,6 +27,8 @@
     SNAME=-name
 fi
 
+SUFFIX=$(date +%s%N)
+
 case $1 in
     debug)
 	shift
@@ -38,12 +40,12 @@
 	echo "Attaching Erlang shell to node $ERLANG_NODE."
 	echo "To detach it, press: Ctrl+G, q, Return"
 	echo ""
-	exec $ERL $SNAME ejabberddebug \
+	exec $ERL $SNAME ejabberddebug$SUFFIX \
 	    -remsh $ERLANG_NODE \
 	    "$@"
     ;;
     *)
-	exec $ERL $SNAME ejabberdctl \
+	exec $ERL $SNAME ejabberdctl$SUFFIX \
 	    -pa $EBIN_DIR \
 	    -s ejabberd_ctl \
 	    -noinput \
--- ejabberd-2.0.1.orig/debian/patches/web.patch
+++ ejabberd-2.0.1/debian/patches/web.patch
@@ -0,0 +1,13 @@
+Patch by Sergei Golovan fixes build of HTTP fileserver on R12B.
+
+--- ejabberd-2.0.1.orig/src/web/Makefile.in
++++ ejabberd-2.0.1/src/web/Makefile.in
+@@ -9,7 +9,7 @@
+ ERLANG_CFLAGS = @ERLANG_CFLAGS@
+ ERLANG_LIBS = @ERLANG_LIBS@
+ 
+-EFLAGS = -I .. -pz ..
++EFLAGS = -I .. -pz .. @ERLANG_SSL39@
+ # make debug=true to compile Erlang module with debug informations.
+ ifdef debug
+ 	EFLAGS+=+debug_info
