From fli@biocandy.shapeshifter.se  Sat Jan 15 15:44:03 2005
Return-Path: <fli@biocandy.shapeshifter.se>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 324CC16A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 15 Jan 2005 15:44:03 +0000 (GMT)
Received: from mail.hamnpolare.net (manticore.shapeshifter.se [212.37.5.30])
	by mx1.FreeBSD.org (Postfix) with ESMTP id E168A43D2F
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 15 Jan 2005 15:44:01 +0000 (GMT)
	(envelope-from fli@biocandy.shapeshifter.se)
Received: from localhost (localhost [127.0.0.1])
	by mail.hamnpolare.net (Postfix) with ESMTP id 7ED9F1A6F0
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 15 Jan 2005 16:43:57 +0100 (CET)
Received: from biocandy.shapeshifter.se (h125n2fls31o270.telia.com [217.208.199.125])
	by mail.hamnpolare.net (Postfix) with ESMTP id 2C4DF1A6C4
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 15 Jan 2005 16:43:55 +0100 (CET)
Received: by biocandy.shapeshifter.se (Postfix, from userid 1001)
	id 0EC2F4263; Sat, 15 Jan 2005 16:43:55 +0100 (CET)
Message-Id: <20050115154355.0EC2F4263@biocandy.shapeshifter.se>
Date: Sat, 15 Jan 2005 16:43:55 +0100 (CET)
From: Fredrik Lindberg <fli@shapeshifter.se>
Reply-To: Fredrik Lindberg <fli@shapeshifter.se>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: New port: net-mgmt/yabm Yet Another Bandwidth Meter, somewhat resembles the Linux bwbar
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         76275
>Category:       ports
>Synopsis:       New port: net-mgmt/yabm Yet Another Bandwidth Meter, somewhat resembles the Linux bwbar
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jan 15 15:50:20 GMT 2005
>Closed-Date:    Fri Feb 25 21:03:33 GMT 2005
>Last-Modified:  Fri Feb 25 21:03:33 GMT 2005
>Originator:     Fredrik Lindberg
>Release:        FreeBSD 5.3-STABLE i386
>Organization:
>Environment:
System: FreeBSD biocandy.shapeshifter.se 5.3-STABLE FreeBSD 5.3-STABLE #11: Sat Dec 4 19:49:58 CET 2004 root@biocandy.shapeshifter.se:/usr/obj/usr/src/sys/BIOCANDY i386


	
>Description:
Yet Another Bandwidth Meter displays current bandwidth utilization using
the PNG image format. It somewhat resembles the Linux bwbar (although there
is no connection to it).
Features include measurement both on interface and assigned IP-address basis,
possible to run non-root and non-setuid, quite customizable (colours, gemoetry,
 device max speed, etc). It also includes text output to the image.

I'm not sure this belongs to the net-mgmt category, if I'm way wrong on this
then please move it to another category. Thanks.

>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:
#
#	yabm
#	yabm/Makefile
#	yabm/pkg-descr
#	yabm/pkg-plist
#	yabm/pkg-message
#	yabm/distinfo
#
echo c - yabm
mkdir -p yabm > /dev/null 2>&1
echo x - yabm/Makefile
sed 's/^X//' >yabm/Makefile << 'END-of-yabm/Makefile'
X# New ports collection makefile for:   	yabm
X# Date created:                         15 January 2005
X# Whom: 				Fredrik Lindberg <fli@shapeshifter.se>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	yabm
XPORTVERSION=	0.2
XCATEGORIES=	net-mgmt
XMASTER_SITES=	http://shapeshifter.se/code/yabm/release/ \
X		http://www2.shapeshifter.se/yabm/release/
X
XMAINTAINER=	fli@shapeshifter.se
XCOMMENT=	Yet Another Bandwidth Meter, somewhat resembles the Linux bwbar
X
XLIB_DEPENDS=	png.5:${PORTSDIR}/graphics/png
X
XUSE_RC_SUBR=	yes
XRC_SCRIPTS_SUB=PREFIX=${PREFIX} RC_SUBR=${RC_SUBR}
X
Xpost-extract:
X	@${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
X		${WRKSRC}/scripts/yabm.sh.sample > ${WRKSRC}/scripts/yabm.sh
X
Xpost-install:
X	${INSTALL_SCRIPT} ${WRKSRC}/scripts/yabm.sh ${PREFIX}/etc/rc.d/yabm.sh
X	@${SED} -e 's,%%PREFIX%%,${PREFIX},g' ${PKGMESSAGE}
X
X.include <bsd.port.mk>
END-of-yabm/Makefile
echo x - yabm/pkg-descr
sed 's/^X//' >yabm/pkg-descr << 'END-of-yabm/pkg-descr'
XYet Another Bandwidth Meter displays current bandwidth utilization using
Xthe PNG image format. It somewhat resembles the Linux bwbar (although there 
Xis no connection to it).
XFeatures include measurement both on interface and assigned IP-address basis,
Xpossible to run non-root and non-setuid, quite customizable (colours, gemoetry,
X device max speed, etc). It also includes text output to the image. 
X
XWWW: http://shapeshifter.se/code/yabm/
X
X-- Fredrik Lindberg
X   fli@shapeshifter.se
END-of-yabm/pkg-descr
echo x - yabm/pkg-plist
sed 's/^X//' >yabm/pkg-plist << 'END-of-yabm/pkg-plist'
Xbin/yabm
Xetc/rc.d/yabm.sh
END-of-yabm/pkg-plist
echo x - yabm/pkg-message
sed 's/^X//' >yabm/pkg-message << 'END-of-yabm/pkg-message'
X
X**********************************************************
X
X A startup script has been copied to 
X %%PREFIX%%/etc/rc.d/yabm.sh, please add yabm_enable="YES"
X in your /etc/rc.conf to run yabm at startup.
X For further script configuration notes, please see the
X online documentation or comments in yabm.sh.
X
X**********************************************************
X
END-of-yabm/pkg-message
echo x - yabm/distinfo
sed 's/^X//' >yabm/distinfo << 'END-of-yabm/distinfo'
XMD5 (yabm-0.2.tar.gz) = b453b8986e94fc1fff4d1d2af44022b6
XSIZE (yabm-0.2.tar.gz) = 13426
END-of-yabm/distinfo
exit


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: pav 
State-Changed-When: Fri Feb 25 21:03:24 GMT 2005 
State-Changed-Why:  
New port added, thank you! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=76275 
>Unformatted:
