aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorwxs <wxs@FreeBSD.org>2010-01-25 04:46:38 +0800
committerwxs <wxs@FreeBSD.org>2010-01-25 04:46:38 +0800
commit7e07f9abf5fa3f98fdddb50796af7a91f394de6c (patch)
tree07b807dc787c6d872d910c17b70cf93babcdeac0 /security
parent9cd3b222547e34c2a9b3fd32f6467184ef83d786 (diff)
downloadfreebsd-ports-gnome-7e07f9abf5fa3f98fdddb50796af7a91f394de6c.tar.gz
freebsd-ports-gnome-7e07f9abf5fa3f98fdddb50796af7a91f394de6c.tar.zst
freebsd-ports-gnome-7e07f9abf5fa3f98fdddb50796af7a91f394de6c.zip
isolate runs processes in a chroot-ed environment, with constrained resource
limits, as a random UID, and with limited access to the X server WWW: http://code.google.com/p/isolate/ PR: ports/142350 Submitted by: Steve Wills <steve@mouf.net>
Diffstat (limited to 'security')
-rw-r--r--security/Makefile1
-rw-r--r--security/isolate/Makefile31
-rw-r--r--security/isolate/distinfo3
-rw-r--r--security/isolate/pkg-descr4
4 files changed, 39 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile
index ec2849c24a89..99b3b8f0a57b 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -210,6 +210,7 @@
SUBDIR += ipsec-tools
SUBDIR += isakmpd
SUBDIR += isnprober
+ SUBDIR += isolate
SUBDIR += its4
SUBDIR += jce_policy14
SUBDIR += john
diff --git a/security/isolate/Makefile b/security/isolate/Makefile
new file mode 100644
index 000000000000..19567aceed63
--- /dev/null
+++ b/security/isolate/Makefile
@@ -0,0 +1,31 @@
+# New ports collection makefile for: isolate
+# Date created: 2010-01-05
+# Whom: Steve Wills <steve@mouf.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= isolate
+PORTVERSION= 20100105
+CATEGORIES= security
+MASTER_SITES= http://meatwad.mouf.net/~steve/
+
+MAINTAINER= steve@mouf.net
+COMMENT= Runs processes in a restricted environment
+
+PLIST_FILES= bin/isolate
+MAN1= isolate.1
+MANCOMPRESSED= yes
+USE_GMAKE= yes
+ALL_TARGET= isolate
+
+post-patch:
+ @${REINPLACE_CMD} 's|/usr/local|${PREFIX}|' ${WRKSRC}/Makefile
+
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 700025
+IGNORE= does not compile (needs gelf.h)
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/security/isolate/distinfo b/security/isolate/distinfo
new file mode 100644
index 000000000000..a10c30b7dfe6
--- /dev/null
+++ b/security/isolate/distinfo
@@ -0,0 +1,3 @@
+MD5 (isolate-20100105.tar.gz) = 09667f8a886c6e73eac5343c6bac678c
+SHA256 (isolate-20100105.tar.gz) = c74d3d6f9d90f2bec3af6766bc74efd200bcd81a0a4467d0c703795419df78c7
+SIZE (isolate-20100105.tar.gz) = 20911
diff --git a/security/isolate/pkg-descr b/security/isolate/pkg-descr
new file mode 100644
index 000000000000..f639c4f28055
--- /dev/null
+++ b/security/isolate/pkg-descr
@@ -0,0 +1,4 @@
+isolate runs processes in a chroot-ed environment, with constrained resource
+limits, as a random UID, and with limited access to the X server
+
+WWW: http://code.google.com/p/isolate/