Mail archive
alpine-aports

[alpine-aports] [PATCH] main/spamassassin: URGENT syntax error in init.d script

From: Daniele Coli <danielsan.dani_at_gmail.com>
Date: Tue, 23 Feb 2016 17:09:58 +0100

Whenever we start a new service linked to spamassassin, we got
~# rc-service spamd status
/lib/rc/sh/openrc-run.sh: /etc/init.d/spamd: line 31: syntax error: unterminated quoted string
---
 main/spamassassin/APKBUILD    | 8 ++++----
 main/spamassassin/spamd.initd | 2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/main/spamassassin/APKBUILD b/main/spamassassin/APKBUILD
index 9119c03..31c3ffb 100644
--- a/main/spamassassin/APKBUILD
+++ b/main/spamassassin/APKBUILD
_at_@ -3,7 +3,7 @@
 pkgname=spamassassin
 _pkgreal=Mail-SpamAssassin
 pkgver=3.4.1
-pkgrel=2
+pkgrel=3
 pkgdesc="The Powerful #1 Open-Source Spam Filter"
 url="http://search.cpan.org/dist/Mail-SpamAssassin/"
 arch="noarch"
_at_@ -74,14 +74,14 @@ cpan() {
 }
 
 md5sums="76eca1f38c11635d319e62c26d5b034b  Mail-SpamAssassin-3.4.1.tar.gz
-634f38c843ffac3f1d6e68663a4d68bb  spamd.initd
+c3c92982a4631b2d43f501537852e532  spamd.initd
 d72f889cdbcd1289b773db3c00651a9c  spamd.confd
 d11273ff56e329842174cc1f68e91555  spamd.crond"
 sha256sums="9b7a95a594cdca4f265707364478b57813b82a0ec7e520d9bc818bfbcafdd726  Mail-SpamAssassin-3.4.1.tar.gz
-c7e6be7b4943b23830252f8ea0e580007930a32b9d956e96843fb797cc3834ed  spamd.initd
+163599ac085244ea626613ca55fcb75c1b7591a6e72f801869943e8e17556d95  spamd.initd
 6533298faf4b0f50f9d7fcf32d60366c02ecc27deeb2725265035fe3267277f5  spamd.confd
 39487360aa9ee536e6f04f8fb86ed755f0536143b792f134667e5cd2a0e0846b  spamd.crond"
 sha512sums="6a074f1a4177e1969cef575fe3b1b844d27c813d48fe1e07a46f56ffa728fc780897597d00f11acb269317a6308f284f0dee544d504da874d93b0549d094a6a3  Mail-SpamAssassin-3.4.1.tar.gz
-a8bac239b69660944bde2e10ec5bb712ce9e3c734ca574e50915474faf5643fc6ca1eb64a375bd42fdeb0f83f1affd6f064d4c388607dcf5b8a5723191a54119  spamd.initd
+75189ee20fc6cb006af3ced26030cdd2d4fe7052b1eea123a7104c57d162e2c429ed0efb68f15e0be48f38c0a383a9956db26ba188d74d89850a2f83c60fd421  spamd.initd
 274d3aa0d9aab05e83c8d5ad3e93a457649360021a67c8cb19088365bed681ebe26889cfa86f8c46a6044c7ee969231f2a71e3227adf8ad9e38d0286b9caf48d  spamd.confd
 c8c00e4281cefd5e5e15507c8890264a25aa59663c57ccdf7a77905e2550999cfbbfa7271189a9491b0a0e98dff432361f13becdb99e1b583cd9d45d68022a47  spamd.crond"
diff --git a/main/spamassassin/spamd.initd b/main/spamassassin/spamd.initd
index a016f49..b34c360 100644
--- a/main/spamassassin/spamd.initd
+++ b/main/spamassassin/spamd.initd
_at_@ -12,7 +12,7 @@ depend() {
 }
 
 _legacy() {
-	[ -n "$PIDFILE ] && pidfile=$PIDFILE
+	[ -n "$PIDFILE" ] && pidfile=$PIDFILE
 	[ -n "$SPAMD_OPTS" ] && command_args=$SPAMD_OPTS
 }
 
-- 
2.7.1
---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Tue Feb 23 2016 - 17:09:58 GMT