diff options
author | hubertf <hubertf@pkgsrc.org> | 2003-03-04 16:22:06 +0000 |
---|---|---|
committer | hubertf <hubertf@pkgsrc.org> | 2003-03-04 16:22:06 +0000 |
commit | 706aff5a797b0887f749411b60da68051ba40fc9 (patch) | |
tree | 15e9421da8ef777947f33dfd796047d6b596b9ad /net | |
parent | 3cfaf26e55a9c26301563bc735ded45c0cd1fcfd (diff) | |
download | pkgsrc-706aff5a797b0887f749411b60da68051ba40fc9.tar.gz |
Import slurm-0.2.1: Realtime traffic statistics
slurm is a tool to monitor network traffic.
Features:
- realtime traffic statistics divided into incoming and
outgoing optional combined view
- can monitor any kind of network interface (testers welcome!)
- shows detailed statistics about the interface
Pkg submitted by Wolfram <mail@eckigesauge.de> in private mail.
Diffstat (limited to 'net')
-rw-r--r-- | net/slurm/DESCR | 7 | ||||
-rw-r--r-- | net/slurm/Makefile | 22 | ||||
-rw-r--r-- | net/slurm/PLIST | 3 | ||||
-rw-r--r-- | net/slurm/distinfo | 6 | ||||
-rw-r--r-- | net/slurm/patches/patch-aa | 14 | ||||
-rw-r--r-- | net/slurm/patches/patch-ab | 17 |
6 files changed, 69 insertions, 0 deletions
diff --git a/net/slurm/DESCR b/net/slurm/DESCR new file mode 100644 index 00000000000..b1333ab9852 --- /dev/null +++ b/net/slurm/DESCR @@ -0,0 +1,7 @@ +slurm is a tool to monitor network traffic. + +Features: +- realtime traffic statistics divided into incoming and + outgoing optional combined view +- can monitor any kind of network interface (testers welcome!) +- shows detailed statistics about the interface diff --git a/net/slurm/Makefile b/net/slurm/Makefile new file mode 100644 index 00000000000..6eb424c9fb5 --- /dev/null +++ b/net/slurm/Makefile @@ -0,0 +1,22 @@ +# $NetBSD: Makefile,v 1.1.1.1 2003/03/04 16:22:06 hubertf Exp $ +# + +DISTNAME= slurm-0.2.1 +CATEGORIES= net +MASTER_SITES= http://www.raisdorf.net/files/code/ + +MAINTAINER= mail@eckigesauge.de +HOMEPAGE= http://www.raisdorf.net/projects/slurm/ +COMMENT= Realtime traffic statistics + +USE_BUILDLINK2= YES +NO_CONFIGURE= YES + +USE_NCURSES= # use_default_colors + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/slurm ${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/slurm.1 ${PREFIX}/man/man1 + +.include "../../devel/ncurses/buildlink2.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/net/slurm/PLIST b/net/slurm/PLIST new file mode 100644 index 00000000000..0b74f027ac4 --- /dev/null +++ b/net/slurm/PLIST @@ -0,0 +1,3 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2003/03/04 16:22:06 hubertf Exp $ +bin/slurm +man/man1/slurm.1 diff --git a/net/slurm/distinfo b/net/slurm/distinfo new file mode 100644 index 00000000000..6469a352c8a --- /dev/null +++ b/net/slurm/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2003/03/04 16:22:06 hubertf Exp $ + +SHA1 (slurm-0.2.1.tar.gz) = b3ce3db52ae47c67a4271d9836b7a2841626ff3e +Size (slurm-0.2.1.tar.gz) = 50168 bytes +SHA1 (patch-aa) = a3ce73d3dda7c8d467d9dfee0199c9edae651227 +SHA1 (patch-ab) = 5aaa7dc60ff06bee2c750ba36ffdd454dabdf6f4 diff --git a/net/slurm/patches/patch-aa b/net/slurm/patches/patch-aa new file mode 100644 index 00000000000..afa352be299 --- /dev/null +++ b/net/slurm/patches/patch-aa @@ -0,0 +1,14 @@ +$NetBSD: patch-aa,v 1.1.1.1 2003/03/04 16:22:06 hubertf Exp $ + +--- Makefile.orig Mon Feb 24 20:33:15 2003 ++++ Makefile +@@ -1,7 +1,7 @@ + CC= gcc + VERSION = "0.2.1" +-CFLAGS = -g -O2 -D_HAVE_NCURSES +-LIBS = -lncurses ++CFLAGS = -g -O2 -D_HAVE_NCURSES -I${LOCALBASE}/include ++LIBS = -L${LOCALBASE}/lib -Wl,-R${LOCALBASE}/lib -lncurses + LDFLAGS = + + all: slurm-bin diff --git a/net/slurm/patches/patch-ab b/net/slurm/patches/patch-ab new file mode 100644 index 00000000000..cc5978043e0 --- /dev/null +++ b/net/slurm/patches/patch-ab @@ -0,0 +1,17 @@ +$NetBSD: patch-ab,v 1.1.1.1 2003/03/04 16:22:06 hubertf Exp $ + +--- slurm.c.orig Mon Feb 24 19:57:27 2003 ++++ slurm.c +@@ -107,7 +107,11 @@ + #include <time.h> + #include <ctype.h> + #include <signal.h> +-#include <curses.h> ++#ifdef _HAVE_NCURSES ++# include <ncurses.h> ++#else ++# include <curses.h> ++#endif + #include <sys/wait.h> + #include <sys/stat.h> + #include <sys/ioctl.h> |