ports/82309: option to download ports via http only
Vasil Dimov
vd at datamax.bg
Fri Jun 17 07:33:44 GMT 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Thu, Jun 16, 2005 at 03:51:59AM -0400, vaidab at 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-----
More information about the freebsd-ports
mailing list