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@BSDHelmut1064 ~]$ sudo pkg update
> pkg: invalid scheme pkg+ftp
> pkg: Cannot parse configuration file!
> [helmut@BSDHelmut1064 ~]$
> 
> Was ftp support dropped?
> 
> _______________________________________________
> [email protected] mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "[email protected]"
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[email protected]"

Reply via email to