1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00

sysutils/memtest86: update to 4.3.7

While here, add options for image types and assign maintainer to
submitter

PR:		237658
Submitted by:	Nuno Teixeira <ed.arrakis@gmail.com>
This commit is contained in:
Steve Wills 2019-04-30 10:39:58 +00:00
parent 073b81ae4f
commit 1f6c68e140
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=500471
5 changed files with 56 additions and 26 deletions

View File

@ -2,35 +2,46 @@
# $FreeBSD$
PORTNAME= memtest86
PORTVERSION= 4.0b
PORTVERSION= 4.3.7
CATEGORIES= sysutils
MASTER_SITES= http://www.memtest86.com/
DISTNAME= ${PORTNAME}-${PORTVERSION:S/b/s/}
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${DISTNAME}.iso.zip
MASTER_SITES= https://www.memtest86.com/downloads/
MAINTAINER= ports@FreeBSD.org
MAINTAINER= ed.arrakis@gmail.com
COMMENT= Stand alone memory test for x86 architecture computers
ONLY_FOR_ARCHS= i386
NO_WRKSUBDIR= yes
NO_ARCH= yes
NO_BUILD= yes
ISO= Memtest86_${PORTVERSION:S/b/s/}.iso
ISODEST= Memtest86_${PORTVERSION:S/b//}.iso
PORTDOCS= README
PLIST_FILES= %%DATADIR%%/floppy.bin \
%%DATADIR%%/${ISODEST}
SUB_FILES= pkg-message
OPTIONS_DEFINE= DOCS
OPTIONS_MULTI= IMAGE
OPTIONS_MULTI_IMAGE= USB CD-ROM FLOPPY
OPTIONS_DEFAULT= USB
OPTIONS_SUB= yes
IMAGE_DESC= Image selection
USB_DESC= Image for creating bootable USB Drive
USB_DISTFILES= ${DISTNAME}-usb${EXTRACT_SUFX}
CD-ROM_DESC= Image for creating bootable CD-ROM Drive
CD-ROM_DISTFILES= ${DISTNAME}-iso${EXTRACT_SUFX}
FLOPPY_DESC= Image for creating bootable Floppy Drive
FLOPPY_DISTFILES= ${DISTNAME}-floppy${EXTRACT_SUFX}
do-install:
@${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/precomp.bin ${STAGEDIR}${DATADIR}/floppy.bin
${INSTALL_DATA} ${WRKDIR}/${ISO} ${STAGEDIR}${DATADIR}/${ISODEST}
.for i in ${PORTDOCS}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
.endfor
do-install-USB-on:
${INSTALL_DATA} ${WRKSRC}/memtest86-usb.img ${STAGEDIR}${DATADIR}
do-install-CD-ROM-on:
${INSTALL_DATA} ${WRKSRC}/Memtest86-4.3.7.iso ${STAGEDIR}${DATADIR}/memtest86-cdrom.iso
do-install-FLOPPY-on:
${INSTALL_DATA} ${WRKSRC}/memtest86-floppy.img ${STAGEDIR}${DATADIR}
.include <bsd.port.mk>

View File

@ -1,4 +1,7 @@
SHA256 (memtest86-4.0s.tar.gz) = 05270483eef83683ede190750951387c4a7173568f5c8d7b82bb06824836cb79
SIZE (memtest86-4.0s.tar.gz) = 157262
SHA256 (memtest86-4.0s.iso.zip) = b3741456fd006bd1903b3a99f1e44966bf1421deb91343b8c64b8bc37dcec8bc
SIZE (memtest86-4.0s.iso.zip) = 773918
TIMESTAMP = 1556536139
SHA256 (memtest86-4.3.7-iso.tar.gz) = 514860e6687c6b829267ece45a8d72e870e52f4d6d56e6c812a29a2d644d3c03
SIZE (memtest86-4.3.7-iso.tar.gz) = 426736
SHA256 (memtest86-4.3.7-floppy.tar.gz) = efcc70bdad10b9d66eb3fae2c9d98a459a37df2d6402032adbe04ae2755c3ab1
SIZE (memtest86-4.3.7-floppy.tar.gz) = 423271
SHA256 (memtest86-4.3.7-usb.tar.gz) = 1ed05c97786a102d6e55de02f5724c6bcf3e50e2558afb0dfaf255ed57a1e38b
SIZE (memtest86-4.3.7-usb.tar.gz) = 424433

View File

@ -1,7 +1,19 @@
*
* Usage:
*
* USB:
* 1) Insert memstick
* 2) dd if=%%DATADIR%%/memtest86-usb.img \
of=/dev/daN bs=1m conv=sync
* 3) Boot the memstick
*
* CD-ROM:
* 1) Insert blank cd-rom
* 2) cdrecord dev=<device> %%DATADIR%%/memtest86-cdrom.iso
* 3) Boot the memstick
*
* FLOPPY:
* 1) Insert blank floppy
* 2) dd if=%%DATADIR%%/floppy.bin of=/dev/fd0
* 2) dd if=%%DATADIR%%/memtest86-floppy.img of=/dev/fd0
* 3) Boot the floppy
*

View File

@ -1,7 +1,8 @@
Memtest86 - A Stand-alone Memory Diagnostic
Memtest86 is thorough, stand alone memory test for x86 architecture computers.
BIOS based memory tests are a quick, cursory check and often miss many of the
failures that are detected by Memtest86.
MemTest86 is the original, free, stand alone memory testing software for
x86 computers. MemTest86 boots from a USB flash drive and tests the RAM
in your computer for faults using a series of comprehensive algorithms and
test patterns.
WWW: http://www.memtest86.com/

View File

@ -0,0 +1,3 @@
%%CD-ROM%%%%DATADIR%%/memtest86-cdrom.iso
%%FLOPPY%%%%DATADIR%%/memtest86-floppy.img
%%USB%%%%DATADIR%%/memtest86-usb.img