Source: spamassassin
Version: 3.4.1-4
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.
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/spamassassin_3.4.1-4/spamassassin_3.4.1-4_amd64-2016-08-16T19%3A07%3A46Z.build>
[2] <https://lists.debian.org/debian-release/2016/07/msg00456.html>
diff -urN spamassassin-3.4.1.orig/spamc/configure.pl spamassassin-3.4.1/spamc/configure.pl
--- spamassassin-3.4.1.orig/spamc/configure.pl 2015-04-28 20:56:59.000000000 +0100
+++ spamassassin-3.4.1/spamc/configure.pl 2016-08-26 11:31:59.521602138 +0100
@@ -66,7 +66,7 @@
# Do the same thing as for the preprocessor below.
package version_h;
my $Z = $0;
- local $0 = "version.h.pl";
+ local $0 = "./version.h.pl";
local @ARGV = ();
# Got to check for defined because the script returns shell error level!
unless (defined do $0) {