pkgsrc-Changes archive

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

CVS commit: pkgsrc/security/cvm



Module Name:    pkgsrc
Committed By:   schmonz
Date:           Mon Jul 31 20:34:17 UTC 2017

Modified Files:
        pkgsrc/security/cvm: Makefile
        pkgsrc/security/cvm/files: cvm.sh

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


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 pkgsrc/security/cvm/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/security/cvm/files/cvm.sh

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

Modified files:

Index: pkgsrc/security/cvm/Makefile
diff -u pkgsrc/security/cvm/Makefile:1.21 pkgsrc/security/cvm/Makefile:1.22
--- pkgsrc/security/cvm/Makefile:1.21   Thu Jun  1 13:30:26 2017
+++ pkgsrc/security/cvm/Makefile        Mon Jul 31 20:34:17 2017
@@ -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}
 

Index: pkgsrc/security/cvm/files/cvm.sh
diff -u pkgsrc/security/cvm/files/cvm.sh:1.2 pkgsrc/security/cvm/files/cvm.sh:1.3
--- pkgsrc/security/cvm/files/cvm.sh:1.2        Thu Apr 27 20:21:51 2017
+++ pkgsrc/security/cvm/files/cvm.sh    Mon Jul 31 20:34:17 2017
@@ -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 @@ name="cvm"
 
 # 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_precmd()
                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