FreeBSD Bugzilla – Attachment 99042 Details for
Bug 138047
[NEW PORT] shells/jailkit: Jailkit is a set of utilities to limit user account
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
jailkit-2.8.shar
jailkit-2.8.shar (text/plain), 4.34 KB, created by
Sylvio César Teixeira Amorim
on 2009-08-21 22:30:04 UTC
(
hide
)
Description:
jailkit-2.8.shar
Filename:
MIME Type:
Creator:
Sylvio César Teixeira Amorim
Created:
2009-08-21 22:30:04 UTC
Size:
4.34 KB
patch
obsolete
># This is a shell archive. Save it in a file, remove anything before ># this line, and then unpack it by entering "sh file". Note, it may ># create directories; files and directories will be owned by you and ># have default permissions. ># ># This archive contains: ># ># jailkit ># jailkit/pkg-descr ># jailkit/Makefile ># jailkit/pkg-plist ># jailkit/distinfo ># jailkit/files ># jailkit/files/patch-Makefile.in ># >echo c - jailkit >mkdir -p jailkit > /dev/null 2>&1 >echo x - jailkit/pkg-descr >sed 's/^X//' >jailkit/pkg-descr << '975ae99210ee238bcf477aa0609ae90c' >XJailkit is a set of utilities to limit user accounts to specific >Xfiles using chroot() and or specific commands. >XSetting up a chroot shell, a shell limited to some specific >Xcommand, or a daemon inside a chroot jail is a lot easier and >Xcan be automated using these utilities. >X >XWWW: http://olivier.sessink.nl/jailkit/ >975ae99210ee238bcf477aa0609ae90c >echo x - jailkit/Makefile >sed 's/^X//' >jailkit/Makefile << 'e35b544cf828fe4e32f7aa3ab57927d3' >X# New ports collection makefile for: jailkit >X# Date created: 2009-08-20 >X# Whom: Sylvio Cesar <scjamorim@bsd.com.br> >X# >X# $FreeBSD$ >X# >X >XPORTNAME= jailkit >XPORTVERSION= 2.8 >XCATEGORIES= shells >XMASTER_SITES= http://olivier.sessink.nl/jailkit/ \ >X http://www.sfr-fresh.com/unix/privat/ >X >XMAINTAINER= scjamorim@bsd.com.br >XCOMMENT= Jailkit is a set of utilities to limit user account >X >XGNU_CONFIGURE= yes >XUSE_PYTHON= 2.4+ >X >XSHELLS= /etc/shells >X >XMAN8= jailkit.8 \ >X jk_addjailuser.8 \ >X jk_check.8 \ >X jk_chrootlaunch.8 \ >X jk_chrootsh.8 \ >X jk_cp.8 \ >X jk_init.8 \ >X jk_jailuser.8 \ >X jk_list.8 \ >X jk_lsh.8 \ >X jk_socketd.8 \ >X jk_uchroot.8 \ >X jk_update.8 >XMANCOMPRESSED= yes >X >XPORTDOCS= COPYRIGHT README.txt >X >Xpost-install: >X @${ECHO_MSG} "Updating ${SHELLS}" >X @${CP} ${SHELLS} ${SHELLS}.bak >X @(${GREP} -v ${PREFIX}/sbin/jk_chrootsh ${SHELLS}.bak; \ >X ${ECHO_CMD} ${PREFIX}/sbin/jk_chrootsh) > ${SHELLS} >X @${RM} -f ${SHELLS}.bak >X >X.if !defined(NOPORTDOCS) >X ${MKDIR} ${DOCSDIR} >X.for docs in ${PORTDOCS} >X ${INSTALL_DATA} ${WRKSRC}/${docs} ${DOCSDIR} >X.endfor >X.endif >X.include <bsd.port.mk> >e35b544cf828fe4e32f7aa3ab57927d3 >echo x - jailkit/pkg-plist >sed 's/^X//' >jailkit/pkg-plist << 'eacc6ee2bab58c666ec0b6d2b46093c3' >Xbin/jk_uchroot >Xetc/jailkit/jk_check.ini >Xetc/jailkit/jk_init.ini >Xetc/jailkit/jk_lsh.ini >Xetc/jailkit/jk_socketd.ini >Xetc/jailkit/jk_chrootsh.ini >Xetc/jailkit/jk_update.ini >Xsbin/jk_chrootlaunch >Xsbin/jk_chrootsh >Xsbin/jk_cp >Xsbin/jk_init >Xsbin/jk_check >Xsbin/jk_addjailuser >Xsbin/jk_jailuser >Xsbin/jk_list >Xsbin/jk_update >Xsbin/jk_lsh >Xsbin/jk_socketd >X@exec echo "Updating /etc/shells"; cp /etc/shells /etc/shells.bak; (grep -v jk_chrootsh /etc/shells.bak; echo %D/%F) >/etc/shells; rm -f /etc/shells.bak >X@unexec echo "Updating /etc/shells"; cp /etc/shells /etc/shells.bak; (grep -v jk_chrootsh /etc/shells.bak) >/etc/shells; rm -f /etc/shells.bak >X%%DATADIR%%/jk_lib.py >X%%DATADIR%%/jk_lib.pyc >X@dirrm %%DATADIR%% >X@dirrmtry etc/jailkit >eacc6ee2bab58c666ec0b6d2b46093c3 >echo x - jailkit/distinfo >sed 's/^X//' >jailkit/distinfo << 'c7d51e76be5f72da1407c15fb5a75044' >XMD5 (jailkit-2.8.tar.gz) = eabb1f90be7b5be99f763dd08a7be9a1 >XSHA256 (jailkit-2.8.tar.gz) = b80cfcce9797b79b4cfa4f4cae553bcf462406896c7faacf535435922e1d4684 >XSIZE (jailkit-2.8.tar.gz) = 128586 >c7d51e76be5f72da1407c15fb5a75044 >echo c - jailkit/files >mkdir -p jailkit/files > /dev/null 2>&1 >echo x - jailkit/files/patch-Makefile.in >sed 's/^X//' >jailkit/files/patch-Makefile.in << '8d1300c20d6200f001dcd166f6b3799c' >X--- Makefile.in.orig 2009-08-20 20:46:11.000000000 -0300 >X+++ Makefile.in 2009-08-20 20:46:51.000000000 -0300 >X@@ -67,15 +67,6 @@ >X @cd src/ && $(MAKE) install >X @cd py/ && $(MAKE) install >X @cd man/ && $(MAKE) install >X- # test if the jk_chrootsh is already in /etc/shells >X- # this previously had @echo but that fails on FreeBSD >X- if test -w /etc/shells; then \ >X- if ! grep ${prefix}/sbin/jk_chrootsh /etc/shells ; then \ >X- echo "appending ${prefix}/sbin/jk_chroots to /etc/shells";\ >X- echo ${prefix}/sbin/jk_chrootsh >> /etc/shells ;\ >X- fi \ >X- fi >X- >X >X uninstall: >X rm -f ${iniprefix}/*.ini >X@@ -83,5 +74,3 @@ >X @cd man/ && $(MAKE) uninstall >X @cd src/ && $(MAKE) uninstall >X -rmdir --ignore-fail-on-non-empty ${DESTDIR}${iniprefix} >X- @echo "You must manually remove jk_chrootsh from /etc/shells" >X-# remove jk_chrootsh from /etc/shells >8d1300c20d6200f001dcd166f6b3799c >exit
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 138047
: 99042