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.1.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 6a735dd55323f3c36802da3fe22f985b4c02149c71df617555657944ff29be67 1812058 CRAN/httpuv_1.6.1.tar.gz
50 [FILE:1090:patches/patch-src_Makevars]
51 --- src/Makevars.orig 2020-06-05 16:40:07 UTC
53 @@ -35,7 +35,7 @@ CONFIGURE_FLAGS="--quiet"
56 # Uncomment to suppress lots of warnings on Fedora 28
57 -# PKG_CPPFLAGS += -Wno-deprecated-declarations -Wno-parentheses
58 +PKG_CPPFLAGS += -Wno-deprecated-declarations -Wno-parentheses
59 # Fedora 28 defines _GLIBCXX_ASSERTIONS, so we better define it everywhere
60 # to catch issues earlier.
61 # jcheng 2018-06-18: Disabling _GLIBCXX_ASSERTIONS for now, as it causes
62 @@ -64,9 +64,10 @@ libuv/m4/lt~obsolete.m4: libuv/m4/lt_obs
63 # precisely the same timestamp value.
64 libuv/Makefile: libuv/m4/lt~obsolete.m4
66 - && touch aclocal.m4 \
67 - && touch -r aclocal.m4 configure Makefile.in \
68 && chmod +x configure \
69 + && touch configure.ac \
70 + && touch -r configure.ac Makefile.am aclocal.m4 *.in m4/* \
71 + && touch -r aclocal.m4 configure.ac configure \
72 && CC="$(CC)" CFLAGS="$(CFLAGS) $(CPICFLAGS) $(C_VISIBILITY)" AR="$(AR)" RANLIB="$(RANLIB)" LDFLAGS="$(LDFLAGS)" ./configure $(CONFIGURE_FLAGS))
74 libuv/.libs/libuv.a: libuv/Makefile
77 [FILE:733:patches/patch-src_unix_freebsd.c]
78 --- src/libuv/src/unix/freebsd.c.orig 2020-05-15 16:23:13 UTC
79 +++ src/libuv/src/unix/freebsd.c
80 @@ -58,7 +58,8 @@ void uv__platform_loop_delete(uv_loop_t*
84 -int uv_exepath(char* buffer, size_t* size) {
85 +/* deprecated long ago, use KERN_PROC_PATHNAME sysctl */
86 +int uv_exepath_procfs(char* buffer, size_t* size) {
87 char abspath[PATH_MAX * 2 + 1];
90 @@ -80,7 +81,8 @@ int uv_exepath(char* buffer, size_t* siz
97 int uv_exepath(char* buffer, size_t* size) {
98 char abspath[PATH_MAX * 2 + 1];
100 @@ -110,7 +112,6 @@ int uv_exepath(char* buffer, size_t* siz
106 uint64_t uv_get_free_memory(void) {
110 [FILE:1597:patches/patch-src_unix_fs.c]
111 --- src/libuv/src/unix/fs.c.orig 2020-05-15 16:23:13 UTC
112 +++ src/libuv/src/unix/fs.c
113 @@ -976,7 +976,6 @@ static ssize_t uv__fs_sendfile(uv_fs_t*
114 static ssize_t uv__fs_utime(uv_fs_t* req) {
115 #if defined(__linux__) \
117 - || defined(__sun) \
118 || defined(__HAIKU__)
119 /* utimesat() has nanosecond resolution but we stick to microseconds
120 * for the sake of consistency with other platforms.
121 @@ -986,6 +985,7 @@ static ssize_t uv__fs_utime(uv_fs_t* req
122 ts[1] = uv__fs_to_timespec(req->mtime);
123 return utimensat(AT_FDCWD, req->path, ts, 0);
124 #elif defined(__APPLE__) \
125 + || defined(__sun) \
126 || defined(__DragonFly__) \
127 || defined(__FreeBSD__) \
128 || defined(__FreeBSD_kernel__) \
129 @@ -1019,7 +1019,6 @@ static ssize_t uv__fs_utime(uv_fs_t* req
130 static ssize_t uv__fs_lutime(uv_fs_t* req) {
131 #if defined(__linux__) || \
133 - defined(__sun) || \
135 struct timespec ts[2];
136 ts[0] = uv__fs_to_timespec(req->atime);
139 [FILE:1063:patches/patch-src_unix_udp.c]
140 --- src/libuv/src/unix/udp.c.orig 2020-05-15 16:23:13 UTC
141 +++ src/libuv/src/unix/udp.c
142 @@ -850,7 +850,7 @@ static int uv__udp_set_membership6(uv_ud
146 -#if !defined(__OpenBSD__) && !defined(__NetBSD__) && !defined(__ANDROID__)
147 +#if !defined(__OpenBSD__) && !defined(__NetBSD__) && !defined(__ANDROID__) && !defined(__DragonFly__)
148 static int uv__udp_set_source_membership4(uv_udp_t* handle,
149 const struct sockaddr_in* multicast_addr,
150 const char* interface_addr,
151 @@ -1045,7 +1045,7 @@ int uv_udp_set_source_membership(uv_udp_
152 const char* interface_addr,
153 const char* source_addr,
154 uv_membership membership) {
155 -#if !defined(__OpenBSD__) && !defined(__NetBSD__) && !defined(__ANDROID__)
156 +#if !defined(__OpenBSD__) && !defined(__NetBSD__) && !defined(__ANDROID__) && !defined(__DragonFly__)
158 struct sockaddr_storage mcast_addr;
159 struct sockaddr_in* mcast_addr4;