Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Nov 2001 17:48:17 -0500 (EST)
From:      Rob Simmons <rsimmons@mail.wlcg.com>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        doc@freebsd.org
Subject:   docs/32116: pkg-plist instructions missing a switch on the find command
Message-ID:  <200111192248.fAJMmH439862@mail.wlcg.com>

next in thread | raw e-mail | index | archive | help

>Number:         32116
>Category:       docs
>Synopsis:       pkg-plist instructions missing a switch on the find command
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Nov 19 14:50:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Rob Simmons
>Release:        FreeBSD 4.4-STABLE i386
>Organization:
>Environment:
System: FreeBSD mail 4.4-STABLE FreeBSD 4.4-STABLE #1: Tue Oct 9 11:45:16 EDT
2001 rsimmons@mail:/usr/obj/usr/src/sys/WASABI i386


	
>Description:
The instructions for how to automatically create a package list in The
Porter's Handbook is missing the depth first traversal switch on the find
commands.  Without it, the pkg-plist that is created has the directories in
the wrong order.  When the port is removed from the machine it fails.
>How-To-Repeat:
follow the instructions here:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/porting-autoplist.html
>Fix:
In the section for "Store the directory structure in a new file."
The command "# (cd /var/tmp/port-name && find * -type d) > OLD-DIRS"
should be
"# (cd /var/tmp/port-name && find -d * -type d) > OLD-DIRS"
in the next section the command
"# (cd /var/tmp/port-name && find * \! -type d) > pkg-plist"
should be
"# (cd /var/tmp/port-name && find -d * \! -type d) > pkg-plist"
the same goes for the last example as well.
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200111192248.fAJMmH439862>