From chuck@ns1.pkix.net  Sat May 24 21:21:18 2003
Return-Path: <chuck@ns1.pkix.net>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id A0B4037B401
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 24 May 2003 21:21:18 -0700 (PDT)
Received: from ns1.pkix.net (dpvc-68-161-244-25.ny325.east.verizon.net [68.161.244.25])
	by mx1.FreeBSD.org (Postfix) with ESMTP id E8F9643F93
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 24 May 2003 21:21:17 -0700 (PDT)
	(envelope-from chuck@ns1.pkix.net)
Received: from ns1.pkix.net (localhost [127.0.0.1])
	by ns1.pkix.net (8.12.9/8.12.9) with ESMTP id h4P4LHZq092053
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 25 May 2003 00:21:17 -0400 (EDT)
	(envelope-from chuck@ns1.pkix.net)
Received: (from chuck@localhost)
	by ns1.pkix.net (8.12.9/8.12.9/Submit) id h4P4LHai092052;
	Sun, 25 May 2003 00:21:17 -0400 (EDT)
Message-Id: <200305250421.h4P4LHai092052@ns1.pkix.net>
Date: Sun, 25 May 2003 00:21:17 -0400 (EDT)
From: Charles Swiger <chuck@pkix.net>
Reply-To: Charles Swiger <chuck@pkix.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: "package list creation" document error
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         52666
>Category:       docs
>Synopsis:       "package list creation" document error
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-doc
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat May 24 21:30:05 PDT 2003
>Closed-Date:    Fri May 30 07:20:00 PDT 2003
>Last-Modified:  Sat May 31 19:30:14 PDT 2003
>Originator:     Charles Swiger
>Release:        FreeBSD 4.8-STABLE i386
>Organization:
PKIx
>Environment:
System: FreeBSD ns1.pkix.net 4.8-STABLE FreeBSD 4.8-STABLE #1: Fri May 2 01:39:29 EDT 2003 root@ns1.pkix.net:/usr/obj/usr/src/sys/NORMAL i386

>Description:

The "&& find -d *" commands in http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/porting-autoplist.html don't work and should be replaced with "find ."

>How-To-Repeat:

# mkdir /var/tmp/port-name
# (cd /var/tmp/port-name && find -d * -type d) | sort -r > OLD-DIRS
find: *: No such file or directory

>Fix:

# (cd /var/tmp/port-name && find . -type d) | sort -r > OLD-DIRS

...works fine.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: tom 
State-Changed-When: Fri May 30 07:18:40 PDT 2003 
State-Changed-Why:  
Please read the instructions carefully.  If you run the mtree command, 
as described in the Porter's Handbook, you do not encounter this 
problem. 

Failing to run mtree will cause many extra files to appear in your 
pkg-plist. 

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

From: Chuck Swiger <chuck@codefab.com>
To: freebsd-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: docs/52666: "package list creation" document error
Date: Sat, 31 May 2003 22:21:53 -0400

 Thanks for the comments, and I supposed I've gotten what I deserve for trimming 
 output, but the problem I had with "find -d . -type d" was due to "find" being 
 expanded to "noglob find" via a shell alias.
 
 -Chuck
 
 
>Unformatted:
