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

Collapse All | Expand All

(-)devel/kronosnet/Makefile (-6 / +6 lines)
Lines 2-9 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	kronosnet
4
PORTNAME=	kronosnet
5
PORTVERSION=	1.3
5
PORTVERSION=	1.10
6
PORTREVISION=	4
7
CATEGORIES=	devel
6
CATEGORIES=	devel
8
MASTER_SITES=	https://kronosnet.org/releases/
7
MASTER_SITES=	https://kronosnet.org/releases/
9
8
Lines 16-22 Link Here
16
		liblz4.so:archivers/liblz4 \
15
		liblz4.so:archivers/liblz4 \
17
		libnspr4.so:devel/nspr \
16
		libnspr4.so:devel/nspr \
18
		libnss3.so:security/nss \
17
		libnss3.so:security/nss \
19
		libqb.so.0:devel/libqb
18
		libqb.so.0:devel/libqb \
19
		libzstd.so:archivers/zstd
20
20
21
USES=		autoreconf gmake libtool localbase pkgconfig ssl
21
USES=		autoreconf gmake libtool localbase pkgconfig ssl
22
USE_BINUTILS=	yes
22
USE_BINUTILS=	yes
Lines 38-47 Link Here
38
.include <bsd.port.options.mk>
38
.include <bsd.port.options.mk>
39
39
40
.if ${SSL_DEFAULT} == base
40
.if ${SSL_DEFAULT} == base
41
BROKEN_FreeBSD_12=	error: storage size of 'ctx' isn't known
42
BROKEN_FreeBSD_13=	error: storage size of 'ctx' isn't known
43
EXTRA_PATCHES=	${.CURDIR}/files/extra-patch-ssl-base-configure.ac
44
CONFIGURE_ENV=	openssl_CFLAGS=-I/usr/include openssl_LIBS=-lcrypto
41
CONFIGURE_ENV=	openssl_CFLAGS=-I/usr/include openssl_LIBS=-lcrypto
42
.if ${OSVERSION} >= 1200085
43
EXTRA_PATCHES=	${.CURDIR}/files/extra-patch-ssl-openssl11-configure.ac
44
.endif
45
.elif ${SSL_DEFAULT} == libressl
45
.elif ${SSL_DEFAULT} == libressl
46
EXTRA_PATCHES=	${.CURDIR}/files/extra-patch-ssl-libressl-configure.ac
46
EXTRA_PATCHES=	${.CURDIR}/files/extra-patch-ssl-libressl-configure.ac
47
.endif
47
.endif
(-)devel/kronosnet/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1524484064
1
TIMESTAMP = 1563579744
2
SHA256 (kronosnet-1.3.tar.gz) = c24d93dbb25561e684cecf4d7afd58c98a7f883ba9ad812793e268ad857c3a62
2
SHA256 (kronosnet-1.10.tar.gz) = a6795035127336b0181ef474fb11a4a3195652e7a2b9f80b47302a56dd900261
3
SIZE (kronosnet-1.3.tar.gz) = 701399
3
SIZE (kronosnet-1.10.tar.gz) = 744450
(-)devel/kronosnet/files/extra-patch-ssl-libressl-configure.ac (-8 lines)
Lines 16-26 Link Here
16
 
16
 
17
 AC_ARG_ENABLE([compress-all],
17
 AC_ARG_ENABLE([compress-all],
18
 	[AS_HELP_STRING([--disable-compress-all],[disable libknet all compress modules support])],,
18
 	[AS_HELP_STRING([--disable-compress-all],[disable libknet all compress modules support])],,
19
@@ -414,7 +411,6 @@ WARNLIST="
20
 	pointer-arith
21
 	write-strings
22
 	cast-align
23
-	bad-function-cast
24
 	missing-format-attribute
25
 	float-equal
26
 	format=2
(-)devel/kronosnet/files/extra-patch-ssl-openssl11-configure.ac (+18 lines)
Line 0 Link Here
1
Use openssl 1.0 API when libressl is set as the default ssl implementation.
2
3
--- configure.ac.orig	2018-02-26 13:46:34 UTC
4
+++ configure.ac
5
@@ -114,11 +114,8 @@ AC_ARG_ENABLE([crypto-all],
6
 
7
 KNET_OPTION_DEFINES([nss],[crypto],[PKG_CHECK_MODULES([nss], [nss])])
8
 KNET_OPTION_DEFINES([openssl],[crypto],[
9
-	PKG_CHECK_MODULES([openssl],[libcrypto < 1.1],
10
-			  [AC_DEFINE_UNQUOTED([BUILDCRYPTOOPENSSL10], [1], [openssl 1.0 crypto])],
11
-			  [PKG_CHECK_MODULES([openssl],[libcrypto >= 1.1],
12
-					     [AC_DEFINE_UNQUOTED([BUILDCRYPTOOPENSSL11], [1], [openssl 1.1 crypto])])])
13
-])
14
+	PKG_CHECK_MODULES([openssl], [libcrypto],
15
+		[AC_DEFINE_UNQUOTED([BUILDCRYPTOOPENSSL11], [1], [openssl 1.1 crypto])])])
16
 
17
 AC_ARG_ENABLE([compress-all],
18
 	[AS_HELP_STRING([--disable-compress-all],[disable libknet all compress modules support])],,
(-)devel/kronosnet/pkg-plist (-1 / +31 lines)
Lines 1-4 Link Here
1
include/libknet.h
1
include/libknet.h
2
include/libnozzle.h
2
lib/kronosnet/compress_bzip2.a
3
lib/kronosnet/compress_bzip2.a
3
lib/kronosnet/compress_bzip2.so
4
lib/kronosnet/compress_bzip2.so
4
lib/kronosnet/compress_lz4.a
5
lib/kronosnet/compress_lz4.a
Lines 11-16 Link Here
11
lib/kronosnet/compress_lzo2.so
12
lib/kronosnet/compress_lzo2.so
12
lib/kronosnet/compress_zlib.a
13
lib/kronosnet/compress_zlib.a
13
lib/kronosnet/compress_zlib.so
14
lib/kronosnet/compress_zlib.so
15
lib/kronosnet/compress_zstd.a
16
lib/kronosnet/compress_zstd.so
14
lib/kronosnet/crypto_openssl.a
17
lib/kronosnet/crypto_openssl.a
15
lib/kronosnet/crypto_openssl.so
18
lib/kronosnet/crypto_openssl.so
16
lib/kronosnet/crypto_nss.a
19
lib/kronosnet/crypto_nss.a
Lines 18-25 Link Here
18
lib/libknet.a
21
lib/libknet.a
19
lib/libknet.so
22
lib/libknet.so
20
lib/libknet.so.1
23
lib/libknet.so.1
21
lib/libknet.so.1.1.0
24
lib/libknet.so.1.2.0
25
lib/libnozzle.a
26
lib/libnozzle.so
27
lib/libnozzle.so.1
28
lib/libnozzle.so.1.0.0
22
libdata/pkgconfig/libknet.pc
29
libdata/pkgconfig/libknet.pc
30
libdata/pkgconfig/libnozzle.pc
23
%%MANPAGES%%man/man3/knet_addrtostr.3.gz
31
%%MANPAGES%%man/man3/knet_addrtostr.3.gz
24
%%MANPAGES%%man/man3/knet_get_compress_list.3.gz
32
%%MANPAGES%%man/man3/knet_get_compress_list.3.gz
25
%%MANPAGES%%man/man3/knet_get_crypto_list.3.gz
33
%%MANPAGES%%man/man3/knet_get_crypto_list.3.gz
Lines 31-36 Link Here
31
%%MANPAGES%%man/man3/knet_handle_compress.3.gz
39
%%MANPAGES%%man/man3/knet_handle_compress.3.gz
32
%%MANPAGES%%man/man3/knet_handle_crypto.3.gz
40
%%MANPAGES%%man/man3/knet_handle_crypto.3.gz
33
%%MANPAGES%%man/man3/knet_handle_enable_filter.3.gz
41
%%MANPAGES%%man/man3/knet_handle_enable_filter.3.gz
42
%%MANPAGES%%man/man3/knet_handle_enable_access_lists.3.gz
34
%%MANPAGES%%man/man3/knet_handle_enable_pmtud_notify.3.gz
43
%%MANPAGES%%man/man3/knet_handle_enable_pmtud_notify.3.gz
35
%%MANPAGES%%man/man3/knet_handle_enable_sock_notify.3.gz
44
%%MANPAGES%%man/man3/knet_handle_enable_sock_notify.3.gz
36
%%MANPAGES%%man/man3/knet_handle_free.3.gz
45
%%MANPAGES%%man/man3/knet_handle_free.3.gz
Lines 56-61 Link Here
56
%%MANPAGES%%man/man3/knet_host_remove.3.gz
65
%%MANPAGES%%man/man3/knet_host_remove.3.gz
57
%%MANPAGES%%man/man3/knet_host_set_name.3.gz
66
%%MANPAGES%%man/man3/knet_host_set_name.3.gz
58
%%MANPAGES%%man/man3/knet_host_set_policy.3.gz
67
%%MANPAGES%%man/man3/knet_host_set_policy.3.gz
68
%%MANPAGES%%man/man3/knet_link_add_acl.3.gz
69
%%MANPAGES%%man/man3/knet_link_clear_acl.3.gz
59
%%MANPAGES%%man/man3/knet_link_clear_config.3.gz
70
%%MANPAGES%%man/man3/knet_link_clear_config.3.gz
60
%%MANPAGES%%man/man3/knet_link_get_config.3.gz
71
%%MANPAGES%%man/man3/knet_link_get_config.3.gz
61
%%MANPAGES%%man/man3/knet_link_get_enable.3.gz
72
%%MANPAGES%%man/man3/knet_link_get_enable.3.gz
Lines 66-71 Link Here
66
%%MANPAGES%%man/man3/knet_link_get_status.3.gz
77
%%MANPAGES%%man/man3/knet_link_get_status.3.gz
67
%%MANPAGES%%man/man3/knet_link_set_config.3.gz
78
%%MANPAGES%%man/man3/knet_link_set_config.3.gz
68
%%MANPAGES%%man/man3/knet_link_set_enable.3.gz
79
%%MANPAGES%%man/man3/knet_link_set_enable.3.gz
80
%%MANPAGES%%man/man3/knet_link_insert_acl.3.gz
81
%%MANPAGES%%man/man3/knet_link_rm_acl.3.gz
69
%%MANPAGES%%man/man3/knet_link_set_ping_timers.3.gz
82
%%MANPAGES%%man/man3/knet_link_set_ping_timers.3.gz
70
%%MANPAGES%%man/man3/knet_link_set_pong_count.3.gz
83
%%MANPAGES%%man/man3/knet_link_set_pong_count.3.gz
71
%%MANPAGES%%man/man3/knet_link_set_priority.3.gz
84
%%MANPAGES%%man/man3/knet_link_set_priority.3.gz
Lines 79-84 Link Here
79
%%MANPAGES%%man/man3/knet_send.3.gz
92
%%MANPAGES%%man/man3/knet_send.3.gz
80
%%MANPAGES%%man/man3/knet_send_sync.3.gz
93
%%MANPAGES%%man/man3/knet_send_sync.3.gz
81
%%MANPAGES%%man/man3/knet_strtoaddr.3.gz
94
%%MANPAGES%%man/man3/knet_strtoaddr.3.gz
95
%%MANPAGES%%man/man3/nozzle_add_ip.3.gz
96
%%MANPAGES%%man/man3/nozzle_close.3.gz
97
%%MANPAGES%%man/man3/nozzle_del_ip.3.gz
98
%%MANPAGES%%man/man3/nozzle_get_fd.3.gz
99
%%MANPAGES%%man/man3/nozzle_get_handle_by_name.3.gz
100
%%MANPAGES%%man/man3/nozzle_get_ips.3.gz
101
%%MANPAGES%%man/man3/nozzle_get_mac.3.gz
102
%%MANPAGES%%man/man3/nozzle_get_mtu.3.gz
103
%%MANPAGES%%man/man3/nozzle_get_name_by_handle.3.gz
104
%%MANPAGES%%man/man3/nozzle_open.3.gz
105
%%MANPAGES%%man/man3/nozzle_reset_mac.3.gz
106
%%MANPAGES%%man/man3/nozzle_reset_mtu.3.gz
107
%%MANPAGES%%man/man3/nozzle_run_updown.3.gz
108
%%MANPAGES%%man/man3/nozzle_set_down.3.gz
109
%%MANPAGES%%man/man3/nozzle_set_mac.3.gz
110
%%MANPAGES%%man/man3/nozzle_set_mtu.3.gz
111
%%MANPAGES%%man/man3/nozzle_set_up.3.gz
82
%%PORTDOCS%%%%DOCSDIR%%/COPYING.applications
112
%%PORTDOCS%%%%DOCSDIR%%/COPYING.applications
83
%%PORTDOCS%%%%DOCSDIR%%/COPYING.libraries
113
%%PORTDOCS%%%%DOCSDIR%%/COPYING.libraries
84
%%PORTDOCS%%%%DOCSDIR%%/COPYRIGHT
114
%%PORTDOCS%%%%DOCSDIR%%/COPYRIGHT

Return to bug 232865