mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-19 08:13:21 +00:00
sysutils/pot: Update to 0.15.4
Includes adding a new group "pot" which is used to grant unprivileged users access to read-only pot commands. Depend on security/signify for pot image signatures. While there, add a stub man page so users entering `man pot` see something slightly useful, readd pkg-message.in to package. Add a longer pkg-descr to make portlint happy. Approved by: pizzamig (maintainer)
This commit is contained in:
parent
5765ec9382
commit
023d0745ae
2
GIDs
2
GIDs
@ -929,7 +929,7 @@ tvheadend:*:984:
|
||||
puppetdb:*:985:
|
||||
kamailio:*:986:
|
||||
spark:*:987:
|
||||
# free: 988
|
||||
pot:*:988:
|
||||
emby:*:989:
|
||||
oozie:*:990:
|
||||
sguil:*:991:
|
||||
|
@ -1,6 +1,5 @@
|
||||
PORTNAME= pot
|
||||
DISTVERSION= 0.15.3
|
||||
PORTREVISION= 0
|
||||
DISTVERSION= 0.15.4
|
||||
CATEGORIES= sysutils
|
||||
|
||||
MAINTAINER= pizzamig@FreeBSD.org
|
||||
@ -11,12 +10,17 @@ LICENSE= BSD3CLAUSE
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
RUN_DEPENDS= potnet:sysutils/potnet \
|
||||
ncat:security/nmap \
|
||||
freebsd-release-manifests>0:misc/freebsd-release-manifests
|
||||
ncat:security/nmap \
|
||||
freebsd-release-manifests>0:misc/freebsd-release-manifests \
|
||||
signify:security/signify
|
||||
TEST_DEPENDS= flock:sysutils/flock
|
||||
|
||||
GROUPS= pot
|
||||
|
||||
USE_RC_SUBR= pot pot_early
|
||||
|
||||
SUB_FILES= pkg-message pot.8
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= pizzamig
|
||||
NO_ARCH= yes
|
||||
@ -52,6 +56,7 @@ do-install:
|
||||
${STAGEDIR}${ETCDIR}/flavours
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/etc/pot/flavours/slim.sh \
|
||||
${STAGEDIR}${ETCDIR}/flavours
|
||||
${INSTALL_MAN} ${WRKDIR}/pot.8 ${STAGEDIR}${MANPREFIX}/man/man8
|
||||
|
||||
do-install-ZSH-on:
|
||||
( cd ${WRKSRC}/share/zsh && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/share/zsh)
|
||||
|
@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1663414719
|
||||
SHA256 (pizzamig-pot-0.15.3_GH0.tar.gz) = 335572816e86aeba6e5698122339a14d74764983c3197e9899412db12e96f408
|
||||
SIZE (pizzamig-pot-0.15.3_GH0.tar.gz) = 173190
|
||||
TIMESTAMP = 1671139747
|
||||
SHA256 (pizzamig-pot-0.15.4_GH0.tar.gz) = 455dbd7939ba5b757acd0fd0980f9d522440fca5a2a9691e6623d9ec679897f5
|
||||
SIZE (pizzamig-pot-0.15.4_GH0.tar.gz) = 175705
|
||||
|
@ -1,6 +1,6 @@
|
||||
[
|
||||
{ type: install
|
||||
message: <<EOM
|
||||
{ type: install
|
||||
message: <<EOM
|
||||
Now, before to run 'pot init', it would be wise to edit the configuration file
|
||||
|
||||
Do not edit pot.default.conf, but pot.conf instead.
|
||||
@ -14,6 +14,16 @@ To upgrade from prevoius versions of pot (<0.6.0) to 0.6.0+ the following steps
|
||||
|
||||
The variable `pot_list` in the rc.conf file is deprecated.
|
||||
Use `pot set-attr` to enable the attribute start-at-boot to your pot
|
||||
|
||||
Non-privileged users need to be invited to group "pot" in order
|
||||
to use read-only commands.
|
||||
EOM
|
||||
}
|
||||
}
|
||||
{ type: upgrade
|
||||
maximum_version: "0.15.4"
|
||||
message: <<EOM
|
||||
After running pot-init, non-privileged users need to be invited to
|
||||
group "pot" in order to use read-only commands.
|
||||
EOM
|
||||
}
|
||||
]
|
||||
|
60
sysutils/pot/files/pot.8.in
Normal file
60
sysutils/pot/files/pot.8.in
Normal file
@ -0,0 +1,60 @@
|
||||
.\"
|
||||
.\" Copyright (c) 2022 Michael Gmelin
|
||||
.\"
|
||||
.\" All rights reserved.
|
||||
.\"
|
||||
.\" Redistribution and use in source and binary forms, with or without
|
||||
.\" modification, are permitted provided that the following conditions
|
||||
.\" are met:
|
||||
.\" 1. Redistributions of source code must retain the above copyright
|
||||
.\" notice, this list of conditions and the following disclaimer.
|
||||
.\" 2. Redistributions in binary form must reproduce the above copyright
|
||||
.\" notice, this list of conditions and the following disclaimer in the
|
||||
.\" documentation and/or other materials provided with the distribution.
|
||||
.\"
|
||||
.\" THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY EXPRESS OR
|
||||
.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
||||
.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
||||
.\" IN NO EVENT SHALL THE DEVELOPERS BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
||||
.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
.\"
|
||||
.Dd December 16, 2022
|
||||
.Dt POT 8
|
||||
.Os
|
||||
.Sh NAME
|
||||
.Nm pot
|
||||
.Nd another container framework for FreeBSD, based on jails, ZFS and pf
|
||||
.Sh SYNOPSIS
|
||||
.Nm
|
||||
.Ar <command>
|
||||
.Ar [<args>]
|
||||
.Sh DESCRIPTION
|
||||
This man page is a stub.
|
||||
.Bl -tag -width "pothelp"
|
||||
.It pot help
|
||||
Get list of commands
|
||||
.It pot help Ar command
|
||||
Get help on
|
||||
.Ar command .
|
||||
.El
|
||||
.Pp
|
||||
Please see
|
||||
.Pa https://github.com/bsdpot/pot
|
||||
for more information.
|
||||
.Sh FILES
|
||||
.Bl -tag -width ".Pa %%PREFIX%%/etc/pot/pot.conf" -compact
|
||||
.It Pa %%PREFIX%%/etc/pot/pot.conf
|
||||
Global configuration file
|
||||
.It Pa %%PREFIX%%/share/doc/pot/
|
||||
Basic documentation
|
||||
.El
|
||||
.Sh SEE ALSO
|
||||
.Xr jail 8 ,
|
||||
.Xr pfctl 8 ,
|
||||
.Xr rctl 8 ,
|
||||
.Xr zfs 8
|
@ -1 +1,4 @@
|
||||
This port contains scripts to manage FreeBSD containers called pot.
|
||||
pot is a container framework to run FreeBSD containers on FreeBSD.
|
||||
Every running instance is called pot, like the one that the author
|
||||
uses to cook all different types of pasta. It is heavily based on
|
||||
FreeBSD, in particular on jails, ZFS, pf and rctl.
|
||||
|
@ -57,3 +57,4 @@ bin/pot
|
||||
%%DATADIR%%/version.sh
|
||||
%%DATADIR%%/vnet-start.sh
|
||||
%%ZSH%%share/zsh/site-functions/_pot
|
||||
man/man8/pot.8.gz
|
||||
|
Loading…
Reference in New Issue
Block a user