pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/benchmarks/dbench Changes 2.1:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/18fe16a1df12
branches:  trunk
changeset: 483302:18fe16a1df12
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed Nov 10 15:32:33 2004 +0000

description:
Changes 2.1:
* unknown

diffstat:

 benchmarks/dbench/Makefile         |   9 +++------
 benchmarks/dbench/PLIST            |   5 +++--
 benchmarks/dbench/distinfo         |   9 ++++-----
 benchmarks/dbench/patches/patch-aa |  24 ------------------------
 benchmarks/dbench/patches/patch-ab |  30 +++++++++++++++++-------------
 5 files changed, 27 insertions(+), 50 deletions(-)

diffs (132 lines):

diff -r 9c09ac1da3d2 -r 18fe16a1df12 benchmarks/dbench/Makefile
--- a/benchmarks/dbench/Makefile        Wed Nov 10 15:17:42 2004 +0000
+++ b/benchmarks/dbench/Makefile        Wed Nov 10 15:32:33 2004 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.6 2004/10/28 16:43:14 wiz Exp $
-#
+# $NetBSD: Makefile,v 1.7 2004/11/10 15:32:33 adam Exp $
 
-DISTNAME=      dbench-1.3
+DISTNAME=      dbench-2.1
 CATEGORIES=    benchmarks
 MASTER_SITES=  http://samba.org/ftp/tridge/dbench/
 
@@ -11,8 +10,6 @@
 
 PKG_INSTALLATION_TYPES=        overwrite pkgviews
 
-WRKSRC=                ${WRKDIR}/dbench
-
 .include "../../mk/bsd.prefs.mk"
 
 .if ${OPSYS} == "SunOS"
@@ -26,6 +23,6 @@
        ${INSTALL_PROGRAM} ${WRKSRC}/tbench ${PREFIX}/bin/tbench
        ${INSTALL_PROGRAM} ${WRKSRC}/tbench_srv ${PREFIX}/bin/tbench_srv
        ${INSTALL_DATA_DIR} ${PREFIX}/share/dbench
-       ${INSTALL_DATA} ${WRKSRC}/client.txt ${PREFIX}/share/dbench/client.txt
+       ${INSTALL_DATA} ${WRKSRC}/client_*.txt ${PREFIX}/share/dbench/
 
 .include "../../mk/bsd.pkg.mk"
diff -r 9c09ac1da3d2 -r 18fe16a1df12 benchmarks/dbench/PLIST
--- a/benchmarks/dbench/PLIST   Wed Nov 10 15:17:42 2004 +0000
+++ b/benchmarks/dbench/PLIST   Wed Nov 10 15:32:33 2004 +0000
@@ -1,6 +1,7 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2003/07/17 15:11:44 agc Exp $
+@comment $NetBSD: PLIST,v 1.2 2004/11/10 15:32:33 adam Exp $
 bin/dbench
 bin/tbench
 bin/tbench_srv
-share/dbench/client.txt
+share/dbench/client_oplocks.txt
+share/dbench/client_plain.txt
 @dirrm share/dbench
diff -r 9c09ac1da3d2 -r 18fe16a1df12 benchmarks/dbench/distinfo
--- a/benchmarks/dbench/distinfo        Wed Nov 10 15:17:42 2004 +0000
+++ b/benchmarks/dbench/distinfo        Wed Nov 10 15:32:33 2004 +0000
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.2 2003/09/19 18:08:14 wiz Exp $
+$NetBSD: distinfo,v 1.3 2004/11/10 15:32:33 adam Exp $
 
-SHA1 (dbench-1.3.tar.gz) = b46f72ac0a81acf7a0f368e20e5d83ee3932a35a
-Size (dbench-1.3.tar.gz) = 266746 bytes
-SHA1 (patch-aa) = 1c34848d3ce3294a1ae228243ff6fcae8a874826
-SHA1 (patch-ab) = 63d2fd91fcd1e282179ba10c9d6ae06e89f6b945
+SHA1 (dbench-2.1.tar.gz) = 13331f549fb4c5f32069ec6b660e4b171ca64572
+Size (dbench-2.1.tar.gz) = 701293 bytes
+SHA1 (patch-ab) = 136d72277d3698a0b7638c1ac4661aa22028cf05
diff -r 9c09ac1da3d2 -r 18fe16a1df12 benchmarks/dbench/patches/patch-aa
--- a/benchmarks/dbench/patches/patch-aa        Wed Nov 10 15:17:42 2004 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,24 +0,0 @@
-$NetBSD: patch-aa,v 1.1.1.1 2003/07/17 15:11:44 agc Exp $
-
---- child.c    2003/07/17 14:48:57     1.1
-+++ child.c    2003/07/17 14:51:22
-@@ -29,16 +29,18 @@
- 
- int line_count=0;
- 
--char *client_filename = "client.txt";
-+char *client_filename = PREFIX "/share/dbench/" "client.txt";
- 
- 
- static int sigsegv(int sig)
- {
-       char line[200];
-       printf("segv at line %d\n", line_count);
-+#ifdef __linux__
-       sprintf(line, "/usr/X11R6/bin/xterm -e gdb /proc/%d/exe %d", 
-               getpid(), getpid());
-       system(line);
-+#endif
-       exit(1);
- }
- 
diff -r 9c09ac1da3d2 -r 18fe16a1df12 benchmarks/dbench/patches/patch-ab
--- a/benchmarks/dbench/patches/patch-ab        Wed Nov 10 15:17:42 2004 +0000
+++ b/benchmarks/dbench/patches/patch-ab        Wed Nov 10 15:32:33 2004 +0000
@@ -1,20 +1,24 @@
-$NetBSD: patch-ab,v 1.2 2003/09/19 18:08:16 wiz Exp $
+$NetBSD: patch-ab,v 1.3 2004/11/10 15:32:33 adam Exp $
 
---- Makefile.orig      Mon Sep 10 05:21:01 2001
-+++ Makefile   Fri Sep 19 16:06:02 2003
-@@ -1,8 +1,8 @@
- VERSION = 1.2.01
+--- Makefile.orig      2003-10-16 01:59:00.000000000 +0000
++++ Makefile
+@@ -1,12 +1,11 @@
+ VERSION=2.1
+ 
+-DESTDIR=/usr/local
++DESTDIR=${PREFIX}
+ BINDIR=$(DESTDIR)/bin/
+ MANDIR=$(DESTDIR)/man/man1/
+-DATADIR=./
++DATADIR=$(DESTDIR)/share/dbench/
  
 -CC = gcc
--CFLAGS = -O2 -Wall 
--CPPFLAGS = "-DVERSION=\"$(VERSION)\""
-+#CC = gcc
-+#CFLAGS = -O2 -Wall 
-+CPPFLAGS = "-DVERSION=\"$(VERSION)\"" -DPREFIX='"${PREFIX}"'
+-CFLAGS = -O2 -Wall -DVERSION=\"$(VERSION)\" -DDATADIR=\"$(DATADIR)\"
++CPPFLAGS = -DVERSION=\"$(VERSION)\" -DDATADIR=\"$(DATADIR)\"
  
  DB_OBJS = fileio.o util.o dbench.o child.o
  TB_OBJS = sockio.o util.o dbench.o child.o socklib.o
-@@ -11,13 +11,13 @@
+@@ -15,13 +14,13 @@ SRV_OBJS = util.o tbench_srv.o socklib.o
  all: dbench tbench tbench_srv
  
  dbench: $(DB_OBJS)
@@ -29,5 +33,5 @@
 -      $(CC) -o $@ $(SRV_OBJS)
 +      $(CC) -o $@ $(SRV_OBJS) $(TB_LDFLAGS)
  
- clean:
-       rm -f *.o *~ dbench tbench tbench_srv
+ # Careful here: don't install client.txt over itself.
+ install: all



Home | Main Index | Thread Index | Old Index