On 2016/03/10 02:26, Michael McConville wrote:
> Apparently none of the sources are valid anymore. IIRC, this has been
> happening since I started bulk building a couple months ago.
This is a bug (or missing feature) in ports infrastructure, the
MASTER_SITE_BACKUP mechanism doesn't know about the filename{url}sufx
handling in DISTFILES.
> ===> Trying http://ftp.fr.openbsd.org/pub/OpenBSD/distfiles//
> /usr/bin/ftp -C -o /mnt/big/ports/distfiles/davical-1.1.3.1.tar.gz.part -v
> http://ftp.fr.openbsd.org/pub/OpenBSD/distfiles//archive.tar.gz?ref=r1.1.3.1
> Trying 145.238.209.46...
> Requesting
> http://ftp.fr.openbsd.org/pub/OpenBSD/distfiles//archive.tar.gz?ref=r1.1.3.1
> ftp: Error retrieving file: 404 Not Found
$ curl -s http://ftp.fr.openbsd.org/pub/OpenBSD/distfiles/ | grep davical
<a href="davical-1.1.3.1.tar.gz">davical-1.1.3.1.tar.gz</a>
24-Nov-2014 03:24 3031220
When using MASTER_SITE_BACKUP it needs to fetch these files from
"$(filename)$(sufx)" rather than "$(url)$(sufx)".