Package: spamassassin
Version: 3.3.1-2
Severity: normal
Since a recent perl upgrade in Sid I have been getting the following
messaages from sa-learn and spamassassin.
defined(%hash) is deprecated at /usr/share/perl5/Mail/SpamAssassin/Dns.pm
line 757.
(Maybe you should just omit the defined()?)
Here is a pointer to the reference documentation explaining the deprecation:
http://perldoc.perl.org/functions/defined.html
I changed this locally with the following and this was avoided:
--- /usr/share/perl5/Mail/SpamAssassin/Dns.pm.original 2011-05-09
11:39:00.000000000 -0600
+++ /usr/share/perl5/Mail/SpamAssassin/Dns.pm 2011-05-09 11:54:15.000000000
-0600
@@ -754,7 +754,7 @@
dbg("dns: entering helper-app run mode");
$self->{old_slash} = $/; # Razor pollutes this
%{$self->{old_env}} = ();
- if ( defined %ENV ) {
+ if ( %ENV ) {
# undefined values in %ENV can result due to autovivification elsewhere,
# this prevents later possible warnings when we restore %ENV
while (my ($key, $value) = each %ENV) {
Thank you for maintaining SpamAssassin!
Bob
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.38-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages spamassassin depends on:
pn libarchive-tar-perl <none> (no description available)
ii libdigest-sha1-perl 2.13-1+b1 NIST SHA-1 message digest algorith
ii libhtml-parser-perl 3.68-1+b1 collection of modules that parse H
ii libnet-dns-perl 0.66-2+b1 Perform DNS queries from a Perl sc
ii libnetaddr-ip-perl 4.042+dfsg-1+b1 IP address manipulation module
ii libsocket6-perl 0.23-1+b1 Perl extensions for IPv6
ii libsys-hostname-long-per 1.4-2 Figure out the long (fully-qualifi
ii libwww-perl 6.01-3 simple and consistent interface to
ii perl 5.12.3-6 Larry Wall's Practical Extraction
ii perl-modules [libio-zlib 5.12.3-6 Core Perl modules
Versions of packages spamassassin recommends:
ii gcc 4:4.6.0-5 The GNU C compiler
ii gnupg 1.4.11-3 GNU privacy guard - a free PGP rep
ii libc6-dev 2.13-2 Embedded GNU C Library: Developmen
ii libio-socket-inet6-perl 2.65-1.1 Object interface for AF_INET6 doma
ii libmail-spf-perl 2.007-1 Perl implementation of Sender Poli
ii make 3.81-8.1 An utility for Directing compilati
ii perl [libsys-syslog-perl] 5.12.3-6 Larry Wall's Practical Extraction
ii re2c 0.13.5-1 tool for generating fast C-based r
ii spamc 3.3.1-2 Client for SpamAssassin spam filte
Versions of packages spamassassin suggests:
ii libcompress-zlib-perl 2.033-1 Transitional dummy package for Com
ii libdbi-perl 1.616-1+b1 Perl Database Interface (DBI)
ii libio-compress-perl [libcompr 2.033-1 bundle of IO::Compress modules
ii libio-socket-ssl-perl 1.40-1 Perl module implementing object or
pn libmail-dkim-perl <none> (no description available)
pn libnet-ident-perl <none> (no description available)
ii perl [libcompress-zlib-perl] 5.12.3-6 Larry Wall's Practical Extraction
pn pyzor <none> (no description available)
pn razor <none> (no description available)
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]