Date: Fri, 17 Jun 2005 10:33:42 +0300 From: Vasil Dimov <vd@datamax.bg> 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 Message-ID: <20050617073342.GA67687@sinanica.bg.datamax> In-Reply-To: <N1-zpdEoV8Y@Safe-mail.net> References: <N1-zpdEoV8Y@Safe-mail.net>
next in thread | previous in thread | raw e-mail | index | archive | help
-----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-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050617073342.GA67687>