From owner-freebsd-doc Mon Nov 19 14:50:11 2001 Delivered-To: freebsd-doc@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id CF5D437B418 for ; Mon, 19 Nov 2001 14:50:00 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id fAJMo0v05620; Mon, 19 Nov 2001 14:50:00 -0800 (PST) (envelope-from gnats) Received: from mail.wlcg.com (mail.wlcg.com [198.92.199.5]) by hub.freebsd.org (Postfix) with ESMTP id 0BC2D37B41B; Mon, 19 Nov 2001 14:48:17 -0800 (PST) Received: (from rsimmons@localhost) by mail.wlcg.com (8.11.6/8.11.6) id fAJMmH439862; Mon, 19 Nov 2001 17:48:17 -0500 (EST) (envelope-from rsimmons) Message-Id: <200111192248.fAJMmH439862@mail.wlcg.com> Date: Mon, 19 Nov 2001 17:48:17 -0500 (EST) From: Rob Simmons Reply-To: Rob Simmons To: FreeBSD-gnats-submit@freebsd.org Cc: doc@freebsd.org X-Send-Pr-Version: 3.113 Subject: docs/32116: pkg-plist instructions missing a switch on the find command Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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