ddclient protocol freedns cannot load Digest::Sha1 sha1_hex()
Bug #1228766 reported by
Steve Dum
This bug report is a duplicate of:
Bug #1068884: ddclient unusable with FreeDNS due to missing libdigest-sha1-perl.
Edit
Remove
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ddclient (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
With Ubuntu 13.04 libdigest-sha1-perl no longer exists. Instead the package libdigest-hmac-perl provides the routine sha1_hex.
This is also true for 12.10 (and possibly 12.04). The following patch will handle the changes and remain backward compatible.
diff 3.8.1/ddclient 3.8.1patched/
1781a1787,1792
> if ($sha1_loaded) {
> import Digest::SHA1 (qw/sha1_hex/);
> } else {
> $sha1_loaded = eval { require Digest::SHA};
> import Digest::SHA (qw/sha1_hex/) if $sha1_loaded;
> }
1785c1796
< On Debian, the package libdigest-sha1-perl must be installed.
---
> On Debian, the package libdigest-sha1-perl or libdigest-hmac-perl must be installed.
To post a comment you must log in.
Status changed to 'Confirmed' because the bug affects multiple users.