Date: Wed, 23 Feb 2005 15:35:22 -0800 (PST) From: Linh Pham <question+fbsdports@closedsrc.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: lioux@FreeBSD.org Subject: ports/77996: Update Port: sysutil/memtest - update to 4.0.4 Message-ID: <20050223233522.A90EA45039@q.closedsrc.org> Resent-Message-ID: <200502232340.j1NNeJdP095485@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 77996 >Category: ports >Synopsis: Update Port: sysutil/memtest - update to 4.0.4 >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Feb 23 23:40:18 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Linh Pham >Release: FreeBSD 5.3-RELEASE-p4 i386 >Organization: >Environment: System: FreeBSD q.internal.closedsrc.org 5.3-RELEASE-p4 FreeBSD 5.3-RELEASE-p4 #5: Sat Jan 8 23:34:57 PST 2005 question@q.internal.closedsrc.org:/usr/obj/usr/src/sys/Q i386 >Description: Update the port to a more recent version, 4.0.4. Also update the WWW in pkg-descr to reflect new URL. memtest(er)'s manpage is now under section 8 per the author of memtester. >How-To-Repeat: >Fix: --- memtest-4.0.4.diff begins here --- diff -ruN /usr/ports/sysutils/memtest/Makefile memtest/Makefile --- /usr/ports/sysutils/memtest/Makefile Fri Apr 9 08:31:20 2004 +++ memtest/Makefile Wed Feb 23 15:23:35 2005 @@ -6,28 +6,25 @@ # PORTNAME= memtest -PORTVERSION= 2.93.1 -PORTREVISION= 1 +PORTVERSION= 4.0.4 CATEGORIES= sysutils -MASTER_SITES= http://www.qcc.sk.ca/~charlesc/software/memtester/ +MASTER_SITES= http://pyropus.ca/software/${PORTNAME}er/ DISTNAME= ${PORTNAME}er-${PORTVERSION} MAINTAINER= lioux@FreeBSD.org COMMENT= Utility to test for faulty memory subsystem -USE_BZIP2= yes -USE_GMAKE= yes USE_REINPLACE= yes -MAN1= ${PORTNAME}.1 +MAN8= ${PORTNAME}.8 PLIST_FILES= bin/memtest post-patch: - @${REINPLACE_CMD} -e 's|gcc|${CC}|' \ - ${WRKSRC}/${MAKEFILE} + @${REINPLACE_CMD} -e 's|cc|${CC}|' \ + ${WRKSRC}/conf-cc do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/${MAN1} ${PREFIX}/man/man1 + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}er ${PREFIX}/bin/${PORTNAME} + ${INSTALL_MAN} ${WRKSRC}/${MAN8:S/./er./g} ${PREFIX}/man/man8/${MAN8} .include <bsd.port.mk> diff -ruN /usr/ports/sysutils/memtest/distinfo memtest/distinfo --- /usr/ports/sysutils/memtest/distinfo Mon Feb 23 19:45:11 2004 +++ memtest/distinfo Wed Feb 23 14:52:18 2005 @@ -1,2 +1,2 @@ -MD5 (memtester-2.93.1.tar.bz2) = 3c971e11ca71cc8cd9d43b247170c243 -SIZE (memtester-2.93.1.tar.bz2) = 22665 +MD5 (memtester-4.0.4.tar.gz) = 7bd4d278419811236753fb69894caacf +SIZE (memtester-4.0.4.tar.gz) = 16202 diff -ruN /usr/ports/sysutils/memtest/files/patch-aa memtest/files/patch-aa --- /usr/ports/sysutils/memtest/files/patch-aa Mon Dec 23 03:07:53 2002 +++ memtest/files/patch-aa Wed Dec 31 16:00:00 1969 @@ -1,21 +0,0 @@ ---- memtest.c.orig Thu Dec 19 13:43:09 2002 -+++ memtest.c Thu Dec 19 13:42:49 2002 -@@ -20,6 +20,7 @@ - #include <stdio.h> - #include <stdlib.h> - #include <time.h> -+#include <sys/types.h> - #include <sys/mman.h> - #include <signal.h> - #include <unistd.h> -@@ -249,6 +250,10 @@ - if (!strcmp (argv[i], "all")) - { - membytes = 4095 << MB; -+ fprintf (stderr, "%s: ATTENTION: option '%s' might cause a segmentation" -+ " fault crash on %s because it will try to test as much" -+ " as 4G of memory even if your system does not have as much" -+ " memory.\n", argv[0], argv[i], argv[0]); - continue; - } - t = (ui32) strtol (argv[i], &endptr, 0); diff -ruN /usr/ports/sysutils/memtest/files/patch-ab memtest/files/patch-ab --- /usr/ports/sysutils/memtest/files/patch-ab Mon Dec 23 03:07:53 2002 +++ memtest/files/patch-ab Wed Dec 31 16:00:00 1969 @@ -1,27 +0,0 @@ ---- memtest.1.orig Wed Apr 26 19:58:23 2000 -+++ memtest.1 Thu Dec 19 13:45:32 2002 -@@ -196,7 +196,12 @@ - faulty memory modules in Linux, or any Unix-like environment. - .Sh "Invoking memtest" - \fBmemtest\fR takes the first supplied argument as the amount of memory to test. --The value \fB'all\*(R'\fR means to test all available memory. A specific amount of -+.PP -+The value \fB'all\*(R'\fR means testing all available memory. -+However, the value \fB'all\*(R'\fR may not work on all systems, so -+a specific amount of memory might have to be specified. -+.PP -+A specific amount of - memory can be supplied as a number, followed by a letter to indicate units: - .Ip "\(bu" 4 - \fBB\fR or \fBb\fR \- bytes -@@ -332,6 +337,10 @@ - .Sh "Known Bugs" - The output examples in this manpage have fallen out of sync with the software - in minor ways. -+.PP -+The memory size value \fB'all\*(R'\fR means testing all available -+memory. However, the value \fB'all\*(R'\fR may not work on all -+systems, so a specific amount of memory might have to be specified. - .Sh "How To Report Bugs" - Bugs should be reported to <memtest@discworld.dyndns.org>. - .PP diff -ruN /usr/ports/sysutils/memtest/pkg-descr memtest/pkg-descr --- /usr/ports/sysutils/memtest/pkg-descr Wed Jul 19 03:27:53 2000 +++ memtest/pkg-descr Wed Feb 23 15:29:22 2005 @@ -6,4 +6,4 @@ memory bits which are stuck permanently high or low) so that they run approximately an order of magnitude faster. -WWW: http://www.qcc.sk.ca/~charlesc/software/memtester/ +WWW: http://pyropus.ca/software/memtester/ --- memtest-4.0.4.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?20050223233522.A90EA45039>