connman: update to 1.38.

This commit is contained in:
Juan RP 2020-02-17 06:46:46 +01:00
parent cfe329953a
commit d9f8efc521
2 changed files with 4 additions and 21 deletions

View file

@ -1,17 +0,0 @@
musl > 1.1.21 segfaults on null pointers to freeaddrinfo
diff --git a/gweb/gweb.c b/gweb/gweb.c
index 393afe0a..12fcb1d8 100644
--- a/gweb/gweb.c
+++ b/gweb/gweb.c
@@ -1274,7 +1274,8 @@ static bool is_ip_address(const char *host)
addr = NULL;
result = getaddrinfo(host, NULL, &hints, &addr);
- freeaddrinfo(addr);
+ if(!result)
+ freeaddrinfo(addr);
return result == 0;
}

View file

@ -1,21 +1,21 @@
# Template file for 'connman'
pkgname=connman
version=1.37
revision=3
version=1.38
revision=1
build_style=gnu-configure
configure_args="--enable-polkit --enable-client --enable-pie --enable-ethernet
--enable-wifi --enable-bluetooth --enable-loopback --enable-nmcompat
--enable-openvpn --with-openvpn=/usr/bin/openvpn --enable-openconnect
--disable-tools --disable-wispr --with-openconnect=/usr/bin/openconnect"
hostmakedepends="automake iptables libtool pkg-config wpa_supplicant"
makedepends="gnutls-devel iptables-devel libglib-devel"
makedepends="gnutls-devel iptables-devel libglib-devel libmnl-devel"
depends="dbus wpa_supplicant"
short_desc="Open Source CONNection MANager"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-only"
homepage="https://01.org/connman"
distfiles="${KERNEL_SITE}/network/${pkgname}/${pkgname}-${version}.tar.xz"
checksum=6ce29b3eb0bb16a7387bc609c39455fd13064bdcde5a4d185fab3a0c71946e16
checksum=cb30aca97c2f79ccaed8802aa2909ac5100a3969de74c0af8a9d73b85fc4932b
lib32disabled=yes
pre_configure() {