carsten.kunze%arcor.de@localhost writes: > I'm trying to create a package and start with > > url2pkg https://github.com/n-t-roff/heirloom-doctools/releases/download/150406/heirloom-doctools-150406.tar.bz2 > > then edit the Makefile and save it. But the sources can't be downloaded: > > ftp: Can't connect to `216.34.94.184:21': Connection timed out > [52/1806] > ftp: Can't connect to `https:ftp' > ftp: Can't connect or login to host `https:?' > fetch: Unable to fetch expected file heirloom-doctools-150406.tar.bz2 > [...] > > Then it tries to fetch them from NetBSD: > > Requesting http://ftp.fr.NetBSD.org/pub/pkgsrc/distfiles/heirloom-doctools-150406.tar.bz2 > ftp: Error retrieving file `404 Not Found' > [...] > > which may not make sense. > > Is the https the problem? wget does work for that URL when option --no-check-certificate is given. Probably you are using netbsd-5, where ftp(1) doesn't support https. The usual workaround is to set FETCH_USING=curl in your mk.conf. (This is a bug; the pkgsrc infrastructure should know which systems have adequate fetch tools and build a capable one on those that don't.)
Attachment:
pgpaciHNlaDFj.pgp
Description: PGP signature