Subject: [alpine-devel] [PATCH] testing/dnscrypt-proxy: fix setup-dnscrypt bug on MUSL

From: Stuart Cardall <[email-masked]>
Date: Thu, 29 May 2014 16:00:05 +0000

A small bugfix for /sbin/setup-dnscrypt that affects MUSL only. It
removes <td> tags left over in the Server List.

Temporary workarounds for the remaining bugs in dnscrypt-proxy under
MUSL are shown at https://bugs.alpinelinux.org/issues/2971
---
 testing/dnscrypt-proxy/APKBUILD             | 2 +-
 testing/dnscrypt-proxy/dnscrypt-proxy.setup | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/testing/dnscrypt-proxy/APKBUILD b/testing/dnscrypt-proxy/APKBUILD
index 53e2488..49d6873 100644
--- a/testing/dnscrypt-proxy/APKBUILD
+++ b/testing/dnscrypt-proxy/APKBUILD
@@ -2,7 +2,7 @@
 # Maintainer: Francesco Colista <[email-masked]>
 pkgname=dnscrypt-proxy
 pkgver=1.4.0
-pkgrel=0
+pkgrel=1
 pkgdesc="A tool for securing communications between a client and a DNS resolver"
 url="http://dnscrypt.org/"
 arch="all"
diff --git a/testing/dnscrypt-proxy/dnscrypt-proxy.setup b/testing/dnscrypt-proxy/dnscrypt-proxy.setup
index f82e7c3..d1bd8f1 100644
--- a/testing/dnscrypt-proxy/dnscrypt-proxy.setup
+++ b/testing/dnscrypt-proxy/dnscrypt-proxy.setup
@@ -236,6 +236,8 @@ done
 
 #remove stray </td>
 sed -i "s/^<\/td>//g" $output
+#remove stray <td> under MUSL C
+sed -i "s/^<td>//g" $output
 # delete empty lines
 sed -i '/^$/d' $output
 # change rows to columns
-- 
1.9.1

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---