Did pkg drop ftp support?

Tobias Kortkamp t at tobik.me
Sun Jan 31 15:27:15 UTC 2016

There's a new option for limiting the number of valid URL schemes in
pkg.conf. Running `pkg config VALID_URL_SCHEME` prints a list of valid
URL schemes, but pkg+ftp is not a that list for me.  Maybe an oversight?

Unless you want to use SRV records on your domain, just using ftp:// and
setting mirror_type to NONE for your repository should work fine. Or try
adding to /usr/local/etc/pkg.conf

   VALID_URL_SCHEME = ["pkg+ftp"];

On Sun, Jan 31, 2016, at 03:46 PM, Helmut Schneider wrote:
> Hi,
> url: "pkg+ftp://ftp.mysite/pub/FreeBSD/ports/${ABI}"
> worked fine until ~2 weeks ago. Now I get an error message when running
> pkg:
> [helmut at BSDHelmut1064 ~]$ sudo pkg update
> pkg: invalid scheme pkg+ftp
> pkg: Cannot parse configuration file!
> [helmut at BSDHelmut1064 ~]$
> Was ftp support dropped?
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"

More information about the freebsd-ports mailing list