aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2005-10-16 10:17:38 +0800
committeredwin <edwin@FreeBSD.org>2005-10-16 10:17:38 +0800
commitf6745b6e032cf27585426e84de2318a5c278b5f4 (patch)
tree2dc2590dd3a7467275100ad3062107538eaf204c /sysutils
parent7a214e26397611e8229a717c8216606bff98f40d (diff)
downloadfreebsd-ports-gnome-f6745b6e032cf27585426e84de2318a5c278b5f4.tar.gz
freebsd-ports-gnome-f6745b6e032cf27585426e84de2318a5c278b5f4.tar.zst
freebsd-ports-gnome-f6745b6e032cf27585426e84de2318a5c278b5f4.zip
New port: sysutils/ezjail Jail handling scripts.
This port contains two scripts to easily create, manipulate and run FreeBSD jails. WWW: http://erdgeist.org/arts/software/ezjail/ PR: ports/87454 Submitted by: Dirk Engling <erdgeist@erdgeist.org>
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/Makefile1
-rw-r--r--sysutils/ezjail/Makefile32
-rw-r--r--sysutils/ezjail/distinfo2
-rw-r--r--sysutils/ezjail/pkg-descr7
-rw-r--r--sysutils/ezjail/pkg-plist7
5 files changed, 49 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile
index 8fc7f4851314..fa7db4a7f025 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -138,6 +138,7 @@
SUBDIR += etcmerge
SUBDIR += eventwatcher
SUBDIR += extipl
+ SUBDIR += ezjail
SUBDIR += fanout
SUBDIR += fastest_cvsup
SUBDIR += fatback
diff --git a/sysutils/ezjail/Makefile b/sysutils/ezjail/Makefile
new file mode 100644
index 000000000000..1c9fdf3312b9
--- /dev/null
+++ b/sysutils/ezjail/Makefile
@@ -0,0 +1,32 @@
+# New ports collection makefile for: ezjail
+# Date created: 1 September 2005
+# Whom: erdgeist
+#
+# $FreeBSD$
+#
+
+PORTNAME= ezjail
+PORTVERSION= 1.0
+CATEGORIES= sysutils
+MASTER_SITES= http://erdgeist.org/arts/software/ezjail/
+
+MAINTAINER= erdgeist@erdgeist.org
+COMMENT= A framework to easily create, manipulate and run FreeBSD jails
+
+USE_BZIP2= yes
+
+MAN1= ezjail-admin.1
+MAN5= ezjail.5 ezjail.conf.5
+
+.include <bsd.port.pre.mk>
+
+.if ( ${OSVERSION} < 600000 )
+IGNORE= nullfs in FreeBSD releases before 6.0 is considered unstable
+.endif
+
+post-install:
+ @if [ ! -f ${PREFIX}/etc/ezjail.conf ]; then \
+ ${CP} -p ${PREFIX}/etc/ezjail.conf.sample ${PREFIX}/etc/ezjail.conf ; \
+ fi
+
+.include <bsd.port.post.mk>
diff --git a/sysutils/ezjail/distinfo b/sysutils/ezjail/distinfo
new file mode 100644
index 000000000000..113e0d032786
--- /dev/null
+++ b/sysutils/ezjail/distinfo
@@ -0,0 +1,2 @@
+MD5 (ezjail-1.0.tar.bz2) = 69f62c5e081197030c9f6fbe9532ba04
+SIZE (ezjail-1.0.tar.bz2) = 5456
diff --git a/sysutils/ezjail/pkg-descr b/sysutils/ezjail/pkg-descr
new file mode 100644
index 000000000000..fe4c413a834b
--- /dev/null
+++ b/sysutils/ezjail/pkg-descr
@@ -0,0 +1,7 @@
+This port contains two scripts to easily create, manipulate and run
+FreeBSD jails.
+
+WWW: http://erdgeist.org/arts/software/ezjail/
+
+- erdgeist
+Dirk Engling <erdgeist@erdgeist.org>
diff --git a/sysutils/ezjail/pkg-plist b/sysutils/ezjail/pkg-plist
new file mode 100644
index 000000000000..3d6cc22e04ee
--- /dev/null
+++ b/sysutils/ezjail/pkg-plist
@@ -0,0 +1,7 @@
+etc/rc.d/ezjail.sh
+bin/ezjail-admin
+@dirrm etc/ezjail
+
+@unexec if cmp -s %D/etc/ezjail.conf.sample %D/etc/ezjail.conf; then rm -f %D/etc/ezjail.conf; fi
+etc/ezjail.conf.sample
+@exec if [ ! -f %D/etc/ezjail.conf ] ; then cp -p %D/%F %B/ezjail.conf; fi