From nobody Sun Sep 08 02:51:43 2024 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4X1ZHM22WZz5VYPZ; Sun, 08 Sep 2024 02:51:43 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4X1ZHM1LMVz4mwJ; Sun, 8 Sep 2024 02:51:43 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1725763903; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=jNj4UX/swHn3U7/fRXQqCgUxECKHw4Y0En33maH8Ils=; b=JVvYPXM8np6pwyEo0WivYr/1Qz5INxdZQmRWHji07NnNheFCVKmYyGLT9s2cC5G2TtL9k9 oQID8PsMc4vwDbLtYISyHYlqt6QkOjjbHqwEB54XwiE7jOB4LgYFV7bcllBLYY1wo9GHeF PLkfgdkb15okbkrGrfVgETUhx/de4NZ3n6wAPEXXZTvm2gqfYqViv9dlwBrl3TT01/yuEK P+5eF4Dz4Q14UJK2wgq9FREvKtRRTMOVzIqQpeQ/o5DqjhAZ/tdVXPbeEXBlM3vlqTD6go tHLQOD8KZb+PHRF0MC3ruNTOBaA+qZuz+HPL/TyG0sLvkvl1uxKNxLKC1ep+hQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1725763903; a=rsa-sha256; cv=none; b=yzC7V3HAulHtMq+tqigcJ/jQaFg4K9UDt6GnfAb+U2thmQ8faESiQ63lDZX6CdEYBL3tmm aePWPZAR6B+THiQKPPaEd5TlrbGcPHVjca7sEXU757VZZdxQ37a15vNPnRc8bCRmCsE3sW RgHhak4nwR3JK5eHjPd0hOMI5Mu9t4JBtiyahdqDv5jvj7DUso/ZJM2a1U/8xMOXxnh8nT duRIgh6ab/eR0Ov2TPok2UJ+m97LtsxlzJUXxsT0IOE6e0WJ1kq1biUA4me15PfPKEMyDO KonjDHibS/sp/d1rCjYmsNOFSCFxUHluNd2+0hkXkCaGJCCoBDD4JRsMULigyQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1725763903; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=jNj4UX/swHn3U7/fRXQqCgUxECKHw4Y0En33maH8Ils=; b=S+QJwfSfk16cvcXtvRIAZIN6KNyJKPXVJSy2HJY29B8s+KkujtAYC2CNJ2JhANCf6P1f7Y B0CyXKrx4drxMUAHnQe6jClvsFvCPFrIyD6tnvYmo6xM1x4rcsteUNasoaqJm5JLdZUYhQ ltFupalNLoxuE4ZMvhmaw0T3eLc/oRq9tCAM2Eoiz09fGo3jv42XIsJINklUVGYqchpP6U FghazX0JotkK2QpKV1axnewt4g/DVNpLCB/miWl9Qzu6TneHlcJCemGsU//ZxZBzT1kR3z umzLizVmXj1OMqDWfEYZdbiZ/ZeMzrkbXE+SoiVlYm52hsc0vCE2n1Q2tUMgTg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4X1ZHM0xvPz11jx; Sun, 8 Sep 2024 02:51:43 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4882ph29011368; Sun, 8 Sep 2024 02:51:43 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4882phT4011365; Sun, 8 Sep 2024 02:51:43 GMT (envelope-from git) Date: Sun, 8 Sep 2024 02:51:43 GMT Message-Id: <202409080251.4882phT4011365@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Jose Alonso Cardenas Marquez Subject: git: e8dfd717d86d - main - sysutils/bhyvemgr: New port: Bhyve management GUI written in Freepascal/Lazarus List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: acm X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e8dfd717d86de3fb97978631073621bcb0da5663 Auto-Submitted: auto-generated The branch main has been updated by acm: URL: https://cgit.FreeBSD.org/ports/commit/?id=e8dfd717d86de3fb97978631073621bcb0da5663 commit e8dfd717d86de3fb97978631073621bcb0da5663 Author: Jose Alonso Cardenas Marquez AuthorDate: 2024-09-08 02:50:17 +0000 Commit: Jose Alonso Cardenas Marquez CommitDate: 2024-09-08 02:50:17 +0000 sysutils/bhyvemgr: New port: Bhyve management GUI written in Freepascal/Lazarus Bhyvemgr is a bhyve management GUI written in Freepascal/Lazarus ofor 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. --- sysutils/Makefile | 1 + sysutils/bhyvemgr/Makefile | 48 ++++++++++++++++++++++++++++++++++++++++++ sysutils/bhyvemgr/distinfo | 3 +++ sysutils/bhyvemgr/pkg-descr | 5 +++++ sysutils/bhyvemgr/pkg-plist | 51 +++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 108 insertions(+) diff --git a/sysutils/Makefile b/sysutils/Makefile index d19bcb5bc674..a845cb8200b5 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -135,6 +135,7 @@ SUBDIR += bhyve+ SUBDIR += bhyve-firmware SUBDIR += bhyve-rc + SUBDIR += bhyvemgr SUBDIR += biosfont SUBDIR += bkpupsd SUBDIR += bksh diff --git a/sysutils/bhyvemgr/Makefile b/sysutils/bhyvemgr/Makefile new file mode 100644 index 000000000000..07506c81d967 --- /dev/null +++ b/sysutils/bhyvemgr/Makefile @@ -0,0 +1,48 @@ +PORTNAME= bhyvemgr +DISTVERSIONPREFIX= v +PORTVERSION= 1.0.0 +CATEGORIES= editors +PKGNAMESUFFIX= ${LAZARUS_PKGNAMESUFFIX} + +MAINTAINER= acm@FreeBSD.org +COMMENT= bhyve manager GUI written in Lazarus/Freepascal +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 \ + sudo>0:security/sudo + +ONLY_FOR_ARCHS= amd64 + +USES= desktop-file-utils fpc lazarus:flavors xorg +USE_XORG= x11 +USE_GITHUB= yes +GH_ACCOUNT= alonsobsd + +LAZARUS_PROJECT_FILES= bhyvemgr.lpi + +LAZBUILD_ARGS= -d + +gtk2_CONFLICTS_INSTALL= ${PORTNAME}-qt5 ${PORTNAME}-qt6 +qt5_CONFLICTS_INSTALL= ${PORTNAME}-gtk2 ${PORTNAME}-qt6 +qt6_CONFLICTS_INSTALL= ${PORTNAME}-gtk2 ${PORTNAME}-qt5 + +USE_FPC_gtk2= cairo +USE_GNOME_gtk2= cairo +USE_FPC+= ${USE_FPC_${FLAVOR}} +USE_GNOME+= ${USE_GNOME_${FLAVOR}} + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} + ${INSTALL_DATA} ${WRKSRC}/setup/${PORTNAME}.desktop ${STAGEDIR}${PREFIX}/share/applications/${PORTNAME}.desktop + @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/512x512/apps + ${INSTALL_DATA} ${WRKSRC}/setup/${PORTNAME}.png ${STAGEDIR}${PREFIX}/share/icons/hicolor/512x512/apps/${PORTNAME}.png + @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps + ${INSTALL_DATA} ${WRKSRC}/setup/${PORTNAME}.svg ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps/${PORTNAME}.svg + @${MKDIR} ${STAGEDIR}${DATADIR} + cd ${WRKSRC} && ${COPYTREE_SHARE} "images" ${STAGEDIR}${DATADIR} + +.include diff --git a/sysutils/bhyvemgr/distinfo b/sysutils/bhyvemgr/distinfo new file mode 100644 index 000000000000..a426552958de --- /dev/null +++ b/sysutils/bhyvemgr/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1725763145 +SHA256 (alonsobsd-bhyvemgr-v1.0.0_GH0.tar.gz) = 27246df9506d58b172cd6f2d3e2bd4ee719f4998734c0493e6605099da43d859 +SIZE (alonsobsd-bhyvemgr-v1.0.0_GH0.tar.gz) = 239802 diff --git a/sysutils/bhyvemgr/pkg-descr b/sysutils/bhyvemgr/pkg-descr new file mode 100644 index 000000000000..bd97a011fe3b --- /dev/null +++ b/sysutils/bhyvemgr/pkg-descr @@ -0,0 +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. diff --git a/sysutils/bhyvemgr/pkg-plist b/sysutils/bhyvemgr/pkg-plist new file mode 100644 index 000000000000..6ad70a52df3a --- /dev/null +++ b/sysutils/bhyvemgr/pkg-plist @@ -0,0 +1,51 @@ +bin/bhyvemgr +share/applications/bhyvemgr.desktop +%%DATADIR%%/images/additional/reload.ico +%%DATADIR%%/images/additional/save.ico +%%DATADIR%%/images/additional/search.ico +%%DATADIR%%/images/additional/start.ico +%%DATADIR%%/images/additional/stop.ico +%%DATADIR%%/images/additional/vnc.ico +%%DATADIR%%/images/devices/audio.png +%%DATADIR%%/images/devices/category.png +%%DATADIR%%/images/devices/cd.png +%%DATADIR%%/images/devices/console.png +%%DATADIR%%/images/devices/display.png +%%DATADIR%%/images/devices/hd.png +%%DATADIR%%/images/devices/hostbridge.png +%%DATADIR%%/images/devices/input.png +%%DATADIR%%/images/devices/lpc.png +%%DATADIR%%/images/devices/network.png +%%DATADIR%%/images/devices/nvme.png +%%DATADIR%%/images/devices/passthru.png +%%DATADIR%%/images/devices/rnd.png +%%DATADIR%%/images/devices/sharefolder.png +%%DATADIR%%/images/devices/usb.png +%%DATADIR%%/images/menu/add.png +%%DATADIR%%/images/menu/edit.png +%%DATADIR%%/images/menu/rdp.png +%%DATADIR%%/images/menu/remove.png +%%DATADIR%%/images/systems/almalinux.png +%%DATADIR%%/images/systems/alpinelinux.png +%%DATADIR%%/images/systems/archlinux.png +%%DATADIR%%/images/systems/category.png +%%DATADIR%%/images/systems/debian.png +%%DATADIR%%/images/systems/dragonflybsd.png +%%DATADIR%%/images/systems/endeavouros.png +%%DATADIR%%/images/systems/fedora.png +%%DATADIR%%/images/systems/freebsd.png +%%DATADIR%%/images/systems/ghostbsd.png +%%DATADIR%%/images/systems/kalilinux.png +%%DATADIR%%/images/systems/linux.png +%%DATADIR%%/images/systems/manjaro.png +%%DATADIR%%/images/systems/netbsd.png +%%DATADIR%%/images/systems/nomadbsd.png +%%DATADIR%%/images/systems/openbsd.png +%%DATADIR%%/images/systems/other.png +%%DATADIR%%/images/systems/parrot.png +%%DATADIR%%/images/systems/popos.png +%%DATADIR%%/images/systems/rockylinux.png +%%DATADIR%%/images/systems/ubuntu.png +%%DATADIR%%/images/systems/windows.png +share/icons/hicolor/512x512/apps/bhyvemgr.png +share/icons/hicolor/scalable/apps/bhyvemgr.svg