Bug#560315: htdig: Use db_settitle instead of deprecated db_title
Package: htdig
Version: 1:3.2.0b6-9
Severity: minor
Tags: patch
The debconf command db_title is deprecated and causes warnings when used.
Please apply the attached (untested but trivial) patch to use the command
db_settitle instead.
Note that I've not marked the new title template as translatable.
diff -ur htdig-3.2.0b6.orig/debian/htdig.config htdig-3.2.0b6/debian/htdig.config
--- htdig-3.2.0b6.orig/debian/htdig.config 2009-12-10 13:10:21.000000000 +0100
+++ htdig-3.2.0b6/debian/htdig.config 2009-12-10 13:31:00.000000000 +0100
@@ -4,7 +4,7 @@
. /usr/share/debconf/confmodule
-db_title "ht://Dig"
+db_settitle htdig/title
if [ ! -d /etc/default ]; then
mkdir /etc/default
diff -ur htdig-3.2.0b6.orig/debian/templates htdig-3.2.0b6/debian/templates
--- htdig-3.2.0b6.orig/debian/templates 2009-12-10 13:10:21.000000000 +0100
+++ htdig-3.2.0b6/debian/templates 2009-12-10 13:30:33.000000000 +0100
@@ -7,6 +7,10 @@
# Even minor modifications require translation updates and such
# changes should be coordinated with translators and reviewers.
+Template: htdig/title
+Type: title
+Description: ht://Dig
+
Template: htdig/generate-databases
Type: boolean
Default: true
Reply to: