interest in OpenNMS port?
Brent Verner
brent at rcfile.org
Sun Sep 4 21:23:41 PDT 2005
Hi,
I recently installed ONMS on FBSD (5.4) using the native 1.4.2 jdk.
It required a minor patch to ONMS, for which I've submitted a patch
to the ONMS developers.
I'm hoping there are some other users out there interested in
running ONMS so we can get a bit better test coverage. Specifically,
I'd like to know if the patch works with the linux-jdks (I don't have
a linux-jdk to test).
Also, is there a port committer/maintainer interested in working
with me to get ONMS added to ports?
Quick Instructions (I don't have the bandwidth to write a full
how-to at the moment, but I'll try to help out with any specific
issues you might have in following their instructions):
1) Apply the attached patch (fbsd.diff) to ONMS (1.2.4) source.
2) Put the attached build.properties in your source directory.
NB: You might want to change the install.dir property unless
you've created an opennms user (and home dir).
3) Follow the instructions on the www.opennms.org site :-)
thanks.
Brent
-------------- next part --------------
? fbsd.diff
Index: build.xml
===================================================================
RCS file: /cvsroot/opennms/opennms/build.xml,v
retrieving revision 1.148
diff -u -r1.148 build.xml
--- build.xml 23 Aug 2005 22:48:30 -0000 1.148
+++ build.xml 5 Sep 2005 04:03:15 -0000
@@ -1327,6 +1327,7 @@
</compiler>
<fileset dir="${build.postgresql.dir}" includes="iplike.c"/>
<includepath path="${build.postgresql.include.dir}"/>
+ <includepath path="/usr/local/include" if="platform.freebsd" />
</cc>
<copy file="${build.postgresql.output.lib}"
tofile="${build.postgresql.dir}/iplike.${build.soext}"/>
Index: src/services/org/opennms/protocols/icmp/IcmpSocket.c
===================================================================
RCS file: /cvsroot/opennms/opennms/src/services/org/opennms/protocols/icmp/IcmpSocket.c,v
retrieving revision 1.22
diff -u -r1.22 IcmpSocket.c
--- src/services/org/opennms/protocols/icmp/IcmpSocket.c 29 Mar 2005 23:16:18 -0000 1.22
+++ src/services/org/opennms/protocols/icmp/IcmpSocket.c 5 Sep 2005 04:03:20 -0000
@@ -70,6 +70,7 @@
#include <errno.h>
#if defined(__FreeBSD__)
+#include "byteswap.h"
#include <sys/time.h>
#endif
-------------- next part --------------
install.dir: /home/opennms
build.postgresql.include.dir: /usr/local/include/postgresql/server
install.postgresql.dir: /home/opennms/lib/postgresql
build.rrdtool.include.dir: /usr/local/include
build.rrdtool.lib.dir: /usr/local/lib
build.rrdtool.bin: /usr/local/bin/rrdtool
More information about the freebsd-java
mailing list