Date: Mon, 7 May 2018 04:26:18 +0000 (UTC) From: "Vanilla I. Shu" <vanilla@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r469262 - in head/devel: . kronosnet kronosnet/files Message-ID: <201805070426.w474QIKu015700@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: vanilla Date: Mon May 7 04:26:18 2018 New Revision: 469262 URL: https://svnweb.freebsd.org/changeset/ports/469262 Log: Add kronosnet 1.3, network abstraction layer designed for high availability. PR: 227564 Submitted by: David Shane Holden <dpejesh@yahoo.com> Added: head/devel/kronosnet/ head/devel/kronosnet/Makefile (contents, props changed) head/devel/kronosnet/distinfo (contents, props changed) head/devel/kronosnet/files/ head/devel/kronosnet/files/extra-patch-ssl-base-configure.ac (contents, props changed) head/devel/kronosnet/files/extra-patch-ssl-libressl-configure.ac (contents, props changed) head/devel/kronosnet/files/patch-Makefile.am (contents, props changed) head/devel/kronosnet/files/patch-man_Makefile.am (contents, props changed) head/devel/kronosnet/pkg-descr (contents, props changed) head/devel/kronosnet/pkg-message (contents, props changed) head/devel/kronosnet/pkg-plist (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Mon May 7 01:58:21 2018 (r469261) +++ head/devel/Makefile Mon May 7 04:26:18 2018 (r469262) @@ -1310,6 +1310,7 @@ SUBDIR += kimwitu SUBDIR += kio-extras SUBDIR += kore + SUBDIR += kronosnet SUBDIR += ksql SUBDIR += kyra SUBDIR += kyua Added: head/devel/kronosnet/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/kronosnet/Makefile Mon May 7 04:26:18 2018 (r469262) @@ -0,0 +1,46 @@ +# Created by: David Shane Holden <dpejesh@yahoo.com> +# $FreeBSD$ + +PORTNAME= kronosnet +PORTVERSION= 1.3 +CATEGORIES= devel +MASTER_SITES= https://kronosnet.org/releases/ + +MAINTAINER= dpejesh@yahoo.com +COMMENT= Network abstraction layer designed for high availability + +LICENSE= GPLv2 + +LIB_DEPENDS= liblzo2.so:archivers/lzo2 \ + liblz4.so:archivers/liblz4 \ + libnspr4.so:devel/nspr \ + libnss3.so:security/nss \ + libqb.so:devel/libqb + +USES= autoreconf gmake libtool localbase pkgconfig ssl # tar:xz +USE_BINUTILS= yes +USE_GCC= yes +USE_LDCONFIG= yes +GNU_CONFIGURE= yes +LDFLAGS+= -B${LOCALBASE}/bin + +INSTALL_TARGET= install-strip +TEST_TARGET= check + +OPTIONS_DEFINE= MANPAGES DOCS +OPTIONS_DEFAULT=MANPAGES +OPTIONS_SUB= yes + +MANPAGES_BUILD_DEPENDS= doxygen:devel/doxygen +MANPAGES_CONFIGURE_ENABLE= man + +.include <bsd.port.options.mk> + +.if ${SSL_DEFAULT} == base +EXTRA_PATCHES= ${.CURDIR}/files/extra-patch-ssl-base-configure.ac +CONFIGURE_ENV= openssl_CFLAGS=-I/usr/include openssl_LIBS=-lcrypto +.elif ${SSL_DEFAULT} == libressl +EXTRA_PATCHES= ${.CURDIR}/files/extra-patch-ssl-libressl-configure.ac +.endif + +.include <bsd.port.mk> Added: head/devel/kronosnet/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/kronosnet/distinfo Mon May 7 04:26:18 2018 (r469262) @@ -0,0 +1,3 @@ +TIMESTAMP = 1524484064 +SHA256 (kronosnet-1.3.tar.gz) = c24d93dbb25561e684cecf4d7afd58c98a7f883ba9ad812793e268ad857c3a62 +SIZE (kronosnet-1.3.tar.gz) = 701399 Added: head/devel/kronosnet/files/extra-patch-ssl-base-configure.ac ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/kronosnet/files/extra-patch-ssl-base-configure.ac Mon May 7 04:26:18 2018 (r469262) @@ -0,0 +1,10 @@ +--- configure.ac.orig 2018-02-26 13:46:34 UTC ++++ configure.ac +@@ -414,7 +414,6 @@ WARNLIST=" + pointer-arith + write-strings + cast-align +- bad-function-cast + missing-format-attribute + float-equal + format=2 Added: head/devel/kronosnet/files/extra-patch-ssl-libressl-configure.ac ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/kronosnet/files/extra-patch-ssl-libressl-configure.ac Mon May 7 04:26:18 2018 (r469262) @@ -0,0 +1,26 @@ +Use openssl 1.0 API when libressl is set as the default ssl implementation. + +--- configure.ac.orig 2018-02-26 13:46:34 UTC ++++ configure.ac +@@ -114,11 +114,8 @@ AC_ARG_ENABLE([crypto-all], + + KNET_OPTION_DEFINES([nss],[crypto],[PKG_CHECK_MODULES([nss], [nss])]) + KNET_OPTION_DEFINES([openssl],[crypto],[ +- PKG_CHECK_MODULES([openssl],[libcrypto < 1.1], +- [AC_DEFINE_UNQUOTED([BUILDCRYPTOOPENSSL10], [1], [openssl 1.0 crypto])], +- [PKG_CHECK_MODULES([openssl],[libcrypto >= 1.1], +- [AC_DEFINE_UNQUOTED([BUILDCRYPTOOPENSSL11], [1], [openssl 1.1 crypto])])]) +-]) ++ PKG_CHECK_MODULES([openssl], [libcrypto], ++ [AC_DEFINE_UNQUOTED([BUILDCRYPTOOPENSSL10], [1], [openssl 1.0 crypto])])]) + + AC_ARG_ENABLE([compress-all], + [AS_HELP_STRING([--disable-compress-all],[disable libknet all compress modules support])],, +@@ -414,7 +411,6 @@ WARNLIST=" + pointer-arith + write-strings + cast-align +- bad-function-cast + missing-format-attribute + float-equal + format=2 Added: head/devel/kronosnet/files/patch-Makefile.am ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/kronosnet/files/patch-Makefile.am Mon May 7 04:26:18 2018 (r469262) @@ -0,0 +1,14 @@ +--- Makefile.am.orig 2018-02-26 13:46:34 UTC ++++ Makefile.am +@@ -44,11 +44,6 @@ dist_doc_DATA = \ + README.licence \ + README + +-all-local: $(SPEC) +- +-clean-local: +- rm -f $(SPEC) +- + distclean-local: + rm -f $(PACKAGE_NAME)-*.tar.* $(PACKAGE_NAME)-*.sha256* tag-* + Added: head/devel/kronosnet/files/patch-man_Makefile.am ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/kronosnet/files/patch-man_Makefile.am Mon May 7 04:26:18 2018 (r469262) @@ -0,0 +1,14 @@ +--- man/Makefile.am.orig 2018-03-27 20:11:33 UTC ++++ man/Makefile.am +@@ -16,11 +16,6 @@ EXTRA_DIST = kronosnetd.8 knet-keygen.8 + # Avoid Automake warnings about overriding these user variables. + # Programs in this directory are used during the build only. + AUTOMAKE_OPTIONS = -Wno-gnu +-EXEEXT=$(BUILD_EXEEXT) +-CC=$(CC_FOR_BUILD) +-CFLAGS=$(CFLAGS_FOR_BUILD) +-CPPFLAGS=$(CPPFLAGS_FOR_BUILD) +-LDFLAGS=$(LDFLAGS_FOR_BUILD) + + if BUILD_MAN + Added: head/devel/kronosnet/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/kronosnet/pkg-descr Mon May 7 04:26:18 2018 (r469262) @@ -0,0 +1,5 @@ +Kronosnet, often referred to as knet, is a network abstraction layer designed +for High Availability use cases, where redundancy, security, fault tolerance +and fast fail-over are the core requirements. + +WWW: https://kronosnet.org/ Added: head/devel/kronosnet/pkg-message ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/kronosnet/pkg-message Mon May 7 04:26:18 2018 (r469262) @@ -0,0 +1,9 @@ +For correct operation, maximum socket buffer size must be tuned +by performing the following command as root : + +# sysctl kern.ipc.maxsockbuf=18874368 + +To preserve this setting across reboots, append the following +to /etc/sysctl.conf : + +kern.ipc.maxsockbuf=18874368 Added: head/devel/kronosnet/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/kronosnet/pkg-plist Mon May 7 04:26:18 2018 (r469262) @@ -0,0 +1,86 @@ +include/libknet.h +lib/kronosnet/compress_bzip2.a +lib/kronosnet/compress_bzip2.so +lib/kronosnet/compress_lz4.a +lib/kronosnet/compress_lz4.so +lib/kronosnet/compress_lz4hc.a +lib/kronosnet/compress_lz4hc.so +lib/kronosnet/compress_lzma.a +lib/kronosnet/compress_lzma.so +lib/kronosnet/compress_lzo2.a +lib/kronosnet/compress_lzo2.so +lib/kronosnet/compress_zlib.a +lib/kronosnet/compress_zlib.so +lib/kronosnet/crypto_openssl.a +lib/kronosnet/crypto_openssl.so +lib/kronosnet/crypto_nss.a +lib/kronosnet/crypto_nss.so +lib/libknet.a +lib/libknet.so +lib/libknet.so.1 +lib/libknet.so.1.1.0 +libdata/pkgconfig/libknet.pc +%%MANPAGES%%man/man3/knet_addrtostr.3.gz +%%MANPAGES%%man/man3/knet_get_compress_list.3.gz +%%MANPAGES%%man/man3/knet_get_crypto_list.3.gz +%%MANPAGES%%man/man3/knet_get_transport_id_by_name.3.gz +%%MANPAGES%%man/man3/knet_get_transport_list.3.gz +%%MANPAGES%%man/man3/knet_get_transport_name_by_id.3.gz +%%MANPAGES%%man/man3/knet_handle_add_datafd.3.gz +%%MANPAGES%%man/man3/knet_handle_clear_stats.3.gz +%%MANPAGES%%man/man3/knet_handle_compress.3.gz +%%MANPAGES%%man/man3/knet_handle_crypto.3.gz +%%MANPAGES%%man/man3/knet_handle_enable_filter.3.gz +%%MANPAGES%%man/man3/knet_handle_enable_pmtud_notify.3.gz +%%MANPAGES%%man/man3/knet_handle_enable_sock_notify.3.gz +%%MANPAGES%%man/man3/knet_handle_free.3.gz +%%MANPAGES%%man/man3/knet_handle_get_channel.3.gz +%%MANPAGES%%man/man3/knet_handle_get_datafd.3.gz +%%MANPAGES%%man/man3/knet_handle_get_stats.3.gz +%%MANPAGES%%man/man3/knet_handle_get_transport_reconnect_interval.3.gz +%%MANPAGES%%man/man3/knet_handle_new.3.gz +%%MANPAGES%%man/man3/knet_handle_new_ex.3.gz +%%MANPAGES%%man/man3/knet_handle_pmtud_get.3.gz +%%MANPAGES%%man/man3/knet_handle_pmtud_getfreq.3.gz +%%MANPAGES%%man/man3/knet_handle_pmtud_setfreq.3.gz +%%MANPAGES%%man/man3/knet_handle_remove_datafd.3.gz +%%MANPAGES%%man/man3/knet_handle_set_transport_reconnect_interval.3.gz +%%MANPAGES%%man/man3/knet_handle_setfwd.3.gz +%%MANPAGES%%man/man3/knet_host_add.3.gz +%%MANPAGES%%man/man3/knet_host_enable_status_change_notify.3.gz +%%MANPAGES%%man/man3/knet_host_get_host_list.3.gz +%%MANPAGES%%man/man3/knet_host_get_id_by_host_name.3.gz +%%MANPAGES%%man/man3/knet_host_get_name_by_host_id.3.gz +%%MANPAGES%%man/man3/knet_host_get_policy.3.gz +%%MANPAGES%%man/man3/knet_host_get_status.3.gz +%%MANPAGES%%man/man3/knet_host_remove.3.gz +%%MANPAGES%%man/man3/knet_host_set_name.3.gz +%%MANPAGES%%man/man3/knet_host_set_policy.3.gz +%%MANPAGES%%man/man3/knet_link_clear_config.3.gz +%%MANPAGES%%man/man3/knet_link_get_config.3.gz +%%MANPAGES%%man/man3/knet_link_get_enable.3.gz +%%MANPAGES%%man/man3/knet_link_get_link_list.3.gz +%%MANPAGES%%man/man3/knet_link_get_ping_timers.3.gz +%%MANPAGES%%man/man3/knet_link_get_pong_count.3.gz +%%MANPAGES%%man/man3/knet_link_get_priority.3.gz +%%MANPAGES%%man/man3/knet_link_get_status.3.gz +%%MANPAGES%%man/man3/knet_link_set_config.3.gz +%%MANPAGES%%man/man3/knet_link_set_enable.3.gz +%%MANPAGES%%man/man3/knet_link_set_ping_timers.3.gz +%%MANPAGES%%man/man3/knet_link_set_pong_count.3.gz +%%MANPAGES%%man/man3/knet_link_set_priority.3.gz +%%MANPAGES%%man/man3/knet_log_get_loglevel.3.gz +%%MANPAGES%%man/man3/knet_log_get_loglevel_id.3.gz +%%MANPAGES%%man/man3/knet_log_get_loglevel_name.3.gz +%%MANPAGES%%man/man3/knet_log_get_subsystem_id.3.gz +%%MANPAGES%%man/man3/knet_log_get_subsystem_name.3.gz +%%MANPAGES%%man/man3/knet_log_set_loglevel.3.gz +%%MANPAGES%%man/man3/knet_recv.3.gz +%%MANPAGES%%man/man3/knet_send.3.gz +%%MANPAGES%%man/man3/knet_send_sync.3.gz +%%MANPAGES%%man/man3/knet_strtoaddr.3.gz +%%PORTDOCS%%%%DOCSDIR%%/COPYING.applications +%%PORTDOCS%%%%DOCSDIR%%/COPYING.libraries +%%PORTDOCS%%%%DOCSDIR%%/COPYRIGHT +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%%%DOCSDIR%%/README.licence
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201805070426.w474QIKu015700>