Bug 214704 - databases/influxdb update port to latest version
Summary: databases/influxdb update port to latest version
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Palle Girgensohn
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-21 15:07 UTC by Vick Khera
Modified: 2017-01-05 19:45 UTC (History)
3 users (show)

See Also:
cheffo: maintainer-feedback+


Attachments
patch for the port to v 1.1.0 (6.97 KB, patch)
2016-11-21 15:07 UTC, Vick Khera
no flags Details | Diff
Patch to update influxdb to 1.1.0 (4.09 KB, patch)
2016-11-22 11:15 UTC, cheffo
cheffo: maintainer-approval+
Details | Diff
poudriere testport log output (15.26 KB, text/plain)
2016-11-22 11:16 UTC, cheffo
no flags Details
portlint output (365 bytes, text/plain)
2016-11-22 11:17 UTC, cheffo
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.