1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

New port: snmp++ v3 library

SNMP++v3.x is a C++ API which supports SNMP v1, v2c, and v3.

	SNMP++v3.x is based on SNMP++v2.8 from HP* and extends it
	by support for SNMPv3 and a couple of bug fixes.

	The v3 support to SNMP++ and AGENT++ is provided by courtesy
	of Jochen Katz (katz07@agentpp.com).

	SNMP++v3.x extends the original SNMP++v2.8 by the following:
	# SNMPv3 including User Security Model (USM) with:
	# MD5 and SHA authentication
	# DES and IDEA privacy
	# Thread-safety
	# Bug-fixes

	WWW: http://www.agentpp.com/snmp_pp3_x/snmp_pp3_x.html for further details.

PR:		ports/112669
Submitted by:	Nicolai Petri <nicolai@petri.cc>
This commit is contained in:
Edwin Groothuis 2007-09-07 07:53:34 +00:00
parent 934dc5b816
commit 19e8252e65
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=199007
6 changed files with 135 additions and 0 deletions

View File

@ -218,6 +218,7 @@
SUBDIR += sjitter
SUBDIR += slate
SUBDIR += smokeping
SUBDIR += snmp++
SUBDIR += snmptt
SUBDIR += softflowd
SUBDIR += subcalc

26
net-mgmt/snmp++/Makefile Normal file
View File

@ -0,0 +1,26 @@
# New ports collection makefile for: snmp++
# Date created: 2007-05-14
# Whom: nicolai@catpipe.net
#
# $FreeBSD$
#
PORTNAME= snmp++
PORTVERSION= 3.2.22
CATEGORIES= net-mgmt
MASTER_SITES= http://www.agentpp.com/
DISTNAME= ${PORTNAME}v${PORTVERSION}
MAINTAINER= nicolai@catpipe.net
COMMENT= SNMP C++ library with V3 support
MAKEFILE= Makefile.FreeBSD
WRKSRC= ${WRKDIR}/${PORTNAME}/src
USE_GMAKE= yes
USE_LDCONFIG= yes
post-extract:
${CP} ${FILESDIR}/Makefile.FreeBSD ${WRKSRC}
.include <bsd.port.mk>

3
net-mgmt/snmp++/distinfo Normal file
View File

@ -0,0 +1,3 @@
MD5 (snmp++v3.2.22.tar.gz) = 8cdbbca21d783e0120374ee1305368d7
SHA256 (snmp++v3.2.22.tar.gz) = 229e4333ac1d011fc9e2d1d07196bac321dcdd19c54f21354b77caf2ecfc6316
SIZE (snmp++v3.2.22.tar.gz) = 261879

View File

@ -0,0 +1,48 @@
############################################################################
##
## Makefile.FreeBSD
##
## SNMP++v3.2.22
## -----------------------------------------------
## Copyright (c) 2001-2006 Jochen Katz, Frank Fock
##
## This software is based on SNMP++2.6 from Hewlett Packard:
##
## Copyright (c) 1996
## Hewlett-Packard Company
##
## ATTENTION: USE OF THIS SOFTWARE IS SUBJECT TO THE FOLLOWING TERMS.
## Permission to use, copy, modify, distribute andor sell this software
## andor its documentation is hereby granted without fee. User agrees
## to display the above copyright notice and this license notice in all
## copies of the software and any documentation of the software. User
## agrees to assume all liability for the use of the software;
## Hewlett-Packard and Jochen Katz make no representations about the
## suitability of this software for any purpose. It is provided
## "AS-IS" without warranty of any kind, either express or implied. User
## hereby grants a royalty-free license to any and all derivatives based
## upon this software code base.
##
## Stuttgart, Germany, Tue Nov 21 22:12:16 CET 2006
##
##########################################################################*
#
# Flags: compiler options, search paths
#
COPTIONS = -D_XPG4_EXTENDED -D__unix -Wall -D_USE_OPENSSL# -DHEADER_DES_LOCL_H # -D_DEBUG
TEMPOPTS = -I.
USEROPTS = -g
CFLAGS = $(COPTIONS) $(CINCDIRS) $(USEROPTS)
LDFLAGS = $(CFLAGS)
SHARED = -fPIC -shared
#
# Compilation rules
#
CC = g++
LD = ld
include common.mk

16
net-mgmt/snmp++/pkg-descr Normal file
View File

@ -0,0 +1,16 @@
SNMP++v3.x is a C++ API which supports SNMP v1, v2c, and v3.
SNMP++v3.x is based on SNMP++v2.8 from HP* and extends it by support
for SNMPv3 and a couple of bug fixes.
The v3 support to SNMP++ and AGENT++ is provided by courtesy of
Jochen Katz (katz07@agentpp.com).
SNMP++v3.x extends the original SNMP++v2.8 by the following:
# SNMPv3 including User Security Model (USM) with:
# MD5 and SHA authentication
# DES and IDEA privacy
# Thread-safety
# Bug-fixes
WWW: http://www.agentpp.com/snmp_pp3_x/snmp_pp3_x.html for further details.

41
net-mgmt/snmp++/pkg-plist Normal file
View File

@ -0,0 +1,41 @@
include/snmp_pp/address.h
include/snmp_pp/asn1.h
include/snmp_pp/auth_priv.h
include/snmp_pp/collect.h
include/snmp_pp/collect1.h
include/snmp_pp/collect2.h
include/snmp_pp/config_snmp_pp.h
include/snmp_pp/counter.h
include/snmp_pp/ctr64.h
include/snmp_pp/eventlist.h
include/snmp_pp/eventlistholder.h
include/snmp_pp/gauge.h
include/snmp_pp/idea.h
include/snmp_pp/integer.h
include/snmp_pp/log.h
include/snmp_pp/md5.h
include/snmp_pp/mp_v3.h
include/snmp_pp/msec.h
include/snmp_pp/msgqueue.h
include/snmp_pp/notifyqueue.h
include/snmp_pp/octet.h
include/snmp_pp/oid.h
include/snmp_pp/oid_def.h
include/snmp_pp/pdu.h
include/snmp_pp/reentrant.h
include/snmp_pp/sha.h
include/snmp_pp/smi.h
include/snmp_pp/smival.h
include/snmp_pp/snmp_pp.h
include/snmp_pp/snmperrs.h
include/snmp_pp/snmpmsg.h
include/snmp_pp/target.h
include/snmp_pp/timetick.h
include/snmp_pp/usm_v3.h
include/snmp_pp/uxsnmp.h
include/snmp_pp/v3.h
include/snmp_pp/vb.h
lib/libsnmp++.a
lib/libsnmp++.so
@dirrm include/snmp_pp