TritonDataCenter / pkgsrc

NetBSD/pkgsrc fork for our binary package repositories
https://pkgsrc.smartos.org/
132 stars 51 forks source link

Update to Munin 2.0.69 #330

Closed smokris closed 2 years ago

smokris commented 2 years ago

Here's an attempt to update to Munin 2.0.69 (latest 2.0.x, released a few months ago).

I've also applied 2 patches to make the if_ plugins work on SmartOS (https://github.com/munin-monitoring/munin/commit/6b5f5ad4770f031dc98e74a066533e16db655751 and https://github.com/munin-monitoring/munin/commit/f5100a6eeb0340c2c6b3447f5a5569ae6ecf88d7, which are present in the Munin 2.1.x branch but not 2.0.x).

When I run bmake package, it builds a package that installs to /opt/local. Could you point me to the process for building a package that installs to /opt/tools for SmartOS GZ? (I wasn't able to find that info on the wiki.)

jperkin commented 2 years ago

Great work, thanks! I've committed this with a couple of minor changes.

To build for the /opt/tools set, run run-sandbox trunk-tools instead of run-sandbox trunk-x86_64. Afterwards the procedure is the same, but you'll be building for /opt/tools instead of /opt/local. Replace trunk with 2021Q4 if you happen to be using an LTS branch...

smokris commented 2 years ago

To build for the /opt/tools set […]

Ah, I see. Thanks!