[prev in list] [next in list] [prev in thread] [next in thread]
List: freebsd-java
Subject: interest in OpenNMS port?
From: Brent Verner <brent () rcfile ! org>
Date: 2005-09-05 4:23:35
Message-ID: 20050905042335.GB48708 () rcfile ! org
[Download RAW message or body]
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
["fbsd.diff" (text/plain)]
? 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
["build.properties" (text/plain)]
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
_______________________________________________
freebsd-java@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic