summaryrefslogtreecommitdiff
path: root/shells/jailkit/Makefile
diff options
context:
space:
mode:
authorMarcelo Araujo <araujo@FreeBSD.org>2009-09-04 00:37:27 +0000
committerMarcelo Araujo <araujo@FreeBSD.org>2009-09-04 00:37:27 +0000
commit1ad8099c5cf7992c052b54ab282ef526e6e3053f (patch)
tree92a64245002e73ae6f3775227a2d98354ed365a4 /shells/jailkit/Makefile
parent- Update to 3.0.1. (diff)
Jailkit is a set of utilities to limit user accounts to specific
files using chroot() and or specific commands. Setting up a chroot shell, a shell limited to some specific command, or a daemon inside a chroot jail is a lot easier and can be automated using these utilities. WWW: http://olivier.sessink.nl/jailkit/ PR: ports/138047 Submitted by: Sylvio Cesar <scjamorim@bsd.com.br>
Notes
Notes: svn path=/head/; revision=240832
Diffstat (limited to 'shells/jailkit/Makefile')
-rw-r--r--shells/jailkit/Makefile52
1 files changed, 52 insertions, 0 deletions
diff --git a/shells/jailkit/Makefile b/shells/jailkit/Makefile
new file mode 100644
index 000000000000..d7bf17a22433
--- /dev/null
+++ b/shells/jailkit/Makefile
@@ -0,0 +1,52 @@
+# New ports collection makefile for: jailkit
+# Date created: 2009-08-20
+# Whom: Sylvio Cesar <scjamorim@bsd.com.br>
+#
+# $FreeBSD$
+#
+
+PORTNAME= jailkit
+PORTVERSION= 2.8
+CATEGORIES= shells
+MASTER_SITES= http://olivier.sessink.nl/jailkit/ \
+ http://www.sfr-fresh.com/unix/privat/
+
+MAINTAINER= scjamorim@bsd.com.br
+COMMENT= Jailkit is a set of utilities to limit user account
+
+GNU_CONFIGURE= yes
+USE_PYTHON= 2.4+
+
+SHELLS= /etc/shells
+
+MAN8= jailkit.8 \
+ jk_addjailuser.8 \
+ jk_check.8 \
+ jk_chrootlaunch.8 \
+ jk_chrootsh.8 \
+ jk_cp.8 \
+ jk_init.8 \
+ jk_jailuser.8 \
+ jk_list.8 \
+ jk_lsh.8 \
+ jk_socketd.8 \
+ jk_uchroot.8 \
+ jk_update.8
+MANCOMPRESSED= yes
+
+PORTDOCS= COPYRIGHT README.txt
+
+post-install:
+ @${ECHO_MSG} "Updating ${SHELLS}"
+ @${CP} ${SHELLS} ${SHELLS}.bak
+ @(${GREP} -v ${PREFIX}/sbin/jk_chrootsh ${SHELLS}.bak; \
+ ${ECHO_CMD} ${PREFIX}/sbin/jk_chrootsh) > ${SHELLS}
+ @${RM} -f ${SHELLS}.bak
+
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+.for docs in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${docs} ${DOCSDIR}
+.endfor
+.endif
+.include <bsd.port.mk>