Github messages for voidlinux
 help / color / mirror / Atom feed
* Re: [PR PATCH] [Updated] spamassassin: update to 3.4.3
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-17709@inbox.vuxu.org>
@ 2020-01-01  2:34 ` voidlinux-github
  0 siblings, 0 replies; only message in thread
From: voidlinux-github @ 2020-01-01  2:34 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 513 bytes --]

There is an updated pull request by ndowens against master on the void-packages repository

https://github.com/ndowens/void-packages spamassassin
https://github.com/void-linux/void-packages/pull/17709

spamassassin: update to 3.4.3
Updated to 3.4.3 and fixed cross-compile
@Gottox This version also fixes: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=946829#24


Signed-off-by: Nathan Owens <ndowens04@gmail.com>

A patch file from https://github.com/void-linux/void-packages/pull/17709.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-spamassassin-17709.patch --]
[-- Type: text/x-diff, Size: 2535 bytes --]

From 01c83b75300fceaa3a3f7271f1b02a2aeea1ff49 Mon Sep 17 00:00:00 2001
From: Nathan Owens <ndowens04@gmail.com>
Date: Sat, 16 Nov 2019 17:21:21 -0600
Subject: [PATCH] spamassassin: unmark nocross

---
 srcpkgs/spamassassin/patches/configure.patch | 17 +++++++++++++++++
 srcpkgs/spamassassin/template                |  7 +++----
 2 files changed, 20 insertions(+), 4 deletions(-)
 create mode 100644 srcpkgs/spamassassin/patches/configure.patch

diff --git a/srcpkgs/spamassassin/patches/configure.patch b/srcpkgs/spamassassin/patches/configure.patch
new file mode 100644
index 00000000000..4729e0b936d
--- /dev/null
+++ b/srcpkgs/spamassassin/patches/configure.patch
@@ -0,0 +1,17 @@
+diff --git spamc/configure spamc/configure
+index d8e5dcf..3db5772 100755
+--- spamc/configure
++++ spamc/configure
+@@ -1737,10 +1737,10 @@ if test "$cross_compiling" != yes; then
+ 	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
+ If you meant to cross compile, use \`--host'.
+ See \`config.log' for more details." >&5
+-echo "$as_me: error: cannot run C compiled programs.
++echo "$as_echo: cannot run C compiled programs.
+ If you meant to cross compile, use \`--host'.
+ See \`config.log' for more details." >&2;}
+-   { (exit 1); exit 1; }; }
++    }
+     fi
+   fi
+ fi
diff --git a/srcpkgs/spamassassin/template b/srcpkgs/spamassassin/template
index 667042bb37d..b2bd76c4321 100644
--- a/srcpkgs/spamassassin/template
+++ b/srcpkgs/spamassassin/template
@@ -2,22 +2,21 @@
 pkgname=spamassassin
 version=3.4.2
 revision=1
+wrksrc="Mail-SpamAssassin-${version}"
 build_style=perl-module
 # Missing optional dependencies:
 #  Mail::SPF, Geo::IP, Razor2, Encode::Detect, Net::Patricia
+hostmakedepends="$depends"
+makedepends="$depends"
 depends="curl gnupg perl perl-DBI perl-Digest-SHA1 perl-HTML-Parser
  perl-HTTP-Date perl-IO-Socket-INET6 perl-IO-Socket-SSL perl-LWP
  perl-Mail-DKIM perl-Net-DNS perl-NetAddr-IP"
-makedepends="$depends"
-hostmakedepends="$depends"
 short_desc="Tool that serves as a mail filter to identify Spam"
 maintainer="Enno Boland <gottox@voidlinux.org>"
 license="Apache-2.0"
 homepage="https://spamassassin.apache.org/"
 distfiles="http://www.us.apache.org/dist/${pkgname}/source/Mail-SpamAssassin-${version}.tar.gz"
 checksum=8a1c139ee08f140d3d3fdf13e03d98cf68a5cae27a082c4a614d154565a3c34f
-wrksrc="Mail-SpamAssassin-${version}"
-nocross="https://build.voidlinux.org/builders/armv6l-musl_builder/builds/9678"
 conf_files="
  /etc/mail/spamassassin/v312.pre
  /etc/mail/spamassassin/v330.pre

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-01-01  2:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-17709@inbox.vuxu.org>
2020-01-01  2:34 ` [PR PATCH] [Updated] spamassassin: update to 3.4.3 voidlinux-github

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).