[PATH] apt-mirror: Add support for auth_no_challenge

Pali Rohár pali.rohar at gmail.com
Wed Jan 11 20:24:28 UTC 2012


I created patch for apt-mirror. I sent it to maintainers of apt-mirror, but 
nobody response. So I'm resending it to Ubuntu. Can be this patch included in 
ubuntu version of apt-mirror?

On Friday 26 August 2011 12:49:39 Pali Rohár wrote:
> Hello,
> New wget version do not automatically send Basic HTTP authentication
> information (plaintext username and password) for all requests when
> specified username and password (old version Wget 1.10.2 and prior did
> it). In new version of wget was introduced param --auth-no-challenge
> which switch to old wget behaviour (see man 1 wget). Some apt servers
> (like server for Maemo 5 N900: https://downloads.maemo.nokia.com)
> needs to always receive Basic HTTP authentication. So I patched
> apt-mirror to added support for these servers with new version of
> wget. Patch adds new config variable auth_no_challenge (with 0 or 1)
> and apt-mirror exec wget with --auth-no-challenge if config is 1.
> With this patch I'm able to mirror apt server
> https://downloads.maemo.nokia.com (with correct username and
> password).
> Patch is against apt-mirror from ubuntu natty, version 0.4.8-3ubuntu1

Pali Rohár
pali.rohar at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: apt-mirror-https.patch
Type: text/x-patch
Size: 2430 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-devel/attachments/20120111/351cea80/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.ubuntu.com/archives/ubuntu-devel/attachments/20120111/351cea80/attachment.pgp>

More information about the ubuntu-devel mailing list