From ed0d921874e8d3c8aad7425f630df7fe32252101 Mon Sep 17 00:00:00 2001 From: Glen Barber Date: Wed, 20 Jan 2016 17:07:13 +0000 Subject: [PATCH] Add a package for jail(8) and related utilities. Sponsored by: The FreeBSD Foundation --- etc/rc.d/Makefile | 7 ++++++- lib/libjail/Makefile | 2 ++ release/packages/jail-debug-lib32.ucl | 13 +++++++++++++ release/packages/jail-debug.ucl | 13 +++++++++++++ release/packages/jail-development.ucl | 13 +++++++++++++ release/packages/jail-lib32-development.ucl | 13 +++++++++++++ release/packages/jail-lib32-profile.ucl | 13 +++++++++++++ release/packages/jail-lib32.ucl | 13 +++++++++++++ release/packages/jail-profile.ucl | 13 +++++++++++++ release/packages/jail.ucl | 13 +++++++++++++ usr.sbin/jail/Makefile | 2 ++ usr.sbin/jexec/Makefile | 2 ++ usr.sbin/jls/Makefile | 2 ++ 13 files changed, 118 insertions(+), 1 deletion(-) create mode 100644 release/packages/jail-debug-lib32.ucl create mode 100644 release/packages/jail-debug.ucl create mode 100644 release/packages/jail-development.ucl create mode 100644 release/packages/jail-lib32-development.ucl create mode 100644 release/packages/jail-lib32-profile.ucl create mode 100644 release/packages/jail-lib32.ucl create mode 100644 release/packages/jail-profile.ucl create mode 100644 release/packages/jail.ucl diff --git a/etc/rc.d/Makefile b/etc/rc.d/Makefile index 10fe26b12a1b..216311857210 100644 --- a/etc/rc.d/Makefile +++ b/etc/rc.d/Makefile @@ -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 diff --git a/lib/libjail/Makefile b/lib/libjail/Makefile index 442274ae35dd..7932e9f4882b 100644 --- a/lib/libjail/Makefile +++ b/lib/libjail/Makefile @@ -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 diff --git a/release/packages/jail-debug-lib32.ucl b/release/packages/jail-debug-lib32.ucl new file mode 100644 index 000000000000..e7186d1d3b80 --- /dev/null +++ b/release/packages/jail-debug-lib32.ucl @@ -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 = < diff --git a/usr.sbin/jls/Makefile b/usr.sbin/jls/Makefile index 4c1de748ff90..34a5023516cb 100644 --- a/usr.sbin/jls/Makefile +++ b/usr.sbin/jls/Makefile @@ -6,6 +6,8 @@ PROG= jls MAN= jls.8 LIBADD= jail xo +PACKAGE=jail + .if ${MK_INET6_SUPPORT} != "no" CFLAGS+= -DINET6 .endif