ports/109103: NEW PORT: net-mgmt/bsnmp-regex - regex module for bsnmpd

Brock Williams brock at cotcomsol.com
Mon Feb 12 19:50:04 UTC 2007


>Number:         109103
>Category:       ports
>Synopsis:       NEW PORT: net-mgmt/bsnmp-regex - regex module for bsnmpd
>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:   Mon Feb 12 19:50:03 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Brock Williams
>Release:        6.2
>Organization:
Cottonwood Computer Solutions
>Environment:
>Description:
bsnmp-regex is a module for bsnmpd which allows creation of counters from log
files, program output or other text data. The counters use regular expressions
to count the number of matches, or parse out specific text/numbers. The
resulting data can then be queried or graphed with the usual SNMP tools.

>How-To-Repeat:

>Fix:
# 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:
#
#	bsnmp-regex
#	bsnmp-regex/Makefile
#	bsnmp-regex/pkg-descr
#	bsnmp-regex/pkg-plist
#	bsnmp-regex/distinfo
#
echo c - bsnmp-regex
mkdir -p bsnmp-regex > /dev/null 2>&1
echo x - bsnmp-regex/Makefile
sed 's/^X//' >bsnmp-regex/Makefile << 'END-of-bsnmp-regex/Makefile'
X# New ports collection makefile for:	bsnmp-regex
X# Date created:				11 February 2007
X# Whom:					brock at cotcomsol.com
X#
X# $FreeBSD:  $
X#
X
XPORTNAME=	bsnmp-regex
XPORTVERSION=	0.1
XCATEGORIES=	net-mgmt
XMASTER_SITES=	http://memberwebs.com/nielsen/software/bsnmp-regex/
X
XMAINTAINER=	brock at cotcomsol.com
XCOMMENT=	This is a bsnmpd module which allows creation of counters from log files, program output, or other text data.
X
X#WRKSRC=		${WRKDIR}/${DISTNAME}
X#USE_PERL5=	yes
X#USE_RC_SUBR=	argusd
XHAS_CONFIGURE=	yes
XCONFIGURE_ARGS=	--prefix=${PREFIX}
X
XMAN1=sockin.1
XMAN5=bsnmp-regex.conf.5
XMAN8=bsnmp-regex.8
X
X#OPTIONS=	QPAGE	"qpage support" Off \
X#		FPING	"fping support" Off \
X#		GD	"GD graphics support" On
X
X.include <bsd.port.pre.mk>
X
X
X.include <bsd.port.post.mk>
END-of-bsnmp-regex/Makefile
echo x - bsnmp-regex/pkg-descr
sed 's/^X//' >bsnmp-regex/pkg-descr << 'END-of-bsnmp-regex/pkg-descr'
Xbsnmp-regex is a module for bsnmpd which allows creation of counters from log 
Xfiles, program output or other text data. The counters use regular expressions 
Xto count the number of matches, or parse out specific text/numbers. The 
Xresulting data can then be queried or graphed with the usual SNMP tools.
END-of-bsnmp-regex/pkg-descr
echo x - bsnmp-regex/pkg-plist
sed 's/^X//' >bsnmp-regex/pkg-plist << 'END-of-bsnmp-regex/pkg-plist'
Xbin/sockin
Xlib/snmp_regex.so
Xlib/snmp_regex.so.0
X at dirrm share/nls/en_US.US-ASCII
X at dirrm share/nls/POSIX
END-of-bsnmp-regex/pkg-plist
echo x - bsnmp-regex/distinfo
sed 's/^X//' >bsnmp-regex/distinfo << 'END-of-bsnmp-regex/distinfo'
XMD5 (bsnmp-regex-0.1.tar.gz) = bddf0925a97beb3334c34bba0e783e08
XSHA256 (bsnmp-regex-0.1.tar.gz) = 09e2931c2f92333ee225086b1cf82dd8db2094c64d654d4d923bbbb9bd26603e
XSIZE (bsnmp-regex-0.1.tar.gz) = 318916
END-of-bsnmp-regex/distinfo
exit


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



More information about the freebsd-ports-bugs mailing list