1: use ${PYTHON_PKGNAMEPREFIX} on build/run depends.

2: use ${STAGEDIR} instead.
3: add WWW line.

PR:		jhale@
Approved by:	maintainer timeout ( > 2weeks)
This commit is contained in:
Vanilla I. Shu 2014-10-01 03:56:08 +00:00
parent a703832b9e
commit e945c01650
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=369688
2 changed files with 11 additions and 9 deletions

View file

@ -12,14 +12,14 @@ COMMENT= FreeBSD jail framework with zfs, vnet and jail.conf support
LICENSE= BSD3CLAUSE
BUILD_DEPENDS= ${PYTHON_LIBDIR}/site-packages/paramiko/:${PORTSDIR}/security/py-paramiko \
${PYTHON_LIBDIR}/site-packages/netifaces.so:${PORTSDIR}/net/py-netifaces \
${PYTHON_LIBDIR}/site-packages/tabulate.py:${PORTSDIR}/devel/py-tabulate \
${PYTHON_LIBDIR}/site-packages/ipaddress.py:${PORTSDIR}/net/py-ipaddress
RUN_DEPENDS= ${PYTHON_LIBDIR}/site-packages/paramiko/:${PORTSDIR}/security/py-paramiko \
${PYTHON_LIBDIR}/site-packages/netifaces.so:${PORTSDIR}/net/py-netifaces \
${PYTHON_LIBDIR}/site-packages/tabulate.py:${PORTSDIR}/devel/py-tabulate \
${PYTHON_LIBDIR}/site-packages/ipaddress.py:${PORTSDIR}/net/py-ipaddress
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}paramiko>=1.14.0:${PORTSDIR}/security/py-paramiko \
${PYTHON_PKGNAMEPREFIX}netifaces>=0.10.3:${PORTSDIR}/net/py-netifaces \
${PYTHON_PKGNAMEPREFIX}tabulate>=0.7.2:${PORTSDIR}/devel/py-tabulate \
${PYTHON_PKGNAMEPREFIX}ipaddress>=1.0.6:${PORTSDIR}/net/py-ipaddress
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}paramiko>=1.14.0:${PORTSDIR}/security/py-paramiko \
${PYTHON_PKGNAMEPREFIX}netifaces>=0.10.3:${PORTSDIR}/net/py-netifaces \
${PYTHON_PKGNAMEPREFIX}tabulate>=0.7.2:${PORTSDIR}/devel/py-tabulate \
${PYTHON_PKGNAMEPREFIX}ipaddress>=1.0.6:${PORTSDIR}/net/py-ipaddress
USES= python
USE_PYTHON= distutils autoplist
@ -32,6 +32,6 @@ IGNORE= freeBSD before 9.1 is not supported
.endif
pre-install:
${CP} ${WRKSRC}/man8/jadm.8 ${WRKDIR}/stage${PREFIX}/man/man8
${CP} ${WRKSRC}/man8/jadm.8 ${STAGEDIR}${PREFIX}/man/man8
.include <bsd.port.post.mk>

View file

@ -1,2 +1,4 @@
Jadm is python script which pars /etc/jail.conf in his own format.
Use zfs for jail home also bridge interface and epair interfaces for jail vnet.
WWW: https://github.com/NikolayDachev/jadm