Subject: [alpine-aports] [PATCH 1/1] testing/connman: update to 1.35

From: Clayton Craft <[email-masked]>
Date: Wed, 13 Sep 2017 20:17:38 -0700

This patch updates connman to 1.35 and removes a patch to log.c that
is no longer required to build with musl.

 testing/connman/APKBUILD         |  8 ++++----
 testing/connman/musl-fixes.patch | 25 -------------------------
 2 files changed, 4 insertions(+), 29 deletions(-)

diff --git a/testing/connman/APKBUILD b/testing/connman/APKBUILD
index e132286346..de44f5a39e 100644
--- a/testing/connman/APKBUILD
+++ b/testing/connman/APKBUILD
@@ -1,8 +1,8 @@
 # Maintainer: Natanael Copa <[email-masked]>
 # Contributor: Valery Kartel <[email-masked]>
 pkgname=connman
-pkgver=1.31
-pkgrel=3
+pkgver=1.35
+pkgrel=0
 pkgdesc="A daemon for managing internet connections"
 url="http://connman.net/"
 arch="all"
@@ -46,7 +46,7 @@ package() {
 	install -Dm755 "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
 }
 
-sha512sums="f9871ead096ead37d3bc524fb143ec8c88125e9c18b5eb1f451581b9a2061719e90361e5b7f3e09901701707d977c42c630457b0ead8e76e04e964a7542c7bbd  connman-1.31.tar.xz
-6bcf633e299b8034efa801d678163c61edf1d35e286f2bf10cc94d85e268f9a6aa5c91bd3c18e90991ccacade00b01fcc72bedae191a2051321649bb3d678f13  musl-fixes.patch
+sha512sums="2234b4d18b038f9a33939035cddebd31c74ce962e5616c2c30b2912476612ef3f7d5b9edca64bf6e69fa358252ed432124e036ac3516b291b86695cb9a96c6a8  connman-1.35.tar.xz
+de2b5015fa50cb3da69c7f3e95bfec7093c91ea545f9bc9b1a2bfec7f79e9d9b74240c774a93f17b5d244f05926ca3f68843123cb267ab9de038c7dabbea2ab5  musl-fixes.patch
 c258e747e13b86c81ae96ac1743abf0c1461b9053c5b386d594a49f0b1890f10d89bea92610762ff609a4cc5fea04a43fab83894702f552b05af400f01cb011e  libresolv.patch
 42b45d44f5eed966ba003683fcb54ffb4e9a0331599ff1c8e5e64c4c06b42d380c3852b7c73881a1be1eaca887906cac9aede1f5579e8e139fdf90ca8d7adf15  connman.initd"
diff --git a/testing/connman/musl-fixes.patch b/testing/connman/musl-fixes.patch
index 9f9d9cf373..6290f68dd6 100644
--- a/testing/connman/musl-fixes.patch
+++ b/testing/connman/musl-fixes.patch
@@ -42,31 +42,6 @@ diff --git a/src/log.c b/src/log.c
 index a693bd0..9054462 100644
 --- a/src/log.c
 +++ b/src/log.c
-@@ -30,7 +30,9 @@
- #include <stdlib.h>
- #include <string.h>
- #include <syslog.h>
-+#ifdef HAVE_EXECINFO_H
- #include <execinfo.h>
-+#endif
- #include <dlfcn.h>
- 
- #include "connman.h"
-@@ -112,6 +114,7 @@ void connman_debug(const char *format, ...)
- 
- static void print_backtrace(unsigned int offset)
- {
-+#ifdef HAVE_EXECINFO_H
- 	void *frames[99];
- 	size_t n_ptrs;
- 	unsigned int i;
-@@ -210,6 +213,7 @@ static void print_backtrace(unsigned int offset)
- 
- 	close(outfd[1]);
- 	close(infd[0]);
-+#endif /* HAVE_EXECINFO_H */
- }
- 
  static void signal_handler(int signo)
 diff --git a/tools/dhcp-test.c b/tools/dhcp-test.c
 index c34e10a..eae66fc 100644

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

---

From: Clayton Craft <[email-masked]>
Date: Wed, 13 Sep 2017 21:42:54 -0700

- - #include "connman.h"
- - static void print_backtrace(unsigned int offset)
- - 	close(outfd[1]);
-  static void signal_handler(int signo)

---