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

Collapse All | Expand All

(-)b/www/node/Makefile (-2 / +35 lines)
Lines 2-7 Link Here
2
2
3
PORTNAME=	node
3
PORTNAME=	node
4
PORTVERSION=	6.2.0
4
PORTVERSION=	6.2.0
5
PORTREVISION=	1
5
DISTVERSIONPREFIX=	v
6
DISTVERSIONPREFIX=	v
6
CATEGORIES=	www
7
CATEGORIES=	www
7
MASTER_SITES=	http://nodejs.org/dist/v${PORTVERSION}/
8
MASTER_SITES=	http://nodejs.org/dist/v${PORTVERSION}/
Lines 12-18 COMMENT= V8 JavaScript for client and server (6.x) Link Here
12
LICENSE=	MIT
13
LICENSE=	MIT
13
LICENSE_FILE=	${WRKSRC}/LICENSE
14
LICENSE_FILE=	${WRKSRC}/LICENSE
14
15
15
OPTIONS_DEFINE=	DOCS
16
OPTIONS_DEFINE=	BUNDLED_SSL DOCS
17
OPTIONS_SUB=	yes
18
19
BUNDLED_SSL_DESC=	Use node.js's bundled OpenSSL implementation
20
BUNDLED_SSL_USE_OFF=	OPENSSL=yes
16
21
17
USES=		compiler execinfo gmake python:2
22
USES=		compiler execinfo gmake python:2
18
HAS_CONFIGURE=	yes
23
HAS_CONFIGURE=	yes
Lines 21-31 USE_LDCONFIG= yes Link Here
21
CONFLICTS_INSTALL=	node4-* node-0.[02-9][0-9]* node-devel-0.[0-9]* node010-[0-9]* node012-[0-9]* iojs-[0-9]*
26
CONFLICTS_INSTALL=	node4-* node-0.[02-9][0-9]* node-devel-0.[0-9]* node010-[0-9]* node012-[0-9]* iojs-[0-9]*
22
27
23
ONLY_FOR_ARCHS=	i386 amd64 armv6
28
ONLY_FOR_ARCHS=	i386 amd64 armv6
24
CONFIGURE_ARGS=	--prefix=${PREFIX_RELDEST} --without-npm --shared-zlib
29
CONFIGURE_ARGS=	--prefix=${PREFIX_RELDEST} \
30
		--without-npm \
31
		--shared-cares \
32
		--shared-cares-includes=${LOCALBASE}/include \
33
		--shared-cares-libpath=${LOCALBASE}/lib \
34
		--shared-libuv \
35
		--shared-libuv-includes=${LOCALBASE}/include \
36
		--shared-libuv-libpath=${LOCALBASE}/lib \
37
		--shared-zlib
25
PREFIX_RELDEST=	${PREFIX:S,^${DESTDIR},,}
38
PREFIX_RELDEST=	${PREFIX:S,^${DESTDIR},,}
26
REINPLACE_ARGS=	-i ''
39
REINPLACE_ARGS=	-i ''
27
MAKE_ENV+=	CC.host=${CC} CXX.host=${CXX} LINK.host=${CXX} LINK.target=${CXX}
40
MAKE_ENV+=	CC.host=${CC} CXX.host=${CXX} LINK.host=${CXX} LINK.target=${CXX}
28
41
42
LIB_DEPENDS+=	libcares.so:dns/c-ares\
43
		libuv.so:devel/libuv
44
45
.include <bsd.port.options.mk>
46
47
.if empty(PORT_OPTIONS:MBUNDLED_SSL)
48
49
.if ${OSVERSION} < 1100085
50
# node.js requires openssl 1.0.2, use the port since base isn't new enough
51
WITH_OPENSSL_PORT=	yes
52
.endif
53
54
CONFIGURE_ARGS+=	--shared-openssl \
55
			--shared-openssl-includes=${OPENSSLINC} \
56
			--shared-openssl-libpath=${OPENSSLLIB}
57
58
.elif defined(OPENSSL_PORT) && (${OPENSSL_PORT} == "security/libressl" || ${OPENSSL_PORT} == "security/libressl-devel")
59
IGNORE=			Cannot build node.js with LibreSSL. Consider enabling BUNDLED_SSL.
60
.endif
61
29
.include <bsd.port.pre.mk>
62
.include <bsd.port.pre.mk>
30
63
31
.if ${ARCH} == "armv6"
64
.if ${ARCH} == "armv6"
(-)b/www/node/pkg-plist (-115 / +94 lines)
Lines 1-127 Link Here
1
bin/node
1
bin/node
2
include/node/android-ifaddrs.h
3
include/node/ares.h
4
include/node/ares_build.h
5
include/node/ares_rules.h
6
include/node/ares_version.h
7
include/node/common.gypi
2
include/node/common.gypi
8
include/node/config.gypi
3
include/node/config.gypi
9
include/node/libplatform/libplatform.h
4
include/node/libplatform/libplatform.h
10
include/node/nameser.h
11
include/node/node.h
5
include/node/node.h
12
include/node/node_buffer.h
6
include/node/node_buffer.h
13
include/node/node_internals.h
7
include/node/node_internals.h
14
include/node/node_object_wrap.h
8
include/node/node_object_wrap.h
15
include/node/node_version.h
9
include/node/node_version.h
16
include/node/openssl/aes.h
10
%%BUNDLED_SSL%%include/node/openssl/aes.h
17
include/node/openssl/archs/BSD-x86/opensslconf.h
11
%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/opensslconf.h
18
include/node/openssl/archs/BSD-x86_64/opensslconf.h
12
%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/opensslconf.h
19
include/node/openssl/archs/VC-WIN32/opensslconf.h
13
%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/opensslconf.h
20
include/node/openssl/archs/VC-WIN64A/opensslconf.h
14
%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/opensslconf.h
21
include/node/openssl/archs/aix-gcc/opensslconf.h
15
%%BUNDLED_SSL%%include/node/openssl/archs/aix-gcc/opensslconf.h
22
include/node/openssl/archs/aix64-gcc/opensslconf.h
16
%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc/opensslconf.h
23
include/node/openssl/archs/darwin-i386-cc/opensslconf.h
17
%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/opensslconf.h
24
include/node/openssl/archs/darwin64-x86_64-cc/opensslconf.h
18
%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/opensslconf.h
25
include/node/openssl/archs/linux-aarch64/opensslconf.h
19
%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/opensslconf.h
26
include/node/openssl/archs/linux-armv4/opensslconf.h
20
%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/opensslconf.h
27
include/node/openssl/archs/linux-elf/opensslconf.h
21
%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/opensslconf.h
28
include/node/openssl/archs/linux-ppc/opensslconf.h
22
%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc/opensslconf.h
29
include/node/openssl/archs/linux-ppc64/opensslconf.h
23
%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64/opensslconf.h
30
include/node/openssl/archs/linux-x32/opensslconf.h
24
%%BUNDLED_SSL%%include/node/openssl/archs/linux-x32/opensslconf.h
31
include/node/openssl/archs/linux-x86_64/opensslconf.h
25
%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/opensslconf.h
32
include/node/openssl/archs/linux32-s390x/opensslconf.h
26
%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/opensslconf.h
33
include/node/openssl/archs/linux64-s390x/opensslconf.h
27
%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/opensslconf.h
34
include/node/openssl/archs/solaris-x86-gcc/opensslconf.h
28
%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/opensslconf.h
35
include/node/openssl/archs/solaris64-x86_64-gcc/opensslconf.h
29
%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/opensslconf.h
36
include/node/openssl/asn1.h
30
%%BUNDLED_SSL%%include/node/openssl/asn1.h
37
include/node/openssl/asn1_mac.h
31
%%BUNDLED_SSL%%include/node/openssl/asn1_mac.h
38
include/node/openssl/asn1t.h
32
%%BUNDLED_SSL%%include/node/openssl/asn1t.h
39
include/node/openssl/bio.h
33
%%BUNDLED_SSL%%include/node/openssl/bio.h
40
include/node/openssl/blowfish.h
34
%%BUNDLED_SSL%%include/node/openssl/blowfish.h
41
include/node/openssl/bn.h
35
%%BUNDLED_SSL%%include/node/openssl/bn.h
42
include/node/openssl/buffer.h
36
%%BUNDLED_SSL%%include/node/openssl/buffer.h
43
include/node/openssl/camellia.h
37
%%BUNDLED_SSL%%include/node/openssl/camellia.h
44
include/node/openssl/cast.h
38
%%BUNDLED_SSL%%include/node/openssl/cast.h
45
include/node/openssl/cmac.h
39
%%BUNDLED_SSL%%include/node/openssl/cmac.h
46
include/node/openssl/cms.h
40
%%BUNDLED_SSL%%include/node/openssl/cms.h
47
include/node/openssl/comp.h
41
%%BUNDLED_SSL%%include/node/openssl/comp.h
48
include/node/openssl/conf.h
42
%%BUNDLED_SSL%%include/node/openssl/conf.h
49
include/node/openssl/conf_api.h
43
%%BUNDLED_SSL%%include/node/openssl/conf_api.h
50
include/node/openssl/crypto.h
44
%%BUNDLED_SSL%%include/node/openssl/crypto.h
51
include/node/openssl/des.h
45
%%BUNDLED_SSL%%include/node/openssl/des.h
52
include/node/openssl/des_old.h
46
%%BUNDLED_SSL%%include/node/openssl/des_old.h
53
include/node/openssl/dh.h
47
%%BUNDLED_SSL%%include/node/openssl/dh.h
54
include/node/openssl/dsa.h
48
%%BUNDLED_SSL%%include/node/openssl/dsa.h
55
include/node/openssl/dso.h
49
%%BUNDLED_SSL%%include/node/openssl/dso.h
56
include/node/openssl/dtls1.h
50
%%BUNDLED_SSL%%include/node/openssl/dtls1.h
57
include/node/openssl/e_os2.h
51
%%BUNDLED_SSL%%include/node/openssl/e_os2.h
58
include/node/openssl/ebcdic.h
52
%%BUNDLED_SSL%%include/node/openssl/ebcdic.h
59
include/node/openssl/ec.h
53
%%BUNDLED_SSL%%include/node/openssl/ec.h
60
include/node/openssl/ecdh.h
54
%%BUNDLED_SSL%%include/node/openssl/ecdh.h
61
include/node/openssl/ecdsa.h
55
%%BUNDLED_SSL%%include/node/openssl/ecdsa.h
62
include/node/openssl/engine.h
56
%%BUNDLED_SSL%%include/node/openssl/engine.h
63
include/node/openssl/err.h
57
%%BUNDLED_SSL%%include/node/openssl/err.h
64
include/node/openssl/evp.h
58
%%BUNDLED_SSL%%include/node/openssl/evp.h
65
include/node/openssl/hmac.h
59
%%BUNDLED_SSL%%include/node/openssl/hmac.h
66
include/node/openssl/idea.h
60
%%BUNDLED_SSL%%include/node/openssl/idea.h
67
include/node/openssl/krb5_asn.h
61
%%BUNDLED_SSL%%include/node/openssl/krb5_asn.h
68
include/node/openssl/kssl.h
62
%%BUNDLED_SSL%%include/node/openssl/kssl.h
69
include/node/openssl/lhash.h
63
%%BUNDLED_SSL%%include/node/openssl/lhash.h
70
include/node/openssl/md4.h
64
%%BUNDLED_SSL%%include/node/openssl/md4.h
71
include/node/openssl/md5.h
65
%%BUNDLED_SSL%%include/node/openssl/md5.h
72
include/node/openssl/mdc2.h
66
%%BUNDLED_SSL%%include/node/openssl/mdc2.h
73
include/node/openssl/modes.h
67
%%BUNDLED_SSL%%include/node/openssl/modes.h
74
include/node/openssl/obj_mac.h
68
%%BUNDLED_SSL%%include/node/openssl/obj_mac.h
75
include/node/openssl/objects.h
69
%%BUNDLED_SSL%%include/node/openssl/objects.h
76
include/node/openssl/ocsp.h
70
%%BUNDLED_SSL%%include/node/openssl/ocsp.h
77
include/node/openssl/opensslconf.h
71
%%BUNDLED_SSL%%include/node/openssl/opensslconf.h
78
include/node/openssl/opensslv.h
72
%%BUNDLED_SSL%%include/node/openssl/opensslv.h
79
include/node/openssl/ossl_typ.h
73
%%BUNDLED_SSL%%include/node/openssl/ossl_typ.h
80
include/node/openssl/pem.h
74
%%BUNDLED_SSL%%include/node/openssl/pem.h
81
include/node/openssl/pem2.h
75
%%BUNDLED_SSL%%include/node/openssl/pem2.h
82
include/node/openssl/pkcs12.h
76
%%BUNDLED_SSL%%include/node/openssl/pkcs12.h
83
include/node/openssl/pkcs7.h
77
%%BUNDLED_SSL%%include/node/openssl/pkcs7.h
84
include/node/openssl/pqueue.h
78
%%BUNDLED_SSL%%include/node/openssl/pqueue.h
85
include/node/openssl/rand.h
79
%%BUNDLED_SSL%%include/node/openssl/rand.h
86
include/node/openssl/rc2.h
80
%%BUNDLED_SSL%%include/node/openssl/rc2.h
87
include/node/openssl/rc4.h
81
%%BUNDLED_SSL%%include/node/openssl/rc4.h
88
include/node/openssl/ripemd.h
82
%%BUNDLED_SSL%%include/node/openssl/ripemd.h
89
include/node/openssl/rsa.h
83
%%BUNDLED_SSL%%include/node/openssl/rsa.h
90
include/node/openssl/safestack.h
84
%%BUNDLED_SSL%%include/node/openssl/safestack.h
91
include/node/openssl/seed.h
85
%%BUNDLED_SSL%%include/node/openssl/seed.h
92
include/node/openssl/sha.h
86
%%BUNDLED_SSL%%include/node/openssl/sha.h
93
include/node/openssl/srp.h
87
%%BUNDLED_SSL%%include/node/openssl/srp.h
94
include/node/openssl/srtp.h
88
%%BUNDLED_SSL%%include/node/openssl/srtp.h
95
include/node/openssl/ssl.h
89
%%BUNDLED_SSL%%include/node/openssl/ssl.h
96
include/node/openssl/ssl2.h
90
%%BUNDLED_SSL%%include/node/openssl/ssl2.h
97
include/node/openssl/ssl23.h
91
%%BUNDLED_SSL%%include/node/openssl/ssl23.h
98
include/node/openssl/ssl3.h
92
%%BUNDLED_SSL%%include/node/openssl/ssl3.h
99
include/node/openssl/stack.h
93
%%BUNDLED_SSL%%include/node/openssl/stack.h
100
include/node/openssl/symhacks.h
94
%%BUNDLED_SSL%%include/node/openssl/symhacks.h
101
include/node/openssl/tls1.h
95
%%BUNDLED_SSL%%include/node/openssl/tls1.h
102
include/node/openssl/ts.h
96
%%BUNDLED_SSL%%include/node/openssl/ts.h
103
include/node/openssl/txt_db.h
97
%%BUNDLED_SSL%%include/node/openssl/txt_db.h
104
include/node/openssl/ui.h
98
%%BUNDLED_SSL%%include/node/openssl/ui.h
105
include/node/openssl/ui_compat.h
99
%%BUNDLED_SSL%%include/node/openssl/ui_compat.h
106
include/node/openssl/whrlpool.h
100
%%BUNDLED_SSL%%include/node/openssl/whrlpool.h
107
include/node/openssl/x509.h
101
%%BUNDLED_SSL%%include/node/openssl/x509.h
108
include/node/openssl/x509_vfy.h
102
%%BUNDLED_SSL%%include/node/openssl/x509_vfy.h
109
include/node/openssl/x509v3.h
103
%%BUNDLED_SSL%%include/node/openssl/x509v3.h
110
include/node/pthread-barrier.h
111
include/node/pthread-fixes.h
112
include/node/stdint-msvc2008.h
113
include/node/tree.h
114
include/node/uv-aix.h
115
include/node/uv-bsd.h
116
include/node/uv-darwin.h
117
include/node/uv-errno.h
118
include/node/uv-linux.h
119
include/node/uv-sunos.h
120
include/node/uv-threadpool.h
121
include/node/uv-unix.h
122
include/node/uv-version.h
123
include/node/uv-win.h
124
include/node/uv.h
125
include/node/v8-debug.h
104
include/node/v8-debug.h
126
include/node/v8-experimental.h
105
include/node/v8-experimental.h
127
include/node/v8-platform.h
106
include/node/v8-platform.h
(-)b/www/node4/Makefile (-2 / +31 lines)
Lines 3-8 Link Here
3
3
4
PORTNAME=	node
4
PORTNAME=	node
5
PORTVERSION=	4.4.5
5
PORTVERSION=	4.4.5
6
PORTREVISION=	1
6
DISTVERSIONPREFIX=	v
7
DISTVERSIONPREFIX=	v
7
CATEGORIES=	www
8
CATEGORIES=	www
8
MASTER_SITES=	http://nodejs.org/dist/v${PORTVERSION}/
9
MASTER_SITES=	http://nodejs.org/dist/v${PORTVERSION}/
Lines 14-20 COMMENT= V8 JavaScript for client and server (4.x LTS) Link Here
14
LICENSE=	MIT
15
LICENSE=	MIT
15
LICENSE_FILE=	${WRKSRC}/LICENSE
16
LICENSE_FILE=	${WRKSRC}/LICENSE
16
17
17
OPTIONS_DEFINE=	DOCS
18
OPTIONS_DEFINE=	BUNDLED_SSL DOCS
19
OPTIONS_SUB=	yes
20
21
BUNDLED_SSL_DESC=	Use node.js's bundled OpenSSL implementation
22
BUNDLED_SSL_USE_OFF=	OPENSSL=yes
18
23
19
USES=		compiler execinfo gmake python:2
24
USES=		compiler execinfo gmake python:2
20
HAS_CONFIGURE=	yes
25
HAS_CONFIGURE=	yes
Lines 23-33 USE_LDCONFIG= yes Link Here
23
CONFLICTS_INSTALL=	node-[0-9]* node-devel-0.[0-9]* node010-[0-9]* node012-[0-9]* iojs-[0-9]* node5-[0-9]*
28
CONFLICTS_INSTALL=	node-[0-9]* node-devel-0.[0-9]* node010-[0-9]* node012-[0-9]* iojs-[0-9]* node5-[0-9]*
24
29
25
ONLY_FOR_ARCHS=	i386 amd64
30
ONLY_FOR_ARCHS=	i386 amd64
26
CONFIGURE_ARGS=	--prefix=${PREFIX_RELDEST} --without-npm --shared-zlib
31
CONFIGURE_ARGS=	--prefix=${PREFIX_RELDEST} \
32
	 	--without-npm \
33
		--shared-libuv \
34
		--shared-libuv-includes=${LOCALBASE}/include \
35
		--shared-libuv-libpath=${LOCALBASE}/lib \
36
		--shared-zlib
27
PREFIX_RELDEST=	${PREFIX:S,^${DESTDIR},,}
37
PREFIX_RELDEST=	${PREFIX:S,^${DESTDIR},,}
28
REINPLACE_ARGS=	-i ''
38
REINPLACE_ARGS=	-i ''
29
MAKE_ENV+=	CC.host=${CC} CXX.host=${CXX} LINK.host=${CXX} LINK.target=${CXX}
39
MAKE_ENV+=	CC.host=${CC} CXX.host=${CXX} LINK.host=${CXX} LINK.target=${CXX}
30
40
41
LIB_DEPENDS+=	libuv.so:devel/libuv
42
43
.include <bsd.port.options.mk>
44
45
.if empty(PORT_OPTIONS:MBUNDLED_SSL)
46
47
.if ${OSVERSION} < 1100085
48
# node.js requires openssl 1.0.2, use the port since base isn't new enough
49
WITH_OPENSSL_PORT=yes
50
.endif
51
52
CONFIGURE_ARGS+=	--shared-openssl \
53
			--shared-openssl-includes=${OPENSSLINC} \
54
			--shared-openssl-libpath=${OPENSSLLIB}
55
56
.elif defined(OPENSSL_PORT) && (${OPENSSL_PORT} == "security/libressl" || ${OPENSSL_PORT} == "security/libressl-devel")
57
IGNORE=	Cannot build node.js with LibreSSL. Consider enabling BUNDLED_SSL.
58
.endif
59
31
.include <bsd.port.pre.mk>
60
.include <bsd.port.pre.mk>
32
61
33
.if ${COMPILER_TYPE} == clang
62
.if ${COMPILER_TYPE} == clang
(-)b/www/node4/pkg-plist (-107 / +92 lines)
Lines 1-5 Link Here
1
bin/node
1
bin/node
2
include/node/android-ifaddrs.h
3
include/node/ares.h
2
include/node/ares.h
4
include/node/ares_version.h
3
include/node/ares_version.h
5
include/node/common.gypi
4
include/node/common.gypi
Lines 11-122 include/node/node_buffer.h Link Here
11
include/node/node_internals.h
10
include/node/node_internals.h
12
include/node/node_object_wrap.h
11
include/node/node_object_wrap.h
13
include/node/node_version.h
12
include/node/node_version.h
14
include/node/openssl/aes.h
13
%%BUNDLED_SSL%%include/node/openssl/aes.h
15
include/node/openssl/archs/BSD-x86/opensslconf.h
14
%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/opensslconf.h
16
include/node/openssl/archs/BSD-x86_64/opensslconf.h
15
%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/opensslconf.h
17
include/node/openssl/archs/VC-WIN32/opensslconf.h
16
%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/opensslconf.h
18
include/node/openssl/archs/VC-WIN64A/opensslconf.h
17
%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/opensslconf.h
19
include/node/openssl/archs/aix-gcc/opensslconf.h
18
%%BUNDLED_SSL%%include/node/openssl/archs/aix-gcc/opensslconf.h
20
include/node/openssl/archs/aix64-gcc/opensslconf.h
19
%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc/opensslconf.h
21
include/node/openssl/archs/darwin-i386-cc/opensslconf.h
20
%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/opensslconf.h
22
include/node/openssl/archs/darwin64-x86_64-cc/opensslconf.h
21
%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/opensslconf.h
23
include/node/openssl/archs/linux-aarch64/opensslconf.h
22
%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/opensslconf.h
24
include/node/openssl/archs/linux-armv4/opensslconf.h
23
%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/opensslconf.h
25
include/node/openssl/archs/linux-elf/opensslconf.h
24
%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/opensslconf.h
26
include/node/openssl/archs/linux-ppc/opensslconf.h
25
%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc/opensslconf.h
27
include/node/openssl/archs/linux-ppc64/opensslconf.h
26
%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64/opensslconf.h
28
include/node/openssl/archs/linux-x32/opensslconf.h
27
%%BUNDLED_SSL%%include/node/openssl/archs/linux-x32/opensslconf.h
29
include/node/openssl/archs/linux-x86_64/opensslconf.h
28
%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/opensslconf.h
30
include/node/openssl/archs/solaris-x86-gcc/opensslconf.h
29
%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/opensslconf.h
31
include/node/openssl/archs/solaris64-x86_64-gcc/opensslconf.h
30
%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/opensslconf.h
32
include/node/openssl/asn1.h
31
%%BUNDLED_SSL%%include/node/openssl/asn1.h
33
include/node/openssl/asn1_mac.h
32
%%BUNDLED_SSL%%include/node/openssl/asn1_mac.h
34
include/node/openssl/asn1t.h
33
%%BUNDLED_SSL%%include/node/openssl/asn1t.h
35
include/node/openssl/bio.h
34
%%BUNDLED_SSL%%include/node/openssl/bio.h
36
include/node/openssl/blowfish.h
35
%%BUNDLED_SSL%%include/node/openssl/blowfish.h
37
include/node/openssl/bn.h
36
%%BUNDLED_SSL%%include/node/openssl/bn.h
38
include/node/openssl/buffer.h
37
%%BUNDLED_SSL%%include/node/openssl/buffer.h
39
include/node/openssl/camellia.h
38
%%BUNDLED_SSL%%include/node/openssl/camellia.h
40
include/node/openssl/cast.h
39
%%BUNDLED_SSL%%include/node/openssl/cast.h
41
include/node/openssl/cmac.h
40
%%BUNDLED_SSL%%include/node/openssl/cmac.h
42
include/node/openssl/cms.h
41
%%BUNDLED_SSL%%include/node/openssl/cms.h
43
include/node/openssl/comp.h
42
%%BUNDLED_SSL%%include/node/openssl/comp.h
44
include/node/openssl/conf.h
43
%%BUNDLED_SSL%%include/node/openssl/conf.h
45
include/node/openssl/conf_api.h
44
%%BUNDLED_SSL%%include/node/openssl/conf_api.h
46
include/node/openssl/crypto.h
45
%%BUNDLED_SSL%%include/node/openssl/crypto.h
47
include/node/openssl/des.h
46
%%BUNDLED_SSL%%include/node/openssl/des.h
48
include/node/openssl/des_old.h
47
%%BUNDLED_SSL%%include/node/openssl/des_old.h
49
include/node/openssl/dh.h
48
%%BUNDLED_SSL%%include/node/openssl/dh.h
50
include/node/openssl/dsa.h
49
%%BUNDLED_SSL%%include/node/openssl/dsa.h
51
include/node/openssl/dso.h
50
%%BUNDLED_SSL%%include/node/openssl/dso.h
52
include/node/openssl/dtls1.h
51
%%BUNDLED_SSL%%include/node/openssl/dtls1.h
53
include/node/openssl/e_os2.h
52
%%BUNDLED_SSL%%include/node/openssl/e_os2.h
54
include/node/openssl/ebcdic.h
53
%%BUNDLED_SSL%%include/node/openssl/ebcdic.h
55
include/node/openssl/ec.h
54
%%BUNDLED_SSL%%include/node/openssl/ec.h
56
include/node/openssl/ecdh.h
55
%%BUNDLED_SSL%%include/node/openssl/ecdh.h
57
include/node/openssl/ecdsa.h
56
%%BUNDLED_SSL%%include/node/openssl/ecdsa.h
58
include/node/openssl/engine.h
57
%%BUNDLED_SSL%%include/node/openssl/engine.h
59
include/node/openssl/err.h
58
%%BUNDLED_SSL%%include/node/openssl/err.h
60
include/node/openssl/evp.h
59
%%BUNDLED_SSL%%include/node/openssl/evp.h
61
include/node/openssl/hmac.h
60
%%BUNDLED_SSL%%include/node/openssl/hmac.h
62
include/node/openssl/idea.h
61
%%BUNDLED_SSL%%include/node/openssl/idea.h
63
include/node/openssl/krb5_asn.h
62
%%BUNDLED_SSL%%include/node/openssl/krb5_asn.h
64
include/node/openssl/kssl.h
63
%%BUNDLED_SSL%%include/node/openssl/kssl.h
65
include/node/openssl/lhash.h
64
%%BUNDLED_SSL%%include/node/openssl/lhash.h
66
include/node/openssl/md4.h
65
%%BUNDLED_SSL%%include/node/openssl/md4.h
67
include/node/openssl/md5.h
66
%%BUNDLED_SSL%%include/node/openssl/md5.h
68
include/node/openssl/mdc2.h
67
%%BUNDLED_SSL%%include/node/openssl/mdc2.h
69
include/node/openssl/modes.h
68
%%BUNDLED_SSL%%include/node/openssl/modes.h
70
include/node/openssl/obj_mac.h
69
%%BUNDLED_SSL%%include/node/openssl/obj_mac.h
71
include/node/openssl/objects.h
70
%%BUNDLED_SSL%%include/node/openssl/objects.h
72
include/node/openssl/ocsp.h
71
%%BUNDLED_SSL%%include/node/openssl/ocsp.h
73
include/node/openssl/opensslconf.h
72
%%BUNDLED_SSL%%include/node/openssl/opensslconf.h
74
include/node/openssl/opensslv.h
73
%%BUNDLED_SSL%%include/node/openssl/opensslv.h
75
include/node/openssl/ossl_typ.h
74
%%BUNDLED_SSL%%include/node/openssl/ossl_typ.h
76
include/node/openssl/pem.h
75
%%BUNDLED_SSL%%include/node/openssl/pem.h
77
include/node/openssl/pem2.h
76
%%BUNDLED_SSL%%include/node/openssl/pem2.h
78
include/node/openssl/pkcs12.h
77
%%BUNDLED_SSL%%include/node/openssl/pkcs12.h
79
include/node/openssl/pkcs7.h
78
%%BUNDLED_SSL%%include/node/openssl/pkcs7.h
80
include/node/openssl/pqueue.h
79
%%BUNDLED_SSL%%include/node/openssl/pqueue.h
81
include/node/openssl/rand.h
80
%%BUNDLED_SSL%%include/node/openssl/rand.h
82
include/node/openssl/rc2.h
81
%%BUNDLED_SSL%%include/node/openssl/rc2.h
83
include/node/openssl/rc4.h
82
%%BUNDLED_SSL%%include/node/openssl/rc4.h
84
include/node/openssl/ripemd.h
83
%%BUNDLED_SSL%%include/node/openssl/ripemd.h
85
include/node/openssl/rsa.h
84
%%BUNDLED_SSL%%include/node/openssl/rsa.h
86
include/node/openssl/safestack.h
85
%%BUNDLED_SSL%%include/node/openssl/safestack.h
87
include/node/openssl/seed.h
86
%%BUNDLED_SSL%%include/node/openssl/seed.h
88
include/node/openssl/sha.h
87
%%BUNDLED_SSL%%include/node/openssl/sha.h
89
include/node/openssl/srp.h
88
%%BUNDLED_SSL%%include/node/openssl/srp.h
90
include/node/openssl/srtp.h
89
%%BUNDLED_SSL%%include/node/openssl/srtp.h
91
include/node/openssl/ssl.h
90
%%BUNDLED_SSL%%include/node/openssl/ssl.h
92
include/node/openssl/ssl2.h
91
%%BUNDLED_SSL%%include/node/openssl/ssl2.h
93
include/node/openssl/ssl23.h
92
%%BUNDLED_SSL%%include/node/openssl/ssl23.h
94
include/node/openssl/ssl3.h
93
%%BUNDLED_SSL%%include/node/openssl/ssl3.h
95
include/node/openssl/stack.h
94
%%BUNDLED_SSL%%include/node/openssl/stack.h
96
include/node/openssl/symhacks.h
95
%%BUNDLED_SSL%%include/node/openssl/symhacks.h
97
include/node/openssl/tls1.h
96
%%BUNDLED_SSL%%include/node/openssl/tls1.h
98
include/node/openssl/ts.h
97
%%BUNDLED_SSL%%include/node/openssl/ts.h
99
include/node/openssl/txt_db.h
98
%%BUNDLED_SSL%%include/node/openssl/txt_db.h
100
include/node/openssl/ui.h
99
%%BUNDLED_SSL%%include/node/openssl/ui.h
101
include/node/openssl/ui_compat.h
100
%%BUNDLED_SSL%%include/node/openssl/ui_compat.h
102
include/node/openssl/whrlpool.h
101
%%BUNDLED_SSL%%include/node/openssl/whrlpool.h
103
include/node/openssl/x509.h
102
%%BUNDLED_SSL%%include/node/openssl/x509.h
104
include/node/openssl/x509_vfy.h
103
%%BUNDLED_SSL%%include/node/openssl/x509_vfy.h
105
include/node/openssl/x509v3.h
104
%%BUNDLED_SSL%%include/node/openssl/x509v3.h
106
include/node/pthread-fixes.h
107
include/node/stdint-msvc2008.h
108
include/node/tree.h
109
include/node/uv-aix.h
110
include/node/uv-bsd.h
111
include/node/uv-darwin.h
112
include/node/uv-errno.h
113
include/node/uv-linux.h
114
include/node/uv-sunos.h
115
include/node/uv-threadpool.h
116
include/node/uv-unix.h
117
include/node/uv-version.h
118
include/node/uv-win.h
119
include/node/uv.h
120
include/node/v8-debug.h
105
include/node/v8-debug.h
121
include/node/v8-platform.h
106
include/node/v8-platform.h
122
include/node/v8-profiler.h
107
include/node/v8-profiler.h
(-)b/www/node5/Makefile (-10 / +27 lines)
Lines 2-7 Link Here
2
2
3
PORTNAME=	node
3
PORTNAME=	node
4
PORTVERSION=	5.11.1
4
PORTVERSION=	5.11.1
5
PORTREVISION=	1
5
DISTVERSIONPREFIX=	v
6
DISTVERSIONPREFIX=	v
6
CATEGORIES=	www
7
CATEGORIES=	www
7
MASTER_SITES=	http://nodejs.org/dist/v${PORTVERSION}/
8
MASTER_SITES=	http://nodejs.org/dist/v${PORTVERSION}/
Lines 17-28 DEPRECATED= Upstream provides limited support after the release of v6.0.0, see h Link Here
17
EXPIRATION_DATE=	2016-07-01
18
EXPIRATION_DATE=	2016-07-01
18
19
19
OPTIONS_DEFINE=	BUNDLED_SSL DOCS
20
OPTIONS_DEFINE=	BUNDLED_SSL DOCS
20
OPTIONS_DEFAULT=BUNDLED_SSL
21
OPTIONS_SUB=	yes
21
OPTIONS_SUB=	yes
22
22
23
BUNDLED_SSL_DESC=	Use node's bundled OpenSSL implementation
23
BUNDLED_SSL_DESC=	Use node.js's bundled OpenSSL implementation
24
BUNDLED_SSL_USE_OFF=	OPENSSL=yes
24
BUNDLED_SSL_USE_OFF=	OPENSSL=yes
25
BUNDLED_SSL_VARS_OFF=	WITH_OPENSSL_PORT=yes
26
25
27
USES=		compiler execinfo gmake python:2
26
USES=		compiler execinfo gmake python:2
28
HAS_CONFIGURE=	yes
27
HAS_CONFIGURE=	yes
Lines 31-41 USE_LDCONFIG= yes Link Here
31
CONFLICTS_INSTALL=	node-[0-9]* node-devel-[0-9]* node010-[0-9]* node012-[0-9]* iojs-[0-9]* node4-[0-9]*
30
CONFLICTS_INSTALL=	node-[0-9]* node-devel-[0-9]* node010-[0-9]* node012-[0-9]* iojs-[0-9]* node4-[0-9]*
32
31
33
ONLY_FOR_ARCHS=	i386 amd64
32
ONLY_FOR_ARCHS=	i386 amd64
34
CONFIGURE_ARGS=	--prefix=${PREFIX_RELDEST} --without-npm --shared-zlib
33
CONFIGURE_ARGS=	--prefix=${PREFIX_RELDEST} \
34
		--without-npm \
35
		--shared-libuv \
36
		--shared-libuv-includes=${LOCALBASE}/include \
37
		--shared-libuv-libpath=${LOCALBASE}/lib \
38
		--shared-zlib
35
PREFIX_RELDEST=	${PREFIX:S,^${DESTDIR},,}
39
PREFIX_RELDEST=	${PREFIX:S,^${DESTDIR},,}
36
REINPLACE_ARGS=	-i ''
40
REINPLACE_ARGS=	-i ''
37
MAKE_ENV+=	CC.host=${CC} CXX.host=${CXX} LINK.host=${CXX} LINK.target=${CXX}
41
MAKE_ENV+=	CC.host=${CC} CXX.host=${CXX} LINK.host=${CXX} LINK.target=${CXX}
38
42
43
LIB_DEPENDS+=	libuv.so:devel/libuv
44
45
.include <bsd.port.options.mk>
46
47
.if empty(PORT_OPTIONS:MBUNDLED_SSL)
48
49
.if ${OSVERSION} < 1100085
50
# node.js requires openssl 1.0.2, use the port since base isn't new enough
51
WITH_OPENSSL_PORT=yes
52
.endif
53
54
CONFIGURE_ARGS+=	--shared-openssl \
55
			--shared-openssl-includes=${OPENSSLINC} \
56
			--shared-openssl-libpath=${OPENSSLLIB}
57
58
.elif defined(OPENSSL_PORT) && (${OPENSSL_PORT} == "security/libressl" || ${OPENSSL_PORT} == "security/libressl-devel")
59
IGNORE=	Cannot build node.js with LibreSSL. Consider enabling BUNDLED_SSL.
60
.endif
61
39
.include <bsd.port.pre.mk>
62
.include <bsd.port.pre.mk>
40
63
41
.if ${COMPILER_TYPE} == clang
64
.if ${COMPILER_TYPE} == clang
Lines 52-63 MAKE_ARGS+= strictaliasing=off Link Here
52
USE_GCC=	yes
75
USE_GCC=	yes
53
.endif
76
.endif
54
77
55
.if empty(PORT_OPTIONS:MBUNDLED_SSL)
56
CONFIGURE_ARGS+=	--shared-openssl \
57
			--shared-openssl-includes=${OPENSSLINC} \
58
			--shared-openssl-libpath=${OPENSSLLIB}
59
.endif
60
61
post-patch:
78
post-patch:
62
	@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \
79
	@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \
63
		${WRKSRC}/deps/v8/tools/gyp/v8.gyp
80
		${WRKSRC}/deps/v8/tools/gyp/v8.gyp
(-)b/www/node5/pkg-plist (-15 lines)
Lines 1-5 Link Here
1
bin/node
1
bin/node
2
include/node/android-ifaddrs.h
3
include/node/ares.h
2
include/node/ares.h
4
include/node/ares_build.h
3
include/node/ares_build.h
5
include/node/ares_rules.h
4
include/node/ares_rules.h
Lines 107-126 include/node/node_version.h Link Here
107
%%BUNDLED_SSL%%include/node/openssl/x509.h
106
%%BUNDLED_SSL%%include/node/openssl/x509.h
108
%%BUNDLED_SSL%%include/node/openssl/x509_vfy.h
107
%%BUNDLED_SSL%%include/node/openssl/x509_vfy.h
109
%%BUNDLED_SSL%%include/node/openssl/x509v3.h
108
%%BUNDLED_SSL%%include/node/openssl/x509v3.h
110
include/node/pthread-fixes.h
111
include/node/stdint-msvc2008.h
112
include/node/tree.h
113
include/node/uv-aix.h
114
include/node/uv-bsd.h
115
include/node/uv-darwin.h
116
include/node/uv-errno.h
117
include/node/uv-linux.h
118
include/node/uv-sunos.h
119
include/node/uv-threadpool.h
120
include/node/uv-unix.h
121
include/node/uv-version.h
122
include/node/uv-win.h
123
include/node/uv.h
124
include/node/v8-debug.h
109
include/node/v8-debug.h
125
include/node/v8-platform.h
110
include/node/v8-platform.h
126
include/node/v8-profiler.h
111
include/node/v8-profiler.h

Return to bug 209793