git: 5b33a1f71929 - main - security/dropbear: update to 2024.86

From: Piotr Kubaj <pkubaj_at_FreeBSD.org>
Date: Tue, 19 Nov 2024 00:12:31 UTC
The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5b33a1f719290cd4c63073a79eb3795fb7ddf378

commit 5b33a1f719290cd4c63073a79eb3795fb7ddf378
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2024-11-18 11:05:36 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2024-11-19 00:10:15 +0000

    security/dropbear: update to 2024.86
    
    Also strip binaries.
---
 security/dropbear/Makefile | 19 +++++++------------
 security/dropbear/distinfo |  6 +++---
 2 files changed, 10 insertions(+), 15 deletions(-)

diff --git a/security/dropbear/Makefile b/security/dropbear/Makefile
index fb905212d99a..877201e4f902 100644
--- a/security/dropbear/Makefile
+++ b/security/dropbear/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	dropbear
-PORTVERSION=	2022.83
-PORTREVISION=	2
+PORTVERSION=	2024.86
 CATEGORIES=	security
 MASTER_SITES=	https://matt.ucc.asn.au/dropbear/releases/
 
@@ -80,7 +79,7 @@ LIB_DEPENDS=	libtomcrypt.so:security/libtomcrypt \
 
 post-patch:
 	@${REINPLACE_CMD} -e "s,_PRIV_FILENAME \"/etc/,_PRIV_FILENAME \"${PREFIX}/etc/,g; \
-		s,/usr/bin/X11/,${LOCALBASE}/,g" ${WRKSRC}/default_options.h
+		s,/usr/bin/X11/,${LOCALBASE}/,g" ${WRKSRC}/src/default_options.h
 
 post-patch-SMALL_CODE-off:
 	@${ECHO} "#define DROPBEAR_SMALL_CODE 0" >> ${WRKSRC}/localoptions.h
@@ -157,16 +156,12 @@ post-patch-SHA2_512-on:
 post-patch-X11FWD-on:
 	@${ECHO} "#define DROPBEAR_X11FWD 1" >> ${WRKSRC}/localoptions.h
 
-do-install:
+post-install:
 	@${MKDIR} ${STAGEDIR}${PREFIX}/etc/dropbear
-	${INSTALL_PROGRAM} ${WRKSRC}/dbclient ${STAGEDIR}${PREFIX}/bin
-	${INSTALL_PROGRAM} ${WRKSRC}/dropbearconvert ${STAGEDIR}${PREFIX}/bin
-	${INSTALL_PROGRAM} ${WRKSRC}/dropbearkey ${STAGEDIR}${PREFIX}/bin
-	${INSTALL_PROGRAM} ${WRKSRC}/dropbear ${STAGEDIR}${PREFIX}/sbin
 	${INSTALL_PROGRAM} ${WRKSRC}/scp ${STAGEDIR}${PREFIX}/bin/dbscp
-	${INSTALL_MAN} ${WRKSRC}/dropbearconvert.1 ${STAGEDIR}${PREFIX}/share/man/man1
-	${INSTALL_MAN} ${WRKSRC}/dropbearkey.1 ${STAGEDIR}${PREFIX}/share/man/man1
-	${INSTALL_MAN} ${WRKSRC}/dbclient.1 ${STAGEDIR}${PREFIX}/share/man/man1
-	${INSTALL_MAN} ${WRKSRC}/dropbear.8 ${STAGEDIR}${PREFIX}/share/man/man8
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/dropbearconvert
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/dropbearkey
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/dbclient
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/dropbear
 
 .include <bsd.port.mk>
diff --git a/security/dropbear/distinfo b/security/dropbear/distinfo
index 74bcc7f48d49..1dd96c0323f1 100644
--- a/security/dropbear/distinfo
+++ b/security/dropbear/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1668547002
-SHA256 (dropbear-2022.83.tar.bz2) = bc5a121ffbc94b5171ad5ebe01be42746d50aa797c9549a4639894a16749443b
-SIZE (dropbear-2022.83.tar.bz2) = 2322904
+TIMESTAMP = 1731061169
+SHA256 (dropbear-2024.86.tar.bz2) = e78936dffc395f2e0db099321d6be659190966b99712b55c530dd0a1822e0a5e
+SIZE (dropbear-2024.86.tar.bz2) = 2306244