ports/112669: New port: snmp++ v3 library
Nicolai Petri
nicolai at petri.cc
Mon May 14 22:00:12 UTC 2007
>Number: 112669
>Category: ports
>Synopsis: New port: snmp++ v3 library
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon May 14 22:00:11 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: Nicolai Petri
>Release: FreeBSD 7.0-CURRENT i386
>Organization:
Catpipe Systems ApS
>Environment:
System: FreeBSD fever.catpipe.net 7.0-CURRENT FreeBSD 7.0-CURRENT #1: Sun Apr 29 02:23:08 CEST 2007 npp@:/usr/obj/usr/src/sys/FEVER i386
>Description:
New port of the snmp++v3 library
>How-To-Repeat:
n/a
>Fix:
port attached below.
--- snmp++.port begins here ---
# 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:
#
# port
# port/Makefile
# port/files
# port/files/Makefile.FreeBSD
# port/distinfo
# port/pkg-descr
#
echo c - port
mkdir -p port > /dev/null 2>&1
echo x - port/Makefile
sed 's/^X//' >port/Makefile << 'END-of-port/Makefile'
X# New ports collection makefile for: snmp++
X# Date created: 2007-05-14
X# Whom: nicolai at catpipe.net
X#
X# $FreeBSD$
X#
X
XPORTNAME= snmp++
XPORTVERSION= 3.2.22
XCATEGORIES= net
XMASTER_SITES= http://www.agentpp.com/
XDISTNAME= ${PORTNAME}v${PORTVERSION}
X
XMAINTAINER= nicolai at catpipe.net
XCOMMENT= SNMP C++ library with V3 support
X
XMAKEFILE= Makefile.FreeBSD
XWRKSRC=${WRKDIR}/${PORTNAME}/src
X
XUSE_GMAKE=yo
X
Xpost-extract:
X ${CP} ${FILESDIR}/Makefile.FreeBSD ${WRKSRC}
X
X.include <bsd.port.mk>
END-of-port/Makefile
echo c - port/files
mkdir -p port/files > /dev/null 2>&1
echo x - port/files/Makefile.FreeBSD
sed 's/^X//' >port/files/Makefile.FreeBSD << 'END-of-port/files/Makefile.FreeBSD'
X ############################################################################
X ##
X ## Makefile.FreeBSD
X ##
X ## SNMP++v3.2.22
X ## -----------------------------------------------
X ## Copyright (c) 2001-2006 Jochen Katz, Frank Fock
X ##
X ## This software is based on SNMP++2.6 from Hewlett Packard:
X ##
X ## Copyright (c) 1996
X ## Hewlett-Packard Company
X ##
X ## ATTENTION: USE OF THIS SOFTWARE IS SUBJECT TO THE FOLLOWING TERMS.
X ## Permission to use, copy, modify, distribute andor sell this software
X ## andor its documentation is hereby granted without fee. User agrees
X ## to display the above copyright notice and this license notice in all
X ## copies of the software and any documentation of the software. User
X ## agrees to assume all liability for the use of the software;
X ## Hewlett-Packard and Jochen Katz make no representations about the
X ## suitability of this software for any purpose. It is provided
X ## "AS-IS" without warranty of any kind, either express or implied. User
X ## hereby grants a royalty-free license to any and all derivatives based
X ## upon this software code base.
X ##
X ## Stuttgart, Germany, Tue Nov 21 22:12:16 CET 2006
X ##
X ##########################################################################*
X
X#
X# Flags: compiler options, search paths
X#
X
XCOPTIONS = -D_XPG4_EXTENDED -D__unix -Wall -D_USE_OPENSSL# -DHEADER_DES_LOCL_H # -D_DEBUG
XTEMPOPTS = -I.
X
XUSEROPTS = -g
XCFLAGS = $(COPTIONS) $(CINCDIRS) $(USEROPTS)
XLDFLAGS = $(CFLAGS)
XSHARED = -fPIC -shared
X
X#
X# Compilation rules
X#
XCC = g++
XLD = ld
X
Xinclude common.mk
END-of-port/files/Makefile.FreeBSD
echo x - port/distinfo
sed 's/^X//' >port/distinfo << 'END-of-port/distinfo'
XMD5 (snmp++v3.2.22.tar.gz) = 8cdbbca21d783e0120374ee1305368d7
XSHA256 (snmp++v3.2.22.tar.gz) = 229e4333ac1d011fc9e2d1d07196bac321dcdd19c54f21354b77caf2ecfc6316
XSIZE (snmp++v3.2.22.tar.gz) = 261879
END-of-port/distinfo
echo x - port/pkg-descr
sed 's/^X//' >port/pkg-descr << 'END-of-port/pkg-descr'
XSNMP++v3.x is a C++ API which supports SNMP v1, v2c, and v3.
X
XSNMP++v3.x is based on SNMP++v2.8 from HP* and extends it by support
Xfor SNMPv3 and a couple of bug fixes.
X
XThe v3 support to SNMP++ and AGENT++ is provided by courtesy of
XJochen Katz (katz07 at agentpp.com).
X
XSNMP++v3.x extends the original SNMP++v2.8 by the following:
X# SNMPv3 including User Security Model (USM) with:
X# MD5 and SHA authentication
X# DES and IDEA privacy
X# Thread-safety
X# Bug-fixes
X
XWWW: http://www.agentpp.com/snmp_pp3_x/snmp_pp3_x.html for further details.
END-of-port/pkg-descr
exit
--- snmp++.port ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list