Add a package for jail(8) and related utilities.

Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Glen Barber 2016-01-20 17:07:13 +00:00
parent 59d43d11fe
commit ed0d921874
13 changed files with 118 additions and 1 deletions

View File

@ -204,7 +204,8 @@ FILES+= iscsid
.endif
.if ${MK_JAIL} != "no"
FILES+= jail
FILESGROUPS+= JAIL
JAIL+= jail
.endif
.if ${MK_LEGACY_CONSOLE} != "no"
@ -307,4 +308,8 @@ BSNMPDIR= /etc/rc.d
BSNMPMODE= ${BINMODE}
BSNMPPACKAGE= bsnmp
JAILDIR= /etc/rc.d
JAILMODE= ${BINMODE}
JAILPACKAGE= jail
.include <bsd.prog.mk>

View File

@ -6,6 +6,8 @@ SHLIB_MAJOR= 1
SRCS= jail.c jail_getid.c
INCS= jail.h
PACKAGE=jail
MAN= jail.3
MLINKS+=jail.3 jail_getid.3

View File

@ -0,0 +1,13 @@
name = "FreeBSD-%PKGNAME%"
origin = "base"
version = "%VERSION%"
comment = "Jail 32-bit libraries (debugging symbols)"
categories = [ base ]
maintainer = "re@FreeBSD.org"
www = "https://www.FreeBSD.org"
prefix = "/"
licenselogic = "single"
licenses = [ BSD2CLAUSE ]
desc = <<EOD
%DESC%
EOD

View File

@ -0,0 +1,13 @@
name = "FreeBSD-%PKGNAME%"
origin = "base"
version = "%VERSION%"
comment = "Jail utilities (debugging symbols)"
categories = [ base ]
maintainer = "re@FreeBSD.org"
www = "https://www.FreeBSD.org"
prefix = "/"
licenselogic = "single"
licenses = [ BSD2CLAUSE ]
desc = <<EOD
%DESC%
EOD

View File

@ -0,0 +1,13 @@
name = "FreeBSD-%PKGNAME%"
origin = "base"
version = "%VERSION%"
comment = "Jail utilities development"
categories = [ base ]
maintainer = "re@FreeBSD.org"
www = "https://www.FreeBSD.org"
prefix = "/"
licenselogic = "single"
licenses = [ BSD2CLAUSE ]
desc = <<EOD
%DESC%
EOD

View File

@ -0,0 +1,13 @@
name = "FreeBSD-%PKGNAME%"
origin = "base"
version = "%VERSION%"
comment = "Jail 32-bit development"
categories = [ base ]
maintainer = "re@FreeBSD.org"
www = "https://www.FreeBSD.org"
prefix = "/"
licenselogic = "single"
licenses = [ BSD2CLAUSE ]
desc = <<EOD
%DESC%
EOD

View File

@ -0,0 +1,13 @@
name = "FreeBSD-%PKGNAME%"
origin = "base"
version = "%VERSION%"
comment = "Jail 32-bit libraries (profiling)"
categories = [ base ]
maintainer = "re@FreeBSD.org"
www = "https://www.FreeBSD.org"
prefix = "/"
licenselogic = "single"
licenses = [ BSD2CLAUSE ]
desc = <<EOD
%DESC%
EOD

View File

@ -0,0 +1,13 @@
name = "FreeBSD-%PKGNAME%"
origin = "base"
version = "%VERSION%"
comment = "Jail 32-bit libraries"
categories = [ base ]
maintainer = "re@FreeBSD.org"
www = "https://www.FreeBSD.org"
prefix = "/"
licenselogic = "single"
licenses = [ BSD2CLAUSE ]
desc = <<EOD
%DESC%
EOD

View File

@ -0,0 +1,13 @@
name = "FreeBSD-%PKGNAME%"
origin = "base"
version = "%VERSION%"
comment = "Jail libraries (profiling)"
categories = [ base ]
maintainer = "re@FreeBSD.org"
www = "https://www.FreeBSD.org"
prefix = "/"
licenselogic = "single"
licenses = [ BSD2CLAUSE ]
desc = <<EOD
%DESC%
EOD

13
release/packages/jail.ucl Normal file
View File

@ -0,0 +1,13 @@
name = "FreeBSD-%PKGNAME%"
origin = "base"
version = "%VERSION%"
comment = "Jail utilities"
categories = [ base ]
maintainer = "re@FreeBSD.org"
www = "https://www.FreeBSD.org"
prefix = "/"
licenselogic = "single"
licenses = [ BSD2CLAUSE ]
desc = <<EOD
%DESC%
EOD

View File

@ -8,6 +8,8 @@ SRCS= jail.c command.c config.c state.c jailp.h jaillex.l jailparse.y y.tab.h
LIBADD= jail kvm util l
PACKAGE=jail
NO_WMISSING_VARIABLE_DECLARATIONS=
YFLAGS+=-v

View File

@ -4,4 +4,6 @@ PROG= jexec
MAN= jexec.8
LIBADD= jail util
PACKAGE=jail
.include <bsd.prog.mk>

View File

@ -6,6 +6,8 @@ PROG= jls
MAN= jls.8
LIBADD= jail xo
PACKAGE=jail
.if ${MK_INET6_SUPPORT} != "no"
CFLAGS+= -DINET6
.endif