From 440121dc5807f525f8db660773a73dab4b72ed66 Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Tue, 20 Mar 2012 11:25:11 +0100 Subject: [PATCH] use Digest::SHA instead of Digest::SHA1 --- Makefile | 2 +- data/PVE/Cluster.pm | 4 ++-- debian/changelog | 6 ++++++ debian/control | 4 ++-- 4 files changed, 11 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 0634ed2..6b98c96 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ RELEASE=2.0 PACKAGE=pve-cluster PKGVER=1.0 -PKGREL=24 +PKGREL=25 ARCH:=$(shell dpkg-architecture -qDEB_BUILD_ARCH) diff --git a/data/PVE/Cluster.pm b/data/PVE/Cluster.pm index c00acb7..a877d41 100644 --- a/data/PVE/Cluster.pm +++ b/data/PVE/Cluster.pm @@ -8,7 +8,7 @@ use Storable qw(dclone); use IO::File; use MIME::Base64; use XML::Parser; -use Digest::SHA1; +use Digest::SHA; use Digest::HMAC_SHA1; use PVE::Tools; use PVE::INotify; @@ -1233,7 +1233,7 @@ sub parse_cluster_conf { my $conf = {}; - my $digest = Digest::SHA1::sha1_hex(defined($raw) ? $raw : ''); + my $digest = Digest::SHA::sha1_hex(defined($raw) ? $raw : ''); my $createNode = sub { my ($expat, $tag, %attrib) = @_; diff --git a/debian/changelog b/debian/changelog index 7fce915..fc8f5b3 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +pve-cluster (1.0-25) unstable; urgency=low + + * use Digest::SHA instead of Digest::SHA1 + + -- Proxmox Support Team Tue, 20 Mar 2012 11:24:21 +0100 + pve-cluster (1.0-24) unstable; urgency=low * avoid dcdb warnings when creating a new cluster diff --git a/debian/control b/debian/control index 068d2d5..adaee31 100644 --- a/debian/control +++ b/debian/control @@ -2,12 +2,12 @@ Source: pve-cluster Section: admin Priority: optional Maintainer: Proxmox Support Team -Build-Depends: debhelper (>= 7), autotools-dev, libsqlite3-dev, sqlite3, libfuse-dev, libcorosync-pve-dev, libqb-dev, libpve-common-perl, libglib2.0-dev, librrd-dev, librrds-perl, rrdcached, check, libdigest-hmac-perl, libdigest-sha1-perl, libxml-parser-perl +Build-Depends: debhelper (>= 7), autotools-dev, libsqlite3-dev, sqlite3, libfuse-dev, libcorosync-pve-dev, libqb-dev, libpve-common-perl, libglib2.0-dev, librrd-dev, librrds-perl, rrdcached, check, libdigest-hmac-perl, libxml-parser-perl Standards-Version: 3.7.3 Package: pve-cluster Architecture: any -Depends: ${shlibs:Depends}, ${misc:Depends}, ${perl:Depends}, rsync, libsqlite3-0, sqlite3, libfuse2, fuse-utils, libcorosync4-pve, libqb, libpve-common-perl, libglib2.0-0, rsyslog, openssl, librrd4, librrds-perl, rrdcached, libdigest-hmac-perl, libdigest-sha1-perl, libxml-parser-perl, insserv +Depends: ${shlibs:Depends}, ${misc:Depends}, ${perl:Depends}, rsync, libsqlite3-0, sqlite3, libfuse2, fuse-utils, libcorosync4-pve, libqb, libpve-common-perl, libglib2.0-0, rsyslog, openssl, librrd4, librrds-perl, rrdcached, libdigest-hmac-perl, libxml-parser-perl, insserv Description: Cluster Infrastructure for Proxmox Virtual Environment This package contains the Cluster Infrastructure for the Proxmox Virtual Environment, namely a distributed filesystem to store -- 2.39.5