head 1.5; access; symbols pkgsrc-2026Q1:1.5.0.26 pkgsrc-2026Q1-base:1.5 pkgsrc-2025Q4:1.5.0.24 pkgsrc-2025Q4-base:1.5 pkgsrc-2025Q3:1.5.0.22 pkgsrc-2025Q3-base:1.5 pkgsrc-2025Q2:1.5.0.20 pkgsrc-2025Q2-base:1.5 pkgsrc-2025Q1:1.5.0.18 pkgsrc-2025Q1-base:1.5 pkgsrc-2024Q4:1.5.0.16 pkgsrc-2024Q4-base:1.5 pkgsrc-2024Q3:1.5.0.14 pkgsrc-2024Q3-base:1.5 pkgsrc-2024Q2:1.5.0.12 pkgsrc-2024Q2-base:1.5 pkgsrc-2024Q1:1.5.0.10 pkgsrc-2024Q1-base:1.5 pkgsrc-2023Q4:1.5.0.8 pkgsrc-2023Q4-base:1.5 pkgsrc-2023Q3:1.5.0.6 pkgsrc-2023Q3-base:1.5 pkgsrc-2023Q2:1.5.0.4 pkgsrc-2023Q2-base:1.5 pkgsrc-2023Q1:1.5.0.2 pkgsrc-2023Q1-base:1.5 pkgsrc-2022Q4:1.4.0.14 pkgsrc-2022Q4-base:1.4 pkgsrc-2022Q3:1.4.0.12 pkgsrc-2022Q3-base:1.4 pkgsrc-2022Q2:1.4.0.10 pkgsrc-2022Q2-base:1.4 pkgsrc-2022Q1:1.4.0.8 pkgsrc-2022Q1-base:1.4 pkgsrc-2021Q4:1.4.0.6 pkgsrc-2021Q4-base:1.4 pkgsrc-2021Q3:1.4.0.4 pkgsrc-2021Q3-base:1.4 pkgsrc-2021Q2:1.4.0.2 pkgsrc-2021Q2-base:1.4 pkgsrc-2021Q1:1.3.0.2 pkgsrc-2021Q1-base:1.3 pkgsrc-2020Q4:1.2.0.10 pkgsrc-2020Q4-base:1.2 pkgsrc-2020Q3:1.2.0.8 pkgsrc-2020Q3-base:1.2 pkgsrc-2020Q2:1.2.0.6 pkgsrc-2020Q2-base:1.2 pkgsrc-2020Q1:1.2.0.2 pkgsrc-2020Q1-base:1.2 pkgsrc-2019Q4:1.2.0.4 pkgsrc-2019Q4-base:1.2; locks; strict; comment @# @; 1.5 date 2023.03.12.07.20.54; author mef; state Exp; branches; next 1.4; commitid 0svTXEl8uuv9XNgE; 1.4 date 2021.06.05.08.55.12; author mef; state Exp; branches; next 1.3; commitid 60MV5nRNgw2UcVVC; 1.3 date 2021.02.05.02.25.48; author mef; state Exp; branches; next 1.2; commitid 7ktVGw4fC9PwUsGC; 1.2 date 2019.12.19.22.25.27; author joerg; state Exp; branches; next 1.1; commitid Og1B0tJWg8G5RmPB; 1.1 date 2019.12.18.12.44.39; author joerg; state Exp; branches; next ; commitid UcBUFje0SklPFbPB; desc @@ 1.5 log @(www/R-httpuv) Updated 1.6.5 to 1.6.9 # httpuv 1.6.9 * Fixed #354: The incorrect method was called to clear a `vector`. (#355) * The `src/Makevars` file no longer sets `CXX_STD=CXX11`, and the `DESCRIPTION` file no longer lists `SystemRequirements: C++11`, because newer R versions always support C++11. (#356, #357) # httpuv 1.6.8 * Fixed #351: A race condition could cause httpuv to crash when starting the background thread for I/O. (#352) # httpuv 1.6.7 * Fixed rstudio/shiny#3741: The `TZ` environment variable could get unset in some cases. (#346) * Closed #302: Fixed potential thread-safety issues with `timegm2` implementation. (#346) # httpuv 1.6.6 * Update docs for CRAN (#343) * Updated to libuv 1.43.0. (#328) * Fixed #336: `encodeURI()` and `encodeURIComponent()` printed a space instead of a leading zero, as in `"% A"` instead of `"%0A"`. (#337) @ text @$NetBSD: patch-src_Makevars,v 1.4 2021/06/05 08:55:12 mef Exp $ date: 2019-12-18 21:44:39 +0900; author: joerg; state: Exp; commitid: UcBUFje0SklPFbPB; Use external libuv. --- src/Makevars.orig 2023-02-09 04:27:58.000000000 +0900 +++ src/Makevars 2023-03-12 16:12:54.495701401 +0900 @@@@ -1,6 +1,6 @@@@ UNAME := $(shell uname) -PKG_LIBS = ./libuv/.libs/libuv.a ./http-parser/http_parser.o ./sha1/sha1.o ./base64/base64.o -pthread +PKG_LIBS = -luv ./http-parser/http_parser.o ./sha1/sha1.o ./base64/base64.o -pthread ifeq ($(UNAME), Darwin) PKG_LIBS += -framework CoreServices @@@@ -18,7 +18,7 @@@@ endif PKG_CFLAGS = $(C_VISIBILITY) -DSTRICT_R_HEADERS PKG_CXXFLAGS = $(CXX_VISIBILITY) -DSTRICT_R_HEADERS -PKG_CPPFLAGS = -Ilibuv/include -pthread +PKG_CPPFLAGS = -I${PREFIX}/include -pthread # To avoid spurious warnings from `R CMD check --as-cran`, about compiler # warning flags like -Werror. @@@@ -38,7 +38,7 @@@@ CONFIGURE_FLAGS="--quiet" # PKG_CPPFLAGS += -D_GLIBCXX_ASSERTIONS -$(SHLIB): libuv/.libs/libuv.a http-parser/http_parser.o sha1/sha1.o base64/base64.o +$(SHLIB): http-parser/http_parser.o sha1/sha1.o base64/base64.o # We needed to rename lt~obsolete.m4 because the name causes problems with R # CMD check. Here we rename it back. @ 1.4 log @(www/R-httpuv) Updated 1.5.1 to 1.6.1 httpuv 1.6.1 ============ * The `timegm()` function is a non-standard GNU extension, so it has been replaced with an internal `timegm2()` function. (#300) httpuv 1.6.0 ============ * Remove BH dependency. httpuv now requires a compiler which supports C++11. (#297) httpuv 1.5.5 ============ * Fix SHA1 calculation, and thus WebSocket server handshakes, on big-endian systems. (#284) * Fixed #195: Responses required `headers` to be a named list. Now it can also be `NULL`, an empty unnamed list, or it can be unset. (#289) * Allow responses to omit `body` (or set it as `NULL`) to avoid sending a body or setting the `Content-Length` header. This is intended for use with HTTP 204/304 responses. (#288) httpuv 1.5.4 ============ * Fixed #275: Large HTTP request headers could get truncated if they spanned more than one TCP message. (#277) * Fixed build for Solaris. (#271) * Fixed a test that had incorrect logic. (#272) httpuv 1.5.3.1 ============== * Updated libuv to version 1.37.0. (#266) * Fixed #204: On UBSAN builds of R, there were warnings about unaligned memory access. (#246) * Avoid creating a new Rook error stream object for each request. This should improve performance. (#245) * Resolved #247: httpuv no longer returns a HTTP 400 code for static files when the "Content-Length" header is 0. This Content-Length header is inserted by some proxies even for messages without payloads. (#248) * Resolved #253: Setting the FRAMEWORK environment variable would break compilation. This change removes any dependency on that variable. (#254) httpuv 1.5.2 ============ * In the static file-serving code path, httpuv previously looked for a `Connection: upgrade` header; if it found this header, it would not try to serve a static file, and it would instead forward the HTTP request to the R code path. However, some proxies are configured to always set this header, even when the connection is not actually meant to be upgraded. Now, instead of looking for a `Connection: upgrade` header, httpuv looks for the presence of an `Upgrade` header (with any value), and should be more robust to incorrectly-configured proxies. (#215) * Fixed handling of messages without payloads: (#219) * Fixed #224: Static file serving on Windows did not work correctly if it was from a path that contained non-ASCII characters. (#227) * Resolved #194, #233: Added a `quiet` option to `startServer`, which suppresses startup error messages that are normally printed to console (and can't be intercepted with `capture.output()`). (#234) * Added a new function `randomPort()`, which returns a random available port for listening on. (#234) * Added a new (unexported) function `logLevel()`, for controlling debugging information that will be printed to the console. Previously, httpuv occasionally printed messages like `ERROR: [uv_write] broken pipe` and `ERROR: [uv_write] bad file descriptor` by default. This happened when the server tried to write to a pipe that was already closed, but the situation was not harmful, and was already being handled correctly. Now these messages are printed only if the log level is set to `INFO` or `DEBUG`. (#223) * If an application's `$call()` method is missing, it will now give a 404 response instead of a 500 response. (#237) * Disallowed backslash in static path, to prevent path traversal attacks. (#235) * Static file serving on Windows could fail if multiple requests accessed the same file simultaneously. (#239) @ text @d1 1 a1 1 $NetBSD: patch-src_Makevars,v 1.3 2021/02/05 02:25:48 mef Exp $ d6 3 a8 4 --- src/Makevars.orig 2020-06-06 01:40:07.000000000 +0900 +++ src/Makevars 2021-06-05 17:47:54.804407283 +0900 @@@@ -5,7 +5,7 @@@@ CXX_STD=CXX11 d12 1 a12 1 +PKG_LIBS = -luv ./http-parser/http_parser.o ./sha1/sha1.o ./base64/base64.o -pthread d16 1 a16 1 @@@@ -23,7 +23,7 @@@@ endif d25 1 a25 1 @@@@ -43,7 +43,7 @@@@ CONFIGURE_FLAGS="--quiet" @ 1.3 log @(www/R-httpuv) Add R-testthat for TEST_DEPENDS, comment on patch @ text @d1 1 a1 1 $NetBSD: patch-src_Makevars,v 1.2 2019/12/19 22:25:27 joerg Exp $ d6 12 a17 12 --- src/Makevars.orig 2019-04-05 20:06:25.000000000 +0000 +++ src/Makevars @@@@ -9,7 +9,7 @@@@ ifeq ($(UNAME), Darwin) FRAMEWORK = -framework CoreServices endif -PKG_LIBS = ./libuv/.libs/libuv.a ./http-parser/http_parser.o ./sha1/sha1.o ./base64/base64.o $(FRAMEWORK) -pthread +PKG_LIBS = -luv ./http-parser/http_parser.o ./sha1/sha1.o ./base64/base64.o $(FRAMEWORK) -pthread ifeq ($(UNAME), SunOS) PKG_LIBS += -lkstat -lsendfile -lsocket -lxnet endif @@@@ -22,7 +22,7 @@@@ endif d26 1 a26 1 @@@@ -44,7 +44,7 @@@@ CONFIGURE_FLAGS="--quiet" @ 1.2 log @Spell include path correctly, even though it is not actually used. @ text @d1 4 a4 1 $NetBSD: patch-src_Makevars,v 1.1 2019/12/18 12:44:39 joerg Exp $ @ 1.1 log @Use external libuv. @ text @d1 1 a1 1 $NetBSD$ d19 1 a19 1 +PKG_CPPFLAGS = -I${PREFIX} -pthread @