pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mail/qmail-run Note ${PKGNAME} in installed scripts fo...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0bfe61dbefd7
branches:  trunk
changeset: 479000:0bfe61dbefd7
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Tue Aug 03 08:59:24 2004 +0000

description:
Note ${PKGNAME} in installed scripts for support purposes. Add a
missing RCS Id. Add qmailsmtpd_postsmtpd, useful for SMTP AUTH.
Bump version.

diffstat:

 mail/qmail-run/Makefile                    |  5 +++--
 mail/qmail-run/files/qmail-qread-client.sh |  9 ++++++---
 mail/qmail-run/files/qmail.sh              |  6 +++---
 mail/qmail-run/files/qmailpop3d.sh         |  4 ++--
 mail/qmail-run/files/qmailqread.sh         |  6 +++---
 mail/qmail-run/files/qmailsend.sh          |  4 ++--
 mail/qmail-run/files/qmailsmtpd.sh         |  7 ++++---
 7 files changed, 23 insertions(+), 18 deletions(-)

diffs (129 lines):

diff -r 6c3dd5780fc5 -r 0bfe61dbefd7 mail/qmail-run/Makefile
--- a/mail/qmail-run/Makefile   Tue Aug 03 08:44:47 2004 +0000
+++ b/mail/qmail-run/Makefile   Tue Aug 03 08:59:24 2004 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.1.1.1 2004/08/02 03:59:21 schmonz Exp $
+# $NetBSD: Makefile,v 1.2 2004/08/03 08:59:24 schmonz Exp $
 #
 
-DISTNAME=              qmail-run-20040801
+DISTNAME=              qmail-run-20040803
 CATEGORIES=            mail
 MASTER_SITES=          # empty
 DISTFILES=             # empty
@@ -26,6 +26,7 @@
 USE_PKGINSTALL=                yes
 INSTALL_EXTRA_TMPL+=   ${.CURDIR}/INSTALL
 FILES_SUBST+=          QMAIL_QUEUE_EXTRA=${QMAIL_QUEUE_EXTRA}
+FILES_SUBST+=          PKGNAME=${PKGNAME}
 RCD_SCRIPTS=           qmail qmailqread qmailpop3d qmailsend qmailsmtpd
 
 INSTALLATION_DIRS=     bin share/doc/qmail-run share/examples/qmail-run
diff -r 6c3dd5780fc5 -r 0bfe61dbefd7 mail/qmail-run/files/qmail-qread-client.sh
--- a/mail/qmail-run/files/qmail-qread-client.sh        Tue Aug 03 08:44:47 2004 +0000
+++ b/mail/qmail-run/files/qmail-qread-client.sh        Tue Aug 03 08:59:24 2004 +0000
@@ -1,7 +1,10 @@
 #!@SH@
 #
-# Client program to allow local non-root users to see the queue.
-# Requires that the corresponding server program be running. From
-# Steinar Haug.
+# $NetBSD: qmail-qread-client.sh,v 1.2 2004/08/03 08:59:24 schmonz Exp $
+#
+# @PKGNAME@ client program to allow local non-root users to see
+# the queue. Requires that the corresponding server program be running.
+# From Steinar Haug.
+#
 
 exec @LOCALBASE@/bin/tcpclient -RHl0 -- 127.0.0.1 20025 @SH@ -c 'exec @CAT@ <&6'
diff -r 6c3dd5780fc5 -r 0bfe61dbefd7 mail/qmail-run/files/qmail.sh
--- a/mail/qmail-run/files/qmail.sh     Tue Aug 03 08:44:47 2004 +0000
+++ b/mail/qmail-run/files/qmail.sh     Tue Aug 03 08:59:24 2004 +0000
@@ -1,9 +1,9 @@
 #!@RCD_SCRIPTS_SHELL@
 #
-# $NetBSD: qmail.sh,v 1.1.1.1 2004/08/02 03:59:22 schmonz Exp $
+# $NetBSD: qmail.sh,v 1.2 2004/08/03 08:59:24 schmonz Exp $
 #
-# Master script for administrators to control qmail services.
-# Usage resembles the qmailctl script from "Life with qmail".
+# @PKGNAME@ master script for administrators to control qmail
+# services. Usage resembles the qmailctl script from "Life with qmail".
 #
 
 # KEYWORD: nostart
diff -r 6c3dd5780fc5 -r 0bfe61dbefd7 mail/qmail-run/files/qmailpop3d.sh
--- a/mail/qmail-run/files/qmailpop3d.sh        Tue Aug 03 08:44:47 2004 +0000
+++ b/mail/qmail-run/files/qmailpop3d.sh        Tue Aug 03 08:59:24 2004 +0000
@@ -1,8 +1,8 @@
 #!@RCD_SCRIPTS_SHELL@
 #
-# $NetBSD: qmailpop3d.sh,v 1.1.1.1 2004/08/02 03:59:21 schmonz Exp $
+# $NetBSD: qmailpop3d.sh,v 1.2 2004/08/03 08:59:24 schmonz Exp $
 #
-# Script to control qmail-pop3d (POP3 server for Maildirs).
+# @PKGNAME@ script to control qmail-pop3d (POP3 server for Maildirs).
 #
 
 # PROVIDE: qmailpop3d mail
diff -r 6c3dd5780fc5 -r 0bfe61dbefd7 mail/qmail-run/files/qmailqread.sh
--- a/mail/qmail-run/files/qmailqread.sh        Tue Aug 03 08:44:47 2004 +0000
+++ b/mail/qmail-run/files/qmailqread.sh        Tue Aug 03 08:59:24 2004 +0000
@@ -1,9 +1,9 @@
 #!@RCD_SCRIPTS_SHELL@
 #
-# $NetBSD: qmailqread.sh,v 1.1.1.1 2004/08/02 03:59:21 schmonz Exp $
+# $NetBSD: qmailqread.sh,v 1.2 2004/08/03 08:59:24 schmonz Exp $
 #
-# Script to control a service providing local non-root users access
-# to see the queue. Adapted from a script by Steinar Haug.
+# @PKGNAME@ script to control a service providing local non-root
+# users access to see the queue. Adapted from a script by Steinar Haug.
 #
 
 # PROVIDE: qmailqread mail
diff -r 6c3dd5780fc5 -r 0bfe61dbefd7 mail/qmail-run/files/qmailsend.sh
--- a/mail/qmail-run/files/qmailsend.sh Tue Aug 03 08:44:47 2004 +0000
+++ b/mail/qmail-run/files/qmailsend.sh Tue Aug 03 08:59:24 2004 +0000
@@ -1,8 +1,8 @@
 #!@RCD_SCRIPTS_SHELL@
 #
-# $NetBSD: qmailsend.sh,v 1.1.1.1 2004/08/02 03:59:21 schmonz Exp $
+# $NetBSD: qmailsend.sh,v 1.2 2004/08/03 08:59:24 schmonz Exp $
 #
-# Script to control qmail-send (local and outgoing mail).
+# @PKGNAME@ script to control qmail-send (local and outgoing mail).
 #
 
 # PROVIDE: qmailsend mail
diff -r 6c3dd5780fc5 -r 0bfe61dbefd7 mail/qmail-run/files/qmailsmtpd.sh
--- a/mail/qmail-run/files/qmailsmtpd.sh        Tue Aug 03 08:44:47 2004 +0000
+++ b/mail/qmail-run/files/qmailsmtpd.sh        Tue Aug 03 08:59:24 2004 +0000
@@ -1,8 +1,8 @@
 #!@RCD_SCRIPTS_SHELL@
 #
-# $NetBSD: qmailsmtpd.sh,v 1.1.1.1 2004/08/02 03:59:21 schmonz Exp $
+# $NetBSD: qmailsmtpd.sh,v 1.2 2004/08/03 08:59:24 schmonz Exp $
 #
-# Script to control qmail-smtpd (SMTP service).
+# @PKGNAME@ script to control qmail-smtpd (SMTP service).
 #
 
 # PROVIDE: qmailsmtpd mail
@@ -32,6 +32,7 @@
 qmailsmtpd_datalimit=${qmailsmtpd_datalimit-"2000000"}
 qmailsmtpd_pretcpserver=${qmailsmtpd_pretcpserver-""}
 qmailsmtpd_presmtpd=${qmailsmtpd_presmtpd-""}
+qmailsmtpd_postsmtpd=${qmailsmtpd_postsmtpd-""}
 qmailsmtpd_logcmd=${qmailsmtpd_logcmd-"@LOCALBASE@/bin/setuidgid qmaill @LOCALBASE@/bin/splogger nb${name}"}
 
 qmailsmtpd_precmd()
@@ -39,7 +40,7 @@
        # tcpserver(1) is akin to inetd(8), but runs one service per process.
        # We want to signal only the tcpserver process responsible for SMTP
        # service. Use argv0(1) to set procname to "qmailsmtpd".
-       command="@SETENV@ - ${qmailsmtpd_postenv} @LOCALBASE@/bin/softlimit -m ${qmailsmtpd_datalimit} ${qmailsmtpd_pretcpserver} @LOCALBASE@/bin/argv0 @LOCALBASE@/bin/tcpserver ${name} 
${qmailsmtpd_tcpflags} -x @PKG_SYSCONFDIR@/tcp.smtp.cdb -c `@HEAD@ -1 @PKG_SYSCONFDIR@/control/concurrencyincoming` -u `@ID@ -u qmaild` -g `@ID@ -g qmaild` ${qmailsmtpd_tcphost} ${qmailsmtpd_tcpport} 
${qmailsmtpd_presmtpd} @LOCALBASE@/bin/qmail-smtpd 2>&1 | ${qmailsmtpd_logcmd}"
+       command="@SETENV@ - ${qmailsmtpd_postenv} @LOCALBASE@/bin/softlimit -m ${qmailsmtpd_datalimit} ${qmailsmtpd_pretcpserver} @LOCALBASE@/bin/argv0 @LOCALBASE@/bin/tcpserver ${name} 
${qmailsmtpd_tcpflags} -x @PKG_SYSCONFDIR@/tcp.smtp.cdb -c `@HEAD@ -1 @PKG_SYSCONFDIR@/control/concurrencyincoming` -u `@ID@ -u qmaild` -g `@ID@ -g qmaild` ${qmailsmtpd_tcphost} ${qmailsmtpd_tcpport} 
${qmailsmtpd_presmtpd} @LOCALBASE@/bin/qmail-smtpd ${qmailsmtpd_postsmtpd} 2>&1 | ${qmailsmtpd_logcmd}"
        command_args="&"
        rc_flags=""
 }



Home | Main Index | Thread Index | Old Index