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:
parent
287cc197bf
commit
a3cf7b23ba
@ -1589,6 +1589,7 @@
|
||||
SUBDIR += vm-bhyve
|
||||
SUBDIR += vm-bhyve-devel
|
||||
SUBDIR += vmdktool
|
||||
SUBDIR += vmstated
|
||||
SUBDIR += vmtouch
|
||||
SUBDIR += vobcopy
|
||||
SUBDIR += volman
|
||||
|
19
sysutils/vmstated/Makefile
Normal file
19
sysutils/vmstated/Makefile
Normal 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>
|
38
sysutils/vmstated/README.md
Normal file
38
sysutils/vmstated/README.md
Normal 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/`
|
||||
|
3
sysutils/vmstated/distinfo
Normal file
3
sysutils/vmstated/distinfo
Normal 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
|
4
sysutils/vmstated/pkg-descr
Normal file
4
sysutils/vmstated/pkg-descr
Normal 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.
|
8
sysutils/vmstated/pkg-plist
Normal file
8
sysutils/vmstated/pkg-plist
Normal 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
|
Loading…
Reference in New Issue
Block a user