aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-09-26 00:31:17 -0300
committerLeo <thinkabit.ukim@gmail.com>2019-09-26 00:49:24 -0300
commit08167256c15857c321eb0c3a3ba715826e7c985e (patch)
tree39861c5a03812301722b0aaba2702ecea4adf28e
parentef49fb601ebb087c4ca913647810bc8555bdc1ef (diff)
downloadaports-08167256c15857c321eb0c3a3ba715826e7c985e.tar.bz2
aports-08167256c15857c321eb0c3a3ba715826e7c985e.tar.xz
community/nbd: upgrade to 3.20
-rw-r--r--community/nbd/APKBUILD9
-rw-r--r--community/nbd/fix-segfault-freeaddrinfo.patch15
2 files changed, 3 insertions, 21 deletions
diff --git a/community/nbd/APKBUILD b/community/nbd/APKBUILD
index fcc0f38005..6e229f887e 100644
--- a/community/nbd/APKBUILD
+++ b/community/nbd/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
pkgname=nbd
-pkgver=3.19
+pkgver=3.20
pkgrel=0
pkgdesc="Tools for network block devices"
url="http://nbd.sourceforge.net"
@@ -11,10 +11,8 @@ makedepends="glib-dev linux-headers zlib-dev gnutls-dev libnl3-dev bash"
subpackages="$pkgname-doc $pkgname-client $pkgname-openrc"
source="https://downloads.sourceforge.net/nbd/nbd-$pkgver.tar.xz
nbd-server.initd
- fix-segfault-freeaddrinfo.patch
"
-
build() {
CONFIG_SHELL=/bin/bash \
./configure \
@@ -48,6 +46,5 @@ client() {
"$subpkgdir"/usr/sbin/
}
-sha512sums="0916b411857045af6e01032b3093e295e7f3cfb1ae92f25adb03d97d3196741f8805104c627b17ad4f7f4305db3a4bcd5516bfd2c60fbea02b497dc296f97a16 nbd-3.19.tar.xz
-7012adb1d822454b29d1c75cdeaab9dfa2bf0e41c058509428227953b1e555b76c1802a78e66d8fa3fc2ada932cfe265e80c90fa9dbddd544c81b1411c8ab4b4 nbd-server.initd
-fb83a0a1f2863b147f462e27edc713134a5a4541b5807dbb320cae67f96314ceca86c40b4cc344a6f0fd42e73a8807bf238edb3ebaeb2855eb98359b905855a3 fix-segfault-freeaddrinfo.patch"
+sha512sums="d115939d8f086a1d99637d71453cbcc000a9145a85912a7edf701fad1b90d79e7bba1bc065fc54baa20c8a7665f47ad886cf8493bbabb15854eeede45cf176bc nbd-3.20.tar.xz
+7012adb1d822454b29d1c75cdeaab9dfa2bf0e41c058509428227953b1e555b76c1802a78e66d8fa3fc2ada932cfe265e80c90fa9dbddd544c81b1411c8ab4b4 nbd-server.initd"
diff --git a/community/nbd/fix-segfault-freeaddrinfo.patch b/community/nbd/fix-segfault-freeaddrinfo.patch
deleted file mode 100644
index d628c144b3..0000000000
--- a/community/nbd/fix-segfault-freeaddrinfo.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-diff --git a/nbd-server.c b/nbd-server.c
-index b0720ea140..cf3df0462a 100644
---- a/nbd-server.c
-+++ b/nbd-server.c
-@@ -1700,7 +1700,9 @@ int set_peername(int net, CLIENT *client) {
- break;
- }
-
-- freeaddrinfo(ai);
-+ if(ai) {
-+ freeaddrinfo(ai);
-+ }
- msg(LOG_INFO, "connect from %s, assigned file is %s",
- peername, client->exportname);
- client->clientname=g_strdup(peername);