diff options
author | anders <anders@FreeBSD.org> | 2005-02-15 14:50:09 +0000 |
---|---|---|
committer | anders <anders@FreeBSD.org> | 2005-02-15 14:50:09 +0000 |
commit | 730437ad83b352c63c0dbfe8c06656ab690c9c19 (patch) | |
tree | 34d299693afd0593e6480bfdf4073118687379bc /java | |
parent | c8e24fcd8d05e987d160787e685598e8d0f0f85b (diff) | |
download | FreeBSD-ports-730437ad83b352c63c0dbfe8c06656ab690c9c19.zip FreeBSD-ports-730437ad83b352c63c0dbfe8c06656ab690c9c19.tar.gz |
Add drexelsnmp, another Java SNMP package.
Sponsored by: University of Tromsø & University of Bergen
Diffstat (limited to 'java')
-rw-r--r-- | java/Makefile | 1 | ||||
-rw-r--r-- | java/drexelsnmp/Makefile | 31 | ||||
-rw-r--r-- | java/drexelsnmp/distinfo | 2 | ||||
-rw-r--r-- | java/drexelsnmp/pkg-descr | 13 | ||||
-rw-r--r-- | java/drexelsnmp/pkg-plist | 2 |
5 files changed, 49 insertions, 0 deletions
diff --git a/java/Makefile b/java/Makefile index 00ec8f7..d451e56 100644 --- a/java/Makefile +++ b/java/Makefile @@ -16,6 +16,7 @@ SUBDIR += cryptix-jce SUBDIR += diablo-jdk13 SUBDIR += diablo-jre13 + SUBDIR += drexelsnmp SUBDIR += eclipse SUBDIR += eclipse-EPIC SUBDIR += eclipse-cdt diff --git a/java/drexelsnmp/Makefile b/java/drexelsnmp/Makefile new file mode 100644 index 0000000..8ad8662 --- /dev/null +++ b/java/drexelsnmp/Makefile @@ -0,0 +1,31 @@ +# New ports collection makefile for: drexelsnmp +# Date created: 2005-02-15 +# Whom: Anders Nordby <anders@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= drexelsnmp +PORTVERSION= 1.4 +CATEGORIES= java devel net-mgmt +MASTER_SITES= http://edge.mcs.drexel.edu/GICL/people/sevy/snmp/ +DISTNAME= source_${PORTVERSION} + +MAINTAINER= anders@FreeBSD.org +COMMENT= Java SNMP protocol implementation + +USE_JAVA= yes +USE_ZIP= yes + +CLASSDIR= ${PREFIX}/share/java/classes +NO_WRKSUBDIR= yes + +do-build: + ${MKDIR} ${WRKSRC}/build_library + (cd ${WRKSRC} && ${JAVAC} -sourcepath source -d build_library source/snmp/*.java && ${JAR} cvf snmp.jar -C build_library/ .) + +do-install: + ${INSTALL} -d -o root -g wheel -m 0755 ${CLASSDIR} + ${INSTALL_DATA} ${WRKSRC}/snmp.jar ${CLASSDIR}/ + +.include <bsd.port.mk> diff --git a/java/drexelsnmp/distinfo b/java/drexelsnmp/distinfo new file mode 100644 index 0000000..3e03bf9 --- /dev/null +++ b/java/drexelsnmp/distinfo @@ -0,0 +1,2 @@ +MD5 (source_1.4.zip) = 0d856201c817b534ae31094c1794151d +SIZE (source_1.4.zip) = 112800 diff --git a/java/drexelsnmp/pkg-descr b/java/drexelsnmp/pkg-descr new file mode 100644 index 0000000..e6d2892 --- /dev/null +++ b/java/drexelsnmp/pkg-descr @@ -0,0 +1,13 @@ +This provides an introduction to the Java SNMP package , an open-source +implementation of the SNMP protocol in a Java package. It provides support for +basic SNMP client operations as defined in SNMP versions 1 and 2 (excluding the +security model proposed as part of SNMP version 2, which was never widely +accept or deployed). The package provides a mechanism for "getting and setting" +SNMP object identifier (OID) values through a simple communication interface, +and represents SNMP structures and datatypes as corresponding Java objects. +The package assumes familiarity with the SNMP protocol as detailed in RFC's +1157, 1155, 1212, etc.; however, some simple examples are provided which +illustrate its use for simple get/set operations (though a knowledge of the +concepts of OIDs and SNMP datatypes is still required). + +WWW: http://edge.mcs.drexel.edu/GICL/people/sevy/snmp/ diff --git a/java/drexelsnmp/pkg-plist b/java/drexelsnmp/pkg-plist new file mode 100644 index 0000000..be12766 --- /dev/null +++ b/java/drexelsnmp/pkg-plist @@ -0,0 +1,2 @@ +share/java/classes/snmp.jar +@unexec rmdir %D/share/java/classes 2>/dev/null || true |