bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-wget] [PATCH v3] wget: Add --use-askpass=COMMAND support


From: Liam R. Howlett
Subject: [Bug-wget] [PATCH v3] wget: Add --use-askpass=COMMAND support
Date: Thu, 28 Jul 2016 15:53:28 -0400
User-agent: Mutt/1.5.23 (2014-03-12)

This adds the --use-askpass option which is disabled by default.

--use-askpass=COMMAND will request the username and password for a given
URL by executing the external program COMMAND.  If COMMAND is left
blank, then the external program in the environment variable
WGET_ASKPASS will be used.  If WGET_ASKPASS is not set then the
environment variable SSH_ASKPASS is used.  If there is no value set, an
error is returned.  If an error occurs requesting the username or
password, wget will exit.

Signed-off-by: Liam R. Howlett <address@hidden>

Liam R. Howlett (1):
  wget: Add --use-askpass=COMMAND support

 ChangeLog     |  16 +++++++++
 doc/wget.texi |   6 ++++
 src/init.c    |  22 ++++++++++++
 src/main.c    | 109 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 src/options.h |   1 +
 src/url.c     |   6 ++++
 src/url.h     |   1 +
 7 files changed, 161 insertions(+)

-- 
1.9.1

Attachment: v3-0001-wget-Add-use-askpass-COMMAND-support.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]