diff options
author | Max Brazhnikov <makc@FreeBSD.org> | 2012-09-18 21:00:18 +0000 |
---|---|---|
committer | Max Brazhnikov <makc@FreeBSD.org> | 2012-09-18 21:00:18 +0000 |
commit | bf8285b56ef74eb4abbcf0b978984e2d4f17b5e7 (patch) | |
tree | 569068deaec7d30ed577aae9630be7b50361669d /net/jicmp6 | |
parent | Add new port graphics/burplex: (diff) |
Java native interface (JNI) to ICMPv6.
WWW: http://www.opennms.org/wiki/Jicmp
PR: ports/169074
Submitted by: Venture37 <venture37 at geeklan.co.uk>
Diffstat (limited to 'net/jicmp6')
-rw-r--r-- | net/jicmp6/Makefile | 23 | ||||
-rw-r--r-- | net/jicmp6/distinfo | 2 | ||||
-rw-r--r-- | net/jicmp6/files/patch-ICMPv6Socket.c | 13 | ||||
-rw-r--r-- | net/jicmp6/pkg-descr | 3 |
4 files changed, 41 insertions, 0 deletions
diff --git a/net/jicmp6/Makefile b/net/jicmp6/Makefile new file mode 100644 index 000000000000..7445488c886f --- /dev/null +++ b/net/jicmp6/Makefile @@ -0,0 +1,23 @@ +# $FreeBSD$ + +PORTNAME= jicmp6 +PORTVERSION= 1.0.1 +CATEGORIES= net java +MASTER_SITES= SF/opennms/JICMP6/stable-1.0 + +MAINTAINER= venture37@geeklan.co.uk +COMMENT= Java native interface (JNI) to ICMPv6 + +USE_JAVA= yes +JAVA_VERSION= 1.6 +JAVA_VENDOR= openjdk +JAVA_BUILD= yes +JAVA_RUN= yes +GNU_CONFIGURE= yes +CONFIGURE_ENV= JAVA_HOME=${JAVA_HOME} + +PLIST_FILES= lib/libjicmp6.la \ + lib/libjicmp6.so \ + share/java/jicmp6.jar + +.include <bsd.port.mk> diff --git a/net/jicmp6/distinfo b/net/jicmp6/distinfo new file mode 100644 index 000000000000..edb580044e80 --- /dev/null +++ b/net/jicmp6/distinfo @@ -0,0 +1,2 @@ +SHA256 (jicmp6-1.0.1.tar.gz) = 41f34da51aa1ee2824a71bee0eeb4df34c29d663139ef7ebe2721c9d788ea241 +SIZE (jicmp6-1.0.1.tar.gz) = 313345 diff --git a/net/jicmp6/files/patch-ICMPv6Socket.c b/net/jicmp6/files/patch-ICMPv6Socket.c new file mode 100644 index 000000000000..0579275dcdf1 --- /dev/null +++ b/net/jicmp6/files/patch-ICMPv6Socket.c @@ -0,0 +1,13 @@ +--- ICMPv6Socket.c.orig 2011-07-29 19:48:35.000000000 +0100 ++++ ICMPv6Socket.c 2012-06-14 17:39:18.640973879 +0100 +@@ -57,6 +57,10 @@ Tab Size = 8 + #include "ICMPv6Socket.h" + #include <jni.h> + ++#include <sys/socket.h> ++#include <netinet/in.h> ++#include <netinet/icmp6.h> ++ + #ifdef IP_MAXPACKET + #define MAX_PACKET IP_MAXPACKET + #else diff --git a/net/jicmp6/pkg-descr b/net/jicmp6/pkg-descr new file mode 100644 index 000000000000..402349d1f242 --- /dev/null +++ b/net/jicmp6/pkg-descr @@ -0,0 +1,3 @@ +Java native interface (JNI) to ICMPv6. + +WWW: http://www.opennms.org/wiki/Jicmp |