From nobody Mon Feb 9 13:35:10 2026 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 4f8m0H1zVsz6RRnm for ; Mon, 09 Feb 2026 13:35:11 +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 "R13" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4f8m0G6J1Pz3msR for ; Mon, 09 Feb 2026 13:35:10 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1770644110; 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=GR3oCi29SKDl0x/HmSwjyGMdTX1ZVa6yP2INVYivd1s=; b=S//liG1PFAlTtr5ADAGuXY65JDq/QcrmXzpJJ2n7qBu8EwPWZTnrmOwF54f6KuleEUJn7K AmM53YG+JVUPBq2FkQgjCZ8vix2HGWgx6tytWyRSWlCfZ666MBXP5Z7ODifqhtIHfTsXly 2IV6r1db9Po2KpcLZFdhu/o1DDGa0Ku7A1kkW/LqlmQ8cmnjQT1O1sqyaNFx+XUTq3v1cM Mj0rLFYBhOo0IlI01zHWPUZEnCevBxAEA65s5qCh5cTLrlurM4MLDJeS32GOQ+hjL8atQM CfMiEx33bIfIJMfB/MzByvWgOq/gpALS4dNsvDUmi2m3MNrsRm9R9gQGdywl6Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1770644110; a=rsa-sha256; cv=none; b=XS+WyK8d5YlvEDnCS56qf/bBFg5+VF9KNu770SIADiqCX5rwHFLstJKsuho3VUOxNNqC3H 8ITxXSza1HlhECSEuEirw9hZyzs21xOPzg5C5HhW2BSELx8/ZYL7u3fOztKaQMwNeKKxxu NYvwZpSWmrmCyQgTcmKeZiCmNjpOVY9FjxDbHtkQhLWd4qGl0zwxYnNzl7rbDn1od4y4MJ HKa1Dwz44a8H1gZ3zifR36i7LOi55KPq/WUoZda0bzPyp8L2iEfvg33kpvpjpZQLM0EWmk YllJ7PlwBGBDNEe9jwBT30JpghbauS1PjgACkhsvZNeYsBF6esqt5MZwLUrjjA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1770644110; 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=GR3oCi29SKDl0x/HmSwjyGMdTX1ZVa6yP2INVYivd1s=; b=Q6/2kSziU09sCkBzWvj0YhlQlqVoOljnAOThqI0LRFa+dpNNfNkrfRGMbMrYsxxo3Jgxdu tFnIb/039d7KG6jpF746T5f1KJ/sgQhIFqZonOXzeVisXp68f3HmiH+xyv6YU2eiCtY7wN 1E4tLyLgxTjKvGd56YGxty5kXHcqtDjDrmxX6nFlGh305G8i6aNC1l/J2PmWFtSp7twVzN h2TkYwROsf/0h/iF11P/a9nahM6UPfV/ymSlJCs5LME+xRcS6Rf+c8eFQaYfeq6W6vEjeM l3kX61SbJHTU4ns7DrCEPJ7K+cL2psCb3l0C61B/BoYbodX2mGRut6+PBRqfGQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4f8m0G4yC3zbTF for ; Mon, 09 Feb 2026 13:35:10 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 3a971 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Mon, 09 Feb 2026 13:35:10 +0000 To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Vladimir Druzenko Subject: git: 752275596aaa - main - net-im/tox: Update 0.2.21 => 0.2.22 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: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: vvd X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 752275596aaac169de95e3e4ae7952c76461956d Auto-Submitted: auto-generated Date: Mon, 09 Feb 2026 13:35:10 +0000 Message-Id: <6989e28e.3a971.3e42e5cd@gitrepo.freebsd.org> The branch main has been updated by vvd: URL: https://cgit.FreeBSD.org/ports/commit/?id=752275596aaac169de95e3e4ae7952c76461956d commit 752275596aaac169de95e3e4ae7952c76461956d Author: Vladimir Druzenko AuthorDate: 2026-02-09 13:27:36 +0000 Commit: Vladimir Druzenko CommitDate: 2026-02-09 13:27:36 +0000 net-im/tox: Update 0.2.21 => 0.2.22 Changelog: https://github.com/TokTok/c-toxcore/releases/tag/v0.2.22 - make test work without errors. - Rework DAEMON option, make it deafult. - Remove old patch - disabled functions work without errors in runtime. PR: 293052 MFH: 2026Q1 --- net-im/tox/Makefile | 34 +++++++++++++------------------- net-im/tox/distinfo | 6 +++--- net-im/tox/files/patch-toxcore_network.c | 18 ----------------- 3 files changed, 17 insertions(+), 41 deletions(-) diff --git a/net-im/tox/Makefile b/net-im/tox/Makefile index 0f844ba1730e..57f63c09bad2 100644 --- a/net-im/tox/Makefile +++ b/net-im/tox/Makefile @@ -1,6 +1,5 @@ PORTNAME= toxcore -DISTVERSION= 0.2.21 -PORTREVISION= 2 +DISTVERSION= 0.2.22 PORTEPOCH= 1 CATEGORIES= net-im net-p2p MASTER_SITES= https://github.com/TokTok/c-${PORTNAME}/releases/download/v${DISTVERSION}/ @@ -27,39 +26,34 @@ USE_LDCONFIG= yes CMAKE_OFF= CMAKE_DISABLE_FIND_PACKAGE_GTest \ UNITTEST CMAKE_TESTING_ON= UNITTEST -CMAKE_TESTING_OFF= CMAKE_DISABLE_FIND_PACKAGE_GTest -# AUTOTEST(s) are broken... + +SUB_LIST= TOXDHT="${USERS}" NO_WRKSUBDIR= yes -PLIST_SUB= VER=${DISTVERSION:C/0.//}.0 SO=2 +PLIST_SUB= VER=${DISTVERSION:S|^0.||}.0 \ + SO=2 \ + TOXDHT="${USERS}" -OPTIONS_DEFINE= DAEMON -OPTIONS_SUB= yes +OPTIONS_DEFINE= DAEMON +OPTIONS_DEFAULT= DAEMON +OPTIONS_SUB= yes -DAEMON_DESC= Bootstrap daemon +DAEMON_DESC= Bootstrap daemon DAEMON_LIB_DEPENDS= libconfig.so:devel/libconfig DAEMON_CMAKE_BOOL= BOOTSTRAP_DAEMON +DAEMON_VARS= USE_RC_SUBR=tox-bootstrapd \ + USERS=toxdht \ + PKGMESSAGE=${PKGDIR}/pkg-message.daemon -.include - -.if ${PORT_OPTIONS:MDAEMON} -USERS= toxdht -USE_RC_SUBR= tox-bootstrapd -SUB_LIST= TOXDHT=${USERS} -PLIST_SUB+= TOXDHT=${USERS} KEYS_DIR= /var/lib/tox-bootstrapd PID_DIR= /var/run/tox-bootstrapd -PKGMESSAGE= ${PKGDIR}/pkg-message.daemon -.endif -post-install: -.if ${PORT_OPTIONS:MDAEMON} +post-install-DAEMON-on: ${INSTALL_DATA} ${WRKSRC}/other/bootstrap_daemon/tox-bootstrapd.conf \ ${STAGEDIR}${PREFIX}/etc/tox-bootstrapd.conf.sample ${MKDIR} ${STAGEDIR}${KEYS_DIR} \ ${STAGEDIR}${PID_DIR} -.endif .include diff --git a/net-im/tox/distinfo b/net-im/tox/distinfo index 9a5c25aa7456..073eb5987a7e 100644 --- a/net-im/tox/distinfo +++ b/net-im/tox/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1762500000 -SHA256 (c-toxcore-v0.2.21.tar.xz) = dde19a5eaa897f3b9ca6212e783a08753ad5c071deb14a73d84161853a067234 -SIZE (c-toxcore-v0.2.21.tar.xz) = 906700 +TIMESTAMP = 1770600000 +SHA256 (c-toxcore-v0.2.22.tar.xz) = b2599d62181d8c0d5f5f86012ed7bc4be9eb540f2d7a399ec96308eb9870f58e +SIZE (c-toxcore-v0.2.22.tar.xz) = 989696 diff --git a/net-im/tox/files/patch-toxcore_network.c b/net-im/tox/files/patch-toxcore_network.c deleted file mode 100644 index 4759446df1d7..000000000000 --- a/net-im/tox/files/patch-toxcore_network.c +++ /dev/null @@ -1,18 +0,0 @@ ---- toxcore/network.c.orig 2025-10-06 10:37:58 UTC -+++ toxcore/network.c -@@ -1318,6 +1318,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_WARNING(log, "failed to set socket option %d", SO_RCVBUF); - } -@@ -1325,6 +1326,7 @@ Networking_Core *new_networking_ex( - if (net_setsockopt(ns, temp->sock, SOL_SOCKET, SO_SNDBUF, &n, sizeof(n)) != 0) { - LOGGER_WARNING(log, "failed to set socket option %d", SO_SNDBUF); - } -+#endif - - /* Enable broadcast on socket */ - int broadcast = 1;