From nobody@FreeBSD.org  Sat Oct 30 00:38:59 2010
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 3EC921065673
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 30 Oct 2010 00:38:59 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 2CD768FC0C
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 30 Oct 2010 00:38:59 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o9U0cwqA015331
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 30 Oct 2010 00:38:58 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id o9U0cwSE015330;
	Sat, 30 Oct 2010 00:38:58 GMT
	(envelope-from nobody)
Message-Id: <201010300038.o9U0cwSE015330@www.freebsd.org>
Date: Sat, 30 Oct 2010 00:38:58 GMT
From: Ben Grimm <freebsd-pr@bengrimm.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: portmaster -e globbing appears to have a problem with wildcards
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         151824
>Category:       ports
>Synopsis:       ports-mgmt/portmaster: portmaster -e globbing appears to have a problem with wildcards
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    dougb
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Oct 30 00:40:08 UTC 2010
>Closed-Date:    Mon Nov 01 00:05:40 UTC 2010
>Last-Modified:  Mon Nov  1 00:10:10 UTC 2010
>Originator:     Ben Grimm
>Release:        FreeBSD 8.1-STABLE
>Organization:
>Environment:
FreeBSD box 8.1-STABLE FreeBSD 8.1-STABLE #0: Thu Sep 23 15:37:21 CEST 2010     toor@box:/usr/obj/usr/src/sys/BOX  amd64

>Description:
See http://forums.freebsd.org/showthread.php?t=18868 for description. Summary: 'portmaster -e glob\*' only seems to work when /var/db/pkg is the current working directory. If it is any other directory, it appears to expand (erroneously) in *that* directory instead of matching entries in /var/db/pkg.
>How-To-Repeat:
http://forums.freebsd.org/showthread.php?t=18868
>Fix:
Anchor the functionality of portmaster -e in /var/db/pkg/ instead of cwd.

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->dougb 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Sat Oct 30 23:04:48 UTC 2010 
Responsible-Changed-Why:  
Fix synopsis and assign. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=151824 
State-Changed-From-To: open->patched 
State-Changed-By: dougb 
State-Changed-When: Sun Oct 31 02:15:55 UTC 2010 
State-Changed-Why:  


http://www.freebsd.org/cgi/query-pr.cgi?pr=151824 
State-Changed-From-To: patched->closed 
State-Changed-By: dougb 
State-Changed-When: Mon Nov 1 00:05:17 UTC 2010 
State-Changed-Why:  

Fix committed in version 3.2. Thanks again. 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/151824: commit references a PR
Date: Mon,  1 Nov 2010 00:03:52 +0000 (UTC)

 dougb       2010-11-01 00:03:42 UTC
 
   FreeBSD ports repository
 
   Modified files:
     ports-mgmt/portmaster Makefile distinfo 
   Log:
   Upgrade to version 3.2
   
   Bug Fixes
   =========
   1. Properly handle +IGNOREME files again
   2. In safe_exit() only print the restart hint if -n PM_NEEDS_UPDATE
   
   Enhancements
   ============
   1. For -F, a better message for spawned children, and continue the campaign
   to do less irrelevant stuff.
   2. Add some whitespace to the "All ports are up to date" message for -a
   3. Make it clear in the docs that -e only handles single ports, and
      use the enhanced features of find_glob_dirs() to return better error
      messages if a glob doesn't match one and only one port. (Problem
      mentioned in PR.)
   
   PR:             ports/151824
   Submitted by:   Ben Grimm <freebsd-pr@bengrimm.net>
   
   Revision  Changes    Path
   2.35      +1 -1      ports/ports-mgmt/portmaster/Makefile
   2.3       +4 -4      ports/ports-mgmt/portmaster/distinfo
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
