1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
7 SDESC[standard]= HTTP and WebSocket Server Library
8 HOMEPAGE= https://github.com/rstudio/httpuv
9 CONTACT= CRAN_Automaton[cran@ironwolf.systems]
12 SITES[main]= CRAN/src/contrib
13 DISTFILE[1]= httpuv_1.6.6.tar.gz:main
16 SPKGS[standard]= single
18 OPTIONS_AVAILABLE= none
19 OPTIONS_STANDARD= none
21 BUILDRUN_DEPENDS= R-Rcpp:single:standard
23 R-promises:single:standard
24 R-later:single:standard
32 INSTALL_REQ_TOOLCHAIN= yes
34 [FILE:492:descriptions/desc.single]
35 httpuv: HTTP and WebSocket Server Library
37 Provides low-level socket and protocol support for handling HTTP and
38 WebSocket requests directly from within R. It is primarily intended as a
39 building block for other packages, rather than making it particularly easy
40 to create complete web applications using httpuv alone. httpuv is built on
41 top of the libuv and http-parser C libraries, both of which were developed
42 by Joyent, Inc. (See LICENSE file for libuv and http-parser license
47 41395fd324c5cb884d4f2a8060744758904119db22eeb312f2ea1e7ad7711293 1875264 CRAN/httpuv_1.6.6.tar.gz
50 [FILE:1171:patches/patch-src_Makevars]
51 --- src/Makevars.orig 2021-12-13 19:41:14 UTC
53 @@ -17,6 +17,9 @@ endif
54 ifeq ($(UNAME), FreeBSD)
57 +ifeq ($(UNAME), NetBSD)
60 ifeq ($(UNAME), OpenBSD)
63 @@ -35,7 +38,7 @@ CONFIGURE_FLAGS="--quiet"
66 # Uncomment to suppress lots of warnings on Fedora 28
67 -# PKG_CPPFLAGS += -Wno-deprecated-declarations -Wno-parentheses
68 +PKG_CPPFLAGS += -Wno-deprecated-declarations -Wno-parentheses
69 # Fedora 28 defines _GLIBCXX_ASSERTIONS, so we better define it everywhere
70 # to catch issues earlier.
71 # jcheng 2018-06-18: Disabling _GLIBCXX_ASSERTIONS for now, as it causes
72 @@ -74,8 +77,9 @@ libuv/Makefile: libuv/m4/lt~obsolete.m4
74 if ! command -v automake >/dev/null 2>&1 ; then \
75 echo "automake not found. Touching files so configure will not try to run automake."; \
77 - touch -r aclocal.m4 configure Makefile.in; \
78 + touch configure.ac; \
79 + touch -r configure.ac Makefile.am aclocal.m4 *.in m4/*; \
80 + touch -r aclocal.m4 configure.ac configure; \
82 echo "automake found. Running autogen.sh."; \
86 [FILE:733:patches/patch-src_unix_freebsd.c]
87 --- src/libuv/src/unix/freebsd.c.orig 2020-06-05 16:40:07 UTC
88 +++ src/libuv/src/unix/freebsd.c
89 @@ -58,7 +58,8 @@ void uv__platform_loop_delete(uv_loop_t*
93 -int uv_exepath(char* buffer, size_t* size) {
94 +/* deprecated long ago, use KERN_PROC_PATHNAME sysctl */
95 +int uv_exepath_procfs(char* buffer, size_t* size) {
96 char abspath[PATH_MAX * 2 + 1];
99 @@ -80,7 +81,8 @@ int uv_exepath(char* buffer, size_t* siz
106 int uv_exepath(char* buffer, size_t* size) {
107 char abspath[PATH_MAX * 2 + 1];
109 @@ -110,7 +112,6 @@ int uv_exepath(char* buffer, size_t* siz
115 uint64_t uv_get_free_memory(void) {
119 [FILE:1597:patches/patch-src_unix_fs.c]
120 --- src/libuv/src/unix/fs.c.orig 2020-06-05 16:40:07 UTC
121 +++ src/libuv/src/unix/fs.c
122 @@ -976,7 +976,6 @@ static ssize_t uv__fs_sendfile(uv_fs_t*
123 static ssize_t uv__fs_utime(uv_fs_t* req) {
124 #if defined(__linux__) \
126 - || defined(__sun) \
127 || defined(__HAIKU__)
128 /* utimesat() has nanosecond resolution but we stick to microseconds
129 * for the sake of consistency with other platforms.
130 @@ -986,6 +985,7 @@ static ssize_t uv__fs_utime(uv_fs_t* req
131 ts[1] = uv__fs_to_timespec(req->mtime);
132 return utimensat(AT_FDCWD, req->path, ts, 0);
133 #elif defined(__APPLE__) \
134 + || defined(__sun) \
135 || defined(__DragonFly__) \
136 || defined(__FreeBSD__) \
137 || defined(__FreeBSD_kernel__) \
138 @@ -1019,7 +1019,6 @@ static ssize_t uv__fs_utime(uv_fs_t* req
139 static ssize_t uv__fs_lutime(uv_fs_t* req) {
140 #if defined(__linux__) || \
142 - defined(__sun) || \
144 struct timespec ts[2];
145 ts[0] = uv__fs_to_timespec(req->atime);
148 [FILE:1063:patches/patch-src_unix_udp.c]
149 --- src/libuv/src/unix/udp.c.orig 2020-06-05 16:40:07 UTC
150 +++ src/libuv/src/unix/udp.c
151 @@ -850,7 +850,7 @@ static int uv__udp_set_membership6(uv_ud
155 -#if !defined(__OpenBSD__) && !defined(__NetBSD__) && !defined(__ANDROID__)
156 +#if !defined(__OpenBSD__) && !defined(__NetBSD__) && !defined(__ANDROID__) && !defined(__DragonFly__)
157 static int uv__udp_set_source_membership4(uv_udp_t* handle,
158 const struct sockaddr_in* multicast_addr,
159 const char* interface_addr,
160 @@ -1045,7 +1045,7 @@ int uv_udp_set_source_membership(uv_udp_
161 const char* interface_addr,
162 const char* source_addr,
163 uv_membership membership) {
164 -#if !defined(__OpenBSD__) && !defined(__NetBSD__) && !defined(__ANDROID__)
165 +#if !defined(__OpenBSD__) && !defined(__NetBSD__) && !defined(__ANDROID__) && !defined(__DragonFly__)
167 struct sockaddr_storage mcast_addr;
168 struct sockaddr_in* mcast_addr4;