ports/171724: [Maintainer update] sysutils/qjail bug fix
Joe Barbish
qjail at a1poweruser.com
Mon Sep 17 21:50:06 UTC 2012
>Number: 171724
>Category: ports
>Synopsis: [Maintainer update] sysutils/qjail bug fix
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Mon Sep 17 21:50:05 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Joe Barbish
>Release: 9.0
>Organization:
none
>Environment:
>Description:
User reported bug about doing 'qjail create -a jail-aaa jail-bbb 10.0.10.5'
-a option means create new jail from archive file of jail-aaa.
Search of /usr/jails/archive selected incorrect archive file. If archive files named jail-aaa, jail-aaa-bbb, jail-aaa-bbb-ccc were present jail-aaa-bbb-ccc was always selected incorrectly. This same logic was also used for 'qjail restore jail-aaa', but that logic had check for this condition that told user to use full archive name that included the date stamp archive was created. Fixed logic in both functions.
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
diff -ruN qjail5/Makefile qjail/Makefile
--- qjail5/Makefile 2012-09-17 16:50:15.000000000 -0400
+++ qjail/Makefile 2012-09-17 16:37:46.000000000 -0400
@@ -5,7 +5,7 @@
# $FreeBSD: ports/sysutils/qjail/Makefile,v 1.5 2012/04/13 17:50:42 crees Exp $
PORTNAME= qjail
-PORTVERSION= 1.5
+PORTVERSION= 1.6
CATEGORIES= sysutils
MASTER_SITES= SF/${PORTNAME}
diff -ruN qjail5/distinfo qjail/distinfo
--- qjail5/distinfo 2012-09-17 16:48:36.000000000 -0400
+++ qjail/distinfo 2012-09-17 16:52:07.000000000 -0400
@@ -1,2 +1,2 @@
-SHA256 (qjail-1.5.tar.bz2) = 9604e5e9fb35a69e775849a56a70b1a047dd1969fc259ed8e12f44183a1aa9da
-SIZE (qjail-1.5.tar.bz2) = 40691
+SHA256 (qjail-1.6.tar.bz2) = 53b6743ddf948a2ec6d0eacff23fda7a37f99cd570d54ed517011a560c5e15e9
+SIZE (qjail-1.6.tar.bz2) = 40745
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list