svn commit: r304466 - in head/net: . jicmp6 jicmp6/files

Max Brazhnikov makc at FreeBSD.org
Tue Sep 18 21:00:19 UTC 2012


Author: makc
Date: Tue Sep 18 21:00:18 2012
New Revision: 304466
URL: http://svn.freebsd.org/changeset/ports/304466

Log:
  Java native interface (JNI) to ICMPv6.
  
  WWW: http://www.opennms.org/wiki/Jicmp
  
  PR:		ports/169074
  Submitted by:	Venture37 <venture37 at geeklan.co.uk>

Added:
  head/net/jicmp6/
  head/net/jicmp6/Makefile   (contents, props changed)
  head/net/jicmp6/distinfo   (contents, props changed)
  head/net/jicmp6/files/
  head/net/jicmp6/files/patch-ICMPv6Socket.c   (contents, props changed)
  head/net/jicmp6/pkg-descr   (contents, props changed)
Modified:
  head/net/Makefile

Modified: head/net/Makefile
==============================================================================
--- head/net/Makefile	Tue Sep 18 20:58:30 2012	(r304465)
+++ head/net/Makefile	Tue Sep 18 21:00:18 2012	(r304466)
@@ -271,6 +271,7 @@
     SUBDIR += jcifs
     SUBDIR += jgroups
     SUBDIR += jicmp
+    SUBDIR += jicmp6
     SUBDIR += jpcap
     SUBDIR += jrdesktop
     SUBDIR += jsch

Added: head/net/jicmp6/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/jicmp6/Makefile	Tue Sep 18 21:00:18 2012	(r304466)
@@ -0,0 +1,23 @@
+# $FreeBSD$
+
+PORTNAME=	jicmp6
+PORTVERSION=	1.0.1
+CATEGORIES=	net java
+MASTER_SITES=	SF/opennms/JICMP6/stable-1.0
+
+MAINTAINER=	venture37 at 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>

Added: head/net/jicmp6/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/jicmp6/distinfo	Tue Sep 18 21:00:18 2012	(r304466)
@@ -0,0 +1,2 @@
+SHA256 (jicmp6-1.0.1.tar.gz) =  41f34da51aa1ee2824a71bee0eeb4df34c29d663139ef7ebe2721c9d788ea241
+SIZE (jicmp6-1.0.1.tar.gz) = 313345

Added: head/net/jicmp6/files/patch-ICMPv6Socket.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/jicmp6/files/patch-ICMPv6Socket.c	Tue Sep 18 21:00:18 2012	(r304466)
@@ -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

Added: head/net/jicmp6/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/jicmp6/pkg-descr	Tue Sep 18 21:00:18 2012	(r304466)
@@ -0,0 +1,3 @@
+Java native interface (JNI) to ICMPv6.
+
+WWW: http://www.opennms.org/wiki/Jicmp



More information about the svn-ports-all mailing list