git: 57fa18d75b2f - main - sysutils/cbsd: Fix cbsd_md5: not found

From: Loïc Bartoletti <lbartoletti_at_FreeBSD.org>
Date: Mon, 18 Mar 2024 19:18:13 UTC
The branch main has been updated by lbartoletti:

URL: https://cgit.FreeBSD.org/ports/commit/?id=57fa18d75b2f92ded0600e03ae5b2476f02fb432

commit 57fa18d75b2f92ded0600e03ae5b2476f02fb432
Author:     Loïc Bartoletti <lbartoletti@FreeBSD.org>
AuthorDate: 2024-03-18 19:16:58 +0000
Commit:     Loïc Bartoletti <lbartoletti@FreeBSD.org>
CommitDate: 2024-03-18 19:18:08 +0000

    sysutils/cbsd: Fix cbsd_md5: not found
    
    running cbsd bconstruct-tui raises an error:
    
    /usr/local/cbsd/tools/get-profiles: /usr/local/cbsd/misc/cbsd_md5: not found
    
    Github issue: https://github.com/cbsd/cbsd/issues/759
---
 sysutils/cbsd/Makefile  | 3 +++
 sysutils/cbsd/pkg-plist | 1 +
 2 files changed, 4 insertions(+)

diff --git a/sysutils/cbsd/Makefile b/sysutils/cbsd/Makefile
index cdbc059ed354..f9b540528373 100644
--- a/sysutils/cbsd/Makefile
+++ b/sysutils/cbsd/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	cbsd
 DISTVERSION=	14.0.6
+PORTREVISION=	1
 CATEGORIES=	sysutils
 
 MAINTAINER=	olevole@olevole.ru
@@ -58,6 +59,8 @@ do-install:
 		${STAGEDIR}${PREFIX}/bin
 	${INSTALL_PROGRAM} ${WRKSRC}/misc/src/sipcalc/sipcalc \
 		${STAGEDIR}${PREFIX}/cbsd/misc
+	${INSTALL_PROGRAM} ${WRKSRC}/misc/src/cbsd_md5/cbsd_md5 \
+		${STAGEDIR}${PREFIX}/cbsd/misc
 	${RM} -r ${STAGEDIR}${PREFIX}/cbsd/bin/cbsdsh \
 		${STAGEDIR}${PREFIX}/cbsd/bin/src \
 		${STAGEDIR}${PREFIX}/cbsd/lib \
diff --git a/sysutils/cbsd/pkg-plist b/sysutils/cbsd/pkg-plist
index 7fb6b8076a86..f50666b714fd 100644
--- a/sysutils/cbsd/pkg-plist
+++ b/sysutils/cbsd/pkg-plist
@@ -392,6 +392,7 @@ cbsd/man/cbsd-jls.8
 cbsd/man/cbsd.8
 cbsd/misc/cbsd_dot
 cbsd/misc/cbsd_fwatch
+cbsd/misc/cbsd_md5
 cbsd/misc/cbsdlogtail
 cbsd/misc/cbsdtee
 cbsd/misc/chk_arp_byip