git: 64db1ca142ba - main - net/wireguard: Mark DEPRECATED

From: Bernhard Froehlich <decke_at_FreeBSD.org>
Date: Sun, 01 Oct 2023 12:20:31 UTC
The branch main has been updated by decke:

URL: https://cgit.FreeBSD.org/ports/commit/?id=64db1ca142ba0e7d11ba3383c7437af28d020463

commit 64db1ca142ba0e7d11ba3383c7437af28d020463
Author:     Bernhard Froehlich <decke@FreeBSD.org>
AuthorDate: 2023-10-01 12:16:07 +0000
Commit:     Bernhard Froehlich <decke@FreeBSD.org>
CommitDate: 2023-10-01 12:18:48 +0000

    net/wireguard: Mark DEPRECATED
    
    This metaport was only useful when we had multiple wireguard ports in
    the portstree. With the deprecation of net/wireguard-kmod this metaport
    is also not needed anymore.
---
 net/wireguard/Makefile | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/net/wireguard/Makefile b/net/wireguard/Makefile
index 0bbfde1a7435..53990d42c837 100644
--- a/net/wireguard/Makefile
+++ b/net/wireguard/Makefile
@@ -7,10 +7,12 @@ MAINTAINER=	decke@FreeBSD.org
 COMMENT=	Meta-port for Wireguard
 WWW=		https://www.wireguard.com
 
-RUN_DEPENDS=	wg-quick:net/wireguard-tools
+RUN_DEPENDS=	wg-quick:net/wireguard-tools \
+		${KMODDIR}/if_wg.ko:net/wireguard-kmod
 
-USES=	metaport
+DEPRECATED=	Only useful for FreeBSD 12 which is EoL soon
+EXPIRATION_DATE=	2023-12-31
 
-RUN_DEPENDS+=	${KMODDIR}/if_wg.ko:net/wireguard-kmod
+USES=	metaport
 
 .include <bsd.port.mk>