Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Sep 2019 21:19:52 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r512681 - in head/sysutils/cbsd: . files
Message-ID:  <201909232119.x8NLJqSd096754@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: swills
Date: Mon Sep 23 21:19:52 2019
New Revision: 512681
URL: https://svnweb.freebsd.org/changeset/ports/512681

Log:
  sysutils/cbsd: fix bset command in CBSD 12.1.1
  
  PR:		240653
  Submitted by:	olevole@olevole.ru (maintainer)

Added:
  head/sysutils/cbsd/files/patch-jailctl_bset   (contents, props changed)
Modified:
  head/sysutils/cbsd/Makefile   (contents, props changed)

Modified: head/sysutils/cbsd/Makefile
==============================================================================
--- head/sysutils/cbsd/Makefile	Mon Sep 23 21:13:51 2019	(r512680)
+++ head/sysutils/cbsd/Makefile	Mon Sep 23 21:19:52 2019	(r512681)
@@ -2,6 +2,7 @@
 
 PORTNAME=	cbsd
 DISTVERSION=	12.1.1
+PORTREVISION=	1
 CATEGORIES=	sysutils
 
 MAINTAINER=	olevole@olevole.ru

Added: head/sysutils/cbsd/files/patch-jailctl_bset
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/cbsd/files/patch-jailctl_bset	Mon Sep 23 21:19:52 2019	(r512681)
@@ -0,0 +1,11 @@
+--- jailctl/bset.orig	2019-09-13 19:50:55 UTC
++++ jailctl/bset
+@@ -121,7 +121,7 @@ update_jails()
+ 			fi
+ 			;;
+ 		*)
+-			cbsdsqlrw ${jailsysdir}/${jname}/local.sqlite UPDATE settings SET ${i}="${VAL}"
++			cbsdsqlrw ${jailsysdir}/${jname}/local.sqlite UPDATE settings SET ${i}=\"${VAL}\"
+ 			# back compatible
+ 			cbsdsqlrw local UPDATE bhyve SET ${i}=\"${VAL}\" WHERE jname=\"${jname}\"
+ 			;;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201909232119.x8NLJqSd096754>