pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/slurm Update to 0.3.1. Closes PR pkg/23084.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/aa1cc77e85fd
branches:  trunk
changeset: 462854:aa1cc77e85fd
user:      cube <cube%pkgsrc.org@localhost>
date:      Thu Oct 16 12:54:14 2003 +0000

description:
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:

 net/slurm/Makefile         |  15 ++++++++++-----
 net/slurm/PLIST            |   6 +++++-
 net/slurm/distinfo         |  12 +++++++-----
 net/slurm/patches/patch-aa |  14 --------------
 net/slurm/patches/patch-ab |  17 -----------------
 5 files changed, 22 insertions(+), 42 deletions(-)

diffs (104 lines):

diff -r 714cef043406 -r aa1cc77e85fd net/slurm/Makefile
--- a/net/slurm/Makefile        Thu Oct 16 12:41:03 2003 +0000
+++ b/net/slurm/Makefile        Thu Oct 16 12:54:14 2003 +0000
@@ -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 @@
 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 -r 714cef043406 -r aa1cc77e85fd net/slurm/PLIST
--- a/net/slurm/PLIST   Thu Oct 16 12:41:03 2003 +0000
+++ b/net/slurm/PLIST   Thu Oct 16 12:54:14 2003 +0000
@@ -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 -r 714cef043406 -r aa1cc77e85fd net/slurm/distinfo
--- a/net/slurm/distinfo        Thu Oct 16 12:41:03 2003 +0000
+++ b/net/slurm/distinfo        Thu Oct 16 12:54:14 2003 +0000
@@ -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 -r 714cef043406 -r aa1cc77e85fd net/slurm/patches/patch-aa
--- a/net/slurm/patches/patch-aa        Thu Oct 16 12:41:03 2003 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -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 -r 714cef043406 -r aa1cc77e85fd net/slurm/patches/patch-ab
--- a/net/slurm/patches/patch-ab        Thu Oct 16 12:41:03 2003 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -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>



Home | Main Index | Thread Index | Old Index