From e6bff2f53c43a10841148ea651d2822ce9f8e4e8 Mon Sep 17 00:00:00 2001 From: adam Date: Sun, 24 Jun 2018 09:09:34 +0000 Subject: [PATCH] libuv: updated to 1.21.0 v1.21.0: * unix,windows: map EFTYPE errno * win: perform case insensitive PATH= comparison * win, fs: uv_fs_fchmod support for -A files * src,lib: fix comments * win,process: allow child pipe handles to be opened in overlapped mode * src,test: fix idiosyncratic comment style * test: fs_fchmod_archive_readonly must return a value * win,pipe: fix incorrect error code returned from uv_pipe_write_impl() * win,pipe: properly set uv_write_t.send_handle in uv_write2() * test: add vectored uv_write() ping-pong tests * win,pipe: support vectored uv_write() calls * win,pipe: refactor pipe read cancellation logic * test: improve output from IPC test helpers * test: add test for IPC deadlock on Windows * win,pipe: fix IPC pipe deadlock * unix: catch some cases of watching fd twice * test: use custom timeout for getaddrinfo_fail_sync * Revert "win: add Windows XP support to uv_if_indextoname()" * win,thread: remove fallback uv_cond implementation * src,test: s/olny/only * unix: close signal pipe fds on unload * win: allow setting udp socket options before bind * unix: return UV_ENOTSUP on FICLONE_FORCE failure * win,pipe: remove unreferenced local variable * win,code: remove GetQueuedCompletionStatus-based poller * win: remove the remaining dynamic kernel32 imports * test: speedup process-title-threadsafe on macOS * core: move all include files except uv.h to uv/ * win: move stdint-msvc2008.h to include/uv/ * build: fix cygwin install * build,win: remove MinGW Makefile * build: add a cmake build file * build: add test suite option to cmake build * unix: set errno in uv_fs_copyfile() * samples: fix inconsistency in parse_opts vs usage * linux: handle exclusive POLLHUP with UV_DISCONNECT * include: declare uv_cpu_times_s in higher scope * doc: add uv_fs_fsync() AIX limitations * unix,win: add uv_fs_lchown() * unix: disable clang variable length array warning * doc: document uv_pipe_t::ipc * doc: undocument uv_req_type's UV_REQ_TYPE_PRIVATE * doc: document UV_*_MAP() macros * win: remove use of min() macro in pipe.c * doc: add jbarz as maintainer --- devel/libuv/Makefile | 14 +++++++------- devel/libuv/PLIST | 29 +++++++++++++++++------------ devel/libuv/distinfo | 10 +++++----- 3 files changed, 29 insertions(+), 24 deletions(-) diff --git a/devel/libuv/Makefile b/devel/libuv/Makefile index 2fa3d78e056d..05cfcd07457b 100644 --- a/devel/libuv/Makefile +++ b/devel/libuv/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.34 2018/05/08 04:14:30 adam Exp $ +# $NetBSD: Makefile,v 1.35 2018/06/24 09:09:34 adam Exp $ -DISTNAME= libuv-1.20.3 +DISTNAME= libuv-1.21.0 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_GITHUB:=libuv/} GITHUB_TAG= v${PKGVERSION_NOREV} @@ -15,8 +15,10 @@ USE_TOOLS+= autoconf automake pkg-config GNU_CONFIGURE= yes TEST_TARGET= check -HEADERS= uv-aix.h uv-bsd.h uv-darwin.h uv-linux.h uv-sunos.h \ - uv-unix.h uv-win.h pthread-barrier.h +INSTALLATION_DIRS+= include/uv + +#HEADERS= uv-aix.h uv-bsd.h uv-darwin.h uv-linux.h uv-sunos.h \ +# uv-unix.h uv-win.h pthread-barrier.h .include "../../mk/bsd.prefs.mk" @@ -29,8 +31,6 @@ pre-configure: ${RUN} cd ${WRKSRC} && ${SH} ./autogen.sh post-install: -.for file in ${HEADERS} - ${INSTALL_DATA} ${WRKSRC}/include/${file} ${DESTDIR}${PREFIX}/include -.endfor + ${INSTALL_DATA} ${WRKSRC}/include/uv/* ${DESTDIR}${PREFIX}/include/uv/ .include "../../mk/bsd.pkg.mk" diff --git a/devel/libuv/PLIST b/devel/libuv/PLIST index b2725f3afd38..4cde50855db7 100644 --- a/devel/libuv/PLIST +++ b/devel/libuv/PLIST @@ -1,15 +1,20 @@ -@comment $NetBSD: PLIST,v 1.4 2016/11/12 07:47:34 adam Exp $ -include/pthread-barrier.h -include/uv-aix.h -include/uv-bsd.h -include/uv-darwin.h -include/uv-errno.h -include/uv-linux.h -include/uv-sunos.h -include/uv-threadpool.h -include/uv-unix.h -include/uv-version.h -include/uv-win.h +@comment $NetBSD: PLIST,v 1.5 2018/06/24 09:09:34 adam Exp $ include/uv.h +include/uv/aix.h +include/uv/android-ifaddrs.h +include/uv/bsd.h +include/uv/darwin.h +include/uv/errno.h +include/uv/linux.h +include/uv/os390.h +include/uv/posix.h +include/uv/pthread-barrier.h +include/uv/stdint-msvc2008.h +include/uv/sunos.h +include/uv/threadpool.h +include/uv/tree.h +include/uv/unix.h +include/uv/version.h +include/uv/win.h lib/libuv.la lib/pkgconfig/libuv.pc diff --git a/devel/libuv/distinfo b/devel/libuv/distinfo index ac56b0c0b94b..a2e47a5a7eb9 100644 --- a/devel/libuv/distinfo +++ b/devel/libuv/distinfo @@ -1,9 +1,9 @@ -$NetBSD: distinfo,v 1.32 2018/05/08 04:14:30 adam Exp $ +$NetBSD: distinfo,v 1.33 2018/06/24 09:09:34 adam Exp $ -SHA1 (libuv-1.20.3.tar.gz) = 50f41875820c6f1df0aab33f82c5a06c079e55f3 -RMD160 (libuv-1.20.3.tar.gz) = 19d384d8a20c5930b63dc30ebe069e5b3517938c -SHA512 (libuv-1.20.3.tar.gz) = 60ebc0059ec9fdd022aa9d60b2a0340f29e037bf79fa08707f6f2ecca9ec263c7a6466bdc1f94e0875a6a627ee749efa86117dedb22119676a7bafed8b5d77a0 -Size (libuv-1.20.3.tar.gz) = 1181741 bytes +SHA1 (libuv-1.21.0.tar.gz) = 83a243637641c4fb4394e698614ab46ada4056bd +RMD160 (libuv-1.21.0.tar.gz) = e12de5dad179950f056eb38ffbb3019e224092d1 +SHA512 (libuv-1.21.0.tar.gz) = ab6b52f8bee1900953d9136e4d281f81ba9f14287760f7bfc8633289699cb9eeaab15d9146ed05b164631fcb3c2b5abcee8c10499d080a82a411bb1f02564c48 +Size (libuv-1.21.0.tar.gz) = 1187827 bytes SHA1 (patch-autogen.sh) = a5f48189bfb17624c545a80626ea311b7755d232 SHA1 (patch-configure.ac) = e6636d522dc9218fc9aee62846426645473cb6cd SHA1 (patch-src_unix_darwin.c) = 489f73fe81b9dea2acc72a669bf667c560c1deea