From db7cf0616344eb31c660ba6fe796705b7f1c25be Mon Sep 17 00:00:00 2001 From: schmonz Date: Tue, 22 Mar 2005 00:07:36 +0000 Subject: Update to 4.0.5. From the changelog: -change to the method of allocating and locking memory; if we get EPERM when trying to mlock(), reset the amount of memory desired to the original amount and try again without mlock(). The reason for this is that on many systems, mlock() won't return EPERM until after having returned ENOMEM for a larger amount. The new behaviour allows processes without mlock privileges to still test the fully-specified amount or as much memory as can be allocated. Thanks for the suggestion and testing to Dan Bradley. --- sysutils/memtester/Makefile | 8 ++++++-- sysutils/memtester/distinfo | 8 ++++---- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/sysutils/memtester/Makefile b/sysutils/memtester/Makefile index c797607aa9e..6c69c9a7ea9 100644 --- a/sysutils/memtester/Makefile +++ b/sysutils/memtester/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.8 2005/02/16 18:44:36 schmonz Exp $ +# $NetBSD: Makefile,v 1.9 2005/03/22 00:07:36 schmonz Exp $ # -DISTNAME= memtester-4.0.4 +DISTNAME= memtester-4.0.5 CATEGORIES= sysutils MASTER_SITES= ${HOMEPAGE} @@ -15,6 +15,10 @@ USE_BUILDLINK3= yes INSTALLATION_DIRS= bin man/man8 share/doc/memtester +do-configure: + ${ECHO} ${CC:Q} ${CFLAGS:Q} > ${WRKSRC}/conf-cc + ${ECHO} ${CC:Q} ${_STRIPFLAG_CC} > ${WRKSRC}/conf-ld + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/memtester ${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/memtester.8 ${PREFIX}/man/man8 diff --git a/sysutils/memtester/distinfo b/sysutils/memtester/distinfo index 76886989383..da5be82fe4c 100644 --- a/sysutils/memtester/distinfo +++ b/sysutils/memtester/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.6 2005/02/24 13:40:55 agc Exp $ +$NetBSD: distinfo,v 1.7 2005/03/22 00:07:36 schmonz Exp $ -SHA1 (memtester-4.0.4.tar.gz) = 42dc6626cd77212c8b5448e93a5479b9aadf34ee -RMD160 (memtester-4.0.4.tar.gz) = bd9786a3769dfd82f144c2aa9b509c0f3b94eed3 -Size (memtester-4.0.4.tar.gz) = 16202 bytes +SHA1 (memtester-4.0.5.tar.gz) = b15d1a63a14a677b719e291099381576aa3e6861 +RMD160 (memtester-4.0.5.tar.gz) = 37ded2cb6dad868633343e83e33f55c371909751 +Size (memtester-4.0.5.tar.gz) = 16552 bytes -- cgit v1.2.3