From nobody Fri Jan 26 08:44:21 2024
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 4TLrq45f1Dz57vqk;
Fri, 26 Jan 2024 08:44:48 +0000 (UTC)
(envelope-from meta@freebsd.org)
Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83])
(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 "smtp.freebsd.org", Issuer "R3" (verified OK))
by mx1.freebsd.org (Postfix) with ESMTPS id 4TLrq4589hz4lCw;
Fri, 26 Jan 2024 08:44:48 +0000 (UTC)
(envelope-from meta@freebsd.org)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim;
t=1706258688;
h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
to:to:cc:cc:mime-version:mime-version:content-type:content-type:
in-reply-to:in-reply-to:references:references;
bh=uICcqVnyPbB/FgMAzk5QwBRYLKkSVm3smm1laVy583U=;
b=jG50wwf7ZFQeQ/NashZTOJsV6YWMciqDBJ0HSkPDzonNEmvS9SDqod3+EbGHzflmmpZrId
1ky6LoJ2hTC8kDV5um9EtdAch4jaAMZgRL9gaxYC8ImohQgmqUO7/v9jh/23W2maNBkvgK
gX2l3fPLrpn2Mot733jHFlXOPMBKgLlrQl6VIg3ZKoi+C9XVFtVb4mw/v75I8zHTJKmfRk
PCs2rwQaW4G9tA9fWCKilMMrZYK3ZjROYzCZhg57sm8TZmnk6PxkWAwKZ2gElREHjSUobV
U4UcfV0LLpT9jh5u7K9ggTDA8o0xQziPmWGKcUF+/yWPA5VfbrL/i2lh3gNBaw==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org;
s=dkim; t=1706258688;
h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
to:to:cc:cc:mime-version:mime-version:content-type:content-type:
in-reply-to:in-reply-to:references:references;
bh=uICcqVnyPbB/FgMAzk5QwBRYLKkSVm3smm1laVy583U=;
b=Mp6kJCRRetnrQuMJskdBeZjpy7KXtjLgGgYXt6IDokPjSNYJEUQmJ9fkUSDhv45c1GEG+P
3fYs8w8lniZ2hEN2ftYLOcSy9tzhH1RP6TCnDADHJ5EGTrZ9iO58PRn2D8FRTdcyCiIJlu
2v/e8MTQ5Fsc/yvRKJFvEoVwXJNhBZybYXV/hgqIIlk46ORUsvOybQ2lndAzDvo0ncmu6l
4j1J/0b0+rCQ5dXkwCdlJzwGtSeRjmU47lk9JcfdUk1CoVJCUk2KT4SdeYNA3ytOfYGxwS
nlZrjTRq/DzkK9EDApKoSD+/HE2Xe1BCqESxWC/UkguwNvWQiKSPcm5BubQY5w==
ARC-Authentication-Results: i=1;
mx1.freebsd.org;
none
ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1706258688; a=rsa-sha256; cv=none;
b=eZtWpgnlhBCLeUBbrSlvEAdGonuKVi7DJ1KXMWo9Bq813aWYG//1MnfP1btBUbBBn272xQ
T66WBRqPZ3N9vMmd2lMuo8Ko2VO0fh8U/vp0rn9etuN35c7ifyPjzDjp/yBJzzItkA/J4F
dp4uSKZBxbT92iTpw/pOtvxWgCqhX8lESrav6NR3Hf/+UDIpi+5dzu/RSH1WIgl80P4uOq
qmiFtB6jjoxl5BPoYjzSU5Cjl5RxwNmWjwftWiHlpAF3KDs+FdBZPnjiy52TkOrt/bDvR3
VOf/OXkIFOPgAR+riT9cdm5fEhhlgwBD0MSvf0sm8of9NBlBPmneBV5s1fSdIg==
Received: from icepick.vmeta.jp (unknown [IPv6:2403:bd80:c100:401:436:5aff:a501:b59])
(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)
(Authenticated sender: meta/mail)
by smtp.freebsd.org (Postfix) with ESMTPSA id 4TLrq305v6zQkg;
Fri, 26 Jan 2024 08:44:46 +0000 (UTC)
(envelope-from meta@freebsd.org)
Date: Fri, 26 Jan 2024 17:44:21 +0900
From: Koichiro Iwao
To: Jan Beich
Cc: ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org,
dev-commits-ports-main@freebsd.org
Subject: Re: Re: git: a3cf7b23ba32 - main - sysutils/vmstated: add new port
Message-ID: <5pqu646inh7czcl3sdpkpanh6xgbtjeuob5ckpo7x5mqsmufnq@bqo5h33iz3ci>
X-Operating-System: FreeBSD 14.0-STABLE amd64
References: <202401240156.40O1uJCQ003112@gitrepo.freebsd.org>
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-Disposition: inline
In-Reply-To:
Hi, thanks for the point out. I will check it later.
On Wed, Jan 24, 2024 at 06:11:38PM +0100, Jan Beich wrote:
> Koichiro Iwao writes:
>
> > sysutils/Makefile | 1 +
> > sysutils/vmstated/Makefile | 19 +++++++++++++++++++
> > sysutils/vmstated/README.md | 38 ++++++++++++++++++++++++++++++++++++++
> > sysutils/vmstated/distinfo | 3 +++
> > sysutils/vmstated/pkg-descr | 4 ++++
> > sysutils/vmstated/pkg-plist | 8 ++++++++
> > 6 files changed, 73 insertions(+)
> [...]
> > diff --git a/sysutils/vmstated/README.md b/sysutils/vmstated/README.md
> > new file mode 100644
> > index 000000000000..2750e950f1a9
> > --- /dev/null
> > +++ b/sysutils/vmstated/README.md
> > @@ -0,0 +1,38 @@
> > +## vmstated
> > +
> > +`vmstated` is a very simple bhyve virtual machine manager for FreeBSD.
> > +
> > +### How to compile
> > +
> > +Eventually, `vmstated` will be released via the regular ports channel; until then,
> > +one can run the following commands:
> > +
> > +```
> > +git clone https://github.com/christian-moerz/vmstated
> > +cd vmstated/port
> > +make package
> > +pkg install work/pkg/vmstated-0.01.pkg
> > +```
> > +
> > +To uninstall vmstated, use the usual pkg command
> > +
> > +```
> > +pkg deinstall vmstated
> > +```
> > +
> > +### How to get started
> > +
> > +Please refer to the man pages for `vmstated(8)` or `vmstatedctl(1)` for further
> > +details on how to use `vmstated`.
> > +
> > +To start `vmstated` run
> > +
> > +```
> > +sysrc vmstated_enable=YES
> > +service vmstated start
> > +```
> > +
> > +- Configuration files go under `/usr/local/etc/vmstated`.
> > +- Log files are under `/var/log/vmstated`
> > +- PID file and socket are under `/var/run/`
> > +
>
> Stray file? It's not installed and looks redundant: documents the
> standard way to install ports/packages, how to start rc.d(8) services
> and according to vmstatd(8) manpage where configs are located.
>
> > --- /dev/null
> > +++ b/sysutils/vmstated/pkg-plist
> > @@ -0,0 +1,8 @@
> > +@mode 755
> > +bin/vmstatedctl
> > +etc/rc.d/vmstated
> > +@mode 750
> > +sbin/vmstated
> > +@mode 0444
> > +share/man/man1/vmstatedctl.1.gz
> > +share/man/man8/vmstated.8.gz
>
> @mode is generally not necessary unless different from default permissions
> set by vendor install target. Also can be limited per file e.g.,
> "@(,,750) sbin/vmstated"; see 20140922 item in /usr/ports/CHANGES.
>
> Vendor Makefile uses but for some reason handrolls
> "install" target (a workaround for missing USES=uidfix?).
--
meta