Ravenports generated: 07 May 2021 12:04
[ravenports.git] / bucket_31 / R-httpuv
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               R-httpuv
4 VERSION=                1.6.1
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.1.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 6a735dd55323f3c36802da3fe22f985b4c02149c71df617555657944ff29be67      1812058 CRAN/httpuv_1.6.1.tar.gz
48
49
50 [FILE:1090:patches/patch-src_Makevars]
51 --- src/Makevars.orig   2020-06-05 16:40:07 UTC
52 +++ src/Makevars
53 @@ -35,7 +35,7 @@ CONFIGURE_FLAGS="--quiet"
54  
55  #### Other flags ####
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
65         (cd libuv \
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))
73  
74  libuv/.libs/libuv.a: libuv/Makefile
75
76
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*
81  
82  
83  #ifdef __DragonFly__
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];
88    ssize_t abspath_size;
89  
90 @@ -80,7 +81,8 @@ int uv_exepath(char* buffer, size_t* siz
91  
92    return 0;
93  }
94 -#else
95 +#endif
96 +
97  int uv_exepath(char* buffer, size_t* size) {
98    char abspath[PATH_MAX * 2 + 1];
99    int mib[4];
100 @@ -110,7 +112,6 @@ int uv_exepath(char* buffer, size_t* siz
101  
102    return 0;
103  }
104 -#endif
105  
106  uint64_t uv_get_free_memory(void) {
107    int freecount;
108
109
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__)                                                         \
116      || defined(_AIX71)                                                         \
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__)            ||                                           \
132      defined(_AIX71)               ||                                           \
133 -    defined(__sun)                ||                                           \
134      defined(__HAIKU__)
135    struct timespec ts[2];
136    ts[0] = uv__fs_to_timespec(req->atime);
137
138
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
143  }
144  
145  
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__)
157    int err;
158    struct sockaddr_storage mcast_addr;
159    struct sockaddr_in* mcast_addr4;
160