diff options
author | schmonz <schmonz> | 2005-03-22 00:07:36 +0000 |
---|---|---|
committer | schmonz <schmonz> | 2005-03-22 00:07:36 +0000 |
commit | 0b2a73d8866644b55ed35d89bf4225fbf438c1d0 (patch) | |
tree | f96b0b543e0c42cc6063cce84848abb66f06ee3c /sysutils/memtester | |
parent | 7aca2a4d56908ce4a19f518350c1d606ea341075 (diff) | |
download | pkgsrc-0b2a73d8866644b55ed35d89bf4225fbf438c1d0.tar.gz |
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.
Diffstat (limited to 'sysutils/memtester')
-rw-r--r-- | sysutils/memtester/Makefile | 8 | ||||
-rw-r--r-- | 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 |