pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/memtester Update to 4.0.5. From the changelog:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/02f1e1a02406
branches:  trunk
changeset: 491142:02f1e1a02406
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Tue Mar 22 00:07:36 2005 +0000

description:
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:

 sysutils/memtester/Makefile |  8 ++++++--
 sysutils/memtester/distinfo |  8 ++++----
 2 files changed, 10 insertions(+), 6 deletions(-)

diffs (37 lines):

diff -r 66912c3710d2 -r 02f1e1a02406 sysutils/memtester/Makefile
--- a/sysutils/memtester/Makefile       Mon Mar 21 23:53:08 2005 +0000
+++ b/sysutils/memtester/Makefile       Tue Mar 22 00:07:36 2005 +0000
@@ -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 @@
 
 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 -r 66912c3710d2 -r 02f1e1a02406 sysutils/memtester/distinfo
--- a/sysutils/memtester/distinfo       Mon Mar 21 23:53:08 2005 +0000
+++ b/sysutils/memtester/distinfo       Tue Mar 22 00:07:36 2005 +0000
@@ -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



Home | Main Index | Thread Index | Old Index