From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Sep 17 21:50:06 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 08FB3106566B for ; Mon, 17 Sep 2012 21:50:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id D13B28FC12 for ; Mon, 17 Sep 2012 21:50:05 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q8HLo5gN095460 for ; Mon, 17 Sep 2012 21:50:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q8HLo5oK095459; Mon, 17 Sep 2012 21:50:05 GMT (envelope-from gnats) Resent-Date: Mon, 17 Sep 2012 21:50:05 GMT Resent-Message-Id: <201209172150.q8HLo5oK095459@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Joe Barbish Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 19BFC10656D1 for ; Mon, 17 Sep 2012 21:47:30 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 05D018FC08 for ; Mon, 17 Sep 2012 21:47:30 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.5/8.14.5) with ESMTP id q8HLlTOq036713 for ; Mon, 17 Sep 2012 21:47:29 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.5/8.14.5/Submit) id q8HLlTBB036712; Mon, 17 Sep 2012 21:47:29 GMT (envelope-from nobody) Message-Id: <201209172147.q8HLlTBB036712@red.freebsd.org> Date: Mon, 17 Sep 2012 21:47:29 GMT From: Joe Barbish To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/171724: [Maintainer update] sysutils/qjail bug fix X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Sep 2012 21:50:06 -0000 >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: