1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

sysutils/vmstated: add new port

PR:		276291
This commit is contained in:
Chris Moerz 2024-01-13 09:18:27 +01:00 committed by Koichiro Iwao
parent 287cc197bf
commit a3cf7b23ba
6 changed files with 73 additions and 0 deletions

View File

@ -1589,6 +1589,7 @@
SUBDIR += vm-bhyve
SUBDIR += vm-bhyve-devel
SUBDIR += vmdktool
SUBDIR += vmstated
SUBDIR += vmtouch
SUBDIR += vobcopy
SUBDIR += volman

View File

@ -0,0 +1,19 @@
PORTNAME= vmstated
DISTVERSION= 0.04
CATEGORIES= sysutils
MAINTAINER= freebsd@ny-central.org
COMMENT= Manages and runs bhyve virtual machines and infrastructure
WWW= https://www.github.com/christian-moerz/vmstated
LICENSE= BSD2CLAUSE
USE_GITHUB= yes
GH_ACCOUNT= christian-moerz
GH_PROJECT= vmstated
GH_TAGNAME= ${DISTVERSION}
post-patch:
${REINPLACE_CMD} "s@PREFIX@${PREFIX}@g" "${WRKSRC}/rc/vmstated"
.include <bsd.port.mk>

View File

@ -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/`

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1705133490
SHA256 (christian-moerz-vmstated-0.04_GH0.tar.gz) = 3858f64f70d73e9d5e734ed9c64e72024092f32700767214ed2202dad570971a
SIZE (christian-moerz-vmstated-0.04_GH0.tar.gz) = 69102

View File

@ -0,0 +1,4 @@
vmstated is a user-space daemon that manages bhyve virtual
machines. It provides hook scripts for easy network and storage setup
and maintains records on a virtual machine's state while it is
running.

View File

@ -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