use Digest::SHA instead of Digest::SHA1

This commit is contained in:
Dietmar Maurer 2012-03-20 11:21:38 +01:00
parent ed4e6e0c51
commit 568ba6a471
4 changed files with 10 additions and 4 deletions

View File

@ -1,7 +1,7 @@
RELEASE=2.0
VERSION=1.0
PKGREL=20
PKGREL=21
PACKAGE=libpve-common-perl

View 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++) {

6
debian/changelog vendored
View 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

2
debian/control vendored
View 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.