sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to master grimoire by Vlad Glagolev (1d9cf7dc16d0a65bea5ef12f3280e14dae3905cf)
- From: Vlad Glagolev <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (1d9cf7dc16d0a65bea5ef12f3280e14dae3905cf)
- Date: Wed, 30 Jul 2014 15:24:49 -0500
GIT changes to master grimoire by Vlad Glagolev <stealth AT sourcemage.org>:
mail/gnarwl/DETAILS | 1 +
mail/gnarwl/HISTORY | 5 +++++
mail/gnarwl/PRE_BUILD | 2 ++
mail/gnarwl/blacklist.patch | 19 +++++++++++++++++++
4 files changed, 27 insertions(+)
New commits:
commit 1d9cf7dc16d0a65bea5ef12f3280e14dae3905cf
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>
gnarwl: fixed blacklist functioning
diff --git a/mail/gnarwl/DETAILS b/mail/gnarwl/DETAILS
index ce9e5c6..66b2565 100755
--- a/mail/gnarwl/DETAILS
+++ b/mail/gnarwl/DETAILS
@@ -1,5 +1,6 @@
SPELL=gnarwl
VERSION=3.6
+ PATCHLEVEL=1
SOURCE=$SPELL-$VERSION.tgz
SOURCE_URL[0]=http://www.onyxbits.de/sites/default/files/upload_cck/node/526/$SOURCE
SOURCE_HASH=sha512:acb9e90cc61d48f57a141625d3584710260aea08e228f3f10fffec57b50b33cf120da26718c9e2d8685939a458768fb33c6d7cce26c93cd2ecc28386b8aec652
diff --git a/mail/gnarwl/HISTORY b/mail/gnarwl/HISTORY
index 19ee57a..2539052 100644
--- a/mail/gnarwl/HISTORY
+++ b/mail/gnarwl/HISTORY
@@ -1,3 +1,8 @@
+2014-07-31 Vlad Glagolev <stealth AT sourcemage.org>
+ * DETAILS: PATCHLEVEL=1
+ * PRE_BUILD: apply patch
+ * blacklist.patch: added, to fix blacklist functioning
+
2014-07-11 Vlad Glagolev <stealth AT sourcemage.org>
* CONFIGURE: added, for patch option
* PRE_BUILD: apply patch
diff --git a/mail/gnarwl/PRE_BUILD b/mail/gnarwl/PRE_BUILD
index 6d9eaf1..06c8876 100755
--- a/mail/gnarwl/PRE_BUILD
+++ b/mail/gnarwl/PRE_BUILD
@@ -1,6 +1,8 @@
default_pre_build &&
cd "$SOURCE_DIRECTORY" &&
+patch -p0 < "$SPELL_DIRECTORY/blacklist.patch" &&
+
if [[ $GNARWL_TIME == y ]]; then
patch -p0 < "$SPELL_DIRECTORY/time.patch"
fi &&
diff --git a/mail/gnarwl/blacklist.patch b/mail/gnarwl/blacklist.patch
new file mode 100644
index 0000000..90dafac
--- /dev/null
+++ b/mail/gnarwl/blacklist.patch
@@ -0,0 +1,19 @@
+--- src/mailhandler.c.orig 2008-06-25 00:23:33.000000000 +0400
++++ src/mailhandler.c 2014-07-31 00:11:19.788194344 +0400
+@@ -196,6 +196,7 @@
+ }
+
+ if (sndr!=NULL) {
++ addAddr(sndr);
+ sender=NULL;
+ mail_status=mail_status|MAIL_PREDEF_SENDER;
+ cpyStr(&sender,sndr);
+@@ -213,7 +214,7 @@
+ }
+
+
+- if (mail_status>=MAIL_BADHEADER) return FALSE;
++ if (mail_status>=MAIL_BADHEADER || mail_status & MAIL_BLADDR) return
FALSE;
+ return TRUE;
+ }
+
- [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (1d9cf7dc16d0a65bea5ef12f3280e14dae3905cf), Vlad Glagolev, 07/30/2014
Archive powered by MHonArc 2.6.24.