FreeBSD Bugzilla – Attachment 21509 Details for
Bug 37693
Minor correxion to FreeBSD Porter's Handbook
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 2.19 KB, created by
harry_newton
on 2002-05-03 00:10:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
harry_newton
Created:
2002-05-03 00:10:01 UTC
Size:
2.19 KB
patch
obsolete
>--- book.sgml Thu May 2 23:43:55 2002 >+++ book.sgml_original Thu May 2 23:33:29 2002 >@@ -3878,18 +3878,20 @@ > <title>Automated package list creation</title> > > <para>First, make sure your port is almost complete, with only >- <filename>pkg-plist</filename> missing.</para> >+ <filename>pkg-plist</filename> missing. Create an empty >+ <filename>pkg-plist</filename>.</para> > >- <para>Next, create a temporary set of directories into which >- your port can be installed, and install any >- dependencies.</para> >+ <screen>&prompt.root; <userinput>touch pkg-plist</userinput></screen> >+ >+ <para>Next, create a new set of directories which your port can be >+ installed, and install any dependencies.</para> > > <screen>&prompt.root; <userinput>mtree -U -f /etc/mtree/BSD.local.dist -d -e -p /var/tmp/<replaceable>port-name</replaceable></userinput> > &prompt.root; <userinput>make depends PREFIX=/var/tmp/<replaceable>port-name</replaceable></userinput></screen> > > <para>Store the directory structure in a new file.</para> > >- <screen>&prompt.root; <userinput>(cd /var/tmp/<replaceable>port-name</replaceable> && find -d * -type d) | sort - > OLD-DIRS</userinput></screen> >+ <screen>&prompt.root; <userinput>(cd /var/tmp/<replaceable>port-name</replaceable> && find -d * -type d) > OLD-DIRS</userinput></screen> > > <para>If your port honors <makevar>PREFIX</makevar> (which it should) > you can then install the port and create the package list.</para> >@@ -3900,7 +3902,7 @@ > <para>You must also add any newly created directories to the packing > list.</para> > >- <screen>&prompt.root; <userinput>(cd /var/tmp/<replaceable>port-name</replaceable> && find -d * -type d) | sort - | comm -13 OLD-DIRS - | sed -e 's#^#@dirrm #' >> pkg-plist</userinput></screen> >+ <screen>&prompt.root; <userinput>(cd /var/tmp/<replaceable>port-name && find -d * -type d) | comm -13 OLD-DIRS - | sed -e 's#^#@dirrm #' >> pkg-plist</replaceable></userinput></screen> > > <para>Finally, you need to tidy up the packing list by hand; it isn't > <emphasis>all</emphasis> automated. Manual pages should be listed in
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 37693
: 21509