From nobody Wed Jun 15 14:23:09 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 34FF18416D9; Wed, 15 Jun 2022 14:23:10 +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 4LNSFp10dgz4cVM; Wed, 15 Jun 2022 14:23:10 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1655302990; 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=dkD1fcaL7TzZPxS1ZUsZxNM6oyL5UCsyLnTR+DWfg3I=; b=fXtqmgZiCwFzK43jwXG+6j+zOOdlXsUHrJJ/AxVs6B578G9KiwZGy8Z49wRcBqpOpRCHi9 P8pvqOh/PTWcRmHkEI3IJfdWChr13bESiHCvQw+bthxVUB/Qsvw+LmjqP+9ir2Dap1C4AW fE2UZYuUZG+P4CdjTPyRQ7soXlbL0GCgrKfpsoiH5YS1Zct+E1YjA8BT9RPaZvCOlqYDsv GsdsTJzWlEAap9D/YolTBFXND6qT8GFCkIe8hMa3FTp/WziU1dUL3k0fLpGImlL5BHl7jk orddUBsR8bZBuL6pWkA6bxYz4PA5M+GZevkR/T7F1fs8L+4pGkWD4FZRV5p46A== 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 025F81FFC9; Wed, 15 Jun 2022 14:23:10 +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 25FEN96v090265; Wed, 15 Jun 2022 14:23:09 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 25FEN9XJ090264; Wed, 15 Jun 2022 14:23:09 GMT (envelope-from git) Date: Wed, 15 Jun 2022 14:23:09 GMT Message-Id: <202206151423.25FEN9XJ090264@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Bernhard Froehlich Subject: git: ec62cd3082dc - main - net/wireguard-kmod: Update to 0.0.20220615 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: decke X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: ec62cd3082dc26ead484fbb49c8268ca5b584d77 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1655302990; 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=dkD1fcaL7TzZPxS1ZUsZxNM6oyL5UCsyLnTR+DWfg3I=; b=WNZ8OfgBYytke3pdRSS34oAydbetbHvVceV9I4WhmyJtpRZwu0cO4Z39nBapRwB26w1puf lXTrk/nT0PEDEtQz5aXVnPJn3nPsGRngN6ynDWCsDWa7PagvY5kltIEjkxroIzM2Qjxv53 MqGbAFAL2vXfa2lgtSu566xxDN/7xKOow7K0oIrk/Y/dfA1w0sxSywWz7ROdbE5Pc8uExy rAFcSZ6iENtZOnt5IGENeJuh+AfpiY5zKU/zqSl+vGWWpEumAhwAK1oPoX5Gb3XjT+F+XF dLhBhStgpwz9ixgiMUFiGOcHr89/lzBPaC1pplhL3eIHu+t7G3OKb6a+O7s0dQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1655302990; a=rsa-sha256; cv=none; b=Vp/xrkZQ24QGF0/wfPcZM0V58EBj60i7PvhuOGlBtKyMAuaev+RnXdxLYga2oUuaptEAYP X5BHotwX1TIo5EH/p1iIJXv5bD6k0+aieWPqMYw3OQsvcQNfg8fK+/YTP8iG7wljy0TG3e 8IYzZtRi9M8+3zLndvS3PDYlIJEiwqOc3V7Zqipcaj3b0zSVtU3r0C6fHwjjD1plfbMPSv BwCo6b4i8LxD6SiaaOyMC1htBK12zyWxr/BpQKU3vpx1yYPUbw0we0fbxR86j/roHxOsov tU0GklC5bYEsHNb7WWdizisSGunniLMj08aWxr/F5yInfj+fLGptHwLMAWPoXQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by decke: URL: https://cgit.FreeBSD.org/ports/commit/?id=ec62cd3082dc26ead484fbb49c8268ca5b584d77 commit ec62cd3082dc26ead484fbb49c8268ca5b584d77 Author: Bernhard Froehlich AuthorDate: 2022-06-15 14:18:39 +0000 Commit: Bernhard Froehlich CommitDate: 2022-06-15 14:18:39 +0000 net/wireguard-kmod: Update to 0.0.20220615 == Changes == * build: include compat.h for all files * compat: fix version stamp Two lingering compat issues. * if_wg: wg_peer_alloc and wg_aip_add: Use M_WAITOK with malloc A small cleanup to memory allocation and error path logic. * crypto: use OCF to encrypt/decrypt packets when supported * crypto: use when present * crypto: use curve25519 API from the kernel when available * crypto: harmonize with compat and clean up * ci: add FreeBSD 12.3 and 13.1 * compat: update version to handle sbcreatecontrol() changes More fixes to the compat layer. * wg_noise: import hmac from crypto * crypto: inline blake2s convenience function A few crypto cleanups. Crypto from OCF and FreeBSD's library code will now be used when available --- net/wireguard-kmod/Makefile | 3 +-- net/wireguard-kmod/distinfo | 6 +++--- net/wireguard-kmod/files/patch-Makefile | 23 ----------------------- net/wireguard-kmod/files/patch-compat.h | 14 -------------- 4 files changed, 4 insertions(+), 42 deletions(-) diff --git a/net/wireguard-kmod/Makefile b/net/wireguard-kmod/Makefile index 131a1e20a673..d524f8ecc890 100644 --- a/net/wireguard-kmod/Makefile +++ b/net/wireguard-kmod/Makefile @@ -1,6 +1,5 @@ PORTNAME= wireguard-kmod -PORTVERSION= 0.0.20220610 -PORTREVISION= 1 +PORTVERSION= 0.0.20220615 CATEGORIES= net net-vpn MASTER_SITES= https://git.zx2c4.com/wireguard-freebsd/snapshot/ DISTNAME= wireguard-freebsd-${PORTVERSION} diff --git a/net/wireguard-kmod/distinfo b/net/wireguard-kmod/distinfo index a1bbe2c7fe76..f45d8322d8f8 100644 --- a/net/wireguard-kmod/distinfo +++ b/net/wireguard-kmod/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1654889136 -SHA256 (wireguard-freebsd-0.0.20220610.tar.xz) = 518779c383e8087a60a7ec7b0969158a48b2f19a34a13b62683c982960295f17 -SIZE (wireguard-freebsd-0.0.20220610.tar.xz) = 46064 +TIMESTAMP = 1655302401 +SHA256 (wireguard-freebsd-0.0.20220615.tar.xz) = ad6c42d20a7c0ad2989e729dd41ea5a6a019426b762dfd0c6417e340935cca82 +SIZE (wireguard-freebsd-0.0.20220615.tar.xz) = 46744 diff --git a/net/wireguard-kmod/files/patch-Makefile b/net/wireguard-kmod/files/patch-Makefile deleted file mode 100644 index 7fcb0b959840..000000000000 --- a/net/wireguard-kmod/files/patch-Makefile +++ /dev/null @@ -1,23 +0,0 @@ -From ccf37db6e6b983bafcd7a6a7abd7e066026b388f Mon Sep 17 00:00:00 2001 -From: "Jason A. Donenfeld" -Date: Fri, 10 Jun 2022 22:28:48 +0200 -Subject: build: include compat.h for all files - -54b2075 ("build: only include compat.h for if_wg.c and fix build with an -obj directory") scoped compat.h to if_wg.c, which broke building on -12.3. - -Signed-off-by: Jason A. Donenfeld ---- - src/Makefile | 2 +- - ---- Makefile -+++ Makefile -@@ -6,6 +6,6 @@ SRCS= opt_inet.h opt_inet6.h device_if.h bus_if.h ifdi_if.h - - SRCS+= if_wg.c wg_noise.c wg_cookie.c crypto.c - --CFLAGS.if_wg.c+= -include ${.CURDIR}/compat.h -+CFLAGS+= -include ${.CURDIR}/compat.h - - .include diff --git a/net/wireguard-kmod/files/patch-compat.h b/net/wireguard-kmod/files/patch-compat.h deleted file mode 100644 index 568f5c28ad0a..000000000000 --- a/net/wireguard-kmod/files/patch-compat.h +++ /dev/null @@ -1,14 +0,0 @@ -Fix typing mistake in FreeBSD version - -Submitted by: Michael Butler ---- compat.h.orig 2022-06-10 17:21:17 UTC -+++ compat.h -@@ -8,7 +8,7 @@ - - #include - --#if __FreeBSD_version < 1400517 -+#if __FreeBSD_version < 1400057 - #include - #define sbcreatecontrol(a, b, c, d, e) sbcreatecontrol(a, b, c, d) - #endif