pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/cvm Increase default datalimit. Detach from t...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a36ac3da83f7
branches:  trunk
changeset: 365991:a36ac3da83f7
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Mon Jul 31 20:34:17 2017 +0000

description:
Increase default datalimit. Detach from the controlling terminal
with pgrphack(8).  Bump PKGREVISION.

diffstat:

 security/cvm/Makefile     |  3 ++-
 security/cvm/files/cvm.sh |  8 ++++----
 2 files changed, 6 insertions(+), 5 deletions(-)

diffs (47 lines):

diff -r 6873cf42e14b -r a36ac3da83f7 security/cvm/Makefile
--- a/security/cvm/Makefile     Mon Jul 31 14:29:57 2017 +0000
+++ b/security/cvm/Makefile     Mon Jul 31 20:34:17 2017 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.21 2017/06/01 13:30:26 jlam Exp $
+# $NetBSD: Makefile,v 1.22 2017/07/31 20:34:17 schmonz Exp $
 #
 
 DISTNAME=              cvm-0.97
+PKGREVISION=           1
 CATEGORIES=            security
 MASTER_SITES=          ${HOMEPAGE}
 
diff -r 6873cf42e14b -r a36ac3da83f7 security/cvm/files/cvm.sh
--- a/security/cvm/files/cvm.sh Mon Jul 31 14:29:57 2017 +0000
+++ b/security/cvm/files/cvm.sh Mon Jul 31 20:34:17 2017 +0000
@@ -1,6 +1,6 @@
 #!@RCD_SCRIPTS_SHELL@
 #
-# $NetBSD: cvm.sh,v 1.2 2017/04/27 20:21:51 schmonz Exp $
+# $NetBSD: cvm.sh,v 1.3 2017/07/31 20:34:17 schmonz Exp $
 #
 
 # PROVIDE: cvm
@@ -10,7 +10,7 @@
 
 # User-settable rc.conf variables and their default values:
 : ${cvm_postenv:="CVM_LOOKUP_SECRET=''"}
-: ${cvm_datalimit:="9000000"}
+: ${cvm_datalimit:="180000000"}
 : ${cvm_module:="qmail"}
 : ${cvm_protocol:="local"}
 : ${cvm_log:="YES"}
@@ -31,11 +31,11 @@
                cvm_logcmd=${cvm_nologcmd}
        fi
        umask 0
-       command="@SETENV@ - ${cvm_postenv}
+       command="@PREFIX@/bin/pgrphack @SETENV@ - ${cvm_postenv}
 @PREFIX@/bin/softlimit -m ${cvm_datalimit} @PREFIX@/bin/cvm-${cvm_module}
 cvm-${cvm_protocol}:@VARBASE@/run/cvm-${cvm_module}
 2>&1 |
-@PREFIX@/bin/setuidgid cvmlog ${cvm_logcmd}"
+@PREFIX@/bin/pgrphack @PREFIX@/bin/setuidgid cvmlog ${cvm_logcmd}"
        command_args="&"
        rc_flags=""
 }



Home | Main Index | Thread Index | Old Index