From owner-freebsd-questions@FreeBSD.ORG Wed Feb 3 13:54:24 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A4AF71065672; Wed, 3 Feb 2010 13:54:24 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-ew0-f211.google.com (mail-ew0-f211.google.com [209.85.219.211]) by mx1.freebsd.org (Postfix) with ESMTP id 0B4528FC15; Wed, 3 Feb 2010 13:54:23 +0000 (UTC) Received: by ewy3 with SMTP id 3so1320608ewy.13 for ; Wed, 03 Feb 2010 05:54:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:in-reply-to:references:x-mailer:mime-version :content-type:content-transfer-encoding; bh=VmwWStdbr/3PtSQkKDkw5H/F98qavu9Dx+q5tKjtMQk=; b=wWX/1PuJFtABNN2SJrWbBXWJ3Q65P8KxjKGr6PvKiPADoP6Z63+7qlN8i9WJ+owBwu UUnu4NQo053t6iBKeMEWVHTuv8rjnhpyvFb23U7iT0MCC61CSELsnx8DKYHEtbmIvgOm LAFtxGP+YNowSyBwLG5D43dQDwBMxYzmQY/Hk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; b=VtPKawhwYFNHB7JJzrNnv7d8qameSyUCOPaJoyRZIUkKuPaq6LFMChdlOy2yWrEPR7 J8c9dNqJ1xU/POeY9Nf8C9A75PKBxh4hYT9W1YFxQ5lz+9ajT8CuooCmKr41w4YhnHRr UXQRvt0DT6va5GgJe6lUalhSU6TAAUeECdvBY= Received: by 10.213.104.69 with SMTP id n5mr2140188ebo.20.1265205262790; Wed, 03 Feb 2010 05:54:22 -0800 (PST) Received: from gumby.homeunix.com (bb-87-81-140-128.ukonline.co.uk [87.81.140.128]) by mx.google.com with ESMTPS id 7sm15794954eyb.34.2010.02.03.05.54.21 (version=SSLv3 cipher=RC4-MD5); Wed, 03 Feb 2010 05:54:21 -0800 (PST) Date: Wed, 3 Feb 2010 13:54:19 +0000 From: RW To: freebsd-questions@freebsd.org Message-ID: <20100203135419.68b1c975@gumby.homeunix.com> In-Reply-To: <20100203132259.0c00890f@gumby.homeunix.com> References: <532b03711001230152v5cf1958eg232805aec8d62b61@mail.gmail.com> <532b03711002030420q4754ba64q1d11596892e2173b@mail.gmail.com> <20100203132259.0c00890f@gumby.homeunix.com> X-Mailer: Claws Mail 3.7.4 (GTK+ 2.18.6; i386-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Colin Percival Subject: Re: portsnap - broken metadata X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Feb 2010 13:54:24 -0000 On Wed, 3 Feb 2010 13:22:59 +0000 RW wrote: > On Wed, 3 Feb 2010 12:20:53 +0000 > Angelin Lalev wrote: > > > > I have proxy server that requires username and password and I have > > set the HTTP_PROXY and FTP_PROXY environment variables accordingly. > > (HTTP_PROXY = FTP_PROXY = > > USERNAME:PASSWORD@proxy.uni-svishtov.bg:8080) > > > > portsnap --debug shows, among other rows the following error > > message: > > > > phttpget: host = USERNAME, port = > > PASSWORD@proxy.uni-svishtov.bg:8080: servname not > > supported for ai_socktype > > > > Seems to me like a bug somewhere in portsnap. Any help? > > It looks to be a bug in phttpget, which is a download utility > used by portsnap and freebsd-update. It supports pipelining, so > it's very fast at fetching a large number of small files, but in all > other respects it simpler and less mature than fetch. > > As temporary workaround I would suggest you backup portsnap and change > the line: > > PHTTPGET=/usr/libexec/phttpget > > to > > PHTTPGET=/usr/bin/fetch I see that isn't going to work since phttpget needs it's arguments in the form phttpget server file1 file2 ... fileN you'd need to wrap fetch if you want to try that. Anyway, I've CC'd Colin Percival which I forgot to do before, and I suggest you open a PR.