bug-wget
[Top][All Lists]
Advanced

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

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


From: Liam R. Howlett
Subject: [Bug-wget] [PATCH v4] Add --use-askpass=COMMAND support
Date: Tue, 2 Aug 2016 15:22:07 -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.

Note: I am waiting on a member of our legal team to return from vacation to add
wget to our FSF Contribution Agreement.

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

 bootstrap.conf |   1 +
 doc/wget.texi  |  17 ++++++---
 src/init.c     |  44 +++++++++++++++++++++++
 src/main.c     | 112 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 src/options.h  |   1 +
 src/url.c      |   6 ++++
 src/url.h      |   1 +
 7 files changed, 178 insertions(+), 4 deletions(-)

-- 
1.9.1

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


reply via email to

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