diff options
author | Milan P. Stanić <mps@arvanta.net> | 2020-02-16 14:13:59 +0100 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2020-02-16 10:37:44 -0300 |
commit | aa3cf3a33da8a886a3fb8d146d3c8f2d79bce806 (patch) | |
tree | e71ccd63f7db262199f1fab131064e9acf22d1a9 | |
parent | 95704e20b76f4999f549044198a8d524ec58c28a (diff) | |
download | aports-aa3cf3a33da8a886a3fb8d146d3c8f2d79bce806.tar.bz2 aports-aa3cf3a33da8a886a3fb8d146d3c8f2d79bce806.tar.xz |
community/connman: upgrade to 1.38
remove musl.patch, fixed upstream
add libmnl-dev to makedepends
enable iwd support
-rw-r--r-- | community/connman/APKBUILD | 13 | ||||
-rw-r--r-- | community/connman/musl.patch | 18 |
2 files changed, 6 insertions, 25 deletions
diff --git a/community/connman/APKBUILD b/community/connman/APKBUILD index 350a4bb19c..31f9ef7abf 100644 --- a/community/connman/APKBUILD +++ b/community/connman/APKBUILD @@ -1,19 +1,18 @@ # Maintainer: Clayton Craft <clayton@craftyguy.net> # Contributor: Valery Kartel <valery.kartel@gmail.com> pkgname=connman -pkgver=1.37 -pkgrel=1 +pkgver=1.38 +pkgrel=0 pkgdesc="A daemon for managing internet connections" url="https://01.org/connman" arch="all" license="GPL-2.0-only" depends="wpa_supplicant" makedepends="autoconf automake dbus-dev glib-dev iptables-dev libtool - readline-dev" + readline-dev libmnl-dev" subpackages="$pkgname-dev $pkgname-doc $pkgname-openrc" source="https://www.kernel.org/pub/linux/network/connman/connman-$pkgver.tar.xz libresolv.patch - musl.patch connman.initd " @@ -31,7 +30,8 @@ build() { --mandir=/usr/share/man \ --infodir=/usr/share/info \ --localstatedir=/var \ - --disable-wispr + --disable-wispr \ + --enable-iwd make } @@ -45,7 +45,6 @@ package() { install -Dm755 "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname } -sha512sums="5d5363105aedd0c9d609dd5c64eb832d9ff80923a944d9d3738337a61f180ded227f2ae1ff7912bed8826b35f0cfd20488e3ffd3801f0e53e90f98498e19efb6 connman-1.37.tar.xz +sha512sums="9c8f77c4dd62763ccb9ea5cc5d285a8a1c51bb09a82eafc73246231557a4f627ae1e5e4a9df5e104457390ebba643349d7d67800a4ee4c17c6dceff192afe8d4 connman-1.38.tar.xz 122b48fc9e25354e25ba3a3e0864bdd84da84457fed94aeea726bcb189b2f05f2cc361ae15f44af5c49bcee572e91e4c0488ef3b0bc79d20f6efe15853fb6b3a libresolv.patch -67dea4bc1ee55ca4b3eb976c3abe0e14d78fc052c102d08c90f63f3d16fc147ba04db391f448908dce7033774672c25af0619ddfc3e6020bfea60dc38b8bd7b4 musl.patch 42b45d44f5eed966ba003683fcb54ffb4e9a0331599ff1c8e5e64c4c06b42d380c3852b7c73881a1be1eaca887906cac9aede1f5579e8e139fdf90ca8d7adf15 connman.initd" diff --git a/community/connman/musl.patch b/community/connman/musl.patch deleted file mode 100644 index f87807f360..0000000000 --- a/community/connman/musl.patch +++ /dev/null @@ -1,18 +0,0 @@ -In musl > 1.1.21 freeaddrinfo() implementation changed and -was causing a segmentation fault. - -diff --git a/gweb/gweb.c b/gweb/gweb.c -index 393afe0..12fcb1d 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; - } - |