From nobody Wed Jan 24 17:11:38 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 4TKr8v2QH2z58MdY; Wed, 24 Jan 2024 17:11:43 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (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 "freefall.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TKr8v1wkpz501L; Wed, 24 Jan 2024 17:11:43 +0000 (UTC) (envelope-from jbeich@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706116303; 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=F8UIifH5nj6sXL6ScUy5180MjjCUQD313M9mWUbm+Sk=; b=icpuQrWzELMHhlPbRqGPKS42aaNZYiZv0SrdziEelnk6wMuMV32IBX9+LiAEFgQ1NA0ZlC HwXD7ZM7eqwf5+9t8ZlOTAvPsbcVQSYPNw4XdNzziRBDAsNqWA3YQz3HjvFSF9UaFP9DQK TEIVwTOom2btmknGFwaLhYVqvnFW2Ei5p/9eiXofROWklFPxZATEFoJi+4EifIQ1TEphnY 5ftMoWpYyzixFeV8w2gHJys08c3mrYwRRzasRxur/+F7/KDvztjcBgYR6VHlJ1HzD52SW3 E4y5kDP5lAaTXAJtqmTE58/hfXM7AM6DWaJDpL2MVWSW5hQbTlmXm+hKDPZFTg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706116303; 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=F8UIifH5nj6sXL6ScUy5180MjjCUQD313M9mWUbm+Sk=; b=sxoep085kSF+f3TPV9t3xAnTLLt79d+M/DOPQVS0D4Q1bTBsVKoknz7foSYkuE45ZIFj3q ioPkd0r+hrWNsab4C5mam0Zon3Jl/zPb/7RxTupfbE4TJ/GwaqE99CYdywW7v1pVdnE3MJ PBRU9xLPOnATBUlzRDoAZHdleQmYW7zE/9KmRvWCBl61dY5/jLDGFgTjM1vEt9YlH9neSi hq8bkDVkQa/cd5LU3D26mjWWaP3yEjom5BZ0zdM50hIMDgQsaDHuUUUSCleBHeOGrsCpNU sHF8g/kpkQ2AHJN7FQcGdL7kOBX/zdlyHyGV1CxucgVF0aMQTWUdynuDCRrpEw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1706116303; a=rsa-sha256; cv=none; b=HsNn0QVoBQqNYxwla5eDmHyFkqlos0MkyFNmFNXa3u9qe/acw3tUX6lEmmGwmSn+mVXkka iTrltZwiuH/pqN9aIcjum+RNizDKBOWxPOCAIRjugTBL43DxKwLPzwGESU7Yx5eAdEDk1q BY2M91DmTwSM2hPeBX29E6S8lHZh7ZQoVL7FeHWHThH48PA6k7YajT60+UthIb0Ga1NgHj h4rsfHwTWibEqkPf7go1r/NIQa72x7LOfSFbQhQGYRKF0Az9WTjcBddbnkNmLSmXCOdKJr AyqMf4kkCXzTwbDu/Bmm5WtUsoQ9CU+puxLApR2hHh7YCY6zjhWf9CiRVRjUEw== Received: by freefall.freebsd.org (Postfix, from userid 1354) id 320A94C3A; Wed, 24 Jan 2024 17:11:43 +0000 (UTC) From: Jan Beich To: Koichiro Iwao Cc: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: Re: git: a3cf7b23ba32 - main - sysutils/vmstated: add new port In-Reply-To: <202401240156.40O1uJCQ003112@gitrepo.freebsd.org> (Koichiro Iwao's message of "Wed, 24 Jan 2024 01:56:19 GMT") References: <202401240156.40O1uJCQ003112@gitrepo.freebsd.org> Date: Wed, 24 Jan 2024 18:11:38 +0100 Message-ID: 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 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?).