From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Jun 17 09:00:37 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B247A16A41C for ; Fri, 17 Jun 2005 09:00:37 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9D17543D55 for ; Fri, 17 Jun 2005 09:00:37 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j5H90bvS058543 for ; Fri, 17 Jun 2005 09:00:37 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j5H90b2F058542; Fri, 17 Jun 2005 09:00:37 GMT (envelope-from gnats) Date: Fri, 17 Jun 2005 09:00:37 GMT Message-Id: <200506170900.j5H90b2F058542@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: vaidab@Safe-mail.net Cc: Subject: Re: ports/82309: option to download ports via http only X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: vaidab@Safe-mail.net List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Jun 2005 09:00:37 -0000 The following reply was made to PR ports/82309; it has been noted by GNATS. From: vaidab@Safe-mail.net To: FreeBSD-gnats-submit@FreeBSD.org, ports@freebsd.org Cc: Subject: Re: ports/82309: option to download ports via http only Date: Fri, 17 Jun 2005 04:54:33 -0400 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-----