sysutils/py-jailconf: Parse and edit your FreeBSD jail.conf file

Parse and edit your FreeBSD jail.conf file with Python.

WWW: https://github.com/leforestier/jailconf
This commit is contained in:
Kubilay Kocak 2020-07-14 02:26:34 +00:00
parent 320bb54947
commit 61391e907b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=542188
4 changed files with 37 additions and 0 deletions

View File

@ -977,6 +977,7 @@
SUBDIR += py-honcho
SUBDIR += py-hpilo
SUBDIR += py-iowait
SUBDIR += py-jailconf
SUBDIR += py-leviathan
SUBDIR += py-liquidctl
SUBDIR += py-mitogen

View File

@ -0,0 +1,30 @@
# $FreeBSD$
PORTNAME= jailconf
DISTVERSIONPREFIX= v
DISTVERSION= 0.2.1
CATEGORIES= sysutils python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= koobs@FreeBSD.org
COMMENT= Parse and edit your FreeBSD jail.conf file
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ply>=3.9:devel/py-ply@${PY_FLAVOR}
USES= python:3.0+
USE_GITHUB= yes # tests nnot packaged in PyPI sdist
USE_PYTHON= autoplist distutils
#LICENSE= "BSD". Unclear. See Upstream #1
#LICENSE_FILE= Does not exist
GH_ACCOUNT= leforestier
NO_ARCH= yes
do-test:
${TOUCH} ${WRKSRC}/test/__init__.py
${MV} ${WRKSRC}/test/jailconf_test.py ${WRKSRC}/test/test_jailconf.py
cd ${WRKSRC} && ${PYTHON_CMD} -m unittest -v
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1594691968
SHA256 (leforestier-jailconf-v0.2.1_GH0.tar.gz) = b2eef97da86da5b761cdb9fa09d17abfe199b9918451494264aaddc5cfba522e
SIZE (leforestier-jailconf-v0.2.1_GH0.tar.gz) = 5191

View File

@ -0,0 +1,3 @@
Parse and edit your FreeBSD jail.conf file with Python.
WWW: https://github.com/leforestier/jailconf