1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00

Update to 2.0;

Standard maintenance.

1. Added -c option on "qjail create" command that enables ssh access to the
jail and creates user account using jailname for id/pw.

2. Added -C option on "qjail create" command that depends on -D option that
creates ssh access to jail and creates user account using jailname for
id/pw while automatically duplicating jails.

3. Created a customized flavor, ssh-default that enables ssh access to jails.
This flavor contains a login account with id/pw of qjail.

4. Removed -c option from "qjail install" because hosts customized /etc
caused problems with jail start up.

5. Updated man qjail.8 to reflect the changes.

PR:		ports/174890
Submitted by:	Joe Barbish <qjail@a1poweruser.com> (maintainer)
This commit is contained in:
Chris Rees 2013-01-02 10:05:06 +00:00
parent 1a92c44839
commit caff3fdfac
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=309809
3 changed files with 50 additions and 11 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= qjail
PORTVERSION= 1.9
PORTVERSION= 2.0
CATEGORIES= sysutils
MASTER_SITES= SF/${PORTNAME}

View File

@ -1,2 +1,2 @@
SHA256 (qjail-1.9.tar.bz2) = e1a9990a571b56b83eb71a266312a6373ab4a11094ec4d1c6503e4f48ff01aed
SIZE (qjail-1.9.tar.bz2) = 41275
SHA256 (qjail-2.0.tar.bz2) = d6ef6a034f58be79e3e0eef7ac2f5c94b810a3e57e9abbe578bbd5153238ca2f
SIZE (qjail-2.0.tar.bz2) = 49135

View File

@ -2,20 +2,51 @@ bin/qjail
etc/qjail.conf.sample
etc/rc.d/qjail-jail2
etc/rc.d/qjail2
%%EXAMPLESDIR%%/default/qjail.flavor
%%EXAMPLESDIR%%/default/etc/make.conf
%%EXAMPLESDIR%%/default/etc/motd
%%EXAMPLESDIR%%/default/etc/periodic.conf
%%EXAMPLESDIR%%/default/etc/rc.conf
%%EXAMPLESDIR%%/default/root/.cshrc
%%EXAMPLESDIR%%/default/usr/local/etc/sudoers
%%EXAMPLESDIR%%/nullmailer-example/qjail.flavor
%%EXAMPLESDIR%%/nullmailer-example/etc/rc.conf
%%EXAMPLESDIR%%/default/usr/share/skel/dot.cshrc
%%EXAMPLESDIR%%/nullmailer-example/etc/mail/mailer.conf
%%EXAMPLESDIR%%/nullmailer-example/etc/rc.conf
%%EXAMPLESDIR%%/nullmailer-example/usr/local/etc/nullmailer/remotes
@dirrm %%EXAMPLESDIR%%/default/usr/local/etc
@dirrm %%EXAMPLESDIR%%/default/usr/local
@dirrm %%EXAMPLESDIR%%/default/usr
@dirrm %%EXAMPLESDIR%%/default/etc
@dirrm %%EXAMPLESDIR%%/default
%%EXAMPLESDIR%%/ssh-default/etc/csh.cshrc
%%EXAMPLESDIR%%/ssh-default/etc/group
%%EXAMPLESDIR%%/ssh-default/etc/make.conf
%%EXAMPLESDIR%%/ssh-default/etc/master.passwd
%%EXAMPLESDIR%%/ssh-default/etc/motd
%%EXAMPLESDIR%%/ssh-default/etc/passwd
%%EXAMPLESDIR%%/ssh-default/etc/periodic.conf
%%EXAMPLESDIR%%/ssh-default/etc/pwd.db
%%EXAMPLESDIR%%/ssh-default/etc/rc.conf
%%EXAMPLESDIR%%/ssh-default/etc/spwd.db
%%EXAMPLESDIR%%/ssh-default/etc/ssh/sshd_config
%%EXAMPLESDIR%%/ssh-default/home
%%EXAMPLESDIR%%/ssh-default/readme.txt
%%EXAMPLESDIR%%/ssh-default/root/.cshrc
%%EXAMPLESDIR%%/ssh-default/usr/home/qjail/.cshrc
%%EXAMPLESDIR%%/ssh-default/usr/home/qjail/.login
%%EXAMPLESDIR%%/ssh-default/usr/home/qjail/.login_conf
%%EXAMPLESDIR%%/ssh-default/usr/home/qjail/.mail_aliases
%%EXAMPLESDIR%%/ssh-default/usr/home/qjail/.mailrc
%%EXAMPLESDIR%%/ssh-default/usr/home/qjail/.profile
%%EXAMPLESDIR%%/ssh-default/usr/home/qjail/.rhosts
%%EXAMPLESDIR%%/ssh-default/usr/home/qjail/.shrc
%%EXAMPLESDIR%%/ssh-default/usr/local/etc/sudoers
%%EXAMPLESDIR%%/ssh-default/usr/share/skel/dot.cshrc
@dirrm %%EXAMPLESDIR%%/ssh-default/usr/share/skel
@dirrm %%EXAMPLESDIR%%/ssh-default/usr/share
@dirrm %%EXAMPLESDIR%%/ssh-default/usr/home/qjail
@dirrm %%EXAMPLESDIR%%/ssh-default/usr/home
@dirrm %%EXAMPLESDIR%%/ssh-default/usr/local/etc
@dirrm %%EXAMPLESDIR%%/ssh-default/usr/local
@dirrm %%EXAMPLESDIR%%/ssh-default/usr
@dirrm %%EXAMPLESDIR%%/ssh-default/root
@dirrm %%EXAMPLESDIR%%/ssh-default/etc/ssh
@dirrm %%EXAMPLESDIR%%/ssh-default/etc
@dirrm %%EXAMPLESDIR%%/ssh-default
@dirrm %%EXAMPLESDIR%%/nullmailer-example/usr/local/etc/nullmailer
@dirrm %%EXAMPLESDIR%%/nullmailer-example/usr/local/etc
@dirrm %%EXAMPLESDIR%%/nullmailer-example/usr/local
@ -23,4 +54,12 @@ etc/rc.d/qjail2
@dirrm %%EXAMPLESDIR%%/nullmailer-example/etc/mail
@dirrm %%EXAMPLESDIR%%/nullmailer-example/etc
@dirrm %%EXAMPLESDIR%%/nullmailer-example
@dirrm %%EXAMPLESDIR%%/default/usr/share/skel
@dirrm %%EXAMPLESDIR%%/default/usr/share
@dirrm %%EXAMPLESDIR%%/default/usr/local/etc
@dirrm %%EXAMPLESDIR%%/default/usr/local
@dirrm %%EXAMPLESDIR%%/default/usr
@dirrm %%EXAMPLESDIR%%/default/root
@dirrm %%EXAMPLESDIR%%/default/etc
@dirrm %%EXAMPLESDIR%%/default
@dirrm %%EXAMPLESDIR%%