Skip to contentSkip to conversation

nodejs: disable ssl2 and ssl3 when openssl is not built

PATCH New Fabio Porcedda 2 participants 2 messages Nov 11, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 nodejs: disable ssl2 and ssl3 when openssl is not built

The nodejs version 0.10.33 is compiled with SSLv2 and SSLv3 protocol support by default so it fails to build if the package openssl was not built.

To fix this build failure disable SSLv2 and SSLv3 protcol suppport if the openssl package is not built.

Fixes:
http://autobuild.buildroot.net/results/e1fb34818ff1167aa008b4011befb9fd14c81293
http://autobuild.buildroot.net/results/8b72b0c311f2f7f7430aca5f7cca1f7d82d1c213
http://autobuild.buildroot.net/results/e5f87dc635e0e6a6d1cc234529a433e12d810097
http://autobuild.buildroot.net/results/3c4a5be556cfbd0d0e632757887ebc2f1de64bba

---
 package/nodejs/nodejs.mk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
package/nodejs/nodejs.mk +2 -1
index 312aaa9..32e19b7 100644
@@ -75,7 +75,8 @@ define NODEJS_CONFIGURE_CMDS
 		--prefix=/usr \
 		--without-snapshot \
 		--shared-zlib \
-		$(if $(BR2_PACKAGE_OPENSSL),--shared-openssl,--without-ssl) \
+		$(if $(BR2_PACKAGE_OPENSSL),--shared-openssl,\
+			--without-ssl --without-ssl2 --without-ssl3) \
 		$(if $(BR2_PACKAGE_NODEJS_NPM),,--without-npm) \
 		--without-dtrace \
 		--without-etw \
Signature · 1 line
2.1.3
#1 lore raw

PATCH 1/1 nodejs: disable ssl2 and ssl3 when openssl is not built

Quoted 9 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Fabio" == Fabio Porcedda <[email protected]> writes:

The nodejs version 0.10.33 is compiled with SSLv2 and SSLv3 protocol support by default so it fails to build if the package openssl was not built.

To fix this build failure disable SSLv2 and SSLv3 protcol suppport if the openssl package is not built.

Quoted 7 lines

Fixes:
http://autobuild.buildroot.net/results/e1fb34818ff1167aa008b4011befb9fd14c81293
http://autobuild.buildroot.net/results/8b72b0c311f2f7f7430aca5f7cca1f7d82d1c213
http://autobuild.buildroot.net/results/e5f87dc635e0e6a6d1cc234529a433e12d810097
http://autobuild.buildroot.net/results/3c4a5be556cfbd0d0e632757887ebc2f1de64bba

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard