pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mail/qmail-run Make sure ${VARBASE}/run exists before ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/778ee6d3d269
branches:  trunk
changeset: 316393:778ee6d3d269
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Wed Dec 12 01:08:30 2018 +0000

description:
Make sure ${VARBASE}/run exists before creating the qmail-send pidfile.
On a freshly bootstrapped Debian 9, somehow it didn't. Bump version.

diffstat:

 mail/qmail-run/Makefile           |  4 ++--
 mail/qmail-run/files/qmailsend.sh |  3 ++-
 2 files changed, 4 insertions(+), 3 deletions(-)

diffs (32 lines):

diff -r 8f0da4894802 -r 778ee6d3d269 mail/qmail-run/Makefile
--- a/mail/qmail-run/Makefile   Tue Dec 11 17:55:56 2018 +0000
+++ b/mail/qmail-run/Makefile   Wed Dec 12 01:08:30 2018 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.63 2018/12/11 17:49:40 schmonz Exp $
+# $NetBSD: Makefile,v 1.64 2018/12/12 01:08:30 schmonz Exp $
 #
 
-DISTNAME=              qmail-run-20181211
+DISTNAME=              qmail-run-20181211.1
 CATEGORIES=            mail
 MASTER_SITES=          # empty
 DISTFILES=             # empty
diff -r 8f0da4894802 -r 778ee6d3d269 mail/qmail-run/files/qmailsend.sh
--- a/mail/qmail-run/files/qmailsend.sh Tue Dec 11 17:55:56 2018 +0000
+++ b/mail/qmail-run/files/qmailsend.sh Wed Dec 12 01:08:30 2018 +0000
@@ -1,6 +1,6 @@
 #!@RCD_SCRIPTS_SHELL@
 #
-# $NetBSD: qmailsend.sh,v 1.14 2018/12/04 17:00:59 schmonz Exp $
+# $NetBSD: qmailsend.sh,v 1.15 2018/12/12 01:08:30 schmonz Exp $
 #
 # @PKGNAME@ script to control qmail-send (local and outgoing mail).
 #
@@ -45,6 +45,7 @@
        if [ -f /etc/rc.subr ] && ! checkyesno qmailsend_log; then
                qmailsend_logcmd=${qmailsend_nologcmd}
        fi
+       @MKDIR@ "@VARBASE@/run"
        # 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}



Home | Main Index | Thread Index | Old Index