Commit graph

27 commits

Author SHA1 Message Date
asau
54c5cd959e Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-23 19:50:50 +00:00
schmonz
ce6eacc919 Update to 4.3.0. From the changelog:
- add ability to mmap a device other than /dev/mem, enabling easier
  testing of memory for hardware engineers et al if their system's
  kernel exports the memory they're interested in via /dev/mydevice
  or similar. Thanks: Jean-Noel Avila.

- add ability to run only specified tests by setting the environment
  variable MEMTESTER_TEST_MASK to a bitmask of the indexes of the
  tests to be run. Thanks: Ian Alexander.

Updating this during the freeze as it's a leaf package and the
changes should be low-impact.
2012-06-21 21:08:11 +00:00
schmonz
39297caa71 Update to 4.2.2. From the changelog:
- add progress message for one more errno value (EAGAIN) in response to failed
  mlock; BSDs use this to indicate the lock failed due to being over a system
  or process limit, much like ENOMEM.
2012-01-11 17:01:17 +00:00
zafer
5276bd2181 Update memtester to 4.2.1
Changelog:
Version 4.2.1
3 October 2010
  -fix offsets/addresses were not being reported correctly in test failure
  messages.  Thanks: Anton Sergeev.

Version 4.2.0
30 July 2010
  -define _FILE_OFFSET_BITS to 64 by default in conf-cc, which causes some
  32-bit systems with larger-than-32-bit address spaces to have a 64-bit off_t,
  allowing testing of larger chunks of memory.  Thanks to Steven A. Falco for
  the suggestion.  Let me know if this definition causes problems for anyone.
  -add tests of 8-bit-wide and 16-bit-wide random writes, to enable verifying
  the correct operation of hardware.  Thanks: Dick Hollenbeck.  If these tests
  trigger unaligned access problems on your platform, you can eliminate these
  tests by removing the -DTEST_NARROW_WRITES definition from the conf-cc file.
2010-10-26 20:22:04 +00:00
schmonz
86db693b51 Update to 4.1.3. From the changelog:
-fix 64-bit data patterns with some versions of gcc.  Thanks: Tony Battersby.
  -clarify `make install` in readme.  Thanks: Marc Lobelle.
2010-03-04 08:43:21 +00:00
schmonz
5104515a2c Update to 4.1.2. From the changelog:
- fix portability issue with MAP_LOCKED flag. Thanks: Scott Haneda.
- remove debugging output accidentally left in v.4.1.0.
- cleanups
- memtester.h was missing from the 4.1.0 tarball; release update to
    fix that. Thanks: Owen Leonard.
- added the ability to test a specific physical region of memory
    (by mmap'ing /dev/mem) with the new -p option, which takes a
    hex starting address as a value. This is mostly of use to
    developers trying to verify memory or I/O mapped devices (on
    an embedded system, for instance). Thanks: Allon Stern.
- re-add the ability to set a suffix on the memory to allocate:
    "3G", "128K", etc, mostly for use with the above new feature,
    where the "memory" to be tested is less than a megabyte, but
    also useful for users wanting to test many gigabytes; you no
    longer have to do the conversion-to-megs in your head.
- documentation updates and clarifications.
2009-08-03 15:51:40 +00:00
joerg
f0bbd1517d Remove @dirrm entries from PLISTs 2009-06-14 18:13:25 +00:00
xtraeme
27eae9ce11 Version 4.0.8
21 November 2007

- add a startup check for amount of memory being greater than the possible
  address space; prevents user confusion on 32-bit systems that use addressing
  tricks to have >4GB total system memory.  Thanks: Michael Kelly.
- documentation updates
2007-11-21 18:41:19 +00:00
schmonz
5a7331daee Update to 4.0.7. From the changelog:
-fix a bug in the align-to-page logic which may have prevented memtester
  from mlock()ing the memory it was trying to test on some systems.
  Thanks: Baif Chen.
2007-05-28 05:45:37 +00:00
schmonz
c970f18344 Update to 4.0.6. From the changelog:
- test algorithm improvement: the walking 0 bits test was only
    walking the 0 bit in one direction, instead of walking it up
    and back down the line the way it was intended to. Thanks: Tim
    Rule.

- formatting cleanups.
2007-01-11 04:02:53 +00:00
rillig
2829e658f2 Mechanically replaced man/* with ${PKGMANDIR}/* in the definition of
INSTALLATION_DIRS, as well as all occurrences of ${PREFIX}/man with
${PREFIX}/${PKGMANDIR}.

Fixes PR 35265, although I did not use the patch provided therein.
2007-01-07 09:13:46 +00:00
tv
ee4d4abb22 NOT_FOR_PLATFORM Interix, as it has no m[un]lock(2). 2005-11-01 19:01:17 +00:00
schmonz
2b8e0c4858 Introduce DJB_MAKE_TARGETS boolean, on by default, off in the
following packages because they don't use "it" and "setup check"
as BUILD_TARGET and INSTALL_TARGET, respectively:

devel/bglibs
mail/mailfront
mail/qmail-qfilter
sysutils/memtester
sysutils/qlogtools

Since there's only one consumer of BGWARE_INSTALLER, and future
bgware will use bg-installer from bglibs, move the do-install
routine directly into qlogtools.
2005-08-24 04:47:10 +00:00
schmonz
d4cb532c2d Convert to use djbware.mk. 2005-08-07 11:47:55 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
schmonz
db7cf06163 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.
2005-03-22 00:07:36 +00:00
agc
d81d19f8e0 Add RMD160 digests. 2005-02-24 12:51:41 +00:00
schmonz
39e3eb008d HOMEPAGE moved. Take MAINTAINER for queue_repair at author's
months-ago request.
2005-02-16 18:44:36 +00:00
schmonz
591eff33b7 Take MAINTAINER at author's long-ago request. No response from
previous maintainer within two weeks.
2005-02-04 01:00:23 +00:00
schmonz
c39142b84e Update to 4.0.4. From the changelog:
-make memtester's exit code meaningful.  See the manpage for its meaning.
  Thanks to Wurzel Parsons-Keir, who sent a patch for the code, so I only had
  to document it.
2004-09-02 02:30:19 +00:00
schmonz
2d5a7fee00 Update to 4.0.3. From the changelog:
-small changes to enable building with dietlibc and a few other environments
  that don't even attempt to provide the various Posix definitions.
  -cosmetic fixes to output.
  -restore the reduce-and-retry loop of memory locking from version 2.
2004-08-21 06:59:22 +00:00
schmonz
e0ff58c0b3 Update checksum for modified distfile with unchanged version. The
diff: "stress text" was changed to "stress test" in the man page.
Noticed by kre in pkg/26619.
2004-08-12 00:05:31 +00:00
schmonz
46ab44f29a Cosmetic increase in whitespace (no functional change). 2004-08-10 05:20:54 +00:00
schmonz
583ebd7011 Update to 4.0.2. From the README:
The version 4 rewrite was mainly to accomplish three things:

    (1) the previous code was basically a hack, and was ugly.
    (2) to make the code more portable.  The previous version required some
        hackery to compile on some systems.
    (3) to make the code fully 64-bit aware.  The previous version worked
        on 64-bit systems, but did not fully stress the memory subsystems
        on them -- this version should be better at stress-testing 64-bit
        systems.

pkgsrc changes:
* Use the gzipped tarball (the bzipped one is no more).
* Tweak COMMENT.
* GNU make is no longer needed.
2004-08-09 20:39:53 +00:00
schmonz
3a86dad0b8 Enable pkgviews installation. 2004-07-28 16:03:47 +00:00
schmonz
279d092537 Switch from the first to the third person, since neither the package
maintainer nor I wrote this software.
2004-07-16 01:30:36 +00:00
schmonz
27625c812d Initial import of memtester-2.93.1 from pkgsrc-wip, contributed by
<pancake at phreaker.net> with some minor changes by me.

memtest is a utility for testing the memory subsystem in a computer
to determine if it is faulty. The original source was by Simon
Kirby <sim@stormix.com>. I have by this time completely rewritten
the original source, and added many additional tests to help catch
borderline memory. I also rewrote the original tests (which catch
mainly memory bits which are stuck permanently high or low) so that
they run approximately an order of magnitude faster.
2004-07-16 00:49:20 +00:00