Hi Pierre,
This RC bug has now been open for two weeks. I'm uploading an NMU to the
delayed-5 queue according to the attached patch. I hope this helps to keep
websvn in good shape in lenny.
cheers,
Thijs
diff -u websvn-2.0/debian/changelog websvn-2.0/debian/changelog
--- websvn-2.0/debian/changelog
+++ websvn-2.0/debian/changelog
@@ -1,3 +1,10 @@
+websvn (2.0-2.1) unstable; urgency=high
+
+ * Non-maintainer upload.
+ * Fix unconditional use of debconf in postrm (Closes: #417142).
+
+ -- Thijs Kinkhorst <[EMAIL PROTECTED]> Wed, 27 Aug 2008 15:56:07 +0200
+
websvn (2.0-2) unstable; urgency=low
* Upload to unstable
diff -u websvn-2.0/debian/postrm websvn-2.0/debian/postrm
--- websvn-2.0/debian/postrm
+++ websvn-2.0/debian/postrm
@@ -1,10 +1,12 @@
#! /bin/sh
-# post remove script for wzdftpd
+# post remove script for websvn
set -e
-. /usr/share/debconf/confmodule
-db_version 2.0 || [ $? -lt 30 ]
+if [ -f /usr/share/debconf/confmodule ]; then
+ . /usr/share/debconf/confmodule
+ db_version 2.0 || [ $? -lt 30 ]
+fi
case "$1" in
purge)
@@ -14,22 +16,24 @@
ucf -p /etc/websvn/svn_deb_conf.inc || true
rm -rf /var/cache/websvn/
- db_get "websvn/webservers"
- webservers="$RET"
- restart=""
-
- for webserver in $webservers; do
- webserver=${webserver%,}
-
- case "$webserver" in
-apache|apache-perl|apache-ssl|apache2)
-rm -f /etc/$webserver/conf.d/websvn
-test -x /usr/sbin/$webserver || continue
-restart="$restart $webserver"
- ;;
- esac
- done
+ if [ -f /usr/share/debconf/confmodule ]; then
+ db_get "websvn/webservers"
+ webservers="$RET"
+ restart=""
+
+ for webserver in $webservers; do
+webserver=${webserver%,}
+
+case "$webserver" in
+ apache|apache-perl|apache-ssl|apache2)
+ rm -f /etc/$webserver/conf.d/websvn
+ test -x /usr/sbin/$webserver || continue
+ restart="$restart $webserver"
+;;
+esac
+ done
+ fi
;;
esac
@@ -47,7 +51,9 @@
#DEBHELPER#
-db_stop
+if [ -f /usr/share/debconf/confmodule ]; then
+ db_stop
+fi
exit 0
pgpM2QTJ4CHSA.pgp
Description: PGP signature