View | Details | Raw Unified | Return to bug 212202
Collapse All | Expand All

(-)qjail/Makefile (-4 / +12 lines)
Lines 2-8 Link Here
2
# $FreeBSD: head/sysutils/qjail/Makefile 418800 2016-07-19 14:42:44Z amdmi3 $
2
# $FreeBSD: head/sysutils/qjail/Makefile 418800 2016-07-19 14:42:44Z amdmi3 $
3
3
4
PORTNAME=	qjail
4
PORTNAME=	qjail
5
PORTVERSION=	4.9
5
PORTVERSION=	5.0
6
CATEGORIES=	sysutils
6
CATEGORIES=	sysutils
7
MASTER_SITES=	SF/${PORTNAME}
7
MASTER_SITES=	SF/${PORTNAME}
8
8
Lines 24-39 Link Here
24
NO_BUILD=	yes
24
NO_BUILD=	yes
25
NO_ARCH=	yes
25
NO_ARCH=	yes
26
26
27
CONFLICTS_INSTALL=	qjail-2.* qjail-3.*
28
29
do-install:
27
do-install:
30
.for i in qjail qjail.vnet.be qjail.vnet.ng
28
29
.for i in qjail qjail.vnet.be 
31
	${INSTALL_SCRIPT} ${WRKSRC}/${i} ${STAGEDIR}${PREFIX}/bin
30
	${INSTALL_SCRIPT} ${WRKSRC}/${i} ${STAGEDIR}${PREFIX}/bin
32
.endfor
31
.endfor
32
33
	${INSTALL_SCRIPT} ${WRKSRC}/qjail.bootime              \
33
	${INSTALL_SCRIPT} ${WRKSRC}/qjail.bootime              \
34
		${STAGEDIR}${PREFIX}/etc/rc.d
34
		${STAGEDIR}${PREFIX}/etc/rc.d
35
35
	${INSTALL_DATA}   ${WRKSRC}/qjail.portsnap.conf        \
36
	${INSTALL_DATA}   ${WRKSRC}/qjail.portsnap.conf        \
36
		${STAGEDIR}${PREFIX}/etc/qjail.portsnap.conf.sample
37
		${STAGEDIR}${PREFIX}/etc/qjail.portsnap.conf.sample
38
37
.for i in qjail qjail-intro qjail-howto
39
.for i in qjail qjail-intro qjail-howto
38
	${INSTALL_MAN}   ${WRKSRC}/${i}.8 ${STAGEDIR}${MAN8PREFIX}/man/man8
40
	${INSTALL_MAN}   ${WRKSRC}/${i}.8 ${STAGEDIR}${MAN8PREFIX}/man/man8
39
.endfor
41
.endfor
Lines 43-46 Link Here
43
	(cd ${WRKSRC}/examples/ \
45
	(cd ${WRKSRC}/examples/ \
44
	    && ${COPYTREE_SHARE} \* ${STAGEDIR}${EXAMPLESDIR})
46
	    && ${COPYTREE_SHARE} \* ${STAGEDIR}${EXAMPLESDIR})
45
47
48
.include <bsd.port.pre.mk>
49
50
.if ${OSREL} < 11.0
51
IGNORE= well not install because this version is unsupported on ${OSREL} systems
52
.endif
53
46
.include <bsd.port.mk>
54
.include <bsd.port.mk>
(-)qjail/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (qjail-4.9.tar.bz2) = 163d8893d431ab0699156db4a15c1c8927a71c4918014adb6006a8b6657cb49b
1
SHA256 (qjail-5.0.tar.bz2) = 41bc83d214035c7939d50fce091a0f888a7d109aaf93cb52c9c70d0f4357a668
2
SIZE (qjail-4.9.tar.bz2) = 66048
2
SIZE (qjail-5.0.tar.bz2) = 63015
(-)qjail/pkg-descr (-1 / +1 lines)
Lines 1-4 Link Here
1
This qjail version is not intended for RELEASES older than RELEASE-10.0.
1
This qjail version only supports RELEASE-11.0 and newer.
2
2
3
Qjail [ q = quick ] is a 4th generation wrapper for the basic chroot jail
3
Qjail [ q = quick ] is a 4th generation wrapper for the basic chroot jail
4
system that includes security and performance enhancements. Plus a new level
4
system that includes security and performance enhancements. Plus a new level
(-)qjail/pkg-message (-29 lines)
Lines 10-42 Link Here
10
10
11
########################################################################
11
########################################################################
12
12
13
For users who have existing qjail environments. Please take note.
14
There are changes to the internals of the jail(8) command and changes to 
15
parameter names in the periodic files that have occured in FreeBSD 
16
Release 10.2 that effects jail behavior in a very minor way. 
17
IF your running qjail on an 10.2 or newer version of FreeBSD you should 
18
consider doing the following.
19
13
20
This version of qjail has an built in auto convert function that you may select
21
to choose that fixes those minor behavior problems with your existing jails.
22
This auto convert function is not documented in the qjail manual. Its only 
23
shown here. So write it down. 
24
25
       Issue [ qjail update -u ] from the host console. 
26
27
This will cause the existing "flavors" default & ssh-default directories to be 
28
renamed and new ones populated. Then in each existing jail the periodic.conf
29
and newsyslog.conf files will be renamed with .saved suffix and new ones added. 
30
The rc.conf file will be updated in place changing the 
31
syslogd_enable= parameter value from "NO" to "YES".
32
33
The new periodic.conf file has many sendmail reporting options disabled because
34
sendmail is disabled in the jails rc.conf file by default. This drastically
35
reduces the daily. weekly, monthly system and security status reports elapse
36
run times. This has a major effect on operating system performance where there 
37
are a large number of jails.
38
39
The [ qjail install ] command will install all the correct files depending on
40
what version of FreeBSD your host is running.     
41
 
42
########################################################################
(-)qjail/pkg-plist (-13 / +11 lines)
Lines 1-24 Link Here
1
bin/qjail
1
bin/qjail
2
bin/qjail.vnet.be
2
bin/qjail.vnet.be
3
bin/qjail.vnet.ng
4
@sample etc/qjail.portsnap.conf.sample
3
@sample etc/qjail.portsnap.conf.sample
5
etc/rc.d/qjail.bootime
4
etc/rc.d/qjail.bootime
6
man/man8/qjail.8.gz
5
man/man8/qjail.8.gz
7
man/man8/qjail-intro.8.gz
6
man/man8/qjail-intro.8.gz
8
man/man8/qjail-howto.8.gz
7
man/man8/qjail-howto.8.gz
9
%%EXAMPLESDIR%%/vnet/ipfw.rules.host
8
%%EXAMPLESDIR%%/vnet/ipfw.host.rules 
10
%%EXAMPLESDIR%%/vnet/ipfw.rules.vnet
9
%%EXAMPLESDIR%%/vnet/ipfw.vnet.rules 
11
%%EXAMPLESDIR%%/vnet/ipf.rules.host
10
%%EXAMPLESDIR%%/vnet/ipf.host.rules  
12
%%EXAMPLESDIR%%/vnet/ipf.rules.vnet
11
%%EXAMPLESDIR%%/vnet/ipf.vnet.boot.rules 
13
%%EXAMPLESDIR%%/vnet/pf.rules.host
12
%%EXAMPLESDIR%%/vnet/ipf.vnet.run.rules  
14
%%EXAMPLESDIR%%/vnet/pf.rules.vnet
13
%%EXAMPLESDIR%%/vnet/pf.host.rules 
14
%%EXAMPLESDIR%%/vnet/pf.vnet.rules.script
15
%%EXAMPLESDIR%%/vnet/devfsrules_vjail_pf70
16
%%EXAMPLESDIR%%/vnet/devfsrules_vjail_ipf60 
15
%%EXAMPLESDIR%%/default/etc/make.conf
17
%%EXAMPLESDIR%%/default/etc/make.conf
16
%%EXAMPLESDIR%%/default/etc/motd
18
%%EXAMPLESDIR%%/default/etc/motd
17
%%EXAMPLESDIR%%/default/etc/periodic.conf
19
%%EXAMPLESDIR%%/default/etc/periodic.conf
18
%%EXAMPLESDIR%%/default/etc/periodic102.conf
20
%%EXAMPLESDIR%%/default/etc/newsyslog.conf
19
%%EXAMPLESDIR%%/default/etc/newsyslog102.conf
20
%%EXAMPLESDIR%%/default/etc/rc.conf
21
%%EXAMPLESDIR%%/default/etc/rc.conf
21
%%EXAMPLESDIR%%/default/etc/rc102.conf
22
%%EXAMPLESDIR%%/default/root/.cshrc
22
%%EXAMPLESDIR%%/default/root/.cshrc
23
%%EXAMPLESDIR%%/default/usr/local/etc/pkg.conf
23
%%EXAMPLESDIR%%/default/usr/local/etc/pkg.conf
24
%%EXAMPLESDIR%%/default/usr/local/etc/sudoers
24
%%EXAMPLESDIR%%/default/usr/local/etc/sudoers
Lines 28-38 Link Here
28
%%EXAMPLESDIR%%/ssh-default/etc/motd
28
%%EXAMPLESDIR%%/ssh-default/etc/motd
29
%%EXAMPLESDIR%%/ssh-default/etc/passwd
29
%%EXAMPLESDIR%%/ssh-default/etc/passwd
30
%%EXAMPLESDIR%%/ssh-default/etc/periodic.conf
30
%%EXAMPLESDIR%%/ssh-default/etc/periodic.conf
31
%%EXAMPLESDIR%%/ssh-default/etc/periodic102.conf
31
%%EXAMPLESDIR%%/ssh-default/etc/newsyslog.conf
32
%%EXAMPLESDIR%%/ssh-default/etc/newsyslog102.conf
33
%%EXAMPLESDIR%%/ssh-default/etc/pwd.db
32
%%EXAMPLESDIR%%/ssh-default/etc/pwd.db
34
%%EXAMPLESDIR%%/ssh-default/etc/rc.conf
33
%%EXAMPLESDIR%%/ssh-default/etc/rc.conf
35
%%EXAMPLESDIR%%/ssh-default/etc/rc102.conf
36
%%EXAMPLESDIR%%/ssh-default/etc/spwd.db
34
%%EXAMPLESDIR%%/ssh-default/etc/spwd.db
37
%%EXAMPLESDIR%%/ssh-default/etc/ssh/sshd_config
35
%%EXAMPLESDIR%%/ssh-default/etc/ssh/sshd_config
38
%%EXAMPLESDIR%%/ssh-default/root/.cshrc
36
%%EXAMPLESDIR%%/ssh-default/root/.cshrc

Return to bug 212202