tag 549772 patch
thanks

On Mon, Oct 05, 2009 at 08:48:11PM +0200, Lucas Nussbaum wrote:
> Source: router-audit-tool
> Version: 1.1-4
> Severity: serious
> User: debian...@lists.debian.org
> Usertags: qa-ftbfs-20091005 qa-ftbfs
> Justification: FTBFS on amd64

> > WARNING: AUTHOR takes a string/number not a HASH reference.
> >          Please inform the author.

> > only nested arrays of non-refs are supported at 
> > /usr/share/perl/5.10/ExtUtils/MakeMaker.pm line 664
> > make: *** [build-stamp] Error 2

Here's a trivial patch that's in line with the new upstream version at

 https://community.cisecurity.org/download/?redir=/cisco/rat-2.2-dist.sh.gz

found via

 http://ncat.sourceforge.net/

It looks like this package could really use some love.
-- 
Niko Tyni   nt...@debian.org
>From 04c3269a28143ad7cb6544e7721033c407fa76f0 Mon Sep 17 00:00:00 2001
From: Niko Tyni <nt...@debian.org>
Date: Sat, 23 Jan 2010 08:47:12 +0200
Subject: [PATCH] Fix build failure due to ExtUtils::MakeMaker changes in Perl 5.10.1

Using a hash for AUTHOR was incorrect already earlier but Perl 5.10.1
apparently made the rules stricter.
---
 Makefile.PL |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)

diff --git a/Makefile.PL b/Makefile.PL
index 20ac64a..cf10912 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -110,11 +110,7 @@ my @ppd;
 
 if ($] >= 5.00503) {
   @ppd = (
-	  AUTHOR    => {
-		  NAME      => 'George Jones <g...@users.sourceforge.net>',
-		  CPANID    => 'AUTHOR',
-		  WEBSITE   => 'http://www.cisecurity.org/',
-		  },
+	  AUTHOR    => 'George Jones <g...@users.sourceforge.net>',
 	  ABSTRACT  => 'Router Auditing Tool',
 	  );
 }
-- 
1.6.6

Reply via email to