Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mail/qmail-run Explicitly ulimit qmailsend. Bump PKGRE...
details: https://anonhg.NetBSD.org/pkgsrc/rev/b23d23962419
branches: trunk
changeset: 432236:b23d23962419
user: schmonz <schmonz%pkgsrc.org@localhost>
date: Tue May 19 19:45:58 2020 +0000
description:
Explicitly ulimit qmailsend. Bump PKGREVISION.
diffstat:
mail/qmail-run/Makefile | 4 ++--
mail/qmail-run/files/qmailsend.sh | 4 +++-
2 files changed, 5 insertions(+), 3 deletions(-)
diffs (40 lines):
diff -r f12e110a7414 -r b23d23962419 mail/qmail-run/Makefile
--- a/mail/qmail-run/Makefile Tue May 19 19:24:41 2020 +0000
+++ b/mail/qmail-run/Makefile Tue May 19 19:45:58 2020 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.74 2019/08/20 02:42:47 schmonz Exp $
+# $NetBSD: Makefile,v 1.75 2020/05/19 19:45:58 schmonz Exp $
#
-DISTNAME= qmail-run-20190819
+DISTNAME= qmail-run-20200519
CATEGORIES= mail
MASTER_SITES= # empty
DISTFILES= # empty
diff -r f12e110a7414 -r b23d23962419 mail/qmail-run/files/qmailsend.sh
--- a/mail/qmail-run/files/qmailsend.sh Tue May 19 19:24:41 2020 +0000
+++ b/mail/qmail-run/files/qmailsend.sh Tue May 19 19:45:58 2020 +0000
@@ -1,6 +1,6 @@
#!@RCD_SCRIPTS_SHELL@
#
-# $NetBSD: qmailsend.sh,v 1.17 2018/12/16 05:32:07 schmonz Exp $
+# $NetBSD: qmailsend.sh,v 1.18 2020/05/19 19:45:58 schmonz Exp $
#
# @PKGNAME@ script to control qmail-send (local and outgoing mail).
#
@@ -13,6 +13,7 @@
# User-settable rc.conf variables and their default values:
: ${qmailsend_postenv:="QMAILREMOTE=@PREFIX@/bin/qmail-remote"}
+: ${qmailsend_datalimit:="540000000"}
: ${qmailsend_defaultdelivery:="`@HEAD@ -1 @PKG_SYSCONFDIR@/control/defaultdelivery`"}
: ${qmailsend_log:="YES"}
: ${qmailsend_logcmd:="logger -t nbqmail/send -p mail.info"}
@@ -48,6 +49,7 @@
# qmail-start(8) starts the various qmail processes, then execs
# qmail-send(8). That's the process we want to signal later.
command="@PREFIX@/bin/pgrphack @SETENV@ - PATH=@PREFIX@/bin:$PATH ${qmailsend_postenv} \
+@PREFIX@/bin/softlimit -m ${qmailsend_datalimit} \
qmail-start '$qmailsend_defaultdelivery' \
${qmailsend_logcmd}"
command_args="&"
Home |
Main Index |
Thread Index |
Old Index