sysutils/iocell: Allow for creating/keeping bridge interfaces

Add pull request #40 that allows for new jail parameters:

  - createbridge (default on)
  - keepbridge (default off)

createbridge controls whether the default bridge interfaces (bridge0
and bridge1) are created on jail startup if they do not exist.

keepbridge controls whether the bridge0 and bridge1 interfaces will
be destroyed on jail shutdown if they are not longer used.

Both these options prevents bridge interfaces manipulation in case
when they are being managed outside iocell.

PR:			266015
Approved by:		robak (maintainer timeout)
Differential Revision:	https://reviews.freebsd.org/D36325
This commit is contained in:
Juraj Lutter 2022-08-24 10:49:31 +02:00
parent a1c305e3c7
commit e054fbd8de
2 changed files with 9 additions and 6 deletions

View File

@ -1,11 +1,14 @@
PORTNAME= iocell
PORTVERSION= 2.1.2
DISTVERSIONPREFIX=v
PORTREVISION= 1
DISTVERSIONPREFIX= v
PORTREVISION= 2
CATEGORIES= sysutils
PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/pull/
PATCHFILES+= 37.patch:-p1 # https://github.com/bartekrutkowski/iocell/pull/37
# https://github.com/bartekrutkowski/iocell/pull/37
# https://github.com/bartekrutkowski/iocell/pull/40
PATCHFILES+= 37.patch:-p1 \
40.patch:-p1
MAINTAINER= robak@FreeBSD.org
COMMENT= Feature rich Jail containers manager (iocage fork)
@ -16,8 +19,6 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= uclcmd:devel/uclcmd
CONFLICTS= iocage
USE_GITHUB= yes
GH_ACCOUNT= bartekrutkowski

View File

@ -1,5 +1,7 @@
TIMESTAMP = 1613421536
TIMESTAMP = 1661329409
SHA256 (bartekrutkowski-iocell-v2.1.2_GH0.tar.gz) = 36f98ec1f55f444913bb5154b51549e85fb34e04e372d4fe34bb8be2c5f7ed36
SIZE (bartekrutkowski-iocell-v2.1.2_GH0.tar.gz) = 372737
SHA256 (37.patch) = 9bacb2e7fa1b6de7dac753d23594087951733968f1723501096cb71131e811e8
SIZE (37.patch) = 4538
SHA256 (40.patch) = 8a0b62c42cb5970f83adafa76cae868f4c537617a69e443cb6950e101012a7e8
SIZE (40.patch) = 7536