git: 9efc32c5ad54 - main - sysutils/bhyvemgr: Update to 1.1.0

From: Jose Alonso Cardenas Marquez <acm_at_FreeBSD.org>
Date: Tue, 17 Sep 2024 08:45:47 UTC
The branch main has been updated by acm:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9efc32c5ad546e4587580b7eeaa3c3481a054767

commit 9efc32c5ad546e4587580b7eeaa3c3481a054767
Author:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
AuthorDate: 2024-09-17 08:38:05 +0000
Commit:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
CommitDate: 2024-09-17 08:38:05 +0000

    sysutils/bhyvemgr: Update to 1.1.0
    
    - Add aarch64 support on 15-CURRENT (OSVERSION >= 1500000)
    - Add FREERDP3 OPTION. net/freerdp3 is not a mandatory dependency
    - Few other modifications
    
    ChangeLog at:   https://github.com/alonsobsd/bhyvemgr/compare/v1.0.1...v1.1.0
---
 sysutils/bhyvemgr/Makefile  | 26 ++++++++++++++++++++------
 sysutils/bhyvemgr/distinfo  |  6 +++---
 sysutils/bhyvemgr/pkg-descr |  6 +++---
 3 files changed, 26 insertions(+), 12 deletions(-)

diff --git a/sysutils/bhyvemgr/Makefile b/sysutils/bhyvemgr/Makefile
index cba7ea5aa80b..a5c676f0a1ed 100644
--- a/sysutils/bhyvemgr/Makefile
+++ b/sysutils/bhyvemgr/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	bhyvemgr
 DISTVERSIONPREFIX=	v
-PORTVERSION=	1.0.1
-PORTREVISION=	1
+PORTVERSION=	1.1.0
 CATEGORIES=	sysutils
 PKGNAMESUFFIX=	${LAZARUS_PKGNAMESUFFIX}
 
@@ -11,9 +10,7 @@ WWW=		https://github.com/alonsobsd/bhyvemgr
 
 LICENSE=	BSD3CLAUSE
 
-RUN_DEPENDS=	bhyve-firmware>0:sysutils/bhyve-firmware \
-		virt-viewer>0:net-mgmt/virt-viewer \
-		freerdp3>0:net/freerdp3 \
+RUN_DEPENDS=	virt-viewer>0:net-mgmt/virt-viewer \
 		sudo>0:security/sudo
 
 ONLY_FOR_ARCHS=	amd64
@@ -23,6 +20,23 @@ USE_XORG=	x11
 USE_GITHUB=	yes
 GH_ACCOUNT=	alonsobsd
 
+OPTIONS_DEFINE=		FREERDP3
+
+FREERDP3_DESC=		Install freerdp3 to enable rdp connection option
+FREERDP3_RUN_DEPENDS=	freerdp3>0:net/freerdp3
+
+.include <bsd.port.pre.mk>
+
+.if ${OPSYS} == FreeBSD && (${OSVERSION} >= 1500000)
+ONLY_FOR_ARCHS+=	aarch64
+.endif
+
+.if ${ARCH} == "aarch64"
+RUN_DEPENDS+=	u-boot-bhyve-arm64>0:sysutils/u-boot-bhyve-arm64
+.elif ${ARCH} == "amd64"
+RUN_DEPENDS+=	bhyve-firmware>0:sysutils/bhyve-firmware
+.endif
+
 LAZARUS_PROJECT_FILES=	bhyvemgr.lpi
 
 LAZBUILD_ARGS=		--bm=Release -d
@@ -48,4 +62,4 @@ do-install:
 	@${MKDIR} ${STAGEDIR}${DATADIR}
 	cd ${WRKSRC} && ${COPYTREE_SHARE} "images" ${STAGEDIR}${DATADIR}
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/sysutils/bhyvemgr/distinfo b/sysutils/bhyvemgr/distinfo
index 04a610490ccb..96b24016a635 100644
--- a/sysutils/bhyvemgr/distinfo
+++ b/sysutils/bhyvemgr/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1725841232
-SHA256 (alonsobsd-bhyvemgr-v1.0.1_GH0.tar.gz) = 7b61ceb11febd24ed3777412ec2a4e2aed66b89ad24ef002cebf606371637ee1
-SIZE (alonsobsd-bhyvemgr-v1.0.1_GH0.tar.gz) = 238481
+TIMESTAMP = 1726562150
+SHA256 (alonsobsd-bhyvemgr-v1.1.0_GH0.tar.gz) = 241ea7f6ee4c049dfee67f1e16ef602228755c5e8448c1141e7da6837bb2615f
+SIZE (alonsobsd-bhyvemgr-v1.1.0_GH0.tar.gz) = 239999
diff --git a/sysutils/bhyvemgr/pkg-descr b/sysutils/bhyvemgr/pkg-descr
index bd97a011fe3b..c3fd4e657103 100644
--- a/sysutils/bhyvemgr/pkg-descr
+++ b/sysutils/bhyvemgr/pkg-descr
@@ -1,5 +1,5 @@
 Bhyvemgr is a bhyve management GUI written in Freepascal/Lazarus for FreeBSD.
 It needs a bunch of tools mostly installed on base system and some installed
-from ports/packages. Currently it supports only amd64. The main goal is to be a
-desktop user application to easily and quickly setup and run virtual machines
-on the FreeBSD host.
+from ports/packages. Currently it supports amd64 and aarch64. The main goal is
+to be a desktop user application to easily and quickly setup and run virtual
+machines on the FreeBSD host.