On 2018/02/24 00:05, Stuart Cassoff wrote:
> x11/dbus-tcl and x11/dbus-intf have moved from SourceForge to Chiselapp.
>
> Ports system's looking for dbus-2.1.tar.gz whereas the distfile is on the
> obsd servers as dbus-tcl-2.1.tar.gz.
> DISTFILES = dbus-tcl{dbus}-${V}.tar.gz
>
> ===> Checking files for dbus-tcl-2.1p0
> >> Fetch
> >> https://downloads.sourceforge.net/sourceforge/dbus-tcl/dbus-2.1.tar.gz
> ftp: Error retrieving file: 404 Not Found
> >> Fetch https://ftp.openbsd.org/pub/OpenBSD/distfiles//dbus-2.1.tar.gz
> ftp: Error retrieving file: 404 Not Found
> ...
This is missing support in bsd.port.mk, really it needs to change the
filename used when fetching from MASTER_SITE_BACKUP in the case of
DISTFILES using "foo{bar}.ext" format.
> Chiselapp is Fossil.
> I'm just starting to look into this and so far I can get what seems to be a
> tarball from this very pretty url:
>
> https://chiselapp.com/user/schelte/repository/dbus/tarball/dbus-92d71c1d63.tar.gz?uuid=92d71c1d639645ab73811e7edfd946d3e449ad695510ff6abfc1c9bff9a372c3
>
> These two extensions are now on Chiselapp and I know there will be others.
> (most?) Tcler's prefer Chiselapp over GitHub.
> Maybe there's a way to fit this nicely into the ports system, like is
> currently done with GitHub?
It works ok without the uuid parameter, I would try
MASTER_SITES= https://chiselapp.com/user/schelte/repository/dbus/tarball/
DISTNAME= dbus-92d71c1d63
and cross fingers that these on-demand generated files don't change too
often if chiselapp updates their infrastructure.