Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable munin-node-c to build and run on macOS/Darwin #46

Merged
merged 3 commits into from
Oct 21, 2018
Merged

Enable munin-node-c to build and run on macOS/Darwin #46

merged 3 commits into from
Oct 21, 2018

Conversation

smokris
Copy link
Contributor

@smokris smokris commented Oct 12, 2018

A couple small changes that enable munin-node-c to build and run on macOS/Darwin. Tested on OS X 10.10, macOS 10.13, and macOS 10.14.

(munin-plugins-c doesn't work yet, since that relies on /proc which doesn't exist on macOS. But this PR enables munin-node-c to work with other plugins.)

@steveschnepp
Copy link
Member

Nice!

Would you be awesome by adding corresponding lines to the .travis.yml file?

Note that I'll squash the PR into only 2 commits prior to merge.

@smokris
Copy link
Contributor Author

smokris commented Oct 15, 2018

Sure, I modified the Travis CI configuration to also build on macOS.

@steveschnepp
Copy link
Member

steveschnepp commented Oct 19, 2018

I rewrote most of your commits messages in https://github.com/steveschnepp/munin-c/commits/macos . The code itself wasn't touched.

If you get those commits into your PR, I'll happily merge the PR ;-)

@smokris
Copy link
Contributor Author

smokris commented Oct 20, 2018

OK, I updated the commit messages to match yours, and squashed/dropped the debug commits.

The Travis CI build failure seems to be an issue on their end

@steveschnepp steveschnepp merged commit 0f0a334 into munin-monitoring:master Oct 21, 2018
@steveschnepp
Copy link
Member

Yep, restarting the build made it pass.

@smokris
Copy link
Contributor Author

smokris commented Oct 21, 2018

Great! Thanks.

@steveschnepp
Copy link
Member

note, i started to port plugins to BSD, but it ended up being a little more complex than anticipated...

@steveschnepp
Copy link
Member

have a look at #47

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants