From nobody@FreeBSD.org  Mon Sep 17 21:47:30 2012
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 19BFC10656D1
	for <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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 <qjail@a1poweruser.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [Maintainer update] sysutils/qjail  bug fix
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         171724
>Category:       ports
>Synopsis:       [Maintainer update] sysutils/qjail  bug fix
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    crees
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 17 21:50:05 UTC 2012
>Closed-Date:    Tue Sep 18 17:45:10 UTC 2012
>Last-Modified:  Tue Sep 18 17:50:07 UTC 2012
>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:
Responsible-Changed-From-To: freebsd-ports-bugs->crees 
Responsible-Changed-By: crees 
Responsible-Changed-When: Tue Sep 18 06:26:50 UTC 2012 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=171724 
State-Changed-From-To: open->closed 
State-Changed-By: crees 
State-Changed-When: Tue Sep 18 17:45:09 UTC 2012 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=171724 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/171724: commit references a PR
Date: Tue, 18 Sep 2012 17:45:09 +0000 (UTC)

 Author: crees
 Date: Tue Sep 18 17:44:47 2012
 New Revision: 304449
 URL: http://svn.freebsd.org/changeset/ports/304449
 
 Log:
   Update to 1.6
   
   -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.
   
   PR:		ports/171724
   Submitted by:	maintainer (Joe Barbish <qjail@a1poweruser.com>)
 
 Modified:
   head/sysutils/qjail/Makefile
   head/sysutils/qjail/distinfo
 
 Modified: head/sysutils/qjail/Makefile
 ==============================================================================
 --- head/sysutils/qjail/Makefile	Tue Sep 18 17:32:48 2012	(r304448)
 +++ head/sysutils/qjail/Makefile	Tue Sep 18 17:44:47 2012	(r304449)
 @@ -5,7 +5,7 @@
  # $FreeBSD$
  
  PORTNAME=	qjail
 -PORTVERSION=	1.5
 +PORTVERSION=	1.6
  CATEGORIES=	sysutils
  MASTER_SITES=	SF/${PORTNAME}
  
 
 Modified: head/sysutils/qjail/distinfo
 ==============================================================================
 --- head/sysutils/qjail/distinfo	Tue Sep 18 17:32:48 2012	(r304448)
 +++ head/sysutils/qjail/distinfo	Tue Sep 18 17:44:47 2012	(r304449)
 @@ -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
 _______________________________________________
 svn-ports-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-ports-all
 To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
 
>Unformatted:
