diff options
author | vanilla <vanilla@FreeBSD.org> | 2014-09-15 10:27:39 +0800 |
---|---|---|
committer | vanilla <vanilla@FreeBSD.org> | 2014-09-15 10:27:39 +0800 |
commit | e261fc38f32ab7692da2fc2904f0d4edd15ade71 (patch) | |
tree | 2b8fc71732b5640305bdc4d39732bb2186d36a41 /sysutils | |
parent | 3b92e54df250864a3f2f3c44358024f63a38130b (diff) | |
download | freebsd-ports-gnome-e261fc38f32ab7692da2fc2904f0d4edd15ade71.tar.gz freebsd-ports-gnome-e261fc38f32ab7692da2fc2904f0d4edd15ade71.tar.zst freebsd-ports-gnome-e261fc38f32ab7692da2fc2904f0d4edd15ade71.zip |
Add jadm 1.0, freeBSD jail framework with zfs, vnet and jail.conf
support.
PR: ports/193574
Submitted by: Nikolay Dachev <jadm dachev info>
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/Makefile | 1 | ||||
-rw-r--r-- | sysutils/jadm/Makefile | 33 | ||||
-rw-r--r-- | sysutils/jadm/distinfo | 2 | ||||
-rw-r--r-- | sysutils/jadm/files/patch-setup.py | 10 | ||||
-rw-r--r-- | sysutils/jadm/pkg-descr | 2 |
5 files changed, 48 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile index fcbd3f981f9f..0d7f1480cd77 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -394,6 +394,7 @@ SUBDIR += isomaster SUBDIR += isomd5sum SUBDIR += istatd + SUBDIR += jadm SUBDIR += jail-primer SUBDIR += jail2 SUBDIR += jailctl diff --git a/sysutils/jadm/Makefile b/sysutils/jadm/Makefile new file mode 100644 index 000000000000..93958143aede --- /dev/null +++ b/sysutils/jadm/Makefile @@ -0,0 +1,33 @@ +# Created by: Nikolay Dachev <jadm@dachev.info> +# $FreeBSD$ + +PORTNAME= jadm +PORTVERSION= 1.0 +CATEGORIES= sysutils python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= jadm@dachev.info +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 + +USES= python +USE_PYTHON= distutils autoplist +PLIST_FILES= man/man8/jadm.8.gz + +.include <bsd.port.pre.mk> + +.if ${OSVERSION} < 901000 +IGNORE= freeBSD before 9.1 is not supported +.endif + +pre-install: + ${CP} ${WRKSRC}/man8/jadm.8 ${WRKDIR}/stage${PREFIX}/man/man8 + +.include <bsd.port.post.mk> diff --git a/sysutils/jadm/distinfo b/sysutils/jadm/distinfo new file mode 100644 index 000000000000..40ae1a7544d3 --- /dev/null +++ b/sysutils/jadm/distinfo @@ -0,0 +1,2 @@ +SHA256 (jadm-1.0.tar.gz) = 2c654494feb8d0bf29dc3ebc0f8e0d924c99c9168a62f7edc3a672089612c828 +SIZE (jadm-1.0.tar.gz) = 33335 diff --git a/sysutils/jadm/files/patch-setup.py b/sysutils/jadm/files/patch-setup.py new file mode 100644 index 000000000000..6b1848f8fcec --- /dev/null +++ b/sysutils/jadm/files/patch-setup.py @@ -0,0 +1,10 @@ +--- setup.py.orig 2014-09-14 17:02:59.000000000 +0800 ++++ setup.py 2014-09-15 10:21:15.776638606 +0800 +@@ -37,5 +37,5 @@ setup( + ) + + # man page install +-if sys.argv[1] == "install": +- os.system('cp ./man8/jadm.8 /usr/local/man/man8/jadm.8') ++#if sys.argv[1] == "install": ++ #os.system('cp ./man8/jadm.8 /usr/local/man/man8/jadm.8') diff --git a/sysutils/jadm/pkg-descr b/sysutils/jadm/pkg-descr new file mode 100644 index 000000000000..826d9bcf9645 --- /dev/null +++ b/sysutils/jadm/pkg-descr @@ -0,0 +1,2 @@ +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. |