Ravenports generated: 17 Sep 2022 15:25
[ravenports.git] / bucket_31 / R-httpuv
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               R-httpuv
4 VERSION=                1.6.6
5 KEYWORDS=               cran
6 VARIANTS=               standard
7 SDESC[standard]=        HTTP and WebSocket Server Library
8 HOMEPAGE=               https://github.com/rstudio/httpuv
9 CONTACT=                CRAN_Automaton[cran@ironwolf.systems]
10
11 DOWNLOAD_GROUPS=        main
12 SITES[main]=            CRAN/src/contrib
13 DISTFILE[1]=            httpuv_1.6.6.tar.gz:main
14 DIST_SUBDIR=            CRAN
15 DF_INDEX=               1
16 SPKGS[standard]=        single
17
18 OPTIONS_AVAILABLE=      none
19 OPTIONS_STANDARD=       none
20
21 BUILDRUN_DEPENDS=       R-Rcpp:single:standard
22                         R-R6:single:standard
23                         R-promises:single:standard
24                         R-later:single:standard
25
26 USES=                   cran gmake
27
28 DISTNAME=               httpuv
29
30 GENERATED=              yes
31
32 INSTALL_REQ_TOOLCHAIN=  yes
33
34 [FILE:492:descriptions/desc.single]
35 httpuv: HTTP and WebSocket Server Library
36
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
43 information.)
44
45
46 [FILE:103:distinfo]
47 41395fd324c5cb884d4f2a8060744758904119db22eeb312f2ea1e7ad7711293      1875264 CRAN/httpuv_1.6.6.tar.gz
48
49
50 [FILE:1171:patches/patch-src_Makevars]
51 --- src/Makevars.orig   2021-12-13 19:41:14 UTC
52 +++ src/Makevars
53 @@ -17,6 +17,9 @@ endif
54  ifeq ($(UNAME), FreeBSD)
55  PKG_LIBS += -lkvm
56  endif
57 +ifeq ($(UNAME), NetBSD)
58 +PKG_LIBS += -lkvm
59 +endif
60  ifeq ($(UNAME), OpenBSD)
61  PKG_LIBS += -lkvm
62  endif
63 @@ -35,7 +38,7 @@ CONFIGURE_FLAGS="--quiet"
64  
65  #### Other flags ####
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
73         cd libuv; \
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."; \
76 -               touch aclocal.m4; \
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; \
81         else \
82                 echo "automake found. Running autogen.sh."; \
83                 sh autogen.sh; \
84
85
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*
90  
91  
92  #ifdef __DragonFly__
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];
97    ssize_t abspath_size;
98  
99 @@ -80,7 +81,8 @@ int uv_exepath(char* buffer, size_t* siz
100  
101    return 0;
102  }
103 -#else
104 +#endif
105 +
106  int uv_exepath(char* buffer, size_t* size) {
107    char abspath[PATH_MAX * 2 + 1];
108    int mib[4];
109 @@ -110,7 +112,6 @@ int uv_exepath(char* buffer, size_t* siz
110  
111    return 0;
112  }
113 -#endif
114  
115  uint64_t uv_get_free_memory(void) {
116    int freecount;
117
118
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__)                                                         \
125      || defined(_AIX71)                                                         \
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__)            ||                                           \
141      defined(_AIX71)               ||                                           \
142 -    defined(__sun)                ||                                           \
143      defined(__HAIKU__)
144    struct timespec ts[2];
145    ts[0] = uv__fs_to_timespec(req->atime);
146
147
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
152  }
153  
154  
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__)
166    int err;
167    struct sockaddr_storage mcast_addr;
168    struct sockaddr_in* mcast_addr4;
169