From: Fabrice Fontaine Date: Wed, 21 Jul 2021 17:13:54 +0000 (+0200) Subject: package/nbd: bump to version 3.21 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2016df2ed258f1d88cc9dfdb97fcc67ea3dc119a;p=buildroot.git package/nbd: bump to version 3.21 - Drop patch (already in version) - Update indentation in hash file (two spaces) Signed-off-by: Fabrice Fontaine Signed-off-by: Thomas Petazzoni --- diff --git a/package/nbd/0001-Also-close-the-file-descriptor-before-returning.patch b/package/nbd/0001-Also-close-the-file-descriptor-before-returning.patch deleted file mode 100644 index 70330c8e91..0000000000 --- a/package/nbd/0001-Also-close-the-file-descriptor-before-returning.patch +++ /dev/null @@ -1,25 +0,0 @@ -From d2480de925e83c8bf60faa96141f4198bdf7f619 Mon Sep 17 00:00:00 2001 -From: Wouter Verhelst -Date: Fri, 2 Aug 2019 10:33:00 +0200 -Subject: [PATCH] Also close the file descriptor before returning - -Coverity CID#1162721 -[Retrieved from: -https://github.com/NetworkBlockDevice/nbd/commit/d2480de925e83c8bf60faa96141f4198bdf7f619] -Signed-off-by: Fabrice Fontaine ---- - nbd-client.c | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/nbd-client.c b/nbd-client.c -index e9ec0a86..94035886 100644 ---- a/nbd-client.c -+++ b/nbd-client.c -@@ -930,6 +930,7 @@ void disconnect(char* device) { - if (ioctl(nbd, NBD_CLEAR_SOCK)<0) - err("Ioctl failed: %m\n"); - printf("done\n"); -+ close(nbd); - } - - #if HAVE_NETLINK diff --git a/package/nbd/nbd.hash b/package/nbd/nbd.hash index d856953c22..f0df35bc27 100644 --- a/package/nbd/nbd.hash +++ b/package/nbd/nbd.hash @@ -1,7 +1,7 @@ -# From http://sourceforge.net/projects/nbd/files/nbd/3.20/ -md5 910fe6c152f8c30ad8608388e6a4ce89 nbd-3.20.tar.xz -sha1 9240430266ff4bfb2316ef6d880056a9974a59fd nbd-3.20.tar.xz +# From http://sourceforge.net/projects/nbd/files/nbd/3.21/ +md5 c51c4c500fe1ed84c3d5d5dd2ca71d23 nbd-3.21.tar.xz +sha1 88c3296d43d20d7bda97e0f1bab0243a4f6fa880 nbd-3.21.tar.xz # Locally calculated -sha256 e0e1b3538ab7ae5accf56180afd1a9887d415b98d21223b8ad42592b4af7d6cd nbd-3.20.tar.xz -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING +sha256 e7688af39d91733bbcd2db08062c44fe503d004e51528740139c44aff6a6bef9 nbd-3.21.tar.xz +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/package/nbd/nbd.mk b/package/nbd/nbd.mk index 6c77bffdfe..0a7f08b2cf 100644 --- a/package/nbd/nbd.mk +++ b/package/nbd/nbd.mk @@ -4,7 +4,7 @@ # ################################################################################ -NBD_VERSION = 3.20 +NBD_VERSION = 3.21 NBD_SOURCE = nbd-$(NBD_VERSION).tar.xz NBD_SITE = http://downloads.sourceforge.net/project/nbd/nbd/$(NBD_VERSION) NBD_CONF_OPTS = --enable-lfs