[Bug 198073] [NEW PORT] databases/influxdb: Open-source distributed timeseries database
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Mar 3 08:16:08 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198073
--- Comment #8 from Dave Cottlehuber <dch at skunkwerks.at> ---
AFAICT the issue is that `go get` $THING retrieves upstream packages afresh. I
found the same issue when doing the OSX port for hugo, a go static site engine.
I'm not sure yet if /usr/ports/lang/go/files/bsd.go.mk correctly handles
versioning of dependent components; I can't see how e.g.
https://github.com/freebsd/freebsd-ports/blob/master/security/go.crypto/Makefile
seems to get things right, as the bsd.go.mk file has no smarts.
Is the best option is to implement a port of godep, and then use a godep file
as a patch that specifies the required dependencies?
@cheffo BTW I am on efnet/#freebsdports as dch if you want to discuss over IRC.
The best long-term solution is probably to extend bsd.go.mk so that it can
simply be given a list of tuples for dependencies, extracted from Godep output,
and it will Do The Right Thing wrt fetching and updating:
{
"ImportPath": "github.com/influxdb/influxdb",
"GoVersion": "go1.4.2",
"Deps": [
{
"ImportPath": "github.com/boltdb/bolt",
"Comment": "v1.0-43-gcf33c9e",
"Rev": "cf33c9e0ca0a23509b8bb8edfc63e4776bb1a330"
},
{
"ImportPath": "golang.org/x/crypto/bcrypt",
"Rev": "1351f936d976c60a0a48d728281922cf63eafb8d"
},
{
"ImportPath": "golang.org/x/crypto/blowfish",
"Rev": "1351f936d976c60a0a48d728281922cf63eafb8d"
}
]
}
But that's beyond my skills at present.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list