pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/doc/guide/files Added section 6.5: "How to resume tran...
details: https://anonhg.NetBSD.org/pkgsrc/rev/1d93fe766409
branches: trunk
changeset: 487230:1d93fe766409
user: xtraeme <xtraeme%pkgsrc.org@localhost>
date: Tue Jan 11 15:47:00 2005 +0000
description:
Added section 6.5: "How to resume transferencies with pkgsrc?", while
here fix a typos in the XFree86/X.org sections.
diffstat:
doc/guide/files/faq.xml | 32 ++++++++++++++++++++++++++++----
1 files changed, 28 insertions(+), 4 deletions(-)
diffs (67 lines):
diff -r f17c0c950443 -r 1d93fe766409 doc/guide/files/faq.xml
--- a/doc/guide/files/faq.xml Tue Jan 11 15:44:30 2005 +0000
+++ b/doc/guide/files/faq.xml Tue Jan 11 15:47:00 2005 +0000
@@ -1,4 +1,4 @@
-<!-- $NetBSD: faq.xml,v 1.2 2004/11/20 13:25:22 hubertf Exp $ -->
+<!-- $NetBSD: faq.xml,v 1.3 2005/01/11 15:47:00 xtraeme Exp $ -->
<chapter id="faq"> <?dbhtml filename="faq.html"?>
<title>Frequently Asked Questions</title>
@@ -202,6 +202,30 @@
message</ulink> for more details. </para>
</sect1>
+<sect1>
+ <title>How to resume transferencies with pkgsrc?</title>
+
+ <para>By default resuming transferencies in pkgsrc is disabled, but you
+ can enable this feature adding the option
+ <varname>PKG_RESUME_TRANSFERS=YES</varname> into
+ <filename>mk.conf</filename>, if a previous transfer wasn't
+ completed, it will try to resume it saving your bandwidth.</para>
+ <para>For example, if you want to use <filename>wget</filename> to
+ resume downloads, you'll have to use something like:</para>
+
+ <programlisting>
+ FETCH_CMD=wget
+ .if defined(FETCH_CMD) && ${FETCH_CMD} == "wget"
+ FETCH_BEFORE_ARGS=--passive-ftp
+ FETCH_RESUME_ARGS=-c
+ FETCH_OUTPUT_ARGS=-O
+ .endif
+ </programlisting>
+
+ <para>Don't forget to set <varname>FETCH_RESUME_ARGS</varname> and
+ <varname>FETCH_OUTPUT_ARGS</varname> if you are not using default
+ values.</para>
+</sect1>
<sect1>
<title>How can I install/use XFree86 from pkgsrc?</title>
@@ -209,7 +233,7 @@
<para> If you want to use XFree86 from pkgsrc instead of your
system's own X11 (<filename>/usr/X11R6</filename>,
<filename>/usr/openwin</filename>, ...), you will have to
- add the following lines into <filename>mk.conf</filename>:
+ add the following line into <filename>mk.conf</filename>:
</para>
<programlisting>
@@ -224,7 +248,7 @@
<para> If you want to use X.org from pkgsrc instead of your system's
own X11 (<filename>/usr/X11R6</filename>,
<filename>/usr/openwin</filename>, ...) you will have to add the
- following lines into <filename>mk.conf</filename>: </para>
+ following line into <filename>mk.conf</filename>: </para>
<programlisting>
X11_TYPE=xorg
@@ -524,7 +548,7 @@
<screen>
===========================================================================
-$NetBSD: faq.xml,v 1.2 2004/11/20 13:25:22 hubertf Exp $
+$NetBSD: faq.xml,v 1.3 2005/01/11 15:47:00 xtraeme Exp $
You may wish to have the vulnerabilities file downloaded daily so that
it remains current. This may be done by adding an appropriate entry
Home |
Main Index |
Thread Index |
Old Index