Source: munin
Version: 2.0.25-2
Severity: important
User: [email protected]
Usertags: perl-cwd-inc-removal
Tags: patch

This package FTBFS when '.' is removed from @INC, as seen at [1].
This change is being made for security reasons; for more background,
see #588017 and [2]. Please see the attached patch which fixes this
by invoking Build.PL with "-I.".

This bug will become RC when the perl package change removing '.' from
@INC by default is uploaded to unstable, expected in a week or two.

Thanks,
Dominic.

[1] 
<http://perl.debian.net/rebuild-logs/experimental/munin_2.0.25-2/munin_2.0.25-2_amd64-2016-08-16T18%3A50%3A47Z.build>
[2] <https://lists.debian.org/debian-release/2016/07/msg00456.html>
>From 8fde7928f0d883adf8f27b0958d0e452a0bd57a1 Mon Sep 17 00:00:00 2001
From: Dominic Hargreaves <[email protected]>
Date: Tue, 23 Aug 2016 13:07:24 +0100
Subject: [PATCH] Pass -I. to Build.PL so that it will work without '.' in @INC

---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index cdc3577..ded00b8 100644
--- a/Makefile
+++ b/Makefile
@@ -449,7 +449,7 @@ t/install:
 
 # This builds */Build from Build.PL
 %/Build: %/Build.PL
-	cd $* && $(PERL) Build.PL
+	cd $* && $(PERL) -I. Build.PL
 
 build-%: %/Build
 	cd $* && $(PERL) Build
-- 
2.1.4

Reply via email to