Your message dated Sat, 19 Nov 2005 13:23:12 +0100
with message-id <[EMAIL PROTECTED]>
and subject line Re: Bug#227531: inn2: please consider adding Colin Watson's 
po-debconf backporting helper  patch
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 13 Jan 2004 20:53:14 +0000
>From [EMAIL PROTECTED] Tue Jan 13 14:53:02 2004
Return-path: <[EMAIL PROTECTED]>
Received: from mail.ilk.de [194.121.104.8] 
        by master.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1AfycJ-000219-00; Mon, 12 Jan 2004 03:44:15 -0600
Received: from fw1 (fw1.ilk.de [212.86.193.6])
          by mail.ilk.de  with SMTP id i0C9iD5B012935;
          Mon, 12 Jan 2004 10:44:13 +0100
Message-Id: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Marc Haber <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: inn2: please consider adding Colin Watson's po-debconf backporting 
helper  patch
X-Mailer: reportbug 2.37
Date: Mon, 12 Jan 2004 10:43:54 +0100
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_01_13 
        (1.212-2003-09-23-exp) on master.debian.org
X-Spam-Status: No, hits=-5.0 required=4.0 tests=HAS_PACKAGE autolearn=no 
        version=2.60-bugs.debian.org_2004_01_13
X-Spam-Level: 

Package: inn2
Version: 2.4.1-1
Severity: wishlist
Tags: patch,sid

Hi,

please consider applying the attached interdiff patch. It helps
backporting by building a templates file suitable for building on
woody during the clean target. You'll need to rename
debian/inn2.templates to debian/inn2.templates.master before applying
the patch.

You can find Colin's article introducing the mechanism in
http://lists.debian.org/debian-devel/2003/debian-devel-200307/msg01851.html

Greetings
Marc

diff -u inn2-2.4.1/debian/rules inn2-2.4.1/debian/rules
--- inn2-2.4.1/debian/rules
+++ inn2-2.4.1/debian/rules
@@ -10,9 +10,28 @@
 B := $(BUILD_DIR)
 D := $(CURDIR)/debian/inn2
 
+ifeq (,$(wildcard /usr/bin/po2debconf))
+PO2DEBCONF := no
+MINDEBCONFVER := 0.5
+else
+PO2DEBCONF := yes
+MINDEBCONFVER := 1.2.0
+endif
+
 clean:
        $(MAKE) -f debian/sys-build.mk source.clean
        dh_clean
+ifeq ($(PO2DEBCONF),yes)
+       # Hack for woody compatibility. This makes sure that the
+       # debian/templates file shipped in the source package doesn't
+       # specify encodings, which woody's debconf can't handle. If building
+       # on a system with po-debconf installed (conveniently debhelper (>=
+       # 4.1.16) depends on it), the binary-arch target will generate  a
+       # better version for sarge
+       echo 1 > debian/po/output
+       po2debconf debian/inn2.templates.master > debian/inn2.templates
+       rm -f debian/po/output
+endif
 
 # target used by the maintainer
 unpack.nopatch: 
@@ -21,7 +40,7 @@
 diff:
        $(MAKE) -f debian/sys-build.mk make-diff
 
-debian/po/templates.pot: debian/inn2.templates
+debian/po/templates.pot: debian/inn2.templates.master
        debconf-updatepo
 
 unpack: $(STAMP_DIR)/source.make
@@ -159,8 +178,11 @@
 
        dh_installdeb -a
        dh_shlibdeps -a --exclude=ckpasswd
+ifeq ($(PO2DEBCONF),yes)
+       po2debconf -e utf8 debian/inn2.templates.master > debian/inn2.templates
+endif
        dh_gencontrol -a
-       dh_gencontrol -a -u-VPERLAPI=$$(perl -e 'printf "perlapi-%vd", $$^V')
+       dh_gencontrol -a -- -VPERLAPI=$$(perl -e 'printf "perlapi-%vd", $$^V') 
-V'debconf-depends=debconf (>= $(MINDEBCONFVER))'
        dh_md5sums -a
        dh_builddeb -a
 
diff -u inn2-2.4.1/debian/control inn2-2.4.1/debian/control
--- inn2-2.4.1/debian/control
+++ inn2-2.4.1/debian/control
@@ -9,7 +9,7 @@
 Package: inn2
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}, inn2-inews (>= 
2.3.999+20030227-1), cron, exim | mail-transport-agent, time, perl, 
perlapi-5.8.0, procps
-Pre-Depends: inn2-inews, debconf (>= 0.2.17)
+Pre-Depends: ${debconf-depends}, inn2-inews
 Suggests: gnupg, wget
 Replaces: inewsinn, innfeed, inn, ninpaths, inn2-dev
 Provides: news-transport-system, innfeed, inn

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux kes 2.4.24-kes #1 Fri Jan 9 08:58:16 UTC 2004 i686
Locale: LANG=C, LC_CTYPE=C


---------------------------------------
Received: (at 227531-done) by bugs.debian.org; 19 Nov 2005 12:23:20 +0000
>From [EMAIL PROTECTED] Sat Nov 19 04:23:20 2005
Return-path: <[EMAIL PROTECTED]>
Received: from 5301d.unt0.torres.l21.ma.zugschlus.de
        ([217.151.83.1] helo=torres.zugschlus.de ident=Debian-exim)
        by spohr.debian.org with esmtp (Exim 4.50)
        id 1EdRkV-0003YV-U2
        for [EMAIL PROTECTED]; Sat, 19 Nov 2005 04:23:20 -0800
Received: from lefler.int.l21.ma.zugschlus.de ([192.168.130.38])
        by torres.zugschlus.de with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32)
        (Exim 4.54)
        id 1EdRkP-0001L9-CF
        for [EMAIL PROTECTED]; Sat, 19 Nov 2005 13:23:15 +0100
Received: from mh by lefler.int.l21.ma.zugschlus.de with local (Exim 4.54)
        id 1EdRkO-00029K-Sv
        for [EMAIL PROTECTED]; Sat, 19 Nov 2005 13:23:12 +0100
Date: Sat, 19 Nov 2005 13:23:12 +0100
From: Marc Haber <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Re: Re: Bug#227531: inn2: please consider adding Colin Watson's 
po-debconf backporting helper  patch
Message-ID: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <[EMAIL PROTECTED]>
User-Agent: Mutt/1.5.11
X-Spam-Score: (----) -4.9
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02

On Sun, Jan 25, 2004 at 08:30:20AM +0100, Marc Haber wrote:
> On Sat, Jan 24, 2004 at 05:09:12PM +0100, Marco d'Itri wrote:
> > I'm opposed to adding backward-compatibility cruft to every package
> > which uses debconf
> 
> Well, while this is very impolite to the backporting people, please
> consider re-opening the bug, tagging it wontfix, and only close it
> after Debian has released a stable distribution that has po-debconf.

That has now happened, and I am closing this bug.

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 621 72739835


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to