From nobody Wed Apr 20 16:37:19 2022 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 953B411DA2B8; Wed, 20 Apr 2022 16:37:19 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Kk5tR3ksVz4Xc9; Wed, 20 Apr 2022 16:37:19 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650472639; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=eDPX1VYL8idCqO2+xfeIBJ9SoBL62dUawFGRB3ks0x0=; b=Sff+qKZrsZxLSfOpanAfXAzC0qNdAVM7/88LvuM1S1wDlRckHrOTA3V+FCYWaIiWazo4B0 6ScaN2PdiZUVtKzI4AVjT7JLrWgOJ1PHejFx6I+xcucjNlMPMZSQhw34vpmvocAeNHkZhz GJ+PZ9ovSdohAtaDk/vVpnYq+E8SIo5IwLFZOPMWo7kNnXhMGsqszlBmGoJK0kGmZLKAOS aW6VbhPAZkC5jsrWmpYHxcEILst2WZ+eF4ySu48Y8qjj01mEJPYgJlrmVHljlaRtxJsS+o UdlH75GSIvwpejcg1RUu56r3KUjidSCZoIOQ2yFb4nD5bb0Q8ohACwBsddlqfw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 6053B1782D; Wed, 20 Apr 2022 16:37:19 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 23KGbJig089580; Wed, 20 Apr 2022 16:37:19 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 23KGbJ4W089579; Wed, 20 Apr 2022 16:37:19 GMT (envelope-from git) Date: Wed, 20 Apr 2022 16:37:19 GMT Message-Id: <202204201637.23KGbJ4W089579@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Thierry Thomas Subject: git: a80e46e547fc - main - net-im/tox: upgrade to v0.2.18 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: thierry X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: a80e46e547fc776013cb45d592b20f9e65229d3a Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650472639; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=eDPX1VYL8idCqO2+xfeIBJ9SoBL62dUawFGRB3ks0x0=; b=uZz0r4/4t81KHS8SWTVZHb9e4bk3Pw2a1XpR/MaIovbttUmBK2Q5X3Un2fTTY4HCopskzQ o1N5/t81+ndx/x4tgh1C68uKWQLsjxteU4/pApJKnc5ud+OZ+SJQ+lrSVQnx+QiQTGp96s d+D09YghMb8ndmlv2FIpxlmAwlVpYJdfXbClOxQlmSOHkXT5WGXpHFGfNI0xr8K87IY5Vg FLV2FG1F0pdI4SvIgL6S+GI7bGkZ2mvhjjncYXoHvK4Tew1fjVi6jIMIsx3djXzOKEMxAV dFW1aYyj5JVDB6geSt+Luz5TkXWQ67Fuxd2c+P5NNgAsziheErNnjHt3AZ5+Bg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1650472639; a=rsa-sha256; cv=none; b=LornQGabbFU1BGvbNql+HdKkEgAp7DAn8puqgycfa7duosMvzfndrkJrE76wGyjA59c+EV ztmN8C0xYATeMQr2dD51c4Z0olwirCCxDA9clDExORB+FE5RErqJw4ZpRnpKVpUC3DIq01 l2rq0JAbVn7wByhng88SnjJGQHMMCnRTbYBiTiR//fwTxwq1SQ42NQ8/wsRqlTQL7ql68T drcd2zmllu0hMwyaf4hKspeJjpZqCoo2uRUa4sxElhVUR+PfIpqaXqr9AzpVMWHRJ6AKGh i+KVFgcEFOtcgNxRlUt6CMu+iGXaQSa103a8e1Focx6Q08XWNrJzwWbqZ3aTAg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by thierry: URL: https://cgit.FreeBSD.org/ports/commit/?id=a80e46e547fc776013cb45d592b20f9e65229d3a commit a80e46e547fc776013cb45d592b20f9e65229d3a Author: Thierry Thomas AuthorDate: 2022-04-20 11:44:52 +0000 Commit: Thierry Thomas CommitDate: 2022-04-20 16:37:14 +0000 net-im/tox: upgrade to v0.2.18 Release notes at . Note: an optimization (increase the size of the send and receive UDP buffers) has been disabled, because it caused failure. Waiting for a better solution. --- net-im/tox/Makefile | 11 +++++------ net-im/tox/distinfo | 8 +++++--- net-im/tox/files/patch-toxcore_network.c | 18 ++++++++++++++++++ 3 files changed, 28 insertions(+), 9 deletions(-) diff --git a/net-im/tox/Makefile b/net-im/tox/Makefile index 10cc3a70e5ef..c646564b8d15 100644 --- a/net-im/tox/Makefile +++ b/net-im/tox/Makefile @@ -1,7 +1,7 @@ # Created by: Thierry Thomas PORTNAME= toxcore -PORTVERSION= 0.2.17 +PORTVERSION= 0.2.18 DISTVERSIONPREFIX= v PORTEPOCH= 1 CATEGORIES= net-im net-p2p @@ -14,7 +14,6 @@ LICENSE= GPLv3 BUILD_DEPENDS= checkmk:devel/check \ gtest:sysutils/coreutils LIB_DEPENDS= libvpx.so:multimedia/libvpx \ - libmsgpackc.so:devel/msgpack \ libsndfile.so:audio/libsndfile \ libportaudio.so:audio/portaudio \ libsodium.so:security/libsodium \ @@ -23,11 +22,11 @@ LIB_DEPENDS= libvpx.so:multimedia/libvpx \ TEST_DEPENDS= opencv_visualisation:graphics/opencv #TEST_DEPENDS= libopencv_core.so:graphics/opencv -CONFLICTS= toxcore-legacy-0.1.* - USE_GITHUB= yes -GH_ACCOUNT= TokTok -GH_PROJECT= c-toxcore +GH_ACCOUNT= TokTok camgunz:cmp +GH_PROJECT= c-toxcore cmp:cmp +GH_TAGNAME= 4c3737d1a172ee74d2b35b5fd6865d1fe9dac7af:cmp +GH_SUBDIR= third_party/cmp:cmp CPE_VENDOR= toktok diff --git a/net-im/tox/distinfo b/net-im/tox/distinfo index bb4af6a4ef06..d3b2bdf7edfa 100644 --- a/net-im/tox/distinfo +++ b/net-im/tox/distinfo @@ -1,3 +1,5 @@ -TIMESTAMP = 1646598591 -SHA256 (TokTok-c-toxcore-v0.2.17_GH0.tar.gz) = d9cdf5d690fe8e217dcaba5b988fb943bbe7bda919a2fde6d9506df047e5f4cb -SIZE (TokTok-c-toxcore-v0.2.17_GH0.tar.gz) = 560639 +TIMESTAMP = 1650443954 +SHA256 (TokTok-c-toxcore-v0.2.18_GH0.tar.gz) = 1fba883638fd18985fd41acd35fed198c2cdd6e91651eb1c3fe602b610b535fe +SIZE (TokTok-c-toxcore-v0.2.18_GH0.tar.gz) = 613087 +SHA256 (camgunz-cmp-4c3737d1a172ee74d2b35b5fd6865d1fe9dac7af_GH0.tar.gz) = a13a479f747854b990cee074cdc7a7309ec6e025059b7213b9ca311860de1b02 +SIZE (camgunz-cmp-4c3737d1a172ee74d2b35b5fd6865d1fe9dac7af_GH0.tar.gz) = 40334 diff --git a/net-im/tox/files/patch-toxcore_network.c b/net-im/tox/files/patch-toxcore_network.c new file mode 100644 index 000000000000..eda52d4414f8 --- /dev/null +++ b/net-im/tox/files/patch-toxcore_network.c @@ -0,0 +1,18 @@ +--- toxcore/network.c.orig 2022-04-18 18:12:07 UTC ++++ toxcore/network.c +@@ -1063,6 +1063,7 @@ Networking_Core *new_networking_ex( + */ + int n = 1024 * 1024 * 2; + ++#if !defined(__FreeBSD__) + if (net_setsockopt(ns, temp->sock, SOL_SOCKET, SO_RCVBUF, &n, sizeof(n)) != 0) { + LOGGER_ERROR(log, "failed to set socket option %d", SO_RCVBUF); + } +@@ -1070,6 +1071,7 @@ Networking_Core *new_networking_ex( + if (net_setsockopt(ns, temp->sock, SOL_SOCKET, SO_SNDBUF, &n, sizeof(n)) != 0) { + LOGGER_ERROR(log, "failed to set socket option %d", SO_SNDBUF); + } ++#endif + + /* Enable broadcast on socket */ + int broadcast = 1;