pkgsrc-Changes archive

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

CVS commit: pkgsrc/mail/qmail-run



Module Name:    pkgsrc
Committed By:   schmonz
Date:           Mon Jan  7 04:29:46 UTC 2019

Modified Files:
        pkgsrc/mail/qmail-run: MESSAGE Makefile
        pkgsrc/mail/qmail-run/files: README.pkgsrc

Log Message:
Use RCD_SCRIPTS_DIR in MESSAGE and README.pkgsrc, and SUBST_VARS the latter.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 pkgsrc/mail/qmail-run/MESSAGE
cvs rdiff -u -r1.68 -r1.69 pkgsrc/mail/qmail-run/Makefile
cvs rdiff -u -r1.7 -r1.8 pkgsrc/mail/qmail-run/files/README.pkgsrc

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

Modified files:

Index: pkgsrc/mail/qmail-run/MESSAGE
diff -u pkgsrc/mail/qmail-run/MESSAGE:1.15 pkgsrc/mail/qmail-run/MESSAGE:1.16
--- pkgsrc/mail/qmail-run/MESSAGE:1.15  Fri Dec 14 06:49:30 2018
+++ pkgsrc/mail/qmail-run/MESSAGE       Mon Jan  7 04:29:46 2019
@@ -1,14 +1,14 @@
 ===========================================================================
-$NetBSD: MESSAGE,v 1.15 2018/12/14 06:49:30 schmonz Exp $
+$NetBSD: MESSAGE,v 1.16 2019/01/07 04:29:46 schmonz Exp $
 
 Assuming NetBSD-style mailwrapper(8) and rc(8), to enable qmail for
 local and outbound delivery:
 
-- Run "/etc/rc.d/postfix stop" and set postfix=NO in /etc/rc.conf.
+- Run "${RCD_SCRIPTS_DIR}/postfix stop" and set postfix=NO in /etc/rc.conf.
 - Replace /etc/mailer.conf with ${PREFIX}/share/examples/qmail-run/mailer.conf.
 - Check configuration in ${PKG_SYSCONFDIR} (especially alias/.qmail-*).
 - Set qmailsend=YES and qmailqread=YES in /etc/rc.conf.
-- Run "/etc/rc.d/qmail start".
+- Run "${RCD_SCRIPTS_DIR}/qmail start".
 
 For SMTP, TLS, and more, please read
 ${PREFIX}/share/doc/qmail-run/README.pkgsrc.

Index: pkgsrc/mail/qmail-run/Makefile
diff -u pkgsrc/mail/qmail-run/Makefile:1.68 pkgsrc/mail/qmail-run/Makefile:1.69
--- pkgsrc/mail/qmail-run/Makefile:1.68 Sun Dec 30 19:09:04 2018
+++ pkgsrc/mail/qmail-run/Makefile      Mon Jan  7 04:29:46 2019
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.68 2018/12/30 19:09:04 schmonz Exp $
+# $NetBSD: Makefile,v 1.69 2019/01/07 04:29:46 schmonz Exp $
 #
 
 DISTNAME=              qmail-run-20181230
@@ -77,11 +77,11 @@ MAKEVARS+=  PKG_SYSCONFDIR.qmail-run
 
 SUBST_CLASSES+=                paths
 SUBST_STAGE.paths=     pre-configure
-SUBST_FILES.paths=     mailer.conf
+SUBST_FILES.paths=     mailer.conf README.pkgsrc
 SUBST_FILES.paths+=    greylisting-spp-wrapper ofmipd-with-user-cdb
 SUBST_FILES.paths+=    qmail-isspam-* qmail-procmail qmail-qread-client
 SUBST_FILES.paths+=    rcptchecks ofmipfilters smtpfilters smtpplugins tcprules-*
-SUBST_VARS.paths=      PKGNAME PKG_SYSCONFDIR PREFIX
+SUBST_VARS.paths=      PKGNAME PKG_SYSCONFDIR PREFIX RCD_SCRIPTS_DIR
 SUBST_VARS.paths+=     CAT ECHO GREP SED SH SORT TRUE
 
 post-extract:

Index: pkgsrc/mail/qmail-run/files/README.pkgsrc
diff -u pkgsrc/mail/qmail-run/files/README.pkgsrc:1.7 pkgsrc/mail/qmail-run/files/README.pkgsrc:1.8
--- pkgsrc/mail/qmail-run/files/README.pkgsrc:1.7       Sat Dec 15 06:31:34 2018
+++ pkgsrc/mail/qmail-run/files/README.pkgsrc   Mon Jan  7 04:29:46 2019
@@ -4,42 +4,42 @@
 Assuming NetBSD-style mailwrapper(8) and rc(8), to enable qmail for...
 
 Local and outbound delivery:
-- Run "/etc/rc.d/postfix stop" and set postfix=NO in /etc/rc.conf.
-- Replace /etc/mailer.conf with ${PREFIX}/share/examples/qmail-run/mailer.conf.
-- Check configuration in ${PKG_SYSCONFDIR} (especially alias/.qmail-*).
+- Run "@RCD_SCRIPTS_DIR@/postfix stop" and set postfix=NO in /etc/rc.conf.
+- Replace /etc/mailer.conf with @PREFIX@/share/examples/qmail-run/mailer.conf.
+- Check configuration in @PKG_SYSCONFDIR@ (especially alias/.qmail-*).
 - Set qmailsend=YES and qmailqread=YES in /etc/rc.conf.
-- Run "/etc/rc.d/qmail start".
+- Run "@RCD_SCRIPTS_DIR@/qmail start".
 
 Incoming SMTP on port 25:
 - Set qmailsmtpd=YES in /etc/rc.conf.
 - Add any qmail-rcptcheck programs to control/rcptchecks.
 - Add any qmail-qfilter programs to control/smtpfilters.
 - Add any qmail-spp programs (such as greylisting) to control/smtpplugins.
-- Run "/etc/rc.d/qmailsmtpd start".
+- Run "@RCD_SCRIPTS_DIR@/qmailsmtpd start".
 
 Greylisting:
 - Add any exempt recipient addresses to control/greylist/exemptrcpts.
 - Add any exempt recipient domains to control/greylist/exemptrcpthosts.
 - Tuples are (IP,sender,recipient). To effectively omit IP, add
   GL_WRAPPER_TCPREMOTEIP="127.127.127.127" to control/tcprules/smtp,
-  then run "/etc/rc.d/qmailsmtpd cdb".
+  then run "@RCD_SCRIPTS_DIR@/qmailsmtpd cdb".
 - Uncomment "greylisting-spp-wrapper" in control/smtpplugins.
 
 Authenticated message submission on port 587:
 - Set qmailofmipd=YES in /etc/rc.conf.
 - Add any qmail-qfilter programs to control/ofmipfilters.
-- Run "/etc/rc.d/qmailofmipd start".
+- Run "@RCD_SCRIPTS_DIR@/qmailofmipd start".
 
 POP3 (for Maildirs only) on port 110:
 - Set qmailpop3d=YES in /etc/rc.conf.
-- Run "/etc/rc.d/qmailpop3d start".
+- Run "@RCD_SCRIPTS_DIR@/qmailpop3d start".
 
 TLS encryption for SMTP, submission, POP3, and remote delivery:
 - Create cert and DH params (follow steps in `pkg_info -qD qmail`).
-- Run "/etc/rc.d/qmail restart".
+- Run "@RCD_SCRIPTS_DIR@/qmail restart".
 
 Sender Policy Framework:
-- Configure Sender Rewriting Scheme (see ${PREFIX}/share/doc/qmail/README.srs)
+- Configure Sender Rewriting Scheme (see @PREFIX@/share/doc/qmail/README.srs)
   so your auto-forwarded messages will reach servers that choose to
   enforce the forwarded domains' SPF policies.
 - Publish a DNS TXT record with your desired policy.
@@ -47,10 +47,10 @@ Sender Policy Framework:
   accepted. To reject -- including rejecting auto-forwarded messages
   from servers that haven't configured SRS -- add
   SPP_SPF_RESULT_FAIL="E550 spf_smtp_msg" to control/tcprules/smtp,
-  then run "/etc/rc.d/qmailsmtpd cdb".
+  then run "@RCD_SCRIPTS_DIR@/qmailsmtpd cdb".
 - Messages that explicit-pass are not greylisted. To remove the
   exemption, remove SPP_SPF_RESULT_PASS="SGL_WHITELISTED=1" from
-  control/tcprules/smtp, then run "/etc/rc.d/qmailsmtpd cdb".
+  control/tcprules/smtp, then run "@RCD_SCRIPTS_DIR@/qmailsmtpd cdb".
 
 
  Getting help
@@ -97,5 +97,5 @@ LWQ suggests doing some things that the 
 Instead, the qmail-run package:
 * Provides NetBSD-style rc.d scripts, including one very similar to qmailctl.
 * Sends log messages to syslog(3) by default.
-* Stores tcprules in ${PKG_SYSCONFDIR}/control/tcprules.
+* Stores tcprules in @PKG_SYSCONFDIR@/control/tcprules.
 * Uses mailwrapper(8) and mailer.conf(5).



Home | Main Index | Thread Index | Old Index