]> git.proxmox.com Git - pve-common.git/commitdiff
use Digest::SHA instead of Digest::SHA1
authorDietmar Maurer <dietmar@proxmox.com>
Tue, 20 Mar 2012 10:21:38 +0000 (11:21 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Tue, 20 Mar 2012 10:21:38 +0000 (11:21 +0100)
Makefile
data/PVE/Tools.pm
debian/changelog
debian/control

index dac46433c31adddf2122c02069e6a11544adc8ca..b244fa50d707f52ba32a119eb01cfd65d5abf78e 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
 RELEASE=2.0
 
 VERSION=1.0
-PKGREL=20
+PKGREL=21
 
 PACKAGE=libpve-common-perl
 
index 66bc644d3bde91262d44e849e714d47100985653..12b5ba291045829eda74f9af967bb462dd188668 100644 (file)
@@ -12,7 +12,7 @@ use Fcntl qw(:DEFAULT :flock);
 use base 'Exporter';
 use URI::Escape;
 use Encode;
-use Digest::SHA1;
+use Digest::SHA;
 use Text::ParseWords;
 use String::ShellQuote;
 
@@ -742,7 +742,7 @@ sub decode_utf8_parameters {
 
 sub random_ether_addr {
 
-    my $rand = Digest::SHA1::sha1_hex(rand(), time());
+    my $rand = Digest::SHA::sha1_hex(rand(), time());
 
     my $mac = '';
     for (my $i = 0; $i < 6; $i++) {
index 125d073f65fc76a9dff5944a3ccaa7eea9eb1f04..3844561dd3de89d8a4d0cba08c0ca9834049b8af 100644 (file)
@@ -1,3 +1,9 @@
+libpve-common-perl (1.0-21) unstable; urgency=low
+
+  * use Digest::SHA instead of Digest::SHA1
+
+ -- Proxmox Support Team <support@proxmox.com>  Tue, 20 Mar 2012 11:21:02 +0100
+
 libpve-common-perl (1.0-20) unstable; urgency=low
 
   * fix bug #116, #103: try to keep ordering in /etc/network/interfaces
index 496b2712c3f2d592195236e5e40b65a81a863c32..60cfe2ecc677d96a43c5d35581516dfad418a6e0 100644 (file)
@@ -7,6 +7,6 @@ Standards-Version: 3.8.4
 
 Package: libpve-common-perl
 Architecture: all
-Depends: ${perl:Depends} ${misc:Depends}, libdevel-cycle-perl, libwww-perl, libjson-perl, liblinux-inotify2-perl, libio-stringy-perl, liburi-perl, libdigest-sha1-perl, libstring-shellquote-perl
+Depends: ${perl:Depends} ${misc:Depends}, libdevel-cycle-perl, libwww-perl, libjson-perl, liblinux-inotify2-perl, libio-stringy-perl, liburi-perl, libstring-shellquote-perl
 Description: Proxmox VE base library
  This package contains the base library used by other Proxmox VE components.