Your message dated Tue, 02 Oct 2012 16:47:31 +0000
with message-id <e1tj5d5-0007i5...@franck.debian.org>
and subject line Bug#688736: fixed in w3c-linkchecker 4.81-6
has caused the Debian Bug report #688736,
regarding piuparts failures
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
688736: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=688736
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: release.debian.org
Severity: normal
User: release.debian....@packages.debian.org
Usertags: unblock

Please unblock package w3c-linkchecker

Using ucf so as to not override conffile

unblock w3c-linkchecker/4.81-5

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-3-686-pae (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -Nru w3c-linkchecker-4.81/debian/changelog w3c-linkchecker-4.81/debian/changelog
--- w3c-linkchecker-4.81/debian/changelog	2012-09-28 09:09:51.000000000 +0100
+++ w3c-linkchecker-4.81/debian/changelog	2012-09-28 18:04:13.000000000 +0100
@@ -1,3 +1,17 @@
+w3c-linkchecker (4.81-5) unstable; urgency=low
+
+  * Applied patch from Hideki Yamane <henr...@debian.org> to comply
+    with policy 10.7.3. (Closes: #688736)
+    - debian/{postinst,w3c-linkchecker.install}: Not use linkchecker.conf
+    as conffile but template file and use ucf for conffile.
+    - debian/control: "Depends: ucf"
+    - debian/postrm: remove /etc/w3c/checklink.conf on purge and temporary
+    files when no longer required. 
+    - debian/config: removed '-e' from shebang and final 'exit 0'
+  * Removed gross copy/paste stupidity from long description
+
+ -- Nicholas Bamber <nicho...@periapt.co.uk>  Fri, 28 Sep 2012 18:03:48 +0100
+
 w3c-linkchecker (4.81-4) unstable; urgency=low
 
   * Updated Czech translation (Closes: #658398)
diff -Nru w3c-linkchecker-4.81/debian/config w3c-linkchecker-4.81/debian/config
--- w3c-linkchecker-4.81/debian/config	2012-09-26 15:47:36.000000000 +0100
+++ w3c-linkchecker-4.81/debian/config	2012-09-28 17:26:24.000000000 +0100
@@ -1,4 +1,4 @@
-#!/bin/sh -e
+#!/bin/sh
 
 set -e
 
@@ -9,3 +9,4 @@
 db_input low w3c-linkchecker/private_ips || true
 db_go
 
+exit 0
diff -Nru w3c-linkchecker-4.81/debian/control w3c-linkchecker-4.81/debian/control
--- w3c-linkchecker-4.81/debian/control	2012-09-28 09:09:51.000000000 +0100
+++ w3c-linkchecker-4.81/debian/control	2012-09-28 17:26:24.000000000 +0100
@@ -16,11 +16,10 @@
 Depends: ${misc:Depends}, ${perl:Depends}, libcss-dom-perl,
  libhtml-parser-perl, libwww-perl (>= 5.833), liburi-perl (>= 1.53),
  libconfig-general-perl, libnet-ip-perl, libterm-readkey-perl,
- libencode-locale-perl
+ libencode-locale-perl, ucf
 Recommends: w3c-markup-validator, apache2 | httpd-cgi
 Description: tool to verify the links in a web page are still valid
- This manual page documents briefly the checklink command, a.k.a. the W3C®
- Link Checker. checklink is a program that reads an HTML or XHTML document,
+ The checklink tool is a program that reads an HTML or XHTML document,
  extracts a list of anchors and links and checks that no anchor is defined twice
  and that all the links are dereferenceable, including the fragments. It warns
  about HTTP redirects, including directory redirects, and can check recursively
diff -Nru w3c-linkchecker-4.81/debian/postinst w3c-linkchecker-4.81/debian/postinst
--- w3c-linkchecker-4.81/debian/postinst	2012-09-26 15:47:36.000000000 +0100
+++ w3c-linkchecker-4.81/debian/postinst	2012-09-28 17:26:24.000000000 +0100
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/sh 
 # postinst script for w3c-linkchecker
 #
 # see: dh_installdeb(1)
@@ -23,12 +23,15 @@
 case "$1" in
     configure)
 
+        CFG_TEMPLATE=/usr/share/w3c-linkchecker/checklink.conf
+        CFG_TMP=/etc/w3c/checklink.conf.dpkg-new
         CFG_FILE=/etc/w3c/checklink.conf
 
         db_get w3c-linkchecker/hostname
         if [ "$RET" ]
         then
-            sed -i -e "s|^Doc_URI = http://[a-z0-9.]\+/|Doc_URI = http://$RET/|" $CFG_FILE
+            sed -e "s|^Doc_URI = http://[a-z0-9.]\+/|Doc_URI = http://$RET/|" \
+              < $CFG_TEMPLATE > $CFG_TMP
         fi
 
         db_get w3c-linkchecker/private_ips
@@ -39,9 +42,14 @@
             then
                 VALUE=0
             fi
-            sed -i -e "s|^\(# \)\?Allow_Private_IPs = [01]$|Allow_Private_IPs = $VALUE|" $CFG_FILE
+            sed -e "s|^\(# \)\?Allow_Private_IPs = [01]$|Allow_Private_IPs = $VALUE|" \
+              < $CFG_TEMPLATE > $CFG_TMP
         fi
 
+        ucf --debconf-ok $CFG_TMP $CFG_FILE && rm -f $CFG_TMP
+        db_stop
+
+
     ;;
 
     abort-upgrade|abort-remove|abort-deconfigure)
diff -Nru w3c-linkchecker-4.81/debian/postrm w3c-linkchecker-4.81/debian/postrm
--- w3c-linkchecker-4.81/debian/postrm	1970-01-01 01:00:00.000000000 +0100
+++ w3c-linkchecker-4.81/debian/postrm	2012-09-28 17:26:24.000000000 +0100
@@ -0,0 +1,37 @@
+#!/bin/sh
+
+set -e
+
+CFG_FILE=/etc/w3c/checklink.conf
+
+case "$1" in
+    purge)
+
+    if which ucf >/dev/null 2>&1; then
+        ucf --purge $CFG_FILE
+    else
+        rm -f $CFG_FILE
+    fi
+
+    for ext in .bak .tmp .dpkg-tmp .dkpg-new .dpkg-old .ucf-new .ucf-old .ucf-dist
+    do
+       rm -f $CFG_FILE$ext
+    done
+
+    ;;
+
+    remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+    ;;
+
+    *)
+        echo "postrm called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
diff -Nru w3c-linkchecker-4.81/debian/w3c-linkchecker.install w3c-linkchecker-4.81/debian/w3c-linkchecker.install
--- w3c-linkchecker-4.81/debian/w3c-linkchecker.install	2012-09-28 09:09:51.000000000 +0100
+++ w3c-linkchecker-4.81/debian/w3c-linkchecker.install	2012-09-28 17:26:24.000000000 +0100
@@ -1,5 +1,5 @@
 bin/checklink usr/bin
-etc/checklink.conf etc/w3c/
+etc/checklink.conf usr/share/w3c-linkchecker/
 docs/* usr/share/w3c-linkchecker/docs/
 images/* usr/share/w3c-linkchecker/images/
 debian/apache2-linkchecker.conf etc/w3c/

--- End Message ---
--- Begin Message ---
Source: w3c-linkchecker
Source-Version: 4.81-6

We believe that the bug you reported is fixed in the latest version of
w3c-linkchecker, which is due to be installed in the Debian FTP archive.

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 688...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
gregor herrmann <gre...@debian.org> (supplier of updated w3c-linkchecker 
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 ftpmas...@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Tue, 02 Oct 2012 18:36:59 +0200
Source: w3c-linkchecker
Binary: w3c-linkchecker
Architecture: source all
Version: 4.81-6
Distribution: unstable
Urgency: low
Maintainer: Debian Perl Group <pkg-perl-maintain...@lists.alioth.debian.org>
Changed-By: gregor herrmann <gre...@debian.org>
Description: 
 w3c-linkchecker - tool to verify the links in a web page are still valid
Closes: 688736
Changes: 
 w3c-linkchecker (4.81-6) unstable; urgency=low
 .
   * Team upload.
   * debian/postrm: remove configuration file unconditionally during purge.
     Thanks to Andreas Beckmann for the followup test. (Closes: #688736)
Checksums-Sha1: 
 0726ef930a13e140198fe953b7f7570f01b21b5e 2154 w3c-linkchecker_4.81-6.dsc
 09d46df0ae784c9a4ffaaaf4ef7ab9b6165c77db 13131 
w3c-linkchecker_4.81-6.debian.tar.gz
 a9bf5189580ecc542936a8dc12ff77a786fa9753 66638 w3c-linkchecker_4.81-6_all.deb
Checksums-Sha256: 
 a8cf61fb4ac7c77bb5e2e1f22e090d2d0334c57ab7b18dba90f3ec8995beab42 2154 
w3c-linkchecker_4.81-6.dsc
 d101acf45162073631c950908ff2df42975ae65a8dbc87cedfb7ffa25cd0e6e2 13131 
w3c-linkchecker_4.81-6.debian.tar.gz
 8e77a783c908797c11606733994f7c6baf705a33c2151a606694f0b8dd0e37a2 66638 
w3c-linkchecker_4.81-6_all.deb
Files: 
 5db899e7a52342deeaff0d12f646454a 2154 perl optional w3c-linkchecker_4.81-6.dsc
 bc90063cb2437c876ce4187e4b5c055c 13131 perl optional 
w3c-linkchecker_4.81-6.debian.tar.gz
 9fb8fec85d10aed675ca3e6b0819f688 66638 perl optional 
w3c-linkchecker_4.81-6_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQIcBAEBCAAGBQJQaxjqAAoJELs6aAGGSaoGGrkQAKb5500/HQZL/3iH9XINfcgz
HPRj3YSqSaH2ZmHojjCyOnNSnf2il9qbonpkeza+7F5Qp6bmRPMy6zoGf8L5hd4y
EtC2WO6G2b6ZkN9Iq5Ve4TnGa903awlgc2GAXZ3oZBIwCcfnoXOfFyZFRk+TCrCq
53VteMU2gWf56uqmuViyZ9FObeUJonYlPO+jnYlXGTPVoI9spNZyhXgH/SWohPSI
zDrrPh0FvutUovxJg8x0VqNoz0wGqb0XyOmBztRz1tDqRoizgb1iGih2okjUBApt
Z+OH9Wgd5XTS45C9pcQ9/05tinhCN2kAAJqtWgUApQErD7IQFRVC5B0Zg9IuESrT
JeShneaqJr8Jzz5ZmSb4rIcW7VpV0GDP1od2HBDZo55S+d0BUu9gXV+oScctALNf
Ms3NwQlFeLXuQo38pMMPh3Wu5VrDcKeaUsu+7Yu8PbvGlPbA7i7MeDFvUI+NTVBG
Yl3MvYOlRlJV+nd08Xkh6WNHbxy7YMiLvD5HKWHBbk6BsI/93RS5fRMYMt9gKONd
wtQSnVvxDOm7nImyI5XyKnUkCTG6+hMviWLZYqJ2Y1dgxewGlUjyYKVa8VbpKKHN
kGGlCYrj/BnENUJHs+JZ+Om5XVoONcgiQaifQXfGzmdQs42OnhTX9CdMk0aXwtln
pcCpq2GU859uEyh97wbw
=Ph6N
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to