aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/memtest
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2014-01-21 11:12:59 +0800
committerdanfe <danfe@FreeBSD.org>2014-01-21 11:12:59 +0800
commit0f26d650268cbac5cf02ba4b1752688cc26d9e92 (patch)
tree9ad680efb4bf15d14c73cff76304b7f77ab0e675 /sysutils/memtest
parentfb2d0a40a646d356627075367d8d83604dd566b6 (diff)
downloadfreebsd-ports-gnome-0f26d650268cbac5cf02ba4b1752688cc26d9e92.tar.gz
freebsd-ports-gnome-0f26d650268cbac5cf02ba4b1752688cc26d9e92.tar.zst
freebsd-ports-gnome-0f26d650268cbac5cf02ba4b1752688cc26d9e92.zip
- Update to version 4.3.0 and use official (upstream) program name
- Stagify, unmute installation commands, install manpage under MANPREFIX - Augment port description text while I'm here (per program's webpage)
Diffstat (limited to 'sysutils/memtest')
-rw-r--r--sysutils/memtest/Makefile22
-rw-r--r--sysutils/memtest/distinfo4
-rw-r--r--sysutils/memtest/pkg-descr18
3 files changed, 21 insertions, 23 deletions
diff --git a/sysutils/memtest/Makefile b/sysutils/memtest/Makefile
index 148a7ff8e0eb..31d566e834c9 100644
--- a/sysutils/memtest/Makefile
+++ b/sysutils/memtest/Makefile
@@ -1,32 +1,26 @@
# Created by: Mario S F Ferreira <lioux@linf.unb.br> et al.
# $FreeBSD$
-PORTNAME= memtest
-PORTVERSION= 4.2.2
+PORTNAME= memtester
+PORTVERSION= 4.3.0
CATEGORIES= sysutils
-MASTER_SITES= http://pyropus.ca/software/${PORTNAME}er/old-versions/
-DISTNAME= ${PORTNAME}er-${PORTVERSION}
+MASTER_SITES= http://pyropus.ca/software/${PORTNAME}/old-versions/
MAINTAINER= question+fbsdports@closedsrc.org
COMMENT= Utility to test for faulty memory subsystem
LICENSE= GPLv2
-MAN8= ${PORTNAME}.8
-PLIST_FILES= bin/memtest
+PLIST_FILES= bin/${PORTNAME} man/man8/${PORTNAME}.8.gz
-NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's|cc|${CC}|' \
${WRKSRC}/conf-*
- @${MV} ${WRKSRC}/${PORTNAME}er.8 ${WRKSRC}/${MAN8}
- @${REINPLACE_CMD} -e 's|${PORTNAME}er |${PORTNAME} |g' \
- -e 's| ${PORTNAME}er| ${PORTNAME}|' \
- -e "s|${PORTNAME}er's|${PORTNAME}'s|" \
- ${WRKSRC}/${MAN8}
+ @${REINPLACE_CMD} -e 's|_SC_PAGE_SIZE|_SC_PAGESIZE|' \
+ ${WRKSRC}/${PORTNAME}.c
do-install:
- @${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}er ${PREFIX}/bin/${PORTNAME}
- @${INSTALL_MAN} ${WRKSRC}/${MAN8} ${PREFIX}/man/man8/${MAN8}
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 ${STAGEDIR}${MANPREFIX}/man/man8
.include <bsd.port.mk>
diff --git a/sysutils/memtest/distinfo b/sysutils/memtest/distinfo
index dbed00fa61ec..f56a67b31d89 100644
--- a/sysutils/memtest/distinfo
+++ b/sysutils/memtest/distinfo
@@ -1,2 +1,2 @@
-SHA256 (memtester-4.2.2.tar.gz) = a494569d58d642c796332a1b7f3b4b86845b52da66c15c96fbeecd74e48dae8e
-SIZE (memtester-4.2.2.tar.gz) = 20952
+SHA256 (memtester-4.3.0.tar.gz) = f9dfe2fd737c38fad6535bbab327da9a21f7ce4ea6f18c7b3339adef6bf5fd88
+SIZE (memtester-4.3.0.tar.gz) = 22113
diff --git a/sysutils/memtest/pkg-descr b/sysutils/memtest/pkg-descr
index 97c7f0c3615d..b8c9524fff13 100644
--- a/sysutils/memtest/pkg-descr
+++ b/sysutils/memtest/pkg-descr
@@ -1,9 +1,13 @@
-memtest is a utility for testing the memory subsystem in a computer
-to determine if it is faulty. The original source was by Simon
-Kirby <sim@stormix.com>. The program has been rewritten by Charles
-Cazabon and many additional tests were added to help catch borderline
-memory. He also rewrote the original tests (which catch mainly
-memory bits which are stuck permanently high or low) so that they
-run approximately an order of magnitude faster.
+A user-space utility for testing the memory subsystem for faults. It is
+portable and should compile and work on any 32- or 64-bit Unix-like system.
+(Yes, even weird, proprietary Unices, and even Mac OS X.) For hardware
+developers, memtester can be told to test memory starting at a particular
+physical address as of memtester version 4.1.0.
+
+The original source was by Simon Kirby <sim@stormix.com>. The program has
+been rewritten by Charles Cazabon and many additional tests were added to
+help catch borderline memory. He also rewrote the original tests (which
+catch mainly memory bits which are stuck permanently high or low) so that
+they run approximately an order of magnitude faster.
WWW: http://pyropus.ca/software/memtester/