From owner-freebsd-questions@FreeBSD.ORG Mon Nov 11 13:18:10 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 7F4A384D for ; Mon, 11 Nov 2013 13:18:10 +0000 (UTC) (envelope-from fluca1978@gmail.com) Received: from mail-we0-x22a.google.com (mail-we0-x22a.google.com [IPv6:2a00:1450:400c:c03::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 209D0265C for ; Mon, 11 Nov 2013 13:18:09 +0000 (UTC) Received: by mail-we0-f170.google.com with SMTP id u57so4647533wes.1 for ; Mon, 11 Nov 2013 05:18:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:content-type; bh=iOPrOfJ9/1RWBaPvUCYYXxGswmVRVWgDeUjNHPjS2ig=; b=eieOU3adYnpZhDASY+AS/Oar6tu2XqwinIZ1EV9wbpzPpKxmtah7gP8ei4IIFSsoCU nZHdQSXcC6qASrAT/oaLi8l9NYJ8Cp1njkAncHRQv+aUHVJr5PU/NC1d37XNpIjhDYKL tkVYoaOOcR8jjwvrnldOIP4gdlMK67S+p6JhiUrpmmsw09f2ck+VNqnD7SUEB+dUl8AY wmH/I+qEFYJsWqJHhYwE3ihYX/pSVzd+BJMBKx0Z94zXfJ8Wnv0Cf7SQr1XWhBRy47Yh 4fYj9/sjE7H66GgE8lYkVQRYDOU76+S8hxwcaGdqkRq9zvN+yUWzjMZT7SL/aLAvOIsr KmEQ== MIME-Version: 1.0 X-Received: by 10.180.185.242 with SMTP id ff18mr4367881wic.44.1384175888483; Mon, 11 Nov 2013 05:18:08 -0800 (PST) Sender: fluca1978@gmail.com Received: by 10.194.44.6 with HTTP; Mon, 11 Nov 2013 05:18:08 -0800 (PST) Date: Mon, 11 Nov 2013 14:18:08 +0100 X-Google-Sender-Auth: yH-MAXbHi0FuJ3VFKw5tgSq90jY Message-ID: Subject: freebsd-update: fetch or phttpget? From: Luca Ferrari To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Nov 2013 13:18:10 -0000 Hi all, I noted that freebsd-update uses phttpget as main downloader except in a point, where fetch(1) is used: fetch ${QUIETFLAG} http://${SERVERNAME}/${FETCHDIR}/latest.ssl Now, this causes problems with the authentication when behind a proxy, since phttpget and fetch seem to use a different approach to username/password authentication. In particular fetch handles an http_proxy variable that includes username/password, while phttpget does not. What is the rationale behind the usage of two downloader within the same script? Thanks, Luca