FreeBSD Bugzilla – Attachment 51328 Details for
Bug 77996
Update Port: sysutil/memtest - update to 4.0.4
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
memtest-4.0.4.diff
memtest-4.0.4.diff (text/plain), 4.11 KB, created by
Linh Pham
on 2005-02-23 23:40:18 UTC
(
hide
)
Description:
memtest-4.0.4.diff
Filename:
MIME Type:
Creator:
Linh Pham
Created:
2005-02-23 23:40:18 UTC
Size:
4.11 KB
patch
obsolete
>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/
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 77996
: 51328