From nobody Mon Oct 28 12:44:09 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 4XcY3s3HXHz5bK1h; Mon, 28 Oct 2024 12:44:09 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XcY3s18g0z4W8J; Mon, 28 Oct 2024 12:44:09 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730119449; 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=KE6rGTNy+JUrcwF8PnKn+ozJBdwhpvBuqsFwL90rNCY=; b=bOW0/OShnMCH4oTCmFfeUGQLwj9iv7skg5/Y7PzL3gI9BvxtW3rE6fsdB8I3iYgfBLUfSd sVtzZ2FzuKOn5uLdlvdch0908InzzW9zPBwM7Cc78AxsEd4Xb/+88uH7vb+K3HurC9gqG4 jNPO2h7HopAWHas/ykCxOfaHmWnDQOMfP/z5Ff4nOoFtNw4yGbNK+AihHUWYTDndXOnA9x XqMHeFDOvWIphGaSEKHqhd0AXwdErnXu5nLFYWQYJ09aa+28ycfc8EsbLIHh2PS5ONIMkZ bg7GHSdsnz0MM/I/zIF3/eDX4iKSSM5VO3E4JppAHl96h1lGs7pj7JOACfQDHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730119449; 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=KE6rGTNy+JUrcwF8PnKn+ozJBdwhpvBuqsFwL90rNCY=; b=wc6uOgNZE0fMi4TXCnNrZvuhUHxM+WQBs48FNJxXYK172hx2JVkujSOjUCbcbkUzNqYcFB TZ6YI//iU5DYZWJSohZJrYBXMgwOY9QMnjkdb0foKDm6qyz4Zkx+5BixzurSN96kIFuNeZ p/1I0/AD1OpAenxFtX0Xo3uh1dvRMn1zddeaddayPpYXYw6pMLCKTR4RHby8Hou1DIKA7y GvamOYzcV/iCifLTEYIu9QEMSzP0rYcD2TYFWnAhfJNmxR3F5IXk7flK8dg6M7YtJI+0v3 Uo6+n62ex+a7onQS4JXvppjZQ/zN85Vejh5tyeuqf66TF09zhHV646Tcera5Sw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1730119449; a=rsa-sha256; cv=none; b=sVgwNaVVwGmnh7QLWw3A9gQDGgSbtlApvSCxSlOHtcZNyqz07ully8UNMk/0Dm3YrkzqL+ Vez1UQwJRvv3eDmeAF4rX+5engxKUts6Kp9o5+drwikxU7Y9ArHhFSFbgzhkyefgUyLlr0 iHD0wxh1dnSDgXGop2G6x0+G5ll4HZZCQSKD2KOqiLLy1UyccutJ07AekXuJMLNVF+kVqP 7ZbYcz0wgt/J2Zf7/i2SeD7SH5oOdwZIuLsOWBh/VbIRIbcbzDBRXyRHHaiByUErhEIYSH uTEh/kKPigr2ddO8Idrski1k9vP5GaX3ghRU1TNoe3tmPVr1LmB102DFP4IDcw== 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 4XcY3s0ctQzdn4; Mon, 28 Oct 2024 12:44:09 +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 49SCi91t073818; Mon, 28 Oct 2024 12:44:09 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 49SCi9GH073815; Mon, 28 Oct 2024 12:44:09 GMT (envelope-from git) Date: Mon, 28 Oct 2024 12:44:09 GMT Message-Id: <202410281244.49SCi9GH073815@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Robert Clausecker Subject: git: da967e317a86 - main - sysutils/bmd: use USES=uidfix 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: fuz X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: da967e317a868bf27448284ba77e2262546ecc6f Auto-Submitted: auto-generated The branch main has been updated by fuz: URL: https://cgit.FreeBSD.org/ports/commit/?id=da967e317a868bf27448284ba77e2262546ecc6f commit da967e317a868bf27448284ba77e2262546ecc6f Author: Yuichiro NAITO AuthorDate: 2024-10-25 17:06:32 +0000 Commit: Robert Clausecker CommitDate: 2024-10-28 12:41:55 +0000 sysutils/bmd: use USES=uidfix The bmd's Makefile uses 'bsd.prog.mk', so it is necessary to fix uid/gid for building the port in user privileges. The uidfix utility is a convenient way for this purpose. I omitted the local patch files to use 'USES=uidfix'. PR: 282223 --- sysutils/bmd/Makefile | 3 +++ sysutils/bmd/files/patch-Makefile | 23 ----------------------- sysutils/bmd/files/patch-rc.d_Makefile | 11 ----------- 3 files changed, 3 insertions(+), 34 deletions(-) diff --git a/sysutils/bmd/Makefile b/sysutils/bmd/Makefile index 6293fbdb2475..9e1f4f4bf054 100644 --- a/sysutils/bmd/Makefile +++ b/sysutils/bmd/Makefile @@ -1,5 +1,6 @@ PORTNAME= bmd DISTVERSION= 3.1 +PORTREVISION= 1 CATEGORIES= sysutils MAINTAINER= naito.yuichiro@gmail.com @@ -15,6 +16,8 @@ ONLY_FOR_ARCHS_REASON= bhyve runs on amd64 only RUN_DEPENDS= bhyve-firmware>0:sysutils/bhyve-firmware \ grub2-bhyve>0:sysutils/grub2-bhyve +USES= uidfix + USE_GITHUB= yes GH_ACCOUNT= yuichiro-naito diff --git a/sysutils/bmd/files/patch-Makefile b/sysutils/bmd/files/patch-Makefile deleted file mode 100644 index 49d5b98ed5b8..000000000000 --- a/sysutils/bmd/files/patch-Makefile +++ /dev/null @@ -1,23 +0,0 @@ ---- Makefile.orig 2024-10-07 06:15:41 UTC -+++ Makefile -@@ -1,10 +1,20 @@ -+BINOWN!= id -u -+BINGRP!= id -g -+DIROWN= $(BINOWN) -+DIRGRP= $(BINGRP) -+SHAREOWN= $(BINOWN) -+SHAREGRP= $(BINGRP) - MK_DEBUG_FILES?= no - SUBDIR= rc.d - BINDIR= $(LOCALBASE)/sbin - MANDIR= $(LOCALBASE)/share/man/man - DIRS= UEFIVARDIR PLUGINDIR - UEFIVARDIR= $(LOCALBASE)/var/cache/bmd -+UEFIVARDIR_OWN= $(BINOWN) -+UEFIVARDIR_GRP= $(BINGRP) - PLUGINDIR= $(LOCALBASE)/libexec/bmd -+PLUGINDIR_OWN= $(BINOWN) -+PLUGINDIR_GRP= $(BINGRP) - PROG= bmd - MAN= bmd.8 bmdctl.8 bmd.conf.5 - LINKS= ${BINDIR}/bmd ${BINDIR}/bmdctl diff --git a/sysutils/bmd/files/patch-rc.d_Makefile b/sysutils/bmd/files/patch-rc.d_Makefile deleted file mode 100644 index 92b0e4ac3769..000000000000 --- a/sysutils/bmd/files/patch-rc.d_Makefile +++ /dev/null @@ -1,11 +0,0 @@ ---- rc.d/Makefile.orig 2023-08-08 05:39:45 UTC -+++ rc.d/Makefile -@@ -2,6 +2,8 @@ SCRIPTSDIR= $(LOCALBASE)/etc/rc.d - SCRIPTS= bmd - SCRIPTSNAME_bmd=bmd - SCRIPTSDIR= $(LOCALBASE)/etc/rc.d -+SCRIPTSOWN!= id -u -+SCRIPTSGRP!= id -g - - bmd: bmd.in - sed 's|%%LOCALBASE%%|$(LOCALBASE)|' < ${.ALLSRC} > ${.TARGET}