diff options
author | cube <cube@pkgsrc.org> | 2003-10-16 12:54:14 +0000 |
---|---|---|
committer | cube <cube@pkgsrc.org> | 2003-10-16 12:54:14 +0000 |
commit | 4319e868a2847c75bfb34c20f05914c996510d10 (patch) | |
tree | 5ba73f682bfd618d9ae1bca600fbb4d5e48ab292 /net/slurm | |
parent | 866185ef0e8ca92d67f635351889ffbae8cb958c (diff) | |
download | pkgsrc-4319e868a2847c75bfb34c20f05914c996510d10.tar.gz |
Update to 0.3.1. Closes PR pkg/23084.
Changes for 0.3.1:
* fix 32Bit signed/unsigned bug
* improve Linux /proc/net/dev parsing
* disable LED (set -DWITH_LED to enable them)
* make slurm Gbit-safe (tests with >100MByte/s will be done soon :))
* make -Wall happy on all systems
* calculate traffic correctly when using -d option
* add Mac OS X support (thanks Jan-Eric Kolbe for providing access!)
* print usage information if no interface was given at startup
Changes for 0.3.0:
* did some profiling and lowered cpu usage of sleep stuff
* misc small fixes and documentation updates
Changes for 0.3.0-pre1:
* theme support
* misc small typo fixes and internal changes
Changes for 0.2.3:
* Solaris interface speed detection code
* fix visual overflows in the display when running for long time
* prevent the missing 'E' from being overwritten
Changes for 0.2.2:
* Solaris auto* support
* -z option to virtualy reset displayed counters
* fix padding problems which lead to speeds like 123.45KB/s/s/s/s
Diffstat (limited to 'net/slurm')
-rw-r--r-- | net/slurm/Makefile | 15 | ||||
-rw-r--r-- | net/slurm/PLIST | 6 | ||||
-rw-r--r-- | net/slurm/distinfo | 12 | ||||
-rw-r--r-- | net/slurm/patches/patch-aa | 14 | ||||
-rw-r--r-- | net/slurm/patches/patch-ab | 17 |
5 files changed, 22 insertions, 42 deletions
diff --git a/net/slurm/Makefile b/net/slurm/Makefile index 54bf529a006..78794b5181e 100644 --- a/net/slurm/Makefile +++ b/net/slurm/Makefile @@ -1,8 +1,7 @@ -# $NetBSD: Makefile,v 1.4 2003/09/28 09:13:58 jlam Exp $ +# $NetBSD: Makefile,v 1.5 2003/10/16 12:54:14 cube Exp $ # -DISTNAME= slurm-0.2.1 -PKGREVISION= 1 +DISTNAME= slurm-0.3.1 CATEGORIES= net MASTER_SITES= http://www.raisdorf.net/files/code/ @@ -11,13 +10,19 @@ HOMEPAGE= http://www.raisdorf.net/projects/slurm/ COMMENT= Realtime traffic statistics USE_BUILDLINK2= YES -NO_CONFIGURE= YES +GNU_CONFIGURE= YES -USE_NCURSES= # use_default_colors +post-patch: + ${SED} -e s,@PREFIX@,${PREFIX}, ${WRKSRC}/theme.c > ${WRKSRC}/theme.c.sed + ${MV} ${WRKSRC}/theme.c.sed ${WRKSRC}/theme.c do-install: ${INSTALL_PROGRAM} ${WRKSRC}/slurm ${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/slurm.1 ${PREFIX}/man/man1 + ${INSTALL_DATA_DIR} ${PREFIX}/share/slurm + for theme in blue cyan foo; do \ + ${INSTALL_DATA} ${WRKSRC}/themes/$${theme}.theme ${PREFIX}/share/slurm ; \ + done .include "../../devel/ncurses/buildlink2.mk" .include "../../mk/bsd.pkg.mk" diff --git a/net/slurm/PLIST b/net/slurm/PLIST index 0b74f027ac4..5bb1d6e464d 100644 --- a/net/slurm/PLIST +++ b/net/slurm/PLIST @@ -1,3 +1,7 @@ -@comment $NetBSD: PLIST,v 1.1.1.1 2003/03/04 16:22:06 hubertf Exp $ +@comment $NetBSD: PLIST,v 1.2 2003/10/16 12:54:14 cube Exp $ bin/slurm man/man1/slurm.1 +share/slurm/blue.theme +share/slurm/cyan.theme +share/slurm/foo.theme +@dirrm share/slurm diff --git a/net/slurm/distinfo b/net/slurm/distinfo index 6469a352c8a..bcaa96657cb 100644 --- a/net/slurm/distinfo +++ b/net/slurm/distinfo @@ -1,6 +1,8 @@ -$NetBSD: distinfo,v 1.1.1.1 2003/03/04 16:22:06 hubertf Exp $ +$NetBSD: distinfo,v 1.2 2003/10/16 12:54:14 cube 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 +SHA1 (slurm-0.3.1.tar.gz) = abadde89e6d9e0f2dca93a8354fbc7897ad1c94d +Size (slurm-0.3.1.tar.gz) = 56048 bytes +SHA1 (patch-ac) = 5d5e33fd86aba5bdc54f796f3a5a5f907b984690 +SHA1 (patch-ad) = d31b180812456273c24f8d0296346ea015e387d2 +SHA1 (patch-ae) = 3b4de7ee286fbe776cf92ca731183bcfe8f0a616 +SHA1 (patch-af) = 5f2ec69b4153a565b7b9c3400b406c516e271de8 diff --git a/net/slurm/patches/patch-aa b/net/slurm/patches/patch-aa deleted file mode 100644 index afa352be299..00000000000 --- a/net/slurm/patches/patch-aa +++ /dev/null @@ -1,14 +0,0 @@ -$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 deleted file mode 100644 index cc5978043e0..00000000000 --- a/net/slurm/patches/patch-ab +++ /dev/null @@ -1,17 +0,0 @@ -$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> |