diff options
author | pav <pav@FreeBSD.org> | 2005-02-26 05:01:57 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2005-02-26 05:01:57 +0800 |
commit | 2fe2ac8b0cda3e06f19af1cde7327bacd43d1f39 (patch) | |
tree | a1729ac583d6475605934c86489cefa2749ac19a /net-mgmt/yabm | |
parent | f1f8857568da61cb0be0d2d2cbc51a7f0f7712f0 (diff) | |
download | freebsd-ports-gnome-2fe2ac8b0cda3e06f19af1cde7327bacd43d1f39.tar.gz freebsd-ports-gnome-2fe2ac8b0cda3e06f19af1cde7327bacd43d1f39.tar.zst freebsd-ports-gnome-2fe2ac8b0cda3e06f19af1cde7327bacd43d1f39.zip |
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, geometry,
device max speed, etc). It also includes text output to the image.
PR: ports/76275
Submitted by: Fredrik Lindberg <fli@shapeshifter.se>
Diffstat (limited to 'net-mgmt/yabm')
-rw-r--r-- | net-mgmt/yabm/Makefile | 33 | ||||
-rw-r--r-- | net-mgmt/yabm/distinfo | 2 | ||||
-rw-r--r-- | net-mgmt/yabm/files/pkg-message.in | 11 | ||||
-rw-r--r-- | net-mgmt/yabm/pkg-descr | 12 | ||||
-rw-r--r-- | net-mgmt/yabm/pkg-plist | 2 |
5 files changed, 60 insertions, 0 deletions
diff --git a/net-mgmt/yabm/Makefile b/net-mgmt/yabm/Makefile new file mode 100644 index 000000000000..808af7f7309a --- /dev/null +++ b/net-mgmt/yabm/Makefile @@ -0,0 +1,33 @@ +# New ports collection makefile for: yabm +# Date created: 15 January 2005 +# Whom: Fredrik Lindberg <fli@shapeshifter.se> +# +# $FreeBSD$ +# + +PORTNAME= yabm +PORTVERSION= 0.2 +CATEGORIES= net-mgmt +MASTER_SITES= http://shapeshifter.se/code/yabm/release/ \ + http://www2.shapeshifter.se/yabm/release/ + +MAINTAINER= fli@shapeshifter.se +COMMENT= Yet Another Bandwidth Meter, somewhat resembles the Linux bwbar + +LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png + +USE_RC_SUBR= yes +RC_SCRIPTS_SUB= PREFIX=${PREFIX} RC_SUBR=${RC_SUBR} + +SUB_FILES= pkg-message +PKGMESSAGE= ${WRKDIR}/pkg-message + +post-extract: + @${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \ + ${WRKSRC}/scripts/yabm.sh.sample > ${WRKSRC}/scripts/yabm.sh + +post-install: + ${INSTALL_SCRIPT} ${WRKSRC}/scripts/yabm.sh ${PREFIX}/etc/rc.d/yabm.sh + @${CAT} ${PKGMESSAGE} + +.include <bsd.port.mk> diff --git a/net-mgmt/yabm/distinfo b/net-mgmt/yabm/distinfo new file mode 100644 index 000000000000..e5188016b89a --- /dev/null +++ b/net-mgmt/yabm/distinfo @@ -0,0 +1,2 @@ +MD5 (yabm-0.2.tar.gz) = b453b8986e94fc1fff4d1d2af44022b6 +SIZE (yabm-0.2.tar.gz) = 13426 diff --git a/net-mgmt/yabm/files/pkg-message.in b/net-mgmt/yabm/files/pkg-message.in new file mode 100644 index 000000000000..6f44b8b32458 --- /dev/null +++ b/net-mgmt/yabm/files/pkg-message.in @@ -0,0 +1,11 @@ + +********************************************************** + + A startup script has been copied to + %%PREFIX%%/etc/rc.d/yabm.sh, please add yabm_enable="YES" + in your /etc/rc.conf to run yabm at startup. + For further script configuration notes, please see the + online documentation or comments in yabm.sh. + +********************************************************** + diff --git a/net-mgmt/yabm/pkg-descr b/net-mgmt/yabm/pkg-descr new file mode 100644 index 000000000000..df4dca8bbbb4 --- /dev/null +++ b/net-mgmt/yabm/pkg-descr @@ -0,0 +1,12 @@ +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, geometry, +device max speed, etc). It also includes text output to the image. + +WWW: http://shapeshifter.se/code/yabm/ + +-- Fredrik Lindberg + fli@shapeshifter.se diff --git a/net-mgmt/yabm/pkg-plist b/net-mgmt/yabm/pkg-plist new file mode 100644 index 000000000000..462ac9df4d45 --- /dev/null +++ b/net-mgmt/yabm/pkg-plist @@ -0,0 +1,2 @@ +bin/yabm +etc/rc.d/yabm.sh |