From owner-freebsd-questions@FreeBSD.ORG Wed Feb 3 13:23:05 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 74D2B10656C6 for ; Wed, 3 Feb 2010 13:23:05 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.25]) by mx1.freebsd.org (Postfix) with ESMTP id 01AA38FC29 for ; Wed, 3 Feb 2010 13:23:04 +0000 (UTC) Received: by ey-out-2122.google.com with SMTP id 25so1319259eya.3 for ; Wed, 03 Feb 2010 05:23:03 -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:subject :message-id:in-reply-to:references:x-mailer:mime-version :content-type:content-transfer-encoding; bh=7ubH30GvTOyAB1tuiCnfkf0VruxuRJ/wZAj+nbxc960=; b=diLhRxNrEoJKE3phzrgZvxL0Z3n59u52I15I8b+spU+ifnMarg5QxEDvDPsd4zj/Lc xxBlZLi8RQPBeH83r5FdS6RdF8UJNoGNbcfKEL7Hg5QswK5udq75h1N1YVv455SqahpF vLH6PViBG1/iccBNUYmg4yGP+92NgIjq98rGc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; b=MBPZkvg9KZfVWNmLGvDOksBOD2hl8+uLmHM3dNT4M6qrdfPUoDA++ZhwWw+eB1w1nV 5GHehBjwd/LAC8H2J188aG7XiOAWkceRb996492iiGq7+LV5nA6F019iInEFuzRyZPur NzRXi264VxQX6DKPSRbgoUSj292r1vaOccsuY= Received: by 10.213.104.74 with SMTP id n10mr7438114ebo.64.1265203383714; Wed, 03 Feb 2010 05:23:03 -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 24sm15721628eyx.30.2010.02.03.05.23.01 (version=SSLv3 cipher=RC4-MD5); Wed, 03 Feb 2010 05:23:02 -0800 (PST) Date: Wed, 3 Feb 2010 13:22:59 +0000 From: RW To: freebsd-questions@freebsd.org Message-ID: <20100203132259.0c00890f@gumby.homeunix.com> In-Reply-To: <532b03711002030420q4754ba64q1d11596892e2173b@mail.gmail.com> References: <532b03711001230152v5cf1958eg232805aec8d62b61@mail.gmail.com> <532b03711002030420q4754ba64q1d11596892e2173b@mail.gmail.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 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:23:05 -0000 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