[forge:site-support:#4108]
Compare https://sourceforge.net/p/ddclient/code/152/ (unified diff) to:
$ svn diff -c 152
Index: ddclient
===================================================================
--- ddclient (revision 151)
+++ ddclient (revision 152)
@@ -1789,13 +1789,18 @@
######################################################################
sub load_sha1_support {
my $sha1_loaded = eval {require Digest::SHA1};
- unless ($sha1_loaded) {
+ my $sha_loaded = eval {require Digest::SHA};
+ unless ($sha1_loaded || $sha_loaded) {
fatal(<<"EOM");
-Error loading the Perl module Digest::SHA1 needed for freedns update.
-On Debian, the package libdigest-sha1-perl must be installed.
+Error loading the Perl module Digest::SHA1 or Digest::SHA needed for freedns update.
+On Debian, the package libdigest-sha1-perl or libdigest-sha-perl must be installed.
EOM
}
- import Digest::SHA1 (qw/sha1_hex/);
+ if($sha1_loaded) {
+ import Digest::SHA1 (qw/sha1_hex/);
+ } elsif($sha_loaded) {
+ import Digest::SHA (qw/sha1_hex/);
+ }
}
######################################################################
## geturl
$
In particular, we see additional differing lines near the beginning (lines 4 and 23 from the original file): https://sourceforge.net/p/ddclient/code/152/tree/trunk/ddclient
$Id$ and $Revision$ are SVN keywords that are handled specially by SVN http://svnbook.red-bean.com/en/1.4/svn.advanced.props.special.keywords.html They don't get special treatment in our code browser though.