From nobody Fri Sep 01 02:54:23 2023 X-Original-To: dev-commits-ports-main@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 4RcN0c05Jxz4rwpV; Fri, 1 Sep 2023 02:54:24 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RcN0b6LDXz4MKv; Fri, 1 Sep 2023 02:54:23 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1693536863; 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=a3IqW9QIc+OHzm4FdkCinEKx53Br2CrvC3oInClEqaY=; b=J3TuZPDQEaSk7uHxpYD7BwEu4dUpOIT0sq5vHXLj9p3q6WvtUwufUXwbRZnDnS/zxmHZOe H0tmq0J/f7Mh1dof0OcAppE246BeAU2TeYTqRF8H4pl1Rr/1G1vx6lrhTXu6P3ZL8MLWFK fgyKfCQZVCFzdUgzqxqyuDDRbZ+fE0oBw9kKQ6iCsVmpjxBPVDCAM81RDIHk4YC/FzSfya xfbuSUzL0QY1OfLIEZgedl3lxbpu1s32vMI8JuUmG41P+bYDMRwdyIvy+2m+ewyzCa9XpS NBhs76FFIqOjheGLLUvvDlJxIZMSiKKMM+L2UEcpcPKWQpJS6hNdsz5pHDc4og== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1693536863; a=rsa-sha256; cv=none; b=vBVKFxGK8smBKI1UzP5AEDz0rprHaHuExcXXGyjiI1dM2SD6uTiBqYo5mGrc7czI9RJyKN YTOix2kMYH9F8tEREwP16rGK4WWZGzNRAfBRXNw6XEZYAKDDdIXuABjKXVNNTWEQRXOaOT M3/KOIJDEHJPAx9vZ7oPNRdxddvXLZg7OuAzKQYn54LBlF9z6FFh/Qent8o8wtqrecLfUm iaXSyoAuuXmCoGNbrCFWIfiG3QRiZAZ+q+Yu51GTUiAr8R/Q4XlikPPMPRp0IRPpQo1Yvt EDjCC1qxix6R+IPz9V4E+GnZf+2ud+m0GdzxYsekrBMJg6/QCQhh8nGZlEcbWg== 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=1693536863; 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=a3IqW9QIc+OHzm4FdkCinEKx53Br2CrvC3oInClEqaY=; b=rGh93XBEZxcAuM0r7UGSbowW5ZTSa12TaQkHH+u3tI0neOrjLxSk7kNEVvgLXSnfjedkLt Totf5wR5dlyCyt0MkGMUvv6AonZjE4CAeJemAyr7Hf580MAOjuz+Z7pCQ/fBfr42HU4oc2 Yma0MpEzdM3nQIK5OfZ1d5r2bybJugFtsX+/ckBb7Vypc4YZFmlcwgacjf6yh7Tljtq/AE t0lKwfji8G1oMYcdpumOzFOc2GBl0gcTRE3yb7CiEuuD0akQl4/2keSZiK7ilcNoZwD2Gc h0jOYIrTbsvGIdRszyEHCUwGIot0ZXdYDJB5QdlN9VZtnXs1gsEtk3NLFtNz+w== 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 4RcN0b5R8VzkZW; Fri, 1 Sep 2023 02:54:23 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3812sNgB074372; Fri, 1 Sep 2023 02:54:23 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3812sNh5074369; Fri, 1 Sep 2023 02:54:23 GMT (envelope-from git) Date: Fri, 1 Sep 2023 02:54:23 GMT Message-Id: <202309010254.3812sNh5074369@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: "Vanilla I. Shu" Subject: git: 2153f48f70e0 - main - sysutils/bmd-plugin-avahi: add new ports. List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: vanilla X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 2153f48f70e02118c3fc7b7f0ab4f5468869e6df Auto-Submitted: auto-generated The branch main has been updated by vanilla: URL: https://cgit.FreeBSD.org/ports/commit/?id=2153f48f70e02118c3fc7b7f0ab4f5468869e6df commit 2153f48f70e02118c3fc7b7f0ab4f5468869e6df Author: Vanilla I. Shu AuthorDate: 2023-09-01 02:51:18 +0000 Commit: Vanilla I. Shu CommitDate: 2023-09-01 02:54:14 +0000 sysutils/bmd-plugin-avahi: add new ports. PR: 273436 Reported by: Yuichiro NAITO --- sysutils/Makefile | 1 + sysutils/bmd-plugin-avahi/Makefile | 25 +++++++++++++++++++++++++ sysutils/bmd-plugin-avahi/distinfo | 3 +++ sysutils/bmd-plugin-avahi/files/patch-Makefile | 12 ++++++++++++ sysutils/bmd-plugin-avahi/pkg-descr | 5 +++++ sysutils/bmd-plugin-avahi/pkg-plist | 3 +++ 6 files changed, 49 insertions(+) diff --git a/sysutils/Makefile b/sysutils/Makefile index 6444f5258e49..e1e7eeccc70e 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -137,6 +137,7 @@ SUBDIR += bkt SUBDIR += blisp SUBDIR += bmd + SUBDIR += bmd-plugin-avahi SUBDIR += boot-extract SUBDIR += bottom SUBDIR += bpytop diff --git a/sysutils/bmd-plugin-avahi/Makefile b/sysutils/bmd-plugin-avahi/Makefile new file mode 100644 index 000000000000..284d98ccb6fb --- /dev/null +++ b/sysutils/bmd-plugin-avahi/Makefile @@ -0,0 +1,25 @@ +PORTNAME= bmd-plugin-avahi +DISTVERSION= 1.0 +CATEGORIES= sysutils + +MAINTAINER= naito.yuichiro@gmail.com +COMMENT= BMD plugin avahi +WWW= https://github.com/yuichiro-naito/bmd-plugin-avahi + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +# Because bhyve runs on amd64 only. +ONLY_FOR_ARCHS= amd64 + +BUILD_DEPENDS= bmd>0:sysutils/bmd +RUN_DEPENDS= bmd>0:sysutils/bmd \ + avahi-app>0:net/avahi-app + +USE_GITHUB= yes +GH_ACCOUNT= yuichiro-naito + +pre-install: + ${MKDIR} ${STAGEDIR}/${LOCALBASE}/libexec/bmd + +.include diff --git a/sysutils/bmd-plugin-avahi/distinfo b/sysutils/bmd-plugin-avahi/distinfo new file mode 100644 index 000000000000..e803cdf0383b --- /dev/null +++ b/sysutils/bmd-plugin-avahi/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1692698325 +SHA256 (yuichiro-naito-bmd-plugin-avahi-1.0_GH0.tar.gz) = 88b0e2c3dcd1d11f6a8e16ce609e8fc2c2d0d18fb2bc2c9aa5c4be194e35f0f2 +SIZE (yuichiro-naito-bmd-plugin-avahi-1.0_GH0.tar.gz) = 2818 diff --git a/sysutils/bmd-plugin-avahi/files/patch-Makefile b/sysutils/bmd-plugin-avahi/files/patch-Makefile new file mode 100644 index 000000000000..eae16e94d2e3 --- /dev/null +++ b/sysutils/bmd-plugin-avahi/files/patch-Makefile @@ -0,0 +1,12 @@ +--- Makefile.orig 2023-08-15 08:44:56 UTC ++++ Makefile +@@ -1,5 +1,9 @@ MK_DEBUG_FILES= no + LOCALBASE?= /usr/local + MK_DEBUG_FILES= no ++BINOWN!= id -u ++BINGRP!= id -g ++SHAREOWN= ${BINOWN} ++SHAREGRP= ${BINGRP} + SHLIB= bmdplugin_avahi + SHLIB_MAJOR= 1 + CFLAGS+= -I${LOCALBASE}/include -DLOCALBASE=\"${LOCALBASE}\" diff --git a/sysutils/bmd-plugin-avahi/pkg-descr b/sysutils/bmd-plugin-avahi/pkg-descr new file mode 100644 index 000000000000..424f0d3d1326 --- /dev/null +++ b/sysutils/bmd-plugin-avahi/pkg-descr @@ -0,0 +1,5 @@ +The bmd-plugin-avahi publishes VM's vnc port using `avahi-publish` command. +Clients can lookup the vnc port by mDNS protocol. If you use MacOS, +open Finder and Network placement folder then you can find the VM name. And +click it to connect to the remove vnc display. Gtk client `bvnc` is also +available in 'avahi-gtk3' package. diff --git a/sysutils/bmd-plugin-avahi/pkg-plist b/sysutils/bmd-plugin-avahi/pkg-plist new file mode 100644 index 000000000000..598fddb2b2da --- /dev/null +++ b/sysutils/bmd-plugin-avahi/pkg-plist @@ -0,0 +1,3 @@ +libexec/bmd/libbmdplugin_avahi.so +libexec/bmd/libbmdplugin_avahi.so.1 +man/man8/bmd-plugin-avahi.8.gz