From owner-freebsd-ports@FreeBSD.ORG Fri Jun 17 08:54:43 2005 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B312016A41C; Fri, 17 Jun 2005 08:54:43 +0000 (GMT) (envelope-from vaidab@Safe-mail.net) Received: from tapuz.SAFe-mail.net (tapuz.safe-mail.net [213.8.161.230]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6245743D1F; Fri, 17 Jun 2005 08:54:43 +0000 (GMT) (envelope-from vaidab@Safe-mail.net) Received: from vaidab@Safe-mail.net by tapuz.SAFe-mail.net with SAFe-mail (Exim 4.43) id 1DjCcU-0003WB-MR; Fri, 17 Jun 2005 04:54:35 -0400 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=N1-0105; d=Safe-mail.net; b=0moOiFUYpzpKXjJOGyFUyIn0Cu7uqypHYc/M5QN7FfarTk+bQiOOZaCH1V3lePQ0 DlGp0+/RvYyEdv6HXoVVGSv3f6dhKcqCQx2KqaLEfrxZ6CGvy+ncVSwJduYea9+s FHj8uM8gdRGp605NxIoO7tHxeESMuZPfVBMErdDbnQw=; Received: from pc ([212.29.227.92]) by Safe-mail.net with https Date: Fri, 17 Jun 2005 04:54:33 -0400 From: vaidab@Safe-mail.net To: FreeBSD-gnats-submit@FreeBSD.org, ports@freebsd.org X-SMType: Regular X-SMRef: N1-kGvf_5Rq Message-Id: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-SMSignature: yP0f8iGgRcvTUH3P++D37xSA6ecQdFa+zoGO0XFTQoKoIa20OCyYFTIJOsKAzjRI Gyhyf1T1CF3AfSAKxLRFweZHaPxPeq52uX7s3h4a0RgTpLGgftq8TG+kLV+0qZv1 DL63vkrm7H/QoPo7Etri99ZYKl8bjKsLRrsYc4fsZUc= Cc: Subject: Re: ports/82309: option to download ports via http only X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Jun 2005 08:54:43 -0000 Yes, it would be perfect. -------- Original Message -------- From: Vasil Dimov To: vaidab@Safe-mail.net Cc: FreeBSD-gnats-submit@FreeBSD.org, freebsd-ports@freebsd.org Subject: Re: ports/82309: option to download ports via http only Date: Fri, 17 Jun 2005 10:33:42 +0300 > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On Thu, Jun 16, 2005 at 03:51:59AM -0400, vaidab@Safe-mail.net wrote: > > >Description: > > I am in a campus where ftp is filtered and I would like an option to choose the protocol by which ports are fetched. > > e.g. define PORTS_USE_HTTP_ONLY="yes" in make.conf > > To avoid binding only to http and ftp protocols I suggest that it would > be better to have PORTS_FETCH_PROTOCOLS= or just FETCH_PROTOCOLS= that > contains a list of allowed protocols. It will just skip sites that do > not start with one of the strings specified in this variable. For > example: > PORTS_FETCH_PROTOCOLS=http:// > will skip ftp://ftp.foo.org/x/y/z from a list of sites like: > http://a/b/c ftp://ftp.foo.org/x/y/z http://bar/baz > > Or even we can have similar _REJECT variable in addition that removes > only sites that start with specified strings. > > Does this sound reasonable? > > -----BEGIN PGP SIGNATURE----- > > iD8DBQFCsnzWFw6SP/bBpCARAqw0AJ4lpbfAXNKm7JCa2Nf4Z7K3nhRDWwCfWgzD > dspeGJYum0UEqzYwOE15xfc= > =PiT/ > -----END PGP SIGNATURE-----