From hsn@netmag.cz  Sat Mar 27 11:32:00 2004
Return-Path: <hsn@netmag.cz>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id D4C2216A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 27 Mar 2004 11:32:00 -0800 (PST)
Received: from mail.tiscali.cz (stateless3.tiscali.cz [213.235.135.72])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 894CE43D2F
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 27 Mar 2004 11:32:00 -0800 (PST)
	(envelope-from hsn@netmag.cz)
Received: from asura.bsd (212.11.115.124) by mail.tiscali.cz (6.7.021)
        id 402AD1D200AB93C0 for FreeBSD-gnats-submit@freebsd.org; Sat, 27 Mar 2004 20:31:58 +0100
Received: from hsn@localhost
	by asura.bsd (Exim 4.30_2 FreeBSD) id 1B7JSV-0003Oq-9Q
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 27 Mar 2004 20:27:07 +0100
Message-Id: <E1B7JSV-0003Oq-9Q@asura.bsd>
Date: Sat, 27 Mar 2004 20:27:07 +0100
From: Radim Kolar <hsn@netmag.cz>
Reply-To: Radim Kolar <hsn@netmag.cz>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: new port: memtest86
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         64818
>Category:       ports
>Synopsis:       new port: memtest86
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Mar 27 11:40:08 PST 2004
>Closed-Date:    Sat Mar 27 17:50:26 PST 2004
>Last-Modified:  Sat Mar 27 17:50:26 PST 2004
>Originator:     Radim Kolar
>Release:        FreeBSD 5.2.1-RELEASE i386
>Organization:
Sanatana Dharma
>Environment:
System: FreeBSD asura.bsd 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #5: Thu Mar 25 09:24:50 CET 2004 root@asura.bsd:/usr/src/sys/i386/compile/UP i386
>Description:
I am sending a new port memtest86, which was created as part of article
about freebsd packaging system for www.root.cz. If no bug is there, commit
it ASAP pls. I will write into article how long it takes to get new
port commited.

have a nice day,

Radim
>How-To-Repeat:
>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	memtest86
#	memtest86/Makefile
#	memtest86/distinfo
#	memtest86/pkg-descr
#
echo c - memtest86
mkdir -p memtest86 > /dev/null 2>&1
echo x - memtest86/Makefile
sed 's/^X//' >memtest86/Makefile << 'END-of-memtest86/Makefile'
X# New ports collection makefile for:	memtest86
X# Date created:		27 Mar 2004
X# Whom:			Radim Kolar
X#
X# $FreeBSD$
X#
X
XPORTNAME=	memtest86
XPORTVERSION=	3.1a
XCATEGORIES=	sysutils
XMASTER_SITES=	http://www.memtest86.com/
X
XMAINTAINER=	ports@freebsd.org
XCOMMENT=	Stand alone memory test for x86 architecture computers
X
XNO_BUILD=	yes
Xdo-install:
X	${MKDIR} ${DATADIR}
X	${INSTALL_DATA} ${WRKSRC}/precomp.bin ${DATADIR}/floppy.bin
X	${INSTALL_DATA} ${WRKSRC}/memtest.iso ${DATADIR}
X	${GZIP_CMD} ${DATADIR}/memtest.iso
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${DOCSDIR}
X	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
X.endif
X
X.if !defined(NOPORTDOCS)
XPORTDOCS=README
X.endif
XPLIST_FILES=%%DATADIR%%/floppy.bin %%DATADIR%%/memtest.iso.gz
XPLIST_DIRS=%%DATADIR%%
X
X.include <bsd.port.mk>
END-of-memtest86/Makefile
echo x - memtest86/distinfo
sed 's/^X//' >memtest86/distinfo << 'END-of-memtest86/distinfo'
XMD5 (memtest86-3.1a.tar.gz) = 6c43d4aba3fdfa135c462a02b3ae5b39
XSIZE (memtest86-3.1a.tar.gz) = 142729
END-of-memtest86/distinfo
echo x - memtest86/pkg-descr
sed 's/^X//' >memtest86/pkg-descr << 'END-of-memtest86/pkg-descr'
XMemtest86 - A Stand-alone Memory Diagnostic
X                                                                                
XMemtest86 is thorough, stand alone memory test for x86 architecture computers.
XBIOS based memory tests are a quick, cursory check and often miss many of the
Xfailures that are detected by Memtest86.
X
XWWW: http://www.memtest86.com/
END-of-memtest86/pkg-descr
exit

>Release-Note:
>Audit-Trail:

From: Edwin Groothuis <edwin@mavetju.org>
To: Radim Kolar <hsn@netmag.cz>
Cc: FreeBSD-gnats-submit@FreeBSD.org
Subject: Re: ports/64818: new port: memtest86
Date: Sun, 28 Mar 2004 11:26:36 +1000

 On Sat, Mar 27, 2004 at 08:27:07PM +0100, Radim Kolar wrote:
 > I am sending a new port memtest86, which was created as part of article
 > about freebsd packaging system for www.root.cz. If no bug is there, commit
 > it ASAP pls. I will write into article how long it takes to get new
 > port commited.
 
 It works better if you think twice about this port and will add the
 proper configuration lines in it like "ONLY_FOR_ARCHS" before
 submitting it.
 
 Also, people from the Michelin guide to good restaurants don't
 announce themselves openly, they just sit down and observe.
 
 Edwin
 
 -- 
 Edwin Groothuis      |            Personal website: http://www.mavetju.org
 edwin@mavetju.org    |          Weblog: http://weblog.barnet.com.au/edwin/
State-Changed-From-To: open->closed 
State-Changed-By: pav 
State-Changed-When: Sat Mar 27 17:49:42 PST 2004 
State-Changed-Why:  
New port added, thanks! FYI, here is a list of "bugs" 
I fixed: 

- use tabs after variable names 
- all variables before make targets 
- %%DATADIR%% -> share/${PORTNAME} in Makefile 
- you define PORTDOCS so make use of it in install target 
- added pkg-message with instructions how to use the port 
- marked port ONLY_FOR_ARCHS = i386 

http://www.freebsd.org/cgi/query-pr.cgi?pr=64818 
>Unformatted:
