Skip site navigation (1)Skip section navigation (2)
Date:      18 Oct 2004 00:37:44 -0000
From:      "Frank J.Laszlo" <laszlof@vonostingroup.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        munn@umd.edu
Subject:   ports/72809: [UPDATE] benchmarks/nbench: Update to version 2.2.1
Message-ID:  <20041018003744.87801.qmail@ion.franksworld.org>
Resent-Message-ID: <200410180540.i9I5eJLU093275@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         72809
>Category:       ports
>Synopsis:       [UPDATE] benchmarks/nbench: Update to version 2.2.1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 18 05:40:19 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Frank J. Laszlo
>Release:        FreeBSD 5.2.1-RELEASE i386
>Organization:
>Environment:
System: FreeBSD ion.franksworld.org 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #0: Mon Feb 23 20:45:55 GMT 2004 root@wv1u.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC i386


	
>Description:
	This is the update for benchmarks/nbench from version 2.1 to 2.2.1 on
	http://www.tux.org/~mayer/linux/bmark.html. MASTER_SITE_SUNSITE doesnt appear to mirror
	the latest version, so I removed it from the MASTER_SITES. I will also take maintainership
	of this port if no one objects.
>How-To-Repeat:
	
>Fix:

	

--- nbench-2.2.1.diff begins here ---
diff -U3 -r nbench.orig/Makefile nbench/Makefile
--- nbench.orig/Makefile	Sun Oct 17 23:53:41 2004
+++ nbench/Makefile	Mon Oct 18 00:32:29 2004
@@ -6,14 +6,12 @@
 #
 
 PORTNAME=	nbench
-PORTVERSION=	2.1
+PORTVERSION=	2.2.1
 CATEGORIES=	benchmarks
-MASTER_SITES=	${MASTER_SITE_SUNSITE} \
-		ftp://ftp.tux.org/pub/tux/mayer/
-MASTER_SITE_SUBDIR=	system/benchmark
+MASTER_SITES=	ftp://ftp.tux.org/pub/tux/mayer/
 DISTNAME=	${PORTNAME}-byte-${PORTVERSION}
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	laszlof@vonostingroup.com
 COMMENT=	BYTE Magazine's native benchmarks
 
 ALL_TARGET=	# empty
@@ -24,8 +22,8 @@
 	${INSTALL_DATA} ${WRKSRC}/NNET.DAT ${PREFIX}/share/nbench
 .if !defined(NOPORTDOCS)
 	@${MKDIR} ${PREFIX}/share/doc/nbench
-.for file in README README.submit RESULTS bdoc.txt
-	${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/nbench
+.for f in README README.submit RESULTS bdoc.txt
+	${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/nbench
 .endfor
 .endif
 
diff -U3 -r nbench.orig/distinfo nbench/distinfo
--- nbench.orig/distinfo	Sun Oct 17 23:53:41 2004
+++ nbench/distinfo	Mon Oct 18 00:17:04 2004
@@ -1,2 +1,2 @@
-MD5 (nbench-byte-2.1.tar.gz) = 18741c3f7d01bf216a57c0132896b196
-SIZE (nbench-byte-2.1.tar.gz) = 195315
+MD5 (nbench-byte-2.2.1.tar.gz) = 92694db00b9698f4f7525e0580ed876b
+SIZE (nbench-byte-2.2.1.tar.gz) = 110099
diff -U3 -r nbench.orig/files/patch-aa nbench/files/patch-aa
--- nbench.orig/files/patch-aa	Sun Oct 17 23:53:41 2004
+++ nbench/files/patch-aa	Mon Oct 18 00:08:45 2004
@@ -1,5 +1,5 @@
---- nbench1.h.orig	Thu Dec 11 20:54:46 1997
-+++ nbench1.h	Wed Dec 17 08:28:11 1997
+--- nbench1.h.orig	Sun Oct 17 23:59:51 2004
++++ nbench1.h	Mon Oct 18 00:01:03 2004
 @@ -352,7 +352,7 @@
  ** The Neural Net test requires an input data file.
  ** The name is specified here.
diff -U3 -r nbench.orig/files/patch-ab nbench/files/patch-ab
--- nbench.orig/files/patch-ab	Sun Oct 17 23:53:41 2004
+++ nbench/files/patch-ab	Mon Oct 18 00:08:35 2004
@@ -1,5 +1,5 @@
---- sysinfo.sh	Thu Dec 11 20:54:46 1997
-+++ /home/andy/tmp/wrk/sysinfo.sh	Wed Dec 17 08:30:28 1997
+--- sysinfo.sh.orig	Mon Oct 18 00:03:53 2004
++++ sysinfo.sh	Mon Oct 18 00:04:35 2004
 @@ -50,8 +50,8 @@
  
  # this bombs out on Ultrix which expect "cut -d"
@@ -11,7 +11,3 @@
  
  # let's hope that ctrl-c is not part of any string here
  # this also will barf later if " is in any of the strings
-@@ -60,4 +60,4 @@
-  sed -e "s%CCVERSION%$gccversion" -e "s%LIBCVERSION%$libcversion"\
-      -e "s%SYSTEM%$compsystem" -e "s%DATE%$compdate"\
-    ${i}.template > $i
diff -U3 -r nbench.orig/files/patch-ac nbench/files/patch-ac
--- nbench.orig/files/patch-ac	Sun Oct 17 23:53:41 2004
+++ nbench/files/patch-ac	Mon Oct 18 00:08:27 2004
@@ -1,10 +1,10 @@
---- sysspec.h.orig	Fri Dec 12 05:54:46 1997
-+++ sysspec.h	Tue Jul 25 02:30:29 2000
+--- sysspec.h.orig	Mon Oct 18 00:05:17 2004
++++ sysspec.h	Mon Oct 18 00:05:50 2004
 @@ -33,7 +33,7 @@
  
  #include "nmglobal.h"
  
--#ifndef MAC
+-#if !defined(MAC) && !defined(OSX)
 +#if !defined(MAC) && !defined(__STDC__)
  #include <malloc.h>
  #endif
diff -U3 -r nbench.orig/files/patch-ad nbench/files/patch-ad
--- nbench.orig/files/patch-ad	Sun Oct 17 23:53:41 2004
+++ nbench/files/patch-ad	Mon Oct 18 00:08:23 2004
@@ -1,8 +1,8 @@
---- Makefile.orig	Fri Dec 12 05:54:46 1997
-+++ Makefile	Tue Jul 25 02:27:40 2000
-@@ -22,10 +22,10 @@
- # you should leave -static in the CFLAGS so that your sysinfo can be
- # compiled into the executable
+--- Makefile.orig	Mon Oct 18 00:07:05 2004
++++ Makefile	Mon Oct 18 00:07:51 2004
+@@ -19,10 +19,10 @@
+ # You should leave -static in the CFLAGS so that your sysinfo can be
+ # compiled into the executable.
  
 -CC = gcc
 +CC ?= gcc
--- nbench-2.2.1.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041018003744.87801.qmail>