From 6e3e9894aa2e3f977040523d92bd0d6e66e2c9d7 Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Thu, 2 Feb 2017 15:49:13 +0100 Subject: [PATCH] updates for debian stretch --- debian/control | 4 ++-- debian/patches/bug_835494_perl_INC | 13 +++++++++++++ debian/patches/series | 1 + 3 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 debian/patches/bug_835494_perl_INC diff --git a/debian/control b/debian/control index 3f3dbcc..e5b7833 100644 --- a/debian/control +++ b/debian/control @@ -1,7 +1,7 @@ Source: proxmox-spamassassin Section: perl Priority: optional -Build-Depends: debhelper (>= 5.0.0), perl (>= 5.8.8-7) +Build-Depends: debhelper (>= 5.0.0), perl (>= 5.8.8-7), curl, libhtml-parser-perl, libnet-dns-perl, libnetaddr-ip-perl, libberkeleydb-perl, netbase, libmail-spf-perl, razor, libmail-dkim-perl (>= 0.25), libnet-cidr-lite-perl, libencode-detect-perl, libgeo-ip-perl, libwww-perl Maintainer: Proxmox Support Team Standards-Version: 3.7.2 @@ -10,7 +10,7 @@ Architecture: any Provides: libmail-spamassassin-perl Replaces: spamassassin, spamc Conflicts: proxmox-plugin-imageinfo -Depends: perl (>= 5.8.0), perl-modules (>= 5.10.0), libc6 (>= 2.3.6-6), zlib1g (>= 1:1.2.1), libhtml-parser-perl (>= 3.24), curl, debconf (>= 1.2.0), libnet-dns-perl, libmailtools-perl, libmail-spf-perl, libnet-ident-perl, libdbi-perl, libwww-perl, libarchive-tar-perl, libio-zlib-perl, libmail-dkim-perl (>= 0.25), libnetaddr-ip-perl, libsocket6-perl, libsys-hostname-long-perl, libio-socket-inet6-perl, libio-socket-ssl-perl, razor, libencode-detect-perl +Depends: perl (>= 5.8.0), libc6 (>= 2.3.6-6), zlib1g (>= 1:1.2.1), libhtml-parser-perl (>= 3.24), curl, debconf (>= 1.2.0), libnet-dns-perl, libmailtools-perl, libmail-spf-perl, libnet-ident-perl, libdbi-perl, libwww-perl, libarchive-tar-perl, libio-zlib-perl, libmail-dkim-perl (>= 0.25), libnetaddr-ip-perl, libsocket6-perl, libsys-hostname-long-perl, libio-socket-inet6-perl, libio-socket-ssl-perl, razor, libencode-detect-perl, libhttp-date-perl, libsys-syslog-perl, libberkeleydb-perl, netbase, libnet-cidr-lite-perl, libgeo-ip-perl Description: Spam detector and markup engine Mail::SpamAssassin is a module to identify spam using several methods including text analysis, internet-based realtime blacklists, statistical diff --git a/debian/patches/bug_835494_perl_INC b/debian/patches/bug_835494_perl_INC new file mode 100644 index 0000000..f390ff2 --- /dev/null +++ b/debian/patches/bug_835494_perl_INC @@ -0,0 +1,13 @@ +Index: spamassassin-3.4.1/spamc/configure.pl +=================================================================== +--- spamassassin-3.4.1.orig/spamc/configure.pl ++++ spamassassin-3.4.1/spamc/configure.pl +@@ -66,7 +66,7 @@ print join(' ', $Config{'perlpath'}, "ve + # 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) { diff --git a/debian/patches/series b/debian/patches/series index 78f208c..d2f1787 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1 +1,2 @@ disable-dkim.patch +bug_835494_perl_INC \ No newline at end of file