Bug 214704

Summary: databases/influxdb update port to latest version
Product: Ports & Packages Reporter: Vick Khera <vivek>
Component: Individual Port(s)Assignee: Palle Girgensohn <girgen>
Status: Closed FIXED    
Severity: Affects Only Me CC: brd, cheffo, girgen
Priority: --- Flags: cheffo: maintainer-feedback+
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch for the port to v 1.1.0
none
Patch to update influxdb to 1.1.0
cheffo: maintainer-approval+
poudriere testport log output
none
portlint output none

Description Vick Khera 2016-11-21 15:07:46 UTC
Created attachment 177231 [details]
patch for the port to v 1.1.0

The attached patch updates influxdb to the newest release, 1.1.0.

I also updated all the dependency libraries to their latest versions. I used the newest release for those which have releases or the newest commit for those that do not. The only exception is the collectd library, which will not compile when using the newest release, so I used the prior release.
Comment 1 cheffo 2016-11-22 11:15:15 UTC
Created attachment 177267 [details]
Patch to update influxdb to 1.1.0

Thanks for the patch! I have fixed some of the dependencies.

Attached is new patch.
Comment 2 cheffo 2016-11-22 11:16:14 UTC
Created attachment 177268 [details]
poudriere testport log output
Comment 3 cheffo 2016-11-22 11:17:06 UTC
Created attachment 177269 [details]
portlint output
Comment 4 Vick Khera 2016-12-01 17:20:59 UTC
Please also add

   -ldflags "-X main.version=${DISTVERSION}"

to the do-build target so it looks like this:

  @cd ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${GH_PROJECT} && ${SETENV} GOPATH=${WRKSRC} go install -ldflags "-X main.version=${DISTVERSION}" ./...

This will allow InfluxDB to identify its own version upon startup.
Comment 5 Brad Davis freebsd_committer freebsd_triage 2017-01-05 19:45:52 UTC
Committed in r427896.