git: 01fecbcf810d - main - security/dropbear: update to 2022.82

From: Piotr Kubaj <pkubaj_at_FreeBSD.org>
Date: Wed, 06 Apr 2022 21:25:52 UTC
The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=01fecbcf810d82cc82064bf5440238a4b621f2df

commit 01fecbcf810d82cc82064bf5440238a4b621f2df
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2022-04-06 21:22:23 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2022-04-06 21:22:23 +0000

    security/dropbear: update to 2022.82
    
    Remove the not supported TWOFISH options.
    
    Changelog:      https://matt.ucc.asn.au/dropbear/CHANGES
---
 security/dropbear/Makefile | 17 ++++-------------
 security/dropbear/distinfo |  6 +++---
 2 files changed, 7 insertions(+), 16 deletions(-)

diff --git a/security/dropbear/Makefile b/security/dropbear/Makefile
index bb39513f8841..b3a5b8aa84ee 100644
--- a/security/dropbear/Makefile
+++ b/security/dropbear/Makefile
@@ -1,7 +1,7 @@
 # Created by: Clement Laforet <sheepkiller@cultdeadsheep.org>
 
 PORTNAME=	dropbear
-PORTVERSION=	2020.81
+PORTVERSION=	2022.82
 CATEGORIES=	security
 MASTER_SITES=	https://matt.ucc.asn.au/dropbear/releases/
 
@@ -20,11 +20,10 @@ USE_RC_SUBR=	${PORTNAME}
 ALL_TARGET=	all scp
 
 OPTIONS_DEFINE=		SMALL_CODE STATIC X11FWD
-OPTIONS_DEFAULT=	AES128 AES256 CURVE25519 ED25519 GCM GROUP14_SHA256 \
-			GROUP16 RSA SHA2_256
+OPTIONS_DEFAULT=	AES128 AES256 CURVE25519 ECDSA ED25519 GCM \
+			GROUP14_SHA256 GROUP16 RSA SHA2_256
 OPTIONS_MULTI=		ENC KEY KEX MAC MODE
-OPTIONS_MULTI_ENC=	3DES AES128 AES256 CHACHA20POLY1305 TWOFISH128 \
-			TWOFISH256
+OPTIONS_MULTI_ENC=	3DES AES128 AES256 CHACHA20POLY1305
 OPTIONS_MULTI_KEY=	ECDSA ED25519 RSA
 OPTIONS_MULTI_KEX=	CURVE25519 ECDH GROUP1 GROUP14_SHA1 GROUP14_SHA256 \
 			GROUP16
@@ -53,8 +52,6 @@ SHA1_DESC=		Enable SHA1 MAC (less secure)
 SHA2_256_DESC=		Enable SHA2_256 MAC
 SHA2_512_DESC=		Enable SHA2_512 MAC
 SMALL_CODE_DESC=	Make binary smaller in exchange for 50% performance hit
-TWOFISH128_DESC=	Enable Twofish128-based encryption
-TWOFISH256_DESC=	Enable Twofish256-based encryption
 X11FWD_DESC=		Enable X11 forwarding
 
 3DES_IMPLIES=	CTR
@@ -81,12 +78,6 @@ post-patch-AES256-off:
 post-patch-CHACHA20POLY1305-off:
 	@${ECHO} "#define DROPBEAR_CHACHA20POLY1305 0" >> ${WRKSRC}/localoptions.h
 
-post-patch-TWOFISH256-on:
-	@${ECHO} "#define DROPBEAR_TWOFISH256 1" >> ${WRKSRC}/localoptions.h
-
-post-patch-TWOFISH128-on:
-	@${ECHO} "#define DROPBEAR_TWOFISH128 1" >> ${WRKSRC}/localoptions.h
-
 post-patch-CBC-on:
 	@${ECHO} "#define DROPBEAR_ENABLE_CBC_MODE 1" >> ${WRKSRC}/localoptions.h
 
diff --git a/security/dropbear/distinfo b/security/dropbear/distinfo
index e161a55bb7ee..2eb40d600511 100644
--- a/security/dropbear/distinfo
+++ b/security/dropbear/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1604058247
-SHA256 (dropbear-2020.81.tar.bz2) = 48235d10b37775dbda59341ac0c4b239b82ad6318c31568b985730c788aac53b
-SIZE (dropbear-2020.81.tar.bz2) = 2289644
+TIMESTAMP = 1649278626
+SHA256 (dropbear-2022.82.tar.bz2) = 3a038d2bbc02bf28bbdd20c012091f741a3ec5cbe460691811d714876aad75d1
+SIZE (dropbear-2022.82.tar.bz2) = 2309514