Your message dated Wed, 27 Aug 2014 04:33:46 +0000
with message-id <[email protected]>
and subject line Bug#690568: fixed in ddclient 3.8.2-1
has caused the Debian Bug report #690568,
regarding PATCH: libdigest-sha1-perl problem
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 [email protected]
immediately.)


-- 
690568: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=690568
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: ddclient
Version: 3.8.1-1.1
Severity: normal
Tags: patch

Hi,

sorry for the second bugreport about this but the BTS seems slow today and
I want to send this before I go home.

libdigst-sha1-perl was in squeeze but was then merged into perl as part
of Digest::SHA (not Digest::SHA1). It is also only used in ddclient with
the freedns protocol. The attached patch tries to open Digest::SHA first,
then tries Digest::SHA1 and gives an error message if that also fails.

MfG
        Goswin


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=de_DE (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash

Versions of packages ddclient depends on:
ii  debconf [debconf-2.0]        1.5.49      Debian configuration management sy
ii  initscripts                  2.88dsf-12  scripts for initializing and shutt
ii  lsb-base                     4.1+Debian8 Linux Standard Base 4.1 init scrip
ii  perl [perl5]                 5.14.2-21   Larry Wall's Practical Extraction 

Versions of packages ddclient recommends:
ii  libio-socket-ssl-perl         1.76-2     Perl module implementing object or

ddclient suggests no packages.

-- debconf information excluded
--- ddclient.old	2014-04-23 17:02:21.000000000 +0200
+++ ddclient	2014-04-23 17:11:24.000000000 +0200
@@ -1783,14 +1783,21 @@
 ## load_sha1_support
 ######################################################################
 sub load_sha1_support {
-    my $sha1_loaded = eval {require Digest::SHA1};
-    unless ($sha1_loaded) {
-        fatal(<<"EOM");
+    my $sha1_loaded = eval {require Digest::SHA};
+    if ($sha1_loaded) {
+        import  Digest::SHA (qw/sha1_hex/);
+    } else {
+        $sha1_loaded = eval {require Digest::SHA1};
+        if ($sha1_loaded) {
+            import  Digest::SHA1 (qw/sha1_hex/);
+        } else {
+            fatal(<<"EOM");
 Error loading the Perl module Digest::SHA1 needed for freedns update.
-On Debian, the package libdigest-sha1-perl must be installed.
+On Debian Squeeze, the package libdigest-sha1-perl must be installed.
+Newer perl versions provide this as part of Digest:SHA.
 EOM
+        }
     }
-    import  Digest::SHA1 (qw/sha1_hex/);
 }
 ######################################################################
 ## geturl

--- End Message ---
--- Begin Message ---
Source: ddclient
Source-Version: 3.8.2-1

We believe that the bug you reported is fixed in the latest version of
ddclient, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Torsten Landschoff <[email protected]> (supplier of updated ddclient 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 [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Tue, 26 Aug 2014 07:37:17 +0200
Source: ddclient
Binary: ddclient
Architecture: source all
Version: 3.8.2-1
Distribution: unstable
Urgency: medium
Maintainer: Torsten Landschoff <[email protected]>
Changed-By: Torsten Landschoff <[email protected]>
Description:
 ddclient   - address updating utility for dynamic DNS services
Closes: 640014 690568 694146 734661 754766
Changes:
 ddclient (3.8.2-1) unstable; urgency=medium
 .
   * Verify service password during configuration (closes: #640014).
   * Remove Marco from uploaders due to bouncing email (closes: #694146).
   * New upstream version 3.8.2 (closes: #734661).
     * Adds support for freedns (closes: #690568).
     * Adds support for ChangeIP.com (closes: #754766).
 .
   * Merge modifications by Tong Sun:
     - [*] update debian/copyright to the new standard format
     - [!] fix ancient-standards-version
     - [!] fix dh-clean-k-is-deprecated: dh_clean -k is deprecated;
           use dh_prep instead
     - [*] fix debian-rules-missing-recommended-target
     - [*] fix quilt-patch-missing-description
 .
   * Apply upstream revision r166 as patch, removing a debug print containing
     authorization data. Noticed and fixed by Tong Sun.
   * debian/ddclient.init: Also stop ddclient for runlevel 0 and 6 (lintian).
 .
     + debian/rules: Change dh_installinit invocation to not pass start and
       stop options to update-rc.d as they are no longer supported.
Checksums-Sha1:
 e308177d51e9d9b777a0c330ded1b69720191895 1191 ddclient_3.8.2-1.dsc
 0709882c6118c26f74157257b4e8198fbb153e0a 45357 ddclient_3.8.2.orig.tar.gz
 bca5aa08363755b901e9fcd870ff267ba5ffa7cf 50688 ddclient_3.8.2-1.debian.tar.xz
 ae100487923ed6ed1132bbae2c128ec9831fd474 82306 ddclient_3.8.2-1_all.deb
Checksums-Sha256:
 34f34b5261ceda2d0673cfeaf3a3b8b4689e528652eaa9de2d13907e1971fb13 1191 
ddclient_3.8.2-1.dsc
 71895b49cb4fdb460171acf5619ee76b95174dbd7586fba7cf1b378e42688d11 45357 
ddclient_3.8.2.orig.tar.gz
 9648c851aff4a764397b973ddc352c23f637126890696ae29f786ea7732f37cd 50688 
ddclient_3.8.2-1.debian.tar.xz
 257d421ed8b9602935d521f00bbc9e651df1e5ba0c6c2958099089c2f5e38d91 82306 
ddclient_3.8.2-1_all.deb
Files:
 2140d3da45f821af6c7f05a850cf3cee 82306 net extra ddclient_3.8.2-1_all.deb
 dc4a633e83ed86cd0dc7b615bd68461e 1191 net extra ddclient_3.8.2-1.dsc
 3153e76b16acc19912edb34449c67da9 45357 net extra ddclient_3.8.2.orig.tar.gz
 4fc15f8a857924dbf4efb5da876d3341 50688 net extra ddclient_3.8.2-1.debian.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iD8DBQFT/V3ldQgHtVUb5EcRAjNNAJ9D78NG4Pse/MlXAGSTmPcxbDucFACfQqYH
tfvTeXSFVIh1ol5MGvSBRBI=
=0Zwl
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to