View | Details | Raw Unified | Return to bug 257902 | Differences between
and this patch

Collapse All | Expand All

(-)b/Makefile (-2 / +2 lines)
Lines 1-6 Link Here
1
PORTNAME=	node
1
PORTNAME=	node
2
DISTVERSIONPREFIX=	v
2
DISTVERSIONPREFIX=	v
3
DISTVERSION=	16.2.0
3
DISTVERSION=	16.6.2
4
CATEGORIES=	www
4
CATEGORIES=	www
5
MASTER_SITES=	http://nodejs.org/dist/v${DISTVERSION}/
5
MASTER_SITES=	http://nodejs.org/dist/v${DISTVERSION}/
6
6
Lines 69-75 MAKE_ENV+= CC.host=${CC} CFLAGS.host="${CFLAGS}" \ Link Here
69
		LINK.host=${CXX} LDFLAGS.host="${LDFLAGS}"
69
		LINK.host=${CXX} LDFLAGS.host="${LDFLAGS}"
70
70
71
BUILD_DEPENDS+=	brotli>=1.0.9,1:archivers/brotli \
71
BUILD_DEPENDS+=	brotli>=1.0.9,1:archivers/brotli \
72
		c-ares>=1.17.1:dns/c-ares \
72
		c-ares>=1.17.2:dns/c-ares \
73
		libuv>=1.41.0:devel/libuv \
73
		libuv>=1.41.0:devel/libuv \
74
		libnghttp2>=1.42.0:www/libnghttp2 \
74
		libnghttp2>=1.42.0:www/libnghttp2 \
75
		objdump:devel/binutils
75
		objdump:devel/binutils
(-)b/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1621884652
1
TIMESTAMP = 1629159762
2
SHA256 (node-v16.2.0.tar.gz) = 5d093d6b203159aa3288a1d51495d2faf11550f0755d04015161a529a065b12a
2
SHA256 (node-v16.6.2.tar.gz) = e8df4a0084c379a37c11b315b7d068760a38598119d7ca9262977adcbbb58933
3
SIZE (node-v16.2.0.tar.gz) = 64056003
3
SIZE (node-v16.6.2.tar.gz) = 64007539
(-)b/files/patch-src_ares__nameser.h (+485 lines)
Added Link Here
1
--- src/ares_nameser.h.orig	2021-08-11 20:40:20 UTC
2
+++ src/ares_nameser.h
3
@@ -0,0 +1,482 @@
4
+
5
+#ifndef ARES_NAMESER_H
6
+#define ARES_NAMESER_H
7
+
8
+#ifdef HAVE_ARPA_NAMESER_H
9
+#  include <arpa/nameser.h>
10
+#endif
11
+#ifdef HAVE_ARPA_NAMESER_COMPAT_H
12
+#  include <arpa/nameser_compat.h>
13
+#endif
14
+
15
+/* ============================================================================
16
+ * arpa/nameser.h may or may not provide ALL of the below defines, so check
17
+ * each one individually and set if not
18
+ * ============================================================================
19
+ */
20
+
21
+#ifndef NS_PACKETSZ
22
+#  define NS_PACKETSZ     512   /* maximum packet size */
23
+#endif
24
+
25
+#ifndef NS_MAXDNAME
26
+#  define NS_MAXDNAME     256   /* maximum domain name */
27
+#endif
28
+
29
+#ifndef NS_MAXCDNAME
30
+#  define NS_MAXCDNAME    255   /* maximum compressed domain name */
31
+#endif
32
+
33
+#ifndef NS_MAXLABEL
34
+#  define NS_MAXLABEL     63
35
+#endif
36
+
37
+#ifndef NS_HFIXEDSZ
38
+#  define NS_HFIXEDSZ     12    /* #/bytes of fixed data in header */
39
+#endif
40
+
41
+#ifndef NS_QFIXEDSZ
42
+#  define NS_QFIXEDSZ     4     /* #/bytes of fixed data in query */
43
+#endif
44
+
45
+#ifndef NS_RRFIXEDSZ
46
+#  define NS_RRFIXEDSZ    10    /* #/bytes of fixed data in r record */
47
+#endif
48
+
49
+#ifndef NS_INT16SZ
50
+#  define NS_INT16SZ      2
51
+#endif
52
+
53
+#ifndef NS_INADDRSZ
54
+#  define NS_INADDRSZ     4
55
+#endif
56
+
57
+#ifndef NS_IN6ADDRSZ
58
+#  define NS_IN6ADDRSZ    16
59
+#endif
60
+
61
+#ifndef NS_CMPRSFLGS
62
+#  define NS_CMPRSFLGS    0xc0  /* Flag bits indicating name compression. */
63
+#endif
64
+
65
+#ifndef NS_DEFAULTPORT
66
+#  define NS_DEFAULTPORT  53    /* For both TCP and UDP. */
67
+#endif
68
+
69
+/* ============================================================================
70
+ * arpa/nameser.h should provide these enumerations always, so if not found,
71
+ * provide them
72
+ * ============================================================================
73
+ */
74
+#ifndef HAVE_ARPA_NAMESER_H
75
+
76
+typedef enum __ns_class {
77
+    ns_c_invalid = 0,       /* Cookie. */
78
+    ns_c_in = 1,            /* Internet. */
79
+    ns_c_2 = 2,             /* unallocated/unsupported. */
80
+    ns_c_chaos = 3,         /* MIT Chaos-net. */
81
+    ns_c_hs = 4,            /* MIT Hesiod. */
82
+    /* Query class values which do not appear in resource records */
83
+    ns_c_none = 254,        /* for prereq. sections in update requests */
84
+    ns_c_any = 255,         /* Wildcard match. */
85
+    ns_c_max = 65536
86
+} ns_class;
87
+
88
+typedef enum __ns_type {
89
+    ns_t_invalid = 0,       /* Cookie. */
90
+    ns_t_a = 1,             /* Host address. */
91
+    ns_t_ns = 2,            /* Authoritative server. */
92
+    ns_t_md = 3,            /* Mail destination. */
93
+    ns_t_mf = 4,            /* Mail forwarder. */
94
+    ns_t_cname = 5,         /* Canonical name. */
95
+    ns_t_soa = 6,           /* Start of authority zone. */
96
+    ns_t_mb = 7,            /* Mailbox domain name. */
97
+    ns_t_mg = 8,            /* Mail group member. */
98
+    ns_t_mr = 9,            /* Mail rename name. */
99
+    ns_t_null = 10,         /* Null resource record. */
100
+    ns_t_wks = 11,          /* Well known service. */
101
+    ns_t_ptr = 12,          /* Domain name pointer. */
102
+    ns_t_hinfo = 13,        /* Host information. */
103
+    ns_t_minfo = 14,        /* Mailbox information. */
104
+    ns_t_mx = 15,           /* Mail routing information. */
105
+    ns_t_txt = 16,          /* Text strings. */
106
+    ns_t_rp = 17,           /* Responsible person. */
107
+    ns_t_afsdb = 18,        /* AFS cell database. */
108
+    ns_t_x25 = 19,          /* X_25 calling address. */
109
+    ns_t_isdn = 20,         /* ISDN calling address. */
110
+    ns_t_rt = 21,           /* Router. */
111
+    ns_t_nsap = 22,         /* NSAP address. */
112
+    ns_t_nsap_ptr = 23,     /* Reverse NSAP lookup (deprecated). */
113
+    ns_t_sig = 24,          /* Security signature. */
114
+    ns_t_key = 25,          /* Security key. */
115
+    ns_t_px = 26,           /* X.400 mail mapping. */
116
+    ns_t_gpos = 27,         /* Geographical position (withdrawn). */
117
+    ns_t_aaaa = 28,         /* Ip6 Address. */
118
+    ns_t_loc = 29,          /* Location Information. */
119
+    ns_t_nxt = 30,          /* Next domain (security). */
120
+    ns_t_eid = 31,          /* Endpoint identifier. */
121
+    ns_t_nimloc = 32,       /* Nimrod Locator. */
122
+    ns_t_srv = 33,          /* Server Selection. */
123
+    ns_t_atma = 34,         /* ATM Address */
124
+    ns_t_naptr = 35,        /* Naming Authority PoinTeR */
125
+    ns_t_kx = 36,           /* Key Exchange */
126
+    ns_t_cert = 37,         /* Certification record */
127
+    ns_t_a6 = 38,           /* IPv6 address (deprecates AAAA) */
128
+    ns_t_dname = 39,        /* Non-terminal DNAME (for IPv6) */
129
+    ns_t_sink = 40,         /* Kitchen sink (experimentatl) */
130
+    ns_t_opt = 41,          /* EDNS0 option (meta-RR) */
131
+    ns_t_apl = 42,          /* Address prefix list (RFC3123) */
132
+    ns_t_ds = 43,           /* Delegation Signer (RFC4034) */
133
+    ns_t_sshfp = 44,        /* SSH Key Fingerprint (RFC4255) */
134
+    ns_t_rrsig = 46,        /* Resource Record Signature (RFC4034) */
135
+    ns_t_nsec = 47,         /* Next Secure (RFC4034) */
136
+    ns_t_dnskey = 48,       /* DNS Public Key (RFC4034) */
137
+    ns_t_tkey = 249,        /* Transaction key */
138
+    ns_t_tsig = 250,        /* Transaction signature. */
139
+    ns_t_ixfr = 251,        /* Incremental zone transfer. */
140
+    ns_t_axfr = 252,        /* Transfer zone of authority. */
141
+    ns_t_mailb = 253,       /* Transfer mailbox records. */
142
+    ns_t_maila = 254,       /* Transfer mail agent records. */
143
+    ns_t_any = 255,         /* Wildcard match. */
144
+    ns_t_uri = 256,         /* Uniform Resource Identifier (RFC7553) */
145
+    ns_t_caa = 257,         /* Certification Authority Authorization. */
146
+    ns_t_max = 65536
147
+} ns_type;
148
+
149
+typedef enum __ns_opcode {
150
+    ns_o_query = 0,         /* Standard query. */
151
+    ns_o_iquery = 1,        /* Inverse query (deprecated/unsupported). */
152
+    ns_o_status = 2,        /* Name server status query (unsupported). */
153
+                                /* Opcode 3 is undefined/reserved. */
154
+    ns_o_notify = 4,        /* Zone change notification. */
155
+    ns_o_update = 5,        /* Zone update message. */
156
+    ns_o_max = 6
157
+} ns_opcode;
158
+
159
+typedef enum __ns_rcode {
160
+    ns_r_noerror = 0,       /* No error occurred. */
161
+    ns_r_formerr = 1,       /* Format error. */
162
+    ns_r_servfail = 2,      /* Server failure. */
163
+    ns_r_nxdomain = 3,      /* Name error. */
164
+    ns_r_notimpl = 4,       /* Unimplemented. */
165
+    ns_r_refused = 5,       /* Operation refused. */
166
+    /* these are for BIND_UPDATE */
167
+    ns_r_yxdomain = 6,      /* Name exists */
168
+    ns_r_yxrrset = 7,       /* RRset exists */
169
+    ns_r_nxrrset = 8,       /* RRset does not exist */
170
+    ns_r_notauth = 9,       /* Not authoritative for zone */
171
+    ns_r_notzone = 10,      /* Zone of record different from zone section */
172
+    ns_r_max = 11,
173
+    /* The following are TSIG extended errors */
174
+    ns_r_badsig = 16,
175
+    ns_r_badkey = 17,
176
+    ns_r_badtime = 18
177
+} ns_rcode;
178
+
179
+#endif /* HAVE_ARPA_NAMESER_H */
180
+
181
+
182
+/* ============================================================================
183
+ * arpa/nameser_compat.h typically sets these.  However on some systems
184
+ * arpa/nameser.h does, but may not set all of them.  Lets conditionally
185
+ * define each
186
+ * ============================================================================
187
+ */
188
+
189
+#ifndef PACKETSZ
190
+#  define PACKETSZ         NS_PACKETSZ
191
+#endif
192
+
193
+#ifndef MAXDNAME
194
+#  define MAXDNAME         NS_MAXDNAME
195
+#endif
196
+
197
+#ifndef MAXCDNAME
198
+#  define MAXCDNAME        NS_MAXCDNAME
199
+#endif
200
+
201
+#ifndef MAXLABEL
202
+#  define MAXLABEL         NS_MAXLABEL
203
+#endif
204
+
205
+#ifndef HFIXEDSZ
206
+#  define HFIXEDSZ         NS_HFIXEDSZ
207
+#endif
208
+
209
+#ifndef QFIXEDSZ
210
+#  define QFIXEDSZ         NS_QFIXEDSZ
211
+#endif
212
+
213
+#ifndef RRFIXEDSZ
214
+#  define RRFIXEDSZ        NS_RRFIXEDSZ
215
+#endif
216
+
217
+#ifndef INDIR_MASK
218
+#  define INDIR_MASK       NS_CMPRSFLGS
219
+#endif
220
+
221
+#ifndef NAMESERVER_PORT
222
+#  define NAMESERVER_PORT  NS_DEFAULTPORT
223
+#endif
224
+
225
+
226
+/* opcodes */
227
+#ifndef O_QUERY
228
+#  define O_QUERY 0  /* ns_o_query */
229
+#endif
230
+#ifndef O_IQUERY
231
+#  define O_IQUERY 1 /* ns_o_iquery */
232
+#endif
233
+#ifndef O_STATUS
234
+#  define O_STATUS 2 /* ns_o_status */
235
+#endif
236
+#ifndef O_NOTIFY
237
+#  define O_NOTIFY 4 /* ns_o_notify */
238
+#endif
239
+#ifndef O_UPDATE
240
+#  define O_UPDATE 5 /* ns_o_update */
241
+#endif
242
+
243
+
244
+/* response codes */
245
+#ifndef SERVFAIL
246
+#  define SERVFAIL        ns_r_servfail
247
+#endif
248
+#ifndef NOTIMP
249
+#  define NOTIMP          ns_r_notimpl
250
+#endif
251
+#ifndef REFUSED
252
+#  define REFUSED         ns_r_refused
253
+#endif
254
+#if defined(_WIN32) && !defined(HAVE_ARPA_NAMESER_COMPAT_H) && defined(NOERROR)
255
+#  undef NOERROR /* it seems this is already defined in winerror.h */
256
+#endif
257
+#ifndef NOERROR
258
+#  define NOERROR         ns_r_noerror
259
+#endif
260
+#ifndef FORMERR
261
+#  define FORMERR         ns_r_formerr
262
+#endif
263
+#ifndef NXDOMAIN
264
+#  define NXDOMAIN        ns_r_nxdomain
265
+#endif
266
+/* Non-standard response codes, use numeric values */
267
+#ifndef YXDOMAIN
268
+#  define YXDOMAIN        6 /* ns_r_yxdomain */
269
+#endif
270
+#ifndef YXRRSET
271
+#  define YXRRSET         7 /* ns_r_yxrrset */
272
+#endif
273
+#ifndef NXRRSET
274
+#  define NXRRSET         8 /* ns_r_nxrrset */
275
+#endif
276
+#ifndef NOTAUTH
277
+#  define NOTAUTH         9 /* ns_r_notauth */
278
+#endif
279
+#ifndef NOTZONE
280
+#  define NOTZONE         10 /* ns_r_notzone */
281
+#endif
282
+#ifndef TSIG_BADSIG
283
+#  define TSIG_BADSIG     16 /* ns_r_badsig */
284
+#endif
285
+#ifndef TSIG_BADKEY
286
+#  define TSIG_BADKEY     17 /* ns_r_badkey */
287
+#endif
288
+#ifndef TSIG_BADTIME
289
+#  define TSIG_BADTIME    18 /* ns_r_badtime */
290
+#endif
291
+
292
+
293
+/* classes */
294
+#ifndef C_IN
295
+#  define C_IN            1 /* ns_c_in */
296
+#endif
297
+#ifndef C_CHAOS
298
+#  define C_CHAOS         3 /* ns_c_chaos */
299
+#endif
300
+#ifndef C_HS
301
+#  define C_HS            4 /* ns_c_hs */
302
+#endif
303
+#ifndef C_NONE
304
+#  define C_NONE          254 /* ns_c_none */
305
+#endif
306
+#ifndef C_ANY
307
+#  define C_ANY           255 /*  ns_c_any */
308
+#endif
309
+
310
+
311
+/* types */
312
+#ifndef T_A
313
+#  define T_A             1   /* ns_t_a */
314
+#endif
315
+#ifndef T_NS
316
+#  define T_NS            2   /* ns_t_ns */
317
+#endif
318
+#ifndef T_MD
319
+#  define T_MD            3   /* ns_t_md */
320
+#endif
321
+#ifndef T_MF
322
+#  define T_MF            4   /* ns_t_mf */
323
+#endif
324
+#ifndef T_CNAME
325
+#  define T_CNAME         5   /* ns_t_cname */
326
+#endif
327
+#ifndef T_SOA
328
+#  define T_SOA           6   /* ns_t_soa */
329
+#endif
330
+#ifndef T_MB
331
+#  define T_MB            7   /* ns_t_mb */
332
+#endif
333
+#ifndef T_MG
334
+#  define T_MG            8   /* ns_t_mg */
335
+#endif
336
+#ifndef T_MR
337
+#  define T_MR            9   /* ns_t_mr */
338
+#endif
339
+#ifndef T_NULL
340
+#  define T_NULL          10  /* ns_t_null */
341
+#endif
342
+#ifndef T_WKS
343
+#  define T_WKS           11  /* ns_t_wks */
344
+#endif
345
+#ifndef T_PTR
346
+#  define T_PTR           12  /* ns_t_ptr */
347
+#endif
348
+#ifndef T_HINFO
349
+#  define T_HINFO         13  /* ns_t_hinfo */
350
+#endif
351
+#ifndef T_MINFO
352
+#  define T_MINFO         14  /* ns_t_minfo */
353
+#endif
354
+#ifndef T_MX
355
+#  define T_MX            15  /* ns_t_mx */
356
+#endif
357
+#ifndef T_TXT
358
+#  define T_TXT           16  /* ns_t_txt */
359
+#endif
360
+#ifndef T_RP
361
+#  define T_RP            17  /* ns_t_rp */
362
+#endif
363
+#ifndef T_AFSDB
364
+#  define T_AFSDB         18  /* ns_t_afsdb */
365
+#endif
366
+#ifndef T_X25
367
+#  define T_X25           19  /* ns_t_x25 */
368
+#endif
369
+#ifndef T_ISDN
370
+#  define T_ISDN          20  /* ns_t_isdn */
371
+#endif
372
+#ifndef T_RT
373
+#  define T_RT            21  /* ns_t_rt */
374
+#endif
375
+#ifndef T_NSAP
376
+#  define T_NSAP          22  /* ns_t_nsap */
377
+#endif
378
+#ifndef T_NSAP_PTR
379
+#  define T_NSAP_PTR      23  /* ns_t_nsap_ptr */
380
+#endif
381
+#ifndef T_SIG
382
+#  define T_SIG           24  /* ns_t_sig */
383
+#endif
384
+#ifndef T_KEY
385
+#  define T_KEY           25  /* ns_t_key */
386
+#endif
387
+#ifndef T_PX
388
+#  define T_PX            26  /* ns_t_px */
389
+#endif
390
+#ifndef T_GPOS
391
+#  define T_GPOS          27  /* ns_t_gpos */
392
+#endif
393
+#ifndef T_AAAA
394
+#  define T_AAAA          28  /* ns_t_aaaa */
395
+#endif
396
+#ifndef T_LOC
397
+#  define T_LOC           29  /* ns_t_loc */
398
+#endif
399
+#ifndef T_NXT
400
+#  define T_NXT           30  /* ns_t_nxt */
401
+#endif
402
+#ifndef T_EID
403
+#  define T_EID           31  /* ns_t_eid */
404
+#endif
405
+#ifndef T_NIMLOC
406
+#  define T_NIMLOC        32  /* ns_t_nimloc */
407
+#endif
408
+#ifndef T_SRV
409
+#  define T_SRV           33  /* ns_t_srv */
410
+#endif
411
+#ifndef T_ATMA
412
+#  define T_ATMA          34  /* ns_t_atma */
413
+#endif
414
+#ifndef T_NAPTR
415
+#  define T_NAPTR         35  /* ns_t_naptr */
416
+#endif
417
+#ifndef T_KX
418
+#  define T_KX            36  /* ns_t_kx */
419
+#endif
420
+#ifndef T_CERT
421
+#  define T_CERT          37  /* ns_t_cert */
422
+#endif
423
+#ifndef T_A6
424
+#  define T_A6            38  /* ns_t_a6 */
425
+#endif
426
+#ifndef T_DNAME
427
+#  define T_DNAME         39  /* ns_t_dname */
428
+#endif
429
+#ifndef T_SINK
430
+#  define T_SINK          40  /* ns_t_sink */
431
+#endif
432
+#ifndef T_OPT
433
+#  define T_OPT           41  /* ns_t_opt */
434
+#endif
435
+#ifndef T_APL
436
+#  define T_APL           42  /* ns_t_apl */
437
+#endif
438
+#ifndef T_DS
439
+#  define T_DS            43  /* ns_t_ds */
440
+#endif
441
+#ifndef T_SSHFP
442
+#  define T_SSHFP         44  /* ns_t_sshfp */
443
+#endif
444
+#ifndef T_RRSIG
445
+#  define T_RRSIG         46  /* ns_t_rrsig */
446
+#endif
447
+#ifndef T_NSEC
448
+#  define T_NSEC          47  /* ns_t_nsec */
449
+#endif
450
+#ifndef T_DNSKEY
451
+#  define T_DNSKEY        48  /* ns_t_dnskey */
452
+#endif
453
+#ifndef T_TKEY
454
+#  define T_TKEY          249 /* ns_t_tkey */
455
+#endif
456
+#ifndef T_TSIG
457
+#  define T_TSIG          250 /* ns_t_tsig */
458
+#endif
459
+#ifndef T_IXFR
460
+#  define T_IXFR          251 /* ns_t_ixfr */
461
+#endif
462
+#ifndef T_AXFR
463
+#  define T_AXFR          252 /* ns_t_axfr */
464
+#endif
465
+#ifndef T_MAILB
466
+#  define T_MAILB         253 /* ns_t_mailb */
467
+#endif
468
+#ifndef T_MAILA
469
+#  define T_MAILA         254 /* ns_t_maila */
470
+#endif
471
+#ifndef T_ANY
472
+#  define T_ANY           255 /* ns_t_any */
473
+#endif
474
+#ifndef T_URI
475
+#  define T_URI          256 /* ns_t_uri */
476
+#endif
477
+#ifndef T_CAA
478
+#  define T_CAA           257 /* ns_t_caa */
479
+#endif
480
+#ifndef T_MAX
481
+#  define T_MAX         65536 /* ns_t_max */
482
+#endif
483
+
484
+
485
+#endif /* ARES_NAMESER_H */
(-)b/pkg-plist (-1 / +3 lines)
Lines 4-9 include/node/config.gypi Link Here
4
include/node/cppgc/common.h
4
include/node/cppgc/common.h
5
include/node/js_native_api.h
5
include/node/js_native_api.h
6
include/node/js_native_api_types.h
6
include/node/js_native_api_types.h
7
include/node/libplatform/libplatform-export.h
8
include/node/libplatform/libplatform.h
9
include/node/libplatform/v8-tracing.h
7
include/node/node.h
10
include/node/node.h
8
include/node/node_api.h
11
include/node/node_api.h
9
include/node/node_api_types.h
12
include/node/node_api_types.h
10
- 

Return to bug 257902