--- Begin Message ---
- To: Debian BTS Submit <submit@bugs.debian.org>
- Subject: ca-certificates: Use db_settitle instead of deprecated db_title
- From: Frans Pop <elendil@planet.nl>
- Date: Thu, 10 Dec 2009 13:48:37 +0100
- Message-id: <200912101348.37985.elendil@planet.nl>
Package: ca-certificates
Version: 20090814
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.
Added advantage is that this change makes the dialog title translatable.
diff -ur ca-certificates-20090814.orig/debian/config.in ca-certificates-20090814/debian/config.in
--- ca-certificates-20090814.orig/debian/config.in 2009-12-10 13:09:58.000000000 +0100
+++ ca-certificates-20090814/debian/config.in 2009-12-10 13:26:38.000000000 +0100
@@ -47,7 +47,8 @@
db_version 2.0
db_capb multiselect
-db_title "ca-certificates configuration"
+db_settitle ca-certificates/title
+
db_input medium ca-certificates/trust_new_crts || true
db_go
@@ -142,7 +143,6 @@
if test "$trust_new" = "ask" && test "$CERTS_NEW" != "" && test "$new_seen" = "false"; then
# New certificates added
db_fset ca-certificates/new_crts seen false
- db_title "ca-certificates configuration"
db_input critical ca-certificates/new_crts || true
db_go
@@ -213,7 +213,6 @@
if test "$seen" != true; then
db_fset ca-certificates/enable_crts seen false
fi
- db_title "ca-certificates configuration"
db_input $PRIO ca-certificates/enable_crts || true
db_go
diff -ur ca-certificates-20090814.orig/debian/templates ca-certificates-20090814/debian/templates
--- ca-certificates-20090814.orig/debian/templates 2009-12-10 13:09:58.000000000 +0100
+++ ca-certificates-20090814/debian/templates 2009-12-10 13:27:30.000000000 +0100
@@ -7,6 +7,10 @@
# Even minor modifications require translation updates and such
# changes should be coordinated with translators and reviewers.
+Template: ca-certificates/title
+Type: title
+_Description: ca-certificates configuration
+
Template: ca-certificates/trust_new_crts
Type: select
_Choices: yes, no, ask
--- End Message ---
--- Begin Message ---
Source: ca-certificates
Source-Version: 20110502
We believe that the bug you reported is fixed in the latest version of
ca-certificates, which is due to be installed in the Debian FTP archive:
ca-certificates_20110502.dsc
to main/c/ca-certificates/ca-certificates_20110502.dsc
ca-certificates_20110502.tar.gz
to main/c/ca-certificates/ca-certificates_20110502.tar.gz
ca-certificates_20110502_all.deb
to main/c/ca-certificates/ca-certificates_20110502_all.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 560314@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Philipp Kern <pkern@debian.org> (supplier of updated ca-certificates package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Mon, 02 May 2011 19:27:50 +0200
Source: ca-certificates
Binary: ca-certificates
Architecture: source all
Version: 20110502
Distribution: unstable
Urgency: low
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Philipp Kern <pkern@debian.org>
Description:
ca-certificates - Common CA certificates
Closes: 560314 622323
Changes:
ca-certificates (20110502) unstable; urgency=low
.
* QA upload.
* Mark the package as multi-arch:foreign. (Closes: #622323)
* Use db_settitle in config script to allow translations of the
dialog title; thanks to Frans Pop. (Closes: #560314)
Checksums-Sha1:
f8265c784dfec54466d53abeec173aa7dda08a92 802 ca-certificates_20110502.dsc
3c41b13e1ba6aad51e6afa5c349678a765ce9887 278458 ca-certificates_20110502.tar.gz
fa40b012ae21088963c7ffad5ce7d205664881a9 175556 ca-certificates_20110502_all.deb
Checksums-Sha256:
f797620dba1917a719b1c3c13d62c32b93719c630da520416e54b642b26f4fbe 802 ca-certificates_20110502.dsc
e758c99c73b77eaa32d7e1212a01ee5bd77b0534a2fc34425714854175d0afb2 278458 ca-certificates_20110502.tar.gz
fa14c729b48ed58f5c048b8721f09fded9824c1f450a656fb2cc396195935a98 175556 ca-certificates_20110502_all.deb
Files:
d6a1f83cb183ed1128ec6c9b13bc687b 802 misc optional ca-certificates_20110502.dsc
4216da872955cb73b077be68b6b5f975 278458 misc optional ca-certificates_20110502.tar.gz
8f11d442c425c0fd165af32bf490fac6 175556 misc optional ca-certificates_20110502_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iEYEAREIAAYFAk4LYIAACgkQ7Ro5M7LPzdg+tQCfSm2ZF00Eg8Xe24D9AlU8jDjb
1xgAoKvYppoIPrARPIBUM7lIWXfpR8YG
=1jCL
-----END PGP SIGNATURE-----
--- End Message ---