diff options
author | xtraeme <xtraeme@pkgsrc.org> | 2005-01-11 15:47:00 +0000 |
---|---|---|
committer | xtraeme <xtraeme@pkgsrc.org> | 2005-01-11 15:47:00 +0000 |
commit | 7cb00d0f376f4f0dd82edbcd7d6a5f0825682cea (patch) | |
tree | 014c03620ca2e75fc7f36496698f85c72ddc2307 | |
parent | 92424c079d9a1d54c702b3864a97f088320c0f62 (diff) | |
download | pkgsrc-7cb00d0f376f4f0dd82edbcd7d6a5f0825682cea.tar.gz |
Added section 6.5: "How to resume transferencies with pkgsrc?", while
here fix a typos in the XFree86/X.org sections.
-rw-r--r-- | doc/guide/files/faq.xml | 32 |
1 files changed, 28 insertions, 4 deletions
diff --git a/doc/guide/files/faq.xml b/doc/guide/files/faq.xml index bf8cd3ecbab..b8af8ed374b 100644 --- a/doc/guide/files/faq.xml +++ b/doc/guide/files/faq.xml @@ -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 @@ CONF_FILES= ${EGDIR}/Muttrc ${PKG_SYSCONFDIR}/Muttrc</programlisting> <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 |