The Power of Open Source Compels You! The Power of Open Source Compels You!

As of yesterday, Brozow and I (and with the help of others) have completely exorcised the C code from the OpenNMS codebase. That is not to say that it isn't required, we still rely on C code for performing ICMP pings (java has no raw socket support), but at least it is split out into it's own package, which makes packaging much easier.

Now, instead of building umpteen different RPMs for different platforms every time we make an OpenNMS release, we can make a single .noarch RPM for all platforms -- only updating the platform-specific code when necessary, which is rarely. That code has barely changed over the years, so chances are, we won't have to do it again for a while.

Thanks to this, it is now easy to create a yum repository with this stuff, so I have gone ahead and done so:

It only contains stuff for RHEL4/CentOS4 and RHEL5/CentOS5 right now (i386 and x86_64 versions), but the intention is to expand it to all supported RPM-based platforms.

Share on Facebook

1 comment to The Power of Open Source Compels You! The Power of Open Source Compels You!

  • Yeah that raw socket support is annoying. We’re trying to port our Java/c++ windows stuff to linux, and right in the midst I have to write native C code to do pings from java.