Page MenuHomeFreeBSD

Add new port sysutils/circonus-agent
ClosedPublic

Authored by sam_samgwydir.com on Dec 4 2017, 6:48 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mar 16 2024, 7:40 AM
Unknown Object (File)
Mar 16 2024, 7:40 AM
Unknown Object (File)
Mar 16 2024, 7:40 AM
Unknown Object (File)
Mar 16 2024, 7:40 AM
Unknown Object (File)
Feb 22 2024, 1:56 AM
Unknown Object (File)
Feb 5 2024, 3:39 AM
Unknown Object (File)
Jan 29 2024, 2:54 AM
Unknown Object (File)
Dec 22 2023, 9:57 PM

Details

Test Plan

Built using poudriere testport, installed and run a minimal config

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

Does it pass poudriere testport?

sysutils/circonus-agent/Makefile
2

Missing # $FreeBSD$ at the top.

3

Use DISTVERSION

10

Add LICENSE_FILE if possible.

20

Typo?

23–24

Not sure why this is necessary, but please use ${MKDIR} and ${MV}.

sysutils/circonus-agent/pkg-descr
2

Too short.

sam_samgwydir.com added inline comments.
sysutils/circonus-agent/Makefile
20

No, following the instructions at the bottom of https://github.com/circonus-labs/circonus-agent, users might expect this name.

23–24

dep wants the build directory in the standard Go layout and on top of that, doesn't want to see the same source twice, so I moved the contents to where a symlink is usually constructed by post-extract in the go uses file.

sam_samgwydir.com marked 2 inline comments as done.

Updated pkg-descr.

sysutils/circonus-agent/Makefile
16

I wonder what good is USES=go if you overwrite all the targets it uses. If it is to get the dependency on go, better add it yourself rather than depending on USES=go to do it.

sam_samgwydir.com marked an inline comment as done.

Updated to remove dep dependency and now works when built in poudriere.

sam_samgwydir.com marked an inline comment as done.
sam_samgwydir.com edited the test plan for this revision. (Show Details)

circonus-agent doesn't specify what version of go it needs to build, changing go>=1.8 to just a dependency on go.

Passes portlint -Aac, builds in {10.4, 11.1, CURRENT}-{i386,amd64} with poudriere testport.

sysutils/circonus-agent/Makefile
19

default, remove.

54
GH_SUBDIR= /src/github.com/circonus-labs/circonus-agent
sysutils/circonus-agent/pkg-plist
2 ↗(On Diff #36745)

This is bogus, %%ETCDIR%% is supposed to be a directory, not part of a path, so you should set ETCDIR=${PREFIX}/etc/circonus-agentd in the Makefile.

sysutils/circonus-agent/pkg-plist
2 ↗(On Diff #36745)

Also, might be better to use PLIST_FILES since the plist is so short.

This revision was not accepted when it landed; it landed in state Needs Review.Jan 16 2018, 4:20 PM
This revision was automatically updated to reflect the committed changes.