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

Collapse All | Expand All

(-)Mk/bsd.default-versions.mk (-1 / +1 lines)
Lines 41-47 FPC_DEFAULT?= 3.0.0 Link Here
41
GCC_DEFAULT?=		4.9
41
GCC_DEFAULT?=		4.9
42
# Possible values: 7, 8, 9, agpl
42
# Possible values: 7, 8, 9, agpl
43
GHOSTSCRIPT_DEFAULT?=	agpl
43
GHOSTSCRIPT_DEFAULT?=	agpl
44
.if defined(ARCH) && ${ARCH} == amd64
44
.if ${ARCH} == amd64
45
# Possible values: c6, c6_64, c7
45
# Possible values: c6, c6_64, c7
46
LINUX_DEFAULT?=		c6_64
46
LINUX_DEFAULT?=		c6_64
47
.else
47
.else
(-)Mk/bsd.port.mk (-4 / +4 lines)
Lines 1266-1273 GROUPS_BLACKLIST= _dhcp _pflogd _ypldap Link Here
1266
LDCONFIG_DIR=	libdata/ldconfig
1266
LDCONFIG_DIR=	libdata/ldconfig
1267
LDCONFIG32_DIR=	libdata/ldconfig32
1267
LDCONFIG32_DIR=	libdata/ldconfig32
1268
1268
1269
.endif
1270
1271
# At least KDE needs TMPDIR for the package building,
1269
# At least KDE needs TMPDIR for the package building,
1272
# so we're setting it to the known default value.
1270
# so we're setting it to the known default value.
1273
.if defined(PACKAGE_BUILDING)
1271
.if defined(PACKAGE_BUILDING)
Lines 1280-1287 WITH_DEBUG= yes Link Here
1280
.endif
1278
.endif
1281
.endif
1279
.endif
1282
1280
1281
.include "${PORTSDIR}/Mk/bsd.default-versions.mk"
1283
.include "${PORTSDIR}/Mk/bsd.options.mk"
1282
.include "${PORTSDIR}/Mk/bsd.options.mk"
1284
1283
1284
.endif
1285
# End of options section.
1286
1285
# Start of pre-makefile section.
1287
# Start of pre-makefile section.
1286
.if !defined(AFTERPORTMK) && !defined(INOPTIONSMK)
1288
.if !defined(AFTERPORTMK) && !defined(INOPTIONSMK)
1287
1289
Lines 1291-1298 WITH_DEBUG= yes Link Here
1291
1293
1292
_PREMKINCLUDED=	yes
1294
_PREMKINCLUDED=	yes
1293
1295
1294
.include "${PORTSDIR}/Mk/bsd.default-versions.mk"
1295
1296
.if defined(PORTVERSION)
1296
.if defined(PORTVERSION)
1297
.if ${PORTVERSION:M*[-_,]*}x != x
1297
.if ${PORTVERSION:M*[-_,]*}x != x
1298
IGNORE=			PORTVERSION ${PORTVERSION} may not contain '-' '_' or ','
1298
IGNORE=			PORTVERSION ${PORTVERSION} may not contain '-' '_' or ','
(-)Tools/scripts/chkversion.pl (-1 lines)
Lines 127-133 foreach (qw(ARCH OPSYS OSREL OSVERSION U Link Here
127
    my @cachedenv = readfrom $portsdir, $make, "-V$_";
127
    my @cachedenv = readfrom $portsdir, $make, "-V$_";
128
    $ENV{$_} = $cachedenv[0];
128
    $ENV{$_} = $cachedenv[0];
129
}
129
}
130
$ENV{WITH_OPENSSL_BASE} = 'yes';
131
130
132
my %pkgname;
131
my %pkgname;
133
my %pkgorigin;
132
my %pkgorigin;
(-)benchmarks/wrk/Makefile (-4 / +3 lines)
Lines 3-8 Link Here
3
3
4
PORTNAME=	wrk
4
PORTNAME=	wrk
5
PORTVERSION=	4.0.2
5
PORTVERSION=	4.0.2
6
PORTREVISION=	1
6
CATEGORIES=	benchmarks www
7
CATEGORIES=	benchmarks www
7
8
8
MAINTAINER=	osa@FreeBSD.org
9
MAINTAINER=	osa@FreeBSD.org
Lines 15-25 LIB_DEPENDS= libluajit-5.1.so:lang/luaji Link Here
15
USE_GITHUB=	yes
16
USE_GITHUB=	yes
16
GH_ACCOUNT=	wg
17
GH_ACCOUNT=	wg
17
18
18
USES=		gmake
19
USES=		gmake ssl
19
USE_OPENSSL=	yes
20
WITH_OPENSSL_PORT=	yes
21
CFLAGS+=	-std=c99 -D_DECLARE_C99_LDBL_MATH
20
CFLAGS+=	-std=c99 -D_DECLARE_C99_LDBL_MATH
22
MAKE_ENV+=	WITH_OPENSSL=${LOCALBASE} WITH_LUAJIT=${LOCALBASE} VER=${PORTVERSION}
21
MAKE_ENV+=	WITH_OPENSSL=${OPENSSLBASE} WITH_LUAJIT=${LOCALBASE} VER=${PORTVERSION}
23
22
24
PLIST_FILES=	bin/wrk
23
PLIST_FILES=	bin/wrk
25
24
(-)databases/mariadb100-client/files/patch-cmake_ssl.cmake (+24 lines)
Line 0 Link Here
1
--- cmake/ssl.cmake.orig	2016-08-24 15:07:34 UTC
2
+++ cmake/ssl.cmake
3
@@ -141,11 +141,6 @@ MACRO (MYSQL_CHECK_SSL)
4
       MESSAGE(STATUS "OPENSSL_APPLINK_C ${OPENSSL_APPLINK_C}")
5
     ENDIF()
6
 
7
-    # On mac this list is <.dylib;.so;.a>
8
-    # We prefer static libraries, so we revert it here.
9
-    IF (WITH_SSL_PATH)
10
-      LIST(REVERSE CMAKE_FIND_LIBRARY_SUFFIXES)
11
-    ENDIF()
12
     MESSAGE(STATUS "suffixes <${CMAKE_FIND_LIBRARY_SUFFIXES}>")
13
     FIND_LIBRARY(OPENSSL_LIBRARIES
14
                  NAMES ssl ssleay32 ssleay32MD
15
@@ -153,9 +148,6 @@ MACRO (MYSQL_CHECK_SSL)
16
     FIND_LIBRARY(CRYPTO_LIBRARY
17
                  NAMES crypto libeay32
18
                  HINTS ${OPENSSL_ROOT_DIR}/lib)
19
-    IF (WITH_SSL_PATH)
20
-      LIST(REVERSE CMAKE_FIND_LIBRARY_SUFFIXES)
21
-    ENDIF()
22
 
23
     IF(OPENSSL_INCLUDE_DIR AND
24
        OPENSSL_LIBRARIES   AND
(-)databases/mariadb100-server/Makefile (-2 / +1 lines)
Lines 2-7 Link Here
2
2
3
PORTNAME?=	mariadb
3
PORTNAME?=	mariadb
4
PORTVERSION=	10.0.29
4
PORTVERSION=	10.0.29
5
PORTREVISION=	1
5
CATEGORIES=	databases ipv6
6
CATEGORIES=	databases ipv6
6
MASTER_SITES=	http://ftp.osuosl.org/pub/${SITESDIR}/ \
7
MASTER_SITES=	http://ftp.osuosl.org/pub/${SITESDIR}/ \
7
		http://mirrors.supportex.net/${SITESDIR}/ \
8
		http://mirrors.supportex.net/${SITESDIR}/ \
Lines 95-102 OPTIONS_SUB= yes Link Here
95
.endif
96
.endif
96
97
97
FASTMTX_CMAKE_ON=	-DWITH_FAST_MUTEXES=1
98
FASTMTX_CMAKE_ON=	-DWITH_FAST_MUTEXES=1
98
# See PR209419, MariaDB 10.0 fails to build with base SSL libs
99
WITH_OPENSSL_PORT=	yes
100
99
101
.if defined(CLIENT_ONLY)
100
.if defined(CLIENT_ONLY)
102
# MySQL-Client part
101
# MySQL-Client part
(-)databases/mariadb100-server/files/patch-cmake_ssl.cmake (+24 lines)
Line 0 Link Here
1
--- cmake/ssl.cmake.orig	2016-08-24 15:07:34 UTC
2
+++ cmake/ssl.cmake
3
@@ -141,11 +141,6 @@ MACRO (MYSQL_CHECK_SSL)
4
       MESSAGE(STATUS "OPENSSL_APPLINK_C ${OPENSSL_APPLINK_C}")
5
     ENDIF()
6
 
7
-    # On mac this list is <.dylib;.so;.a>
8
-    # We prefer static libraries, so we revert it here.
9
-    IF (WITH_SSL_PATH)
10
-      LIST(REVERSE CMAKE_FIND_LIBRARY_SUFFIXES)
11
-    ENDIF()
12
     MESSAGE(STATUS "suffixes <${CMAKE_FIND_LIBRARY_SUFFIXES}>")
13
     FIND_LIBRARY(OPENSSL_LIBRARIES
14
                  NAMES ssl ssleay32 ssleay32MD
15
@@ -153,9 +148,6 @@ MACRO (MYSQL_CHECK_SSL)
16
     FIND_LIBRARY(CRYPTO_LIBRARY
17
                  NAMES crypto libeay32
18
                  HINTS ${OPENSSL_ROOT_DIR}/lib)
19
-    IF (WITH_SSL_PATH)
20
-      LIST(REVERSE CMAKE_FIND_LIBRARY_SUFFIXES)
21
-    ENDIF()
22
 
23
     IF(OPENSSL_INCLUDE_DIR AND
24
        OPENSSL_LIBRARIES   AND
(-)deskutils/owncloudclient/Makefile (-11 lines)
Lines 38-54 DEBUG_CMAKE_ON= -DCMAKE_BUILD_TYPE:STRI Link Here
38
38
39
PLIST_SUB=	VERSION=${PORTVERSION}
39
PLIST_SUB=	VERSION=${PORTVERSION}
40
40
41
.include <bsd.port.options.mk>
42
43
.if ${OPSYS} != FreeBSD
44
WITH_OPENSSL_PORT=	yes
45
46
# CMake 3.3.x will use $PATH when looking for headers and libraries by default,
47
# and OpenSSL from base will end up being used. Make sure ${LOCALBASE} is
48
# preferred over $PATH.
49
CMAKE_ARGS+=		-DCMAKE_PREFIX_PATH=${LOCALBASE}
50
.endif
51
52
post-patch:
41
post-patch:
53
	@${REINPLACE_CMD} -e \
42
	@${REINPLACE_CMD} -e \
54
		's|.lst |.lst.sample |' ${WRKSRC}/CMakeLists.txt
43
		's|.lst |.lst.sample |' ${WRKSRC}/CMakeLists.txt
(-)devel/efl/Makefile (-2 / +1 lines)
Lines 3-9 Link Here
3
3
4
PORTNAME=	efl
4
PORTNAME=	efl
5
PORTVERSION=	1.18.4
5
PORTVERSION=	1.18.4
6
PORTREVISION=	1
6
PORTREVISION=	2
7
CATEGORIES=	devel enlightenment
7
CATEGORIES=	devel enlightenment
8
MASTER_SITES=	http://download.enlightenment.org/rel/libs/${PORTNAME}/
8
MASTER_SITES=	http://download.enlightenment.org/rel/libs/${PORTNAME}/
9
9
Lines 129-135 PLIST_SUB+= AUDIO="@comment " Link Here
129
129
130
.if ${PORT_OPTIONS:MSSL}
130
.if ${PORT_OPTIONS:MSSL}
131
USES+=				ssl
131
USES+=				ssl
132
WITH_OPENSSL_PORT=		yes
133
.else
132
.else
134
CONFIGURE_ARGS+=		--with-crypto=none
133
CONFIGURE_ARGS+=		--with-crypto=none
135
.endif
134
.endif
(-)devel/efl/files/extra-patch-configure.ac (-11 lines)
Lines 1-11 Link Here
1
--- configure.ac.orig	2014-12-11 10:36:05.000000000 +0100
2
+++ configure.ac	2014-12-28 00:57:35.000000000 +0100
3
@@ -351,7 +351,7 @@
4
       ;;
5
 
6
    openssl)
7
-      EFL_DEPEND_PKG([crypto], [OPENSSL], [openssl])
8
+      requirements_libs_crypto="${ECORE_CON_LIBS} ${requirements_libs_crypto}"
9
       ;;
10
 esac
11
 AM_CONDITIONAL([HAVE_CRYPTO_GNUTLS], [test "${build_crypto}" = "gnutls"])
(-)devel/efl/files/patch-configure.ac (-4 / +13 lines)
Lines 1-6 Link Here
1
--- configure.ac.orig	2015-06-12 05:40:48.754367679 -0700
1
--- configure.ac.orig	2016-12-07 14:25:43 UTC
2
+++ configure.ac	2015-06-12 05:45:05.521352761 -0700
2
+++ configure.ac
3
@@ -414,12 +414,12 @@
3
@@ -386,7 +386,7 @@ case "$build_crypto" in
4
       ;;
5
 
6
    openssl)
7
-      EFL_DEPEND_PKG([crypto], [OPENSSL], [openssl])
8
+      have_openssl="yes"
9
       ;;
10
 esac
11
 AM_CONDITIONAL([HAVE_CRYPTO_GNUTLS], [test "${build_crypto}" = "gnutls"])
12
@@ -442,12 +442,12 @@ AC_CHECK_HEADERS([ \
4
 execinfo.h \
13
 execinfo.h \
5
 mcheck.h \
14
 mcheck.h \
6
 sys/epoll.h \
15
 sys/epoll.h \
Lines 14-20 Link Here
14
 ])
23
 ])
15
 
24
 
16
 EFL_CHECK_PATH_MAX
25
 EFL_CHECK_PATH_MAX
17
@@ -3995,6 +3995,7 @@
26
@@ -4732,6 +4732,7 @@ EFL_ADD_LIBS([EIO], [-lm])
18
 ### Checks for linker characteristics
27
 ### Checks for linker characteristics
19
 
28
 
20
 ### Checks for library functions
29
 ### Checks for library functions
(-)dns/knot1/Makefile (-3 / +2 lines)
Lines 3-8 Link Here
3
3
4
PORTNAME=	knot
4
PORTNAME=	knot
5
PORTVERSION=	1.6.8
5
PORTVERSION=	1.6.8
6
PORTREVISION=	1
6
CATEGORIES=	dns ipv6
7
CATEGORIES=	dns ipv6
7
MASTER_SITES=	https://secure.nic.cz/files/knot-dns/ \
8
MASTER_SITES=	https://secure.nic.cz/files/knot-dns/ \
8
		http://dns-lab.com/downloads/knot-dns/
9
		http://dns-lab.com/downloads/knot-dns/
Lines 18-31 LIB_DEPENDS= liburcu.so:sysutils/liburcu Link Here
18
19
19
CONFLICTS=	knot-2.* knot2-.*
20
CONFLICTS=	knot-2.* knot2-.*
20
21
21
USES=		alias bison libtool pkgconfig tar:xz
22
USES=		alias bison libtool pkgconfig ssl tar:xz
22
GNU_CONFIGURE=	yes
23
GNU_CONFIGURE=	yes
23
CONFIGURE_ARGS=	--with-storage=/var/db/knot \
24
CONFIGURE_ARGS=	--with-storage=/var/db/knot \
24
		--with-rundir=/var/run/knot \
25
		--with-rundir=/var/run/knot \
25
		--with-openssl=${OPENSSLBASE}
26
		--with-openssl=${OPENSSLBASE}
26
USE_LDCONFIG=	yes
27
USE_LDCONFIG=	yes
27
USE_OPENSSL=	yes
28
WITH_OPENSSL_PORT=	yes
29
28
30
INSTALL_TARGET=	install-strip
29
INSTALL_TARGET=	install-strip
31
30
(-)dns/validns/Makefile (-8 / +6 lines)
Lines 3-8 Link Here
3
3
4
PORTNAME=	validns
4
PORTNAME=	validns
5
PORTVERSION=	0.8
5
PORTVERSION=	0.8
6
PORTREVISION=	1
6
CATEGORIES=	dns security
7
CATEGORIES=	dns security
7
MASTER_SITES=	http://www.validns.net/download/
8
MASTER_SITES=	http://www.validns.net/download/
8
9
Lines 14-20 LICENSE= BSD2CLAUSE Link Here
14
LIB_DEPENDS=	libJudy.so:devel/judy
15
LIB_DEPENDS=	libJudy.so:devel/judy
15
16
16
USE_OPENSSL=	yes
17
USE_OPENSSL=	yes
17
WITH_OPENSSL_PORT=yes
18
18
19
ALL_TARGET=
19
ALL_TARGET=
20
20
Lines 31-46 OPTIONS_DEFINE= DOCS Link Here
31
31
32
.include <bsd.port.options.mk>
32
.include <bsd.port.options.mk>
33
33
34
.if ${SSL_DEFAULT:Mopenssl-devel}
35
BROKEN=		Does not build with openssl-devel
36
.endif
37
34
do-install:
38
do-install:
35
	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
39
	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
36
	${INSTALL_DATA} ${WRKSRC}/*.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/
40
	${INSTALL_DATA} ${WRKSRC}/*.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/
37
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
41
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
38
	@${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}/
42
	@${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}/
39
43
40
.include <bsd.port.pre.mk>
44
.include <bsd.port.mk>
41
42
.if ${SSL_DEFAULT:Mopenssl-devel}
43
BROKEN=		Does not build with openssl-devel
44
.endif
45
46
.include <bsd.port.post.mk>
(-)ftp/curl/Makefile (-8 / +1 lines)
Lines 21-26 OPTIONS_RADIO_RESOLV= CARES THREADED_RES Link Here
21
OPTIONS_RADIO_SSL=	GNUTLS NSS OPENSSL POLARSSL WOLFSSL
21
OPTIONS_RADIO_SSL=	GNUTLS NSS OPENSSL POLARSSL WOLFSSL
22
OPTIONS_SINGLE_GSSAPI=	GSSAPI_BASE GSSAPI_HEIMDAL GSSAPI_MIT GSSAPI_NONE
22
OPTIONS_SINGLE_GSSAPI=	GSSAPI_BASE GSSAPI_HEIMDAL GSSAPI_MIT GSSAPI_NONE
23
OPTIONS_DEFAULT=	CA_BUNDLE COOKIES HTTP2 OPENSSL PROXY RESOLV THREADED_RESOLVER TLS_SRP
23
OPTIONS_DEFAULT=	CA_BUNDLE COOKIES HTTP2 OPENSSL PROXY RESOLV THREADED_RESOLVER TLS_SRP
24
OPTIONS_DEFAULT+=	GSSAPI_${"${SSL_DEFAULT}" == "base":?BASE:NONE}
24
CA_BUNDLE_DESC=		Install CA bundle for OpenSSL
25
CA_BUNDLE_DESC=		Install CA bundle for OpenSSL
25
CA_BUNDLE_IMPLIES=	OPENSSL
26
CA_BUNDLE_IMPLIES=	OPENSSL
26
COOKIES_DESC=		Cookies support
27
COOKIES_DESC=		Cookies support
Lines 33-46 SMB_DESC= SMB/CIFS support Link Here
33
THREADED_RESOLVER_DESC=	Threaded DNS resolver
34
THREADED_RESOLVER_DESC=	Threaded DNS resolver
34
TLS_SRP_DESC=		TLS-SRP (Secure Remote Password) support
35
TLS_SRP_DESC=		TLS-SRP (Secure Remote Password) support
35
36
36
.include <${.CURDIR}/../../Mk/bsd.default-versions.mk>
37
38
.if ${SSL_DEFAULT} != base
39
OPTIONS_DEFAULT+=	GSSAPI_NONE
40
.else
41
OPTIONS_DEFAULT+=	GSSAPI_BASE
42
.endif
43
44
CONFIGURE_ARGS=	--disable-werror \
37
CONFIGURE_ARGS=	--disable-werror \
45
		--enable-imap --enable-pop3 --enable-rtsp --enable-smtp \
38
		--enable-imap --enable-pop3 --enable-rtsp --enable-smtp \
46
		--with-zsh-functions-dir=${LOCALBASE}/share/zsh/site-functions \
39
		--with-zsh-functions-dir=${LOCALBASE}/share/zsh/site-functions \
(-)irc/irssi-fish/Makefile (-5 / +5 lines)
Lines 3-9 Link Here
3
3
4
PORTNAME=	irssi-fish
4
PORTNAME=	irssi-fish
5
DISTVERSION=	1.4.20160122
5
DISTVERSION=	1.4.20160122
6
PORTREVISION=	1
6
PORTREVISION=	2
7
CATEGORIES=	irc security
7
CATEGORIES=	irc security
8
8
9
MAINTAINER=	ashish@FreeBSD.org
9
MAINTAINER=	ashish@FreeBSD.org
Lines 18-32 GH_PROJECT= FiSH-irssi Link Here
18
GH_ACCOUNT=	falsovsky
18
GH_ACCOUNT=	falsovsky
19
GH_TAGNAME=	2b0c1c09
19
GH_TAGNAME=	2b0c1c09
20
20
21
USES=		cmake pkgconfig
21
USES=		cmake pkgconfig ssl
22
CMAKE_ARGS=	-D__pkg_config_checked_OPENSSL=1 -DOPENSSL_FOUND=1 \
23
		-DOPENSSL_INCLUDE_DIRS=${OPENSSLINC} \
24
		-DOPENSSL_LIBRARY_DIRS=${OPENSSLLIB}
22
USE_LDCONFIG=	yes
25
USE_LDCONFIG=	yes
23
26
24
PLIST_FILES=	lib/irssi/modules/libfish.so
27
PLIST_FILES=	lib/irssi/modules/libfish.so
25
PORTDOCS=	README.md FiSH-irssi.txt
28
PORTDOCS=	README.md FiSH-irssi.txt
26
29
27
USE_OPENSSL=	yes
28
WITH_OPENSSL_PORT=	yes
29
30
post-patch:
30
post-patch:
31
	${REINPLACE_CMD} -e "s,/usr/local,${LOCALBASE},g" \
31
	${REINPLACE_CMD} -e "s,/usr/local,${LOCALBASE},g" \
32
			 -e "s,share/doc/FiSH-irssi,${DOCSDIR_REL},g" ${WRKSRC}/CMakeLists.txt
32
			 -e "s,share/doc/FiSH-irssi,${DOCSDIR_REL},g" ${WRKSRC}/CMakeLists.txt
(-)net/freeradius2/Makefile (-8 / +2 lines)
Lines 29-37 CONFLICTS_INSTALL= gnu-radius-[0-9].* op Link Here
29
USE_RC_SUBR=	radiusd
29
USE_RC_SUBR=	radiusd
30
30
31
GNU_CONFIGURE=	yes
31
GNU_CONFIGURE=	yes
32
USES=		autoreconf gmake libtool shebangfix tar:bzip2
32
USES=		autoreconf gmake libtool shebangfix ssl tar:bzip2
33
SHEBANG_FILES=	scripts/radsqlrelay src/modules/rlm_counter/rad_counter
33
SHEBANG_FILES=	scripts/radsqlrelay src/modules/rlm_counter/rad_counter
34
USE_OPENSSL=	yes
35
CPPFLAGS+=	-I${LOCALBASE}/include
34
CPPFLAGS+=	-I${LOCALBASE}/include
36
CFLAGS+=	${CPPFLAGS}
35
CFLAGS+=	${CPPFLAGS}
37
LIBS+=		-L${LOCALBASE}/lib
36
LIBS+=		-L${LOCALBASE}/lib
Lines 82-88 _REQUIRE= NETWORKING SERVERS Link Here
82
81
83
OPTIONS_DEFINE=	USER KERBEROS HEIMDAL HEIMDAL_PORT LDAP MYSQL \
82
OPTIONS_DEFINE=	USER KERBEROS HEIMDAL HEIMDAL_PORT LDAP MYSQL \
84
		PGSQL UNIXODBC FIREBIRD PERL PYTHON OCI8 RUBY DHCP \
83
		PGSQL UNIXODBC FIREBIRD PERL PYTHON OCI8 RUBY DHCP \
85
		EXPERIMENTAL UDPFROMTO DEVELOPER EDIR SSL_PORT DOCS
84
		EXPERIMENTAL UDPFROMTO DEVELOPER EDIR DOCS
86
OPTIONS_DEFAULT=USER PERL PYTHON
85
OPTIONS_DEFAULT=USER PERL PYTHON
87
86
88
DHCP_DESC=		With DHCP support (EXPERIMENTAL)
87
DHCP_DESC=		With DHCP support (EXPERIMENTAL)
Lines 96-102 EXPERIMENTAL_DESC= Build experimental mo Link Here
96
UDPFROMTO_DESC=		Compile in UDPFROMTO support
95
UDPFROMTO_DESC=		Compile in UDPFROMTO support
97
DEVELOPER_DESC=		Enable developer options
96
DEVELOPER_DESC=		Enable developer options
98
EDIR_DESC=		Enable eDirectory support (implies LDAP)
97
EDIR_DESC=		Enable eDirectory support (implies LDAP)
99
SSL_PORT_DESC=		Use OpenSSL from the ports collection
100
98
101
.include <bsd.port.options.mk>
99
.include <bsd.port.options.mk>
102
100
Lines 285-294 CFLAGS!= ${ECHO} ${CFLAGS} | ${SED} -Ee Link Here
285
CONFIGURE_ARGS+=--with-udpfromto
283
CONFIGURE_ARGS+=--with-udpfromto
286
.endif
284
.endif
287
285
288
.if ${PORT_OPTIONS:MSSL_PORT}
289
WITH_OPENSSL_PORT=yes
290
.endif
291
292
.if empty(PORT_OPTIONS:MDOCS)
286
.if empty(PORT_OPTIONS:MDOCS)
293
CONFIGURE_ARGS+=--without-docdir
287
CONFIGURE_ARGS+=--without-docdir
294
PLIST_SUB+=	PORTDOCS="@comment "
288
PLIST_SUB+=	PORTDOCS="@comment "
(-)net/freeradius3/Makefile (-6 / +1 lines)
Lines 43-49 OPTIONS_SUB= yes Link Here
43
OPTIONS_DEFINE=	USER KERBEROS HEIMDAL HEIMDAL_PORT LDAP MYSQL \
43
OPTIONS_DEFINE=	USER KERBEROS HEIMDAL HEIMDAL_PORT LDAP MYSQL \
44
		PGSQL UNIXODBC FIREBIRD REDIS PYTHON RUBY \
44
		PGSQL UNIXODBC FIREBIRD REDIS PYTHON RUBY \
45
		EXPERIMENTAL UDPFROMTO DEVELOPER EDIR PERL REST \
45
		EXPERIMENTAL UDPFROMTO DEVELOPER EDIR PERL REST \
46
		FREETDS IDN SSL_PORT DOCS SQLITE3
46
		FREETDS IDN DOCS SQLITE3
47
OPTIONS_DEFAULT=USER PERL
47
OPTIONS_DEFAULT=USER PERL
48
48
49
USER_DESC=		Run as user freeradius, group freeradius
49
USER_DESC=		Run as user freeradius, group freeradius
Lines 56-62 UDPFROMTO_DESC= Compile in UDPFROMTO su Link Here
56
DEVELOPER_DESC=		Enable developer options
56
DEVELOPER_DESC=		Enable developer options
57
EDIR_DESC=		Enable eDirectory support (implies LDAP)
57
EDIR_DESC=		Enable eDirectory support (implies LDAP)
58
REST_DESC=		Enable RESTful API support
58
REST_DESC=		Enable RESTful API support
59
SSL_PORT_DESC=		Use OpenSSL from the ports collection
60
59
61
SQLITE3_CONFIGURE_WITH=rlm_sql_sqlite
60
SQLITE3_CONFIGURE_WITH=rlm_sql_sqlite
62
SQLITE3_LIB_DEPENDS=	libsqlite3.so:databases/sqlite3
61
SQLITE3_LIB_DEPENDS=	libsqlite3.so:databases/sqlite3
Lines 282-291 CONFIGURE_ARGS+=--quiet Link Here
282
CONFIGURE_ARGS+=--with-udpfromto
281
CONFIGURE_ARGS+=--with-udpfromto
283
.endif
282
.endif
284
283
285
.if ${PORT_OPTIONS:MSSL_PORT}
286
WITH_OPENSSL_PORT=yes
287
.endif
288
289
.include <bsd.port.pre.mk>
284
.include <bsd.port.pre.mk>
290
285
291
# if we're installing, place sample configs into ${EXAMPLESDIR}
286
# if we're installing, place sample configs into ${EXAMPLESDIR}
(-)net-im/jabberd/Makefile (-4 lines)
Lines 102-111 EXPERIMENTAL_DESC= Enable experimental f Link Here
102
102
103
.include <bsd.port.options.mk>
103
.include <bsd.port.options.mk>
104
104
105
.if ${OPSYS} != FreeBSD
106
WITH_OPENSSL_PORT=	yes
107
.endif
108
109
.if ${PORT_OPTIONS:MPGSQL}
105
.if ${PORT_OPTIONS:MPGSQL}
110
_REQUIRE+=		postgresql
106
_REQUIRE+=		postgresql
111
.endif
107
.endif
(-)net-mgmt/virt-viewer/Makefile (-3 / +1 lines)
Lines 3-8 Link Here
3
3
4
PORTNAME=	virt-viewer
4
PORTNAME=	virt-viewer
5
PORTVERSION=	4.0
5
PORTVERSION=	4.0
6
PORTREVISION=	1
6
CATEGORIES=	net-mgmt
7
CATEGORIES=	net-mgmt
7
MASTER_SITES=	http://virt-manager.org/download/sources/${PORTNAME}/
8
MASTER_SITES=	http://virt-manager.org/download/sources/${PORTNAME}/
8
9
Lines 19-27 LIB_DEPENDS= libvirt.so:devel/libvirt \ Link Here
19
		libgtk-vnc-2.0.so:net/gtk-vnc \
20
		libgtk-vnc-2.0.so:net/gtk-vnc \
20
		libspice-client-glib-2.0.so:deskutils/spice-gtk
21
		libspice-client-glib-2.0.so:deskutils/spice-gtk
21
22
22
USE_OPENSSL=yes
23
WITH_OPENSSL_PORT=yes
24
25
OPTIONS_DEFINE=	NLS
23
OPTIONS_DEFINE=	NLS
26
OPTIONS_SUB=	yes
24
OPTIONS_SUB=	yes
27
25
(-)security/opencryptoki/Makefile (-3 lines)
Lines 18-26 LIB_DEPENDS= libtspi.so:security/trouser Link Here
18
18
19
USES=		alias autoreconf gmake libtool ssl tar:tgz
19
USES=		alias autoreconf gmake libtool ssl tar:tgz
20
USE_LDCONFIG=	${PREFIX}/lib/opencryptoki
20
USE_LDCONFIG=	${PREFIX}/lib/opencryptoki
21
.if exists(/usr/include/openssl/md2.h)
22
WITH_OPENSSL_PORT=yes
23
.endif
24
WRKSRC=		${WRKDIR}/${PORTNAME}
21
WRKSRC=		${WRKDIR}/${PORTNAME}
25
INSTALL_TARGET=	install-strip
22
INSTALL_TARGET=	install-strip
26
GNU_CONFIGURE=	yes
23
GNU_CONFIGURE=	yes
(-)security/softhsm2/Makefile (-3 / +3 lines)
Lines 3-8 Link Here
3
3
4
PORTNAME=	softhsm
4
PORTNAME=	softhsm
5
PORTVERSION=	2.2.0
5
PORTVERSION=	2.2.0
6
PORTREVISION=	1
6
CATEGORIES=	security
7
CATEGORIES=	security
7
MASTER_SITES=	http://dist.opendnssec.org/source/ \
8
MASTER_SITES=	http://dist.opendnssec.org/source/ \
8
		http://dist.opendnssec.org/source/testing/
9
		http://dist.opendnssec.org/source/testing/
Lines 35-47 OPTIONS_DEFAULT= CRYP_OPEN Link Here
35
CRYP_BOTAN_CONFIGURE_ON=	--with-crypto-backend=botan
36
CRYP_BOTAN_CONFIGURE_ON=	--with-crypto-backend=botan
36
CRYP_BOTAN_LIB_DEPENDS=	libbotan-1.10.so:security/botan110
37
CRYP_BOTAN_LIB_DEPENDS=	libbotan-1.10.so:security/botan110
37
CRYP_OPEN_USE=		openssl=yes
38
CRYP_OPEN_USE=		openssl=yes
38
CRYP_OPEN_VARS=		WITH_OPENSSL_PORT=yes
39
CRYP_OPEN_CONFIGURE_ON=	--with-crypto-backend=openssl
39
CRYP_OPEN_CONFIGURE_ON=	--with-crypto-backend=openssl
40
40
41
.include <bsd.port.pre.mk>
41
.include <bsd.port.options.mk>
42
42
43
.if ${SSL_DEFAULT:Mlibressl*}
43
.if ${SSL_DEFAULT:Mlibressl*}
44
CONFIGURE_ARGS+=	--disable-gost
44
CONFIGURE_ARGS+=	--disable-gost
45
.endif
45
.endif
46
46
47
.include <bsd.port.post.mk>
47
.include <bsd.port.mk>
(-)sysutils/ori/Makefile (-4 / +5 lines)
Lines 3-9 Link Here
3
3
4
PORTNAME=	ori
4
PORTNAME=	ori
5
PORTVERSION=	0.8.1
5
PORTVERSION=	0.8.1
6
PORTREVISION=	4
6
PORTREVISION=	5
7
CATEGORIES=	sysutils net
7
CATEGORIES=	sysutils net
8
MASTER_SITES=	http://cdn.bitbucket.org/orifs/ori/downloads/
8
MASTER_SITES=	http://cdn.bitbucket.org/orifs/ori/downloads/
9
9
Lines 13-21 COMMENT= Ori distributed file system Link Here
13
LIB_DEPENDS=	libevent.so:devel/libevent2 \
13
LIB_DEPENDS=	libevent.so:devel/libevent2 \
14
		libboost_date_time.so:devel/boost-libs
14
		libboost_date_time.so:devel/boost-libs
15
15
16
USES=		execinfo fuse pkgconfig scons tar:xz
16
USES=		execinfo fuse pkgconfig scons ssl tar:xz
17
USE_OPENSSL=	yes
17
CPPPATH=	${OPENSSLINC}
18
WITH_OPENSSL_PORT=	yes
18
LIBPATH=	${OPENSSLLIB}
19
MAKE_ARGS=	LIBS="ssl crypto"
19
20
20
PLIST_FILES=	bin/ori \
21
PLIST_FILES=	bin/ori \
21
		bin/oridbg \
22
		bin/oridbg \
(-)sysutils/ori/files/patch-SConstruct (+18 lines)
Line 0 Link Here
1
--- SConstruct.orig	2014-01-17 06:40:03 UTC
2
+++ SConstruct
3
@@ -302,15 +302,6 @@ if (env["WITH_MDNS"]) and (sys.platform 
4
 	print 'Please install libdns_sd'
5
 	Exit(1)
6
 
7
-if env["HAS_PKGCONFIG"]:
8
-    if not conf.CheckPkg("openssl"):
9
-        print 'openssl is not registered in pkg-config'
10
-        Exit(1)
11
-    if not conf.CheckPkgMinVersion("openssl", "1.0.0"):
12
-        print 'openssl version 1.0.0 or above required'
13
-        Exit(1)
14
-    env.ParseConfig('pkg-config --libs --cflags openssl')
15
-
16
 conf.Finish()
17
 
18
 Export('env')
(-)sysutils/syslog-ng36/Makefile (-2 / +2 lines)
Lines 3-8 Link Here
3
3
4
PORTNAME=	syslog-ng
4
PORTNAME=	syslog-ng
5
PORTVERSION=	3.6.4
5
PORTVERSION=	3.6.4
6
PORTREVISION=	1
6
.if !defined(MASTERDIR)
7
.if !defined(MASTERDIR)
7
PKGNAMESUFFIX=	36
8
PKGNAMESUFFIX=	36
8
.endif
9
.endif
Lines 52-59 CONFIGURE_ARGS= --sysconfdir=${LOCALBASE Link Here
52
.include <bsd.port.options.mk>
53
.include <bsd.port.options.mk>
53
54
54
.if ${PORT_OPTIONS:MOPENSSL}
55
.if ${PORT_OPTIONS:MOPENSSL}
55
USE_OPENSSL=		yes
56
USES+=			ssl
56
WITH_OPENSSL_PORT=	yes
57
CONFIGURE_ARGS+=	--enable-ssl
57
CONFIGURE_ARGS+=	--enable-ssl
58
CONFIGURE_ENV+=		OPENSSL_CFLAGS="-I${OPENSSLINC}" \
58
CONFIGURE_ENV+=		OPENSSL_CFLAGS="-I${OPENSSLINC}" \
59
			OPENSSL_LIBS="-L${OPENSSLLIB} -lcrypto -lssl"
59
			OPENSSL_LIBS="-L${OPENSSLLIB} -lcrypto -lssl"
(-)www/mod_tsa/Makefile (-4 / +3 lines)
Lines 3-9 Link Here
3
3
4
PORTNAME=	mod_tsa
4
PORTNAME=	mod_tsa
5
PORTVERSION=	1.0
5
PORTVERSION=	1.0
6
PORTREVISION=	3
6
PORTREVISION=	4
7
CATEGORIES=	www
7
CATEGORIES=	www
8
MASTER_SITES=	http://am.nesiac.org/static/ \
8
MASTER_SITES=	http://am.nesiac.org/static/ \
9
		http://ubique.spb.ru/src/
9
		http://ubique.spb.ru/src/
Lines 21-28 CONFIGURE_ARGS= --with-openssl-incdir=${ Link Here
21
				--with-apxs=${APXS}
21
				--with-apxs=${APXS}
22
MAKE_ARGS+=	APXS=${APXS}
22
MAKE_ARGS+=	APXS=${APXS}
23
23
24
USE_OPENSSL=	yes
24
USES=		ssl
25
WITH_OPENSSL_PORT=	yes
26
USE_APACHE=	22+
25
USE_APACHE=	22+
27
AP_EXTRAS+=	-DMOD_TSA_VERSION=\\\"mod_tsa/${PORTVERSION}\\\"
26
AP_EXTRAS+=	-DMOD_TSA_VERSION=\\\"mod_tsa/${PORTVERSION}\\\"
28
AP_FAST_BUILD=	yes
27
AP_FAST_BUILD=	yes
Lines 51-57 AP_LIB+= -lpq Link Here
51
.endif
50
.endif
52
51
53
.if ${PORT_OPTIONS:MFIREBIRD}
52
.if ${PORT_OPTIONS:MFIREBIRD}
54
USE+=			firebird
53
USES+=			firebird
55
CONFIGURE_ARGS+=	--enable-firebird=yes
54
CONFIGURE_ARGS+=	--enable-firebird=yes
56
SRC_FILE+=	db_firebird.c
55
SRC_FILE+=	db_firebird.c
57
AP_LIB+=	-lgds
56
AP_LIB+=	-lgds
(-)www/nginx/Makefile (-11 / +8 lines)
Lines 3-9 Link Here
3
3
4
PORTNAME=	nginx
4
PORTNAME=	nginx
5
PORTVERSION=	1.10.2
5
PORTVERSION=	1.10.2
6
PORTREVISION=	3
6
PORTREVISION=	4
7
PORTEPOCH=	2
7
PORTEPOCH=	2
8
CATEGORIES=	www
8
CATEGORIES=	www
9
MASTER_SITES=	http://nginx.org/download/
9
MASTER_SITES=	http://nginx.org/download/
Lines 446-451 CONFIGURE_ARGS+=--add-module=${WRKSRC_ct Link Here
446
.endif
446
.endif
447
NGINX_OPENSSL=	yes
447
NGINX_OPENSSL=	yes
448
USE_HTTP_SSL=	yes
448
USE_HTTP_SSL=	yes
449
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100085 && ${SSL_DEFAULT} == base
450
IGNORE=		CT option requires OpenSSL 1.0.2, add DEFAULT_VERSIONS+=ssl=openssl to /etc/make.conf
451
.endif
449
.endif
452
.endif
450
453
451
.if ${PORT_OPTIONS:MECHO}
454
.if ${PORT_OPTIONS:MECHO}
Lines 1158-1166 USERS?= ${WWWOWN} Link Here
1158
GROUPS?=${WWWGRP}
1161
GROUPS?=${WWWGRP}
1159
1162
1160
.if defined(NGINX_OPENSSL)
1163
.if defined(NGINX_OPENSSL)
1161
USE_OPENSSL=	yes
1164
USES+=		ssl
1162
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100000
1165
.if ${SSL_DEFAULT:Mopenssl-devel}
1163
WITH_OPENSSL_PORT=yes
1166
BROKEN=		Does not build with openssl-devel
1164
.endif
1167
.endif
1165
.endif
1168
.endif
1166
1169
Lines 1366-1375 post-install: Link Here
1366
	${CAT} ${WRKSRC}/conf/nginx.conf \
1369
	${CAT} ${WRKSRC}/conf/nginx.conf \
1367
		>>${STAGEDIR}${ETCDIR}/nginx.conf-dist
1370
		>>${STAGEDIR}${ETCDIR}/nginx.conf-dist
1368
1371
1369
.include <bsd.port.pre.mk>
1372
.include <bsd.port.mk>
1370
1371
.if defined(NGINX_OPENSSL) && ${SSL_DEFAULT:Mopenssl-devel}
1372
BROKEN=		Does not build with openssl-devel
1373
.endif
1374
1375
.include <bsd.port.post.mk>
(-)www/nginx-devel/Makefile (-4 / +5 lines)
Lines 3-8 Link Here
3
3
4
PORTNAME=	nginx
4
PORTNAME=	nginx
5
PORTVERSION=	1.11.8
5
PORTVERSION=	1.11.8
6
PORTREVISION=	1
6
CATEGORIES=	www
7
CATEGORIES=	www
7
MASTER_SITES=	http://nginx.org/download/
8
MASTER_SITES=	http://nginx.org/download/
8
MASTER_SITES+=	LOCAL/osa
9
MASTER_SITES+=	LOCAL/osa
Lines 450-455 CONFIGURE_ARGS+=--add-module=${WRKSRC_ct Link Here
450
.endif
451
.endif
451
NGINX_OPENSSL=	yes
452
NGINX_OPENSSL=	yes
452
USE_HTTP_SSL=	yes
453
USE_HTTP_SSL=	yes
454
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100085 && ${SSL_DEFAULT} == base
455
IGNORE=		CT option requires OpenSSL 1.0.2, add DEFAULT_VERSIONS+=ssl=openssl to /etc/make.conf
456
.endif
453
.endif
457
.endif
454
458
455
.if ${PORT_OPTIONS:MECHO}
459
.if ${PORT_OPTIONS:MECHO}
Lines 1173-1182 USERS?= ${WWWOWN} Link Here
1173
GROUPS?=${WWWGRP}
1177
GROUPS?=${WWWGRP}
1174
1178
1175
.if defined(NGINX_OPENSSL)
1179
.if defined(NGINX_OPENSSL)
1176
USE_OPENSSL=	yes
1180
USES+=		ssl
1177
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100000
1178
WITH_OPENSSL_PORT=yes
1179
.endif
1180
.endif
1181
.endif
1181
1182
1182
pre-everything::
1183
pre-everything::
(-)www/node/Makefile (-9 / +7 lines)
Lines 3-8 Link Here
3
PORTNAME=	node
3
PORTNAME=	node
4
PORTVERSION=	7.4.0
4
PORTVERSION=	7.4.0
5
DISTVERSIONPREFIX=	v
5
DISTVERSIONPREFIX=	v
6
PORTREVISION=	1
6
CATEGORIES=	www
7
CATEGORIES=	www
7
MASTER_SITES=	http://nodejs.org/dist/v${PORTVERSION}/
8
MASTER_SITES=	http://nodejs.org/dist/v${PORTVERSION}/
8
9
Lines 13-19 LICENSE= MIT Link Here
13
LICENSE_FILE=	${WRKSRC}/LICENSE
14
LICENSE_FILE=	${WRKSRC}/LICENSE
14
15
15
OPTIONS_DEFINE=	BUNDLED_SSL DOCS NLS DTRACE
16
OPTIONS_DEFINE=	BUNDLED_SSL DOCS NLS DTRACE
16
OPTIONS_DEFAULT=	DTRACE
17
OPTIONS_DEFAULT=BUNDLED_SSL DTRACE
17
OPTIONS_SUB=	yes
18
OPTIONS_SUB=	yes
18
19
19
.if !exists(/usr/sbin/dtrace)
20
.if !exists(/usr/sbin/dtrace)
Lines 57-77 LIB_DEPENDS+= libcares.so:dns/c-ares\ Link Here
57
58
58
.if empty(PORT_OPTIONS:MBUNDLED_SSL)
59
.if empty(PORT_OPTIONS:MBUNDLED_SSL)
59
60
60
.if ${OSVERSION} < 1100085
61
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100085 && ${SSL_DEFAULT} == base
61
# node.js requires openssl 1.0.2, use the port since base isn't new enough
62
IGNORE=		node.js requires openssl 1.0.2, add DEFAULT_VERSIONS+=ssl=openssl to /etc/make.conf or enable BUNDLED_SSL option
62
WITH_OPENSSL_PORT=	yes
63
.endif
64
65
.endif
63
.endif
66
64
67
.include <bsd.port.pre.mk>
68
69
.if empty(PORT_OPTIONS:MBUNDLED_SSL)
70
.if !empty(SSL_DEFAULT:Mlibressl*)
65
.if !empty(SSL_DEFAULT:Mlibressl*)
71
IGNORE=		cannot build node.js with LibreSSL. You must enable BUNDLED_SSL
66
IGNORE=		cannot build node.js with LibreSSL. You must enable BUNDLED_SSL
72
.endif
67
.endif
68
73
.endif
69
.endif
74
70
71
.include <bsd.port.pre.mk>
72
75
.if ${ARCH} == "armv6"
73
.if ${ARCH} == "armv6"
76
CONFIGURE_ARGS+=--openssl-no-asm
74
CONFIGURE_ARGS+=--openssl-no-asm
77
.endif
75
.endif
(-)www/node4/Makefile (-9 / +6 lines)
Lines 4-9 Link Here
4
PORTNAME=	node
4
PORTNAME=	node
5
PORTVERSION=	4.7.2
5
PORTVERSION=	4.7.2
6
DISTVERSIONPREFIX=	v
6
DISTVERSIONPREFIX=	v
7
PORTREVISION=	1
7
CATEGORIES=	www
8
CATEGORIES=	www
8
MASTER_SITES=	http://nodejs.org/dist/v${PORTVERSION}/
9
MASTER_SITES=	http://nodejs.org/dist/v${PORTVERSION}/
9
PKGNAMESUFFIX=	4
10
PKGNAMESUFFIX=	4
Lines 15-20 LICENSE= MIT Link Here
15
LICENSE_FILE=	${WRKSRC}/LICENSE
16
LICENSE_FILE=	${WRKSRC}/LICENSE
16
17
17
OPTIONS_DEFINE=	BUNDLED_SSL DOCS NLS
18
OPTIONS_DEFINE=	BUNDLED_SSL DOCS NLS
19
OPTIONS_DEFAULT=BUNDLED_SSL
18
OPTIONS_SUB=	yes
20
OPTIONS_SUB=	yes
19
21
20
BUNDLED_SSL_DESC=		Use node.js's bundled OpenSSL implementation #'
22
BUNDLED_SSL_DESC=		Use node.js's bundled OpenSSL implementation #'
Lines 45-63 LIB_DEPENDS+= libuv.so:devel/libuv Link Here
45
47
46
.if empty(PORT_OPTIONS:MBUNDLED_SSL)
48
.if empty(PORT_OPTIONS:MBUNDLED_SSL)
47
49
48
.if ${OSVERSION} < 1100085
50
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100085 && ${SSL_DEFAULT} == base
49
# node.js requires openssl 1.0.2, use the port since base isn't new enough
51
IGNORE=		node.js requires openssl 1.0.2, add DEFAULT_VERSIONS+=ssl=openssl to /etc/make.conf or enable BUNDLED_SSL option
50
WITH_OPENSSL_PORT=yes
51
.endif
52
53
.endif
52
.endif
54
53
55
.include <bsd.port.pre.mk>
56
57
.if empty(PORT_OPTIONS:MBUNDLED_SSL)
58
.if !empty(SSL_DEFAULT:Mlibressl*)
54
.if !empty(SSL_DEFAULT:Mlibressl*)
59
IGNORE=		cannot build node.js with LibreSSL. You must enable BUNDLED_SSL
55
IGNORE=		cannot build node.js with LibreSSL. You must enable BUNDLED_SSL
60
.endif
56
.endif
57
61
.endif
58
.endif
62
59
63
post-patch:
60
post-patch:
Lines 89-92 post-configure: Link Here
89
post-install:
86
post-install:
90
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/node
87
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/node
91
88
92
.include <bsd.port.post.mk>
89
.include <bsd.port.mk>
(-)www/node6/Makefile (-9 / +7 lines)
Lines 3-8 Link Here
3
PORTNAME=	node
3
PORTNAME=	node
4
PORTVERSION=	6.9.4
4
PORTVERSION=	6.9.4
5
DISTVERSIONPREFIX=	v
5
DISTVERSIONPREFIX=	v
6
PORTREVISION=	1
6
CATEGORIES=	www
7
CATEGORIES=	www
7
MASTER_SITES=	http://nodejs.org/dist/v${PORTVERSION}/
8
MASTER_SITES=	http://nodejs.org/dist/v${PORTVERSION}/
8
PKGNAMESUFFIX=	6
9
PKGNAMESUFFIX=	6
Lines 14-20 LICENSE= MIT Link Here
14
LICENSE_FILE=	${WRKSRC}/LICENSE
15
LICENSE_FILE=	${WRKSRC}/LICENSE
15
16
16
OPTIONS_DEFINE=	BUNDLED_SSL DOCS NLS DTRACE
17
OPTIONS_DEFINE=	BUNDLED_SSL DOCS NLS DTRACE
17
OPTIONS_DEFAULT=	DTRACE
18
OPTIONS_DEFAULT=BUNDLED_SSL DTRACE
18
OPTIONS_SUB=	yes
19
OPTIONS_SUB=	yes
19
20
20
.if !exists(/usr/sbin/dtrace)
21
.if !exists(/usr/sbin/dtrace)
Lines 58-78 LIB_DEPENDS+= libcares.so:dns/c-ares\ Link Here
58
59
59
.if empty(PORT_OPTIONS:MBUNDLED_SSL)
60
.if empty(PORT_OPTIONS:MBUNDLED_SSL)
60
61
61
.if ${OSVERSION} < 1100085
62
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100085 && ${SSL_DEFAULT} == base
62
# node.js requires openssl 1.0.2, use the port since base isn't new enough
63
IGNORE=		node.js requires openssl 1.0.2, add DEFAULT_VERSIONS+=ssl=openssl to /etc/make.conf or enable BUNDLED_SSL option
63
WITH_OPENSSL_PORT=	yes
64
.endif
65
66
.endif
64
.endif
67
65
68
.include <bsd.port.pre.mk>
69
70
.if empty(PORT_OPTIONS:MBUNDLED_SSL)
71
.if !empty(SSL_DEFAULT:Mlibressl*)
66
.if !empty(SSL_DEFAULT:Mlibressl*)
72
IGNORE=		cannot build node.js with LibreSSL. You must enable BUNDLED_SSL
67
IGNORE=		cannot build node.js with LibreSSL. You must enable BUNDLED_SSL
73
.endif
68
.endif
69
74
.endif
70
.endif
75
71
72
.include <bsd.port.pre.mk>
73
76
.if ${ARCH} == "armv6"
74
.if ${ARCH} == "armv6"
77
CONFIGURE_ARGS+=--openssl-no-asm
75
CONFIGURE_ARGS+=--openssl-no-asm
78
.endif
76
.endif

Return to bug 215996