build: add NetBSD support to opensslconf.h#14313
build: add NetBSD support to opensslconf.h#14313rsmarples wants to merge 1 commit intonodejs:masterfrom
Conversation
Simplify the BSD list by defining OPENSSL_BSD if using a matching BSD platform. Add NetBSD to the list and update documentation.
|
Shouldn't this be submitted upstream instead? |
|
The comments inside this file imply it's maintained by node? Or is that wrong? |
|
Upstream openssl generates it at build time. We have a pregenerated version for convenience. The define leaks out though because opensslconf.h is included in many places. That includes native add-ons that build against the bundled openssl. |
|
It seems that upstream just have a BSD-generic64 configure target - they don't have any specific test for FreeBSD or OpenBSD that's missing for NetBSD to generate opensslconf.h as far as I can tell. |
bnoordhuis
left a comment
There was a problem hiding this comment.
Okay, seems fine if this is all that's needed. Thanks.
As to my comment on the define leaking out, I realize it's not materially different from the existing OPENSSL_LINUX define so objection withdrawn.
my node commit: a6fe49b9bdedef513f67009f4de665492d2d3012 upstream PR: nodejs/node#14313
|
@bnoordhuis I guess this could land? |
|
Landed in 0b0c2ec |
Simplify the BSD list by defining OPENSSL_BSD if using a matching BSD platform. Add NetBSD to the list and update documentation. PR-URL: #14313 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: James M Snell <[email protected]>
Simplify the BSD list by defining OPENSSL_BSD if using a matching BSD platform. Add NetBSD to the list and update documentation. PR-URL: nodejs#14313 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: James M Snell <[email protected]>
Simplify the BSD list by defining OPENSSL_BSD if using a matching BSD platform. Add NetBSD to the list and update documentation. PR-URL: nodejs/node#14313 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: James M Snell <[email protected]>
Simplify the BSD list by defining OPENSSL_BSD if using a matching BSD platform. Add NetBSD to the list and update documentation. PR-URL: #14313 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: James M Snell <[email protected]>
Simplify the BSD list by defining OPENSSL_BSD if using a matching BSD platform. Add NetBSD to the list and update documentation. PR-URL: #14313 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: James M Snell <[email protected]>
Simplify the BSD list by defining OPENSSL_BSD if using a matching BSD platform. Add NetBSD to the list and update documentation. PR-URL: #14313 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: James M Snell <[email protected]>
Simplify the BSD list by defining OPENSSL_BSD if using a matching BSD platform. Add NetBSD to the list and update documentation. PR-URL: #14313 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: James M Snell <[email protected]>
Simplify the BSD list by defining OPENSSL_BSD if using a matching
BSD platform.
Add NetBSD to the list and update documentation.
make -j4 test(UNIX)