CVSROOT:        /cvs
Module name:    ports
Changes by:     [email protected]    2020/01/12 10:25:37

Modified files:
        security/scrypt: Makefile 
Added files:
        security/scrypt/patches: patch-lib_util_memlimit_c 

Log message:
Do not allow scrypt to ignore RLIMIT_DATA

scrypt estimates the amount of available RAM, and ignores RLIMIT_DATA on
systems which have mmap. From tedu@ 
(http://mail.tarsnap.com/scrypt/msg00263.html):

"...this is the wrong thing to do for OpenBSD. On OpenBSD, rlimit_data
is applied to anonymous mmap (since that's now the heap) for
consistency.  RLIMIT_RSS is a vestigal do nothing define."

Issue is fixed by reverting 
https://github.com/Tarsnap/scrypt/commit/2b478e7ce590a6564d89417ddad4f3dd4bbdcaf6

While here set COMPILER and COMPILER_LANGS to fix building on sparc64
and powerpc (from kmos@, and tested by kmos@ and cwen@).

OK cwen@, "patch looks good to me" tedu@

Reply via email to