It seems that our definition of NETBSD sites is stale.
It should have pub/pkgsrc/distfiles/ path rather than pub/NetBSD/packages/distfiles/.
The latter path now contains only a readme file: ftp://ftp.netbsd.org/pub/NetBSD/packages/README.
The file says:
> This path is no longer valid. Please use:
> /pub/pkgsrc/current for the latest sources
> /pub/pkgsrc/pkgsrc-<quarter> for the source of the release
> /pub/pkgsrc/distfiles for distfiles
> /pub/pkgsrc/packages/<OS>/<arch>/<version> for binary packages
I am not entirely sure about mirrors though, but expect that they should follow the layout of the master site.
A commit references this bug:
Date: Thu Sep 5 12:01:28 UTC 2019
New revision: 511181
Update NETBSD sites macro
Point to the new location of the distfiles, refresh the list
Note that this macro should probably be renamed PKGSRC
Reported by: avg