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: 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
>Submitter-Id: current-users >Originator: Rob Simmons >Organization: >Confidential: no >Synopsis: pkg-plist instructions missing a switch on the find command >Severity: non-critical >Priority: low >Category: docs >Class: doc-bug >Release: FreeBSD 4.4-STABLE i386 >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. 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>