From 8aad60b3abd6117b5a683da5c4ccbdb2fb9cb433 Mon Sep 17 00:00:00 2001 From: Peter Hyman Date: Mon, 20 Jun 2022 07:03:54 -0500 Subject: [PATCH] Update slackpkg.conf.new and slackpkg.conf.5 - Show DOWNLOADER options for curl usage. - Update manpage date and slackpkg version. --- files/slackpkg.conf.5 | 14 +++++++++++++- files/slackpkg.conf.new | 8 ++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/files/slackpkg.conf.5 b/files/slackpkg.conf.5 index e8ca95d..e202f85 100644 --- a/files/slackpkg.conf.5 +++ b/files/slackpkg.conf.5 @@ -1,4 +1,4 @@ -.TH SLACKPKG.CONF 5 "March 2021" slackpkg-15.0.1 "" +.TH SLACKPKG.CONF 5 "June 2022" slackpkg-15.0.10 "" .SH NAME .B slackpkg.conf \- Configuration data for slackpkg @@ -98,6 +98,18 @@ The default value of .B WORKDIR is /var/lib/slackpkg. +.TP 5 +.B DOWNLOADER +.br +Selects the download application slackpkg will use to fetch files. +Current options are \fBcurl\fR or \fBwget\fR. Default is wget. + +.TP 5 +.B CURLFLAGS +.br +Selects special options for curl. If you need to use multiple options, +remember to put them between double quotes. + .TP 5 .B WGETFLAGS .br diff --git a/files/slackpkg.conf.new b/files/slackpkg.conf.new index cbc845d..d96b759 100644 --- a/files/slackpkg.conf.new +++ b/files/slackpkg.conf.new @@ -70,6 +70,14 @@ TEMP=/var/cache/packages # Package lists, file lists, and others will be stored in WORKDIR: WORKDIR=/var/lib/slackpkg +# Use curl or wget for Downloading (wget is default) +#DOWNLOADER=curl + +DOWNLOADER=wget + +# Special options for curl +#CURLFLAGS= + # Special options for wget (default is WGETFLAGS="--passive-ftp") WGETFLAGS="--passive-ftp"