Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Jun 2008 19:48:51 GMT
From:      "Ryan T. Dean" <rtdean@cytherianage.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/124990: New port: net/jicmp, A Java native interface (JNI) to ICMP (ping)
Message-ID:  <200806251948.m5PJmpTp024080@www.freebsd.org>
Resent-Message-ID: <200806251950.m5PJo5SN024346@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         124990
>Category:       ports
>Synopsis:       New port: net/jicmp, A Java native interface (JNI) to ICMP (ping)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 25 19:50:05 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Ryan T. Dean
>Release:        FreeBSD 7.0-RELEASE amd64
>Organization:
AboveNet, Inc.
>Environment:
FreeBSD build.dc21m.nmc.above.net 7.0-RELEASE FreeBSD 7.0-RELEASE #1: Thu Feb 28 16:58:42 UTC 2008     root@build.dc21m.nmc.above.net:/usr/obj/usr/src/sys/BL465C  amd64

>Description:
Jicmp does not currently exist in the ports tree.  This pr adds a jicmp port.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	jicmp
#	jicmp/Makefile
#	jicmp/distinfo
#	jicmp/files
#	jicmp/files/patch-Makefile.am
#	jicmp/pkg-descr
#
echo c - jicmp
mkdir -p jicmp > /dev/null 2>&1
echo x - jicmp/Makefile
sed 's/^X//' >jicmp/Makefile << 'END-of-jicmp/Makefile'
X# New ports collection makefile for:	net/jicmp
X# Date created:		24 June 2008
X# Whom:			Ryan T. Dean <rtdean@cytherianage.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	jicmp
XPORTVERSION=	1.0.8
XCATEGORIES=	net java
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	opennms
X
XMAINTAINER=	rtdean@cytherianage.net
XCOMMENT=	A Java native interface (JNI) to ICMP (ping)
X
XUSE_JAVA=	yes
XJAVA_VERSION=	1.5+
XJAVA_BUILD=	yes
XJAVA_RUN=	yes
XGNU_CONFIGURE=	yes
XCONFIGURE_ENV=	JAVA_HOME=${JAVA_HOME}
XUSE_LDCONFIG=	yes
XUSE_AUTOTOOLS=	automake:19
X
XPLIST_FILES=	%%JAVAJARDIR%%/jicmp.jar \
X		lib/libjicmp.la \
X		lib/libjicmp.so
X
Xpre-everything::
X	@${ECHO_MSG}	""
X	@${ECHO_MSG}	"Installation settings:"
X	@${ECHO_MSG}	"   Location of JDK:          ${JAVA_HOME}"
X	@${ECHO_MSG}	"   Location of Java port:    ${JAVA_PORT}"
X	@${ECHO_MSG}	""
X
X.include <bsd.port.mk>
END-of-jicmp/Makefile
echo x - jicmp/distinfo
sed 's/^X//' >jicmp/distinfo << 'END-of-jicmp/distinfo'
XMD5 (jicmp-1.0.8.tar.gz) = c42cd369252c8227b537d456efd7c48d
XSHA256 (jicmp-1.0.8.tar.gz) = 16d13b9d8f0cf5fa3559bb330d4727f6f1fc605cbb4ef254a82d7ae80b2458bc
XSIZE (jicmp-1.0.8.tar.gz) = 352741
END-of-jicmp/distinfo
echo c - jicmp/files
mkdir -p jicmp/files > /dev/null 2>&1
echo x - jicmp/files/patch-Makefile.am
sed 's/^X//' >jicmp/files/patch-Makefile.am << 'END-of-jicmp/files/patch-Makefile.am'
X--- Makefile.am.orig	2008-06-25 14:46:42.000000000 +0000
X+++ Makefile.am	2008-06-25 14:46:58.000000000 +0000
X@@ -67,7 +67,7 @@
X 	cd $(classdir) && \
X 	$(JAR) cvf ../$@ *
X 
X-jardir=$(datadir)/java
X+jardir=$(datadir)/java/classes
X jar_DATA = jicmp.jar
X 
X deploy:
END-of-jicmp/files/patch-Makefile.am
echo x - jicmp/pkg-descr
sed 's/^X//' >jicmp/pkg-descr << 'END-of-jicmp/pkg-descr'
XA Java native interface (JNI) to ICMP (ping), formerly a part of the base 
XOpenNMS package.
X
XWWW: http://www.opennms.org/index.php/Jicmp
END-of-jicmp/pkg-descr
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200806251948.m5PJmpTp024080>