From 222578a274145fd9dc6b74b3f0dcfa6424a30ce4 Mon Sep 17 00:00:00 2001 From: Josef Ridky Date: Aug 04 2016 08:24:47 +0000 Subject: Resolves: #1257686 - fix Tie::StdHash permission problem --- diff --git a/amanda-3.3.9-hash-permission.patch b/amanda-3.3.9-hash-permission.patch new file mode 100644 index 0000000..e0a399b --- /dev/null +++ b/amanda-3.3.9-hash-permission.patch @@ -0,0 +1,12 @@ +diff -urNp orig-amanda-3.3.9/perl/Amanda/Config/FoldingHash.pm new-amanda-3.3.9/perl/Amanda/Config/FoldingHash.pm +--- orig-amanda-3.3.9/perl/Amanda/Config/FoldingHash.pm 2016-02-09 23:52:47.000000000 +0100 ++++ new-amanda-3.3.9/perl/Amanda/Config/FoldingHash.pm 2016-08-04 08:56:16.560998574 +0200 +@@ -1,6 +1,7 @@ + package Amanda::Config::FoldingHash; + use Tie::Hash; +-use base 'Tie::StdHash'; ++eval {require 'Tie::StdHash';}; ++our @ISA = 'Tie::StdHash'; + use Amanda::Config; + use Amanda::Debug; + diff --git a/amanda.spec b/amanda.spec index 1ba9361..e69732c 100644 --- a/amanda.spec +++ b/amanda.spec @@ -10,7 +10,7 @@ Summary: A network-capable tape backup solution Name: amanda Version: 3.3.9 -Release: 1%{?dist} +Release: 2%{?dist} Source: http://downloads.sourceforge.net/amanda/amanda-%{version}.tar.gz Source1: amanda.crontab Source4: disklist @@ -26,6 +26,8 @@ Source16: kamanda@.service Patch1: amanda-3.1.1-xattrs.patch Patch2: amanda-3.1.1-tcpport.patch Patch3: amanda-3.2.0-config-dir.patch +#Bugfix - solved problem with permission error message (#1257686) +Patch4: amanda-3.3.9-hash-permission.patch License: BSD and GPLv3+ and GPLv2+ and GPLv2 Group: Applications/System @@ -109,6 +111,7 @@ server also needs to have the amanda-client package installed. %patch1 -p1 -b .xattrs %patch2 -p1 -b .tcpport %patch3 -p1 -b .config +%patch4 -p1 -b .hash-permission ./autogen %build @@ -487,6 +490,9 @@ rm -rf ${RPM_BUILD_ROOT} %changelog +* Thu Aug 4 2016 Josef Ridky - 3.3.9-2 +- Fix Tie::StdHash permission problem (#1257686) + * Wed Jul 27 2016 Josef Ridky - 3.3.9-1 - New upstream release 3.3.9 (#1360703) - Remove Require(pre) from .spec file (unimportant here) (#1319129)