pkgsrc-Changes archive

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

CVS commit: pkgsrc/mk



Module Name:    pkgsrc
Committed By:   joerg
Date:           Sun Mar 22 21:17:30 UTC 2020

Modified Files:
        pkgsrc/mk/help: ulimit.help
        pkgsrc/mk/platform: NetBSD.mk

Log Message:
Add a ulimit flag for address space limits. Support it on NetBSD for
now.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/mk/help/ulimit.help
cvs rdiff -u -r1.59 -r1.60 pkgsrc/mk/platform/NetBSD.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/mk/help/ulimit.help
diff -u pkgsrc/mk/help/ulimit.help:1.3 pkgsrc/mk/help/ulimit.help:1.4
--- pkgsrc/mk/help/ulimit.help:1.3      Sat Apr 25 11:28:08 2015
+++ pkgsrc/mk/help/ulimit.help  Sun Mar 22 21:17:30 2020
@@ -1,4 +1,4 @@
-# $NetBSD: ulimit.help,v 1.3 2015/04/25 11:28:08 wiz Exp $
+# $NetBSD: ulimit.help,v 1.4 2020/03/22 21:17:30 joerg Exp $
 #
 
 # UNLIMIT_RESOURCES
@@ -10,5 +10,6 @@
 #      * datasize
 #      * memorysize
 #      * stacksize
+#      * virtualsize
 #
 # Keywords: ulimit unlimit memory cputime ENOMEM

Index: pkgsrc/mk/platform/NetBSD.mk
diff -u pkgsrc/mk/platform/NetBSD.mk:1.59 pkgsrc/mk/platform/NetBSD.mk:1.60
--- pkgsrc/mk/platform/NetBSD.mk:1.59   Thu Mar 12 17:01:39 2020
+++ pkgsrc/mk/platform/NetBSD.mk        Sun Mar 22 21:17:30 2020
@@ -1,4 +1,4 @@
-# $NetBSD: NetBSD.mk,v 1.59 2020/03/12 17:01:39 gdt Exp $
+# $NetBSD: NetBSD.mk,v 1.60 2020/03/22 21:17:30 joerg Exp $
 #
 # Variable definitions for the NetBSD operating system.
 
@@ -34,10 +34,11 @@ PKG_TOOLS_BIN?=             ${PKG_TOOLS_BIN_cmd:sh}
 ROOT_CMD?=             ${SU} - root -c
 ROOT_USER?=            root
 ROOT_GROUP?=   wheel
-ULIMIT_CMD_datasize?=  ulimit -d `ulimit -H -d`
-ULIMIT_CMD_stacksize?= ulimit -s `ulimit -H -s`
-ULIMIT_CMD_memorysize?=        ulimit -m `ulimit -H -m`
-ULIMIT_CMD_cputime?=   ulimit -t `ulimit -H -t`
+ULIMIT_CMD_virtualsize?=       ulimit -v `ulimit -H -v`
+ULIMIT_CMD_datasize?=          ulimit -d `ulimit -H -d`
+ULIMIT_CMD_stacksize?=         ulimit -s `ulimit -H -s`
+ULIMIT_CMD_memorysize?=                ulimit -m `ulimit -H -m`
+ULIMIT_CMD_cputime?=           ulimit -t `ulimit -H -t`
 
 # Native X11 is only supported on NetBSD-5 and later.
 # On NetBSD-5, native X11 has enough issues that we default



Home | Main Index | Thread Index | Old Index