Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Feb 2015 01:18:23 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 198073] [new port] databases/influxdb
Message-ID:  <bug-198073-13-U4uV7kDBTf@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-198073-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-198073-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D198073

Dave Cottlehuber <dch@skunkwerks.at> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dch@skunkwerks.at

--- Comment #3 from Dave Cottlehuber <dch@skunkwerks.at> ---
Thanks for the huge amount of work in this port, the rewriting between 0.8 =
to
0.9 is ... extensive.


I tidied up the port structure a bit, see
https://github.com/skunkwerks/freebsd-ports/commit/4c9fa11 in particular:

- trying to get the daemon name (influxd) and the port name (influxdb) line=
d up
again.
- the shas in distinfo didn't match what the scripts expect, so those are f=
ixed
too. I think this is go version drift in action.
- I added a dedicated influxdb user account for cleaner security
- used /usr/sbin/daemon to manage influxd itself. While influxdb *may* prov=
ide
this functionality now (I didn't look closely enough), daemon is more trust=
ed
code than a relatively new go service.

Unfortunately I've not gotten this all working completely yet, but it seems
subjectively cleaner to me this way. I hope its useful. portlint & initial
building on 10.1 amd64.

```
=E2=9D=AF=E2=9D=AF=E2=9D=AF sudo make deinstall clean fetch makesum stage s=
tage-qa check-orphans
check-plist package install

=3D=3D=3D>  Deinstalling for influxd
=3D=3D=3D>   Deinstalling influxd-0.9.0.rc5
Updating database digests format: 100%
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 1 packages (of 0 packag=
es
in the universe):

Installed packages to be REMOVED:
        influxd-0.9.0.rc5

The operation will free 20 MiB.
[1/1] Deinstalling influxd-0.9.0.rc5...
[1/1] Deleting files for influxd-0.9.0.rc5: 100%
=3D=3D=3D>  Cleaning for influxd-0.9.0.rc5
=3D=3D=3D>  License MIT accepted by the user
=3D=3D=3D>   influxd-0.9.0.rc5 depends on file: /usr/local/sbin/pkg - found
=3D=3D=3D> Fetching all distfiles required by influxd-0.9.0.rc5 for building
=3D=3D=3D>  License MIT accepted by the user
=3D=3D=3D>   influxd-0.9.0.rc5 depends on file: /usr/local/sbin/pkg - found
=3D=3D=3D> Fetching all distfiles required by influxd-0.9.0.rc5 for building
=3D=3D=3D>  License MIT accepted by the user
=3D=3D=3D>   influxd-0.9.0.rc5 depends on file: /usr/local/sbin/pkg - found
=3D=3D=3D> Fetching all distfiles required by influxd-0.9.0.rc5 for building
=3D=3D=3D>  Extracting for influxd-0.9.0.rc5
=3D> SHA256 Checksum OK for influxd-0.9.0.rc5.tar.gz.
=3D> SHA256 Checksum OK for BurntSushi-toml-443a628.tar.gz.
=3D> SHA256 Checksum OK for bmizerany-pat-b8a3500.tar.gz.
=3D> SHA256 Checksum OK for boltdb-bolt-fba9b58.tar.gz.
=3D> SHA256 Checksum OK for kimor79-gollectd-1d0fc88.tar.gz.
=3D> SHA256 Checksum OK for peterh-liner-29f6a64.tar.gz.
=3D> SHA256 Checksum OK for rakyll-statik-4a16c83.tar.gz.
=3D> SHA256 Checksum OK for c3294304d93f48a37d3bed1d382882a9c2989f99.tar.gz.
=3D> SHA256 Checksum OK for 1351f936d976c60a0a48d728281922cf63eafb8d.tar.gz.
=3D> SHA256 Checksum OK for 35bc42037350f0078e3c974c6ea690f1926603ab.tar.gz.
=3D=3D=3D>  Patching for influxd-0.9.0.rc5
=3D=3D=3D>   influxd-0.9.0.rc5 depends on package: go>=3D1.4.0 - found
=3D=3D=3D>   influxd-0.9.0.rc5 depends on executable: hg - found
=3D=3D=3D>   influxd-0.9.0.rc5 depends on executable: git - found
=3D=3D=3D>   influxd-0.9.0.rc5 depends on file: /usr/local/bin/go - found
=3D=3D=3D>  Configuring for influxd-0.9.0.rc5
=3D=3D=3D>  Building for influxd-0.9.0.rc5
=3D=3D=3D>  Staging for influxd-0.9.0.rc5
=3D=3D=3D>   Generating temporary packing list
/bin/mkdir -p /usr/ports/skunkwerks/influxdb/work/stage/usr/local/etc/influ=
xd=20
/usr/ports/skunkwerks/influxdb/work/stage/var/db/influxd/=20
/usr/ports/skunkwerks/influxdb/work/stage/var/run/influxd/=20
/usr/ports/skunkwerks/influxdb/work/stage/var/log/influxd/
install   -o root -g wheel -m 555
/usr/ports/skunkwerks/influxdb/work/bin/influxd
/usr/ports/skunkwerks/influxdb/work/stage/usr/local/bin/influxd
install   -o root -g wheel -m 555
/usr/ports/skunkwerks/influxdb/work/bin/influx
/usr/ports/skunkwerks/influxdb/work/stage/usr/local/bin/influx
install  -o root -g wheel -m 0644=20
/usr/ports/skunkwerks/influxdb/work/src/github.com/influxdb/influxdb/etc/co=
nfig.sample.toml

/usr/ports/skunkwerks/influxdb/work/stage/usr/local/etc/influxd/influxd.con=
f.sample
=3D=3D=3D=3D> Compressing man pages (compress-man)
=3D=3D=3D> Staging rc.d startup script(s)
=3D=3D=3D=3D> Running Q/A tests (stage-qa)
=3D=3D=3D=3D> Running Q/A tests (stage-qa)
=3D=3D=3D=3D> Checking for pkg-plist issues (check-plist)
=3D=3D=3D> Parsing plist
=3D=3D=3D> Checking for items in STAGEDIR missing from pkg-plist
=3D=3D=3D> Checking for items in pkg-plist which are not in STAGEDIR
=3D=3D=3D> No pkg-plist issues found (check-plist)
=3D=3D=3D>  Building package for influxd-0.9.0.rc5
=3D=3D=3D>  Installing for influxd-0.9.0.rc5
=3D=3D=3D>  Checking if influxd already installed
=3D=3D=3D>   Registering installation for influxd-0.9.0.rc5
Installing influxd-0.9.0.rc5...

=E2=9D=AF=E2=9D=AF=E2=9D=AFportlint

WARN: Makefile: possible use of absolute pathname "/var/db/${PORTNAME}/".
WARN: Makefile: possible use of absolute pathname "/var/log/${PORTNAME}...".
WARN: Makefile: possible use of absolute pathname "/var/run/${PORTNAME}...".
FATAL: Makefile: PORTVERSION looks illegal. You should modify "0.9.0.rc5".
1 fatal error and 3 warnings found.
```

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-198073-13-U4uV7kDBTf>