mirror of
https://git.proxmox.com/git/pve-common
synced 2025-07-24 15:46:51 +00:00
use Digest::SHA instead of Digest::SHA1
This commit is contained in:
parent
ed4e6e0c51
commit
568ba6a471
2
Makefile
2
Makefile
@ -1,7 +1,7 @@
|
||||
RELEASE=2.0
|
||||
|
||||
VERSION=1.0
|
||||
PKGREL=20
|
||||
PKGREL=21
|
||||
|
||||
PACKAGE=libpve-common-perl
|
||||
|
||||
|
@ -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
6
debian/changelog
vendored
@ -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
2
debian/control
vendored
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user