Thu Aug 29 22:04:21 2019 UTC ()
Document config-fast-pkgsrc in README.pkgsrc, too.


(schmonz)
diff -r1.16 -r1.17 pkgsrc/mail/qmail/INSTALL
diff -r1.5 -r1.6 pkgsrc/mail/qmail/files/README.pkgsrc

cvs diff -r1.16 -r1.17 pkgsrc/mail/qmail/INSTALL (expand / switch to unified diff)

--- pkgsrc/mail/qmail/INSTALL 2019/08/20 02:38:04 1.16
+++ pkgsrc/mail/qmail/INSTALL 2019/08/29 22:04:21 1.17
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: INSTALL,v 1.16 2019/08/20 02:38:04 schmonz Exp $ 1# $NetBSD: INSTALL,v 1.17 2019/08/29 22:04:21 schmonz Exp $
2 2
3DOCDIR=@DOCDIR@ 3DOCDIR=@DOCDIR@
4EGDIR=@EGDIR@ 4EGDIR=@EGDIR@
5PKGMANDIR=@PKGMANDIR@ 5PKGMANDIR=@PKGMANDIR@
6QMAILDIR=@QMAILDIR@ 6QMAILDIR=@QMAILDIR@
7QMAIL_QUEUE_DIR=@QMAIL_QUEUE_DIR@ 7QMAIL_QUEUE_DIR=@QMAIL_QUEUE_DIR@
8 8
9VAR_QMAIL_DIRS="alias bin boot control doc man queue users" 9VAR_QMAIL_DIRS="alias bin boot control doc man queue users"
10 10
11error_qmaildir() { 11error_qmaildir() {
12 local _qmaildir 12 local _qmaildir
13 _qmaildir="$1" 13 _qmaildir="$1"
14 14
@@ -58,29 +58,29 @@ EOF @@ -58,29 +58,29 @@ EOF
58 exit 1 58 exit 1
59} 59}
60 60
61warning_fqdn() { 61warning_fqdn() {
62 local _command _name 62 local _command _name
63 _command="$1" 63 _command="$1"
64 _name="$2" 64 _name="$2"
65 65
66 ${CAT} <<EOF 66 ${CAT} <<EOF
67=========================================================================== 67===========================================================================
68 68
69WARNING: "${_name}" is not a fully qualified name. 69WARNING: "${_name}" is not a fully qualified name.
70 70
71To configure basic qmail control files, please run this command: 71To configure basic qmail control files, run this command as root:
72 72
73# ${_command} ${_name}.YOURDOMAIN.TLD 73# ${_command} ${_name}.yourdomain.tld
74 74
75=========================================================================== 75===========================================================================
76EOF 76EOF
77} 77}
78 78
79case "${STAGE}" in 79case "${STAGE}" in
80 80
81PRE-INSTALL) 81PRE-INSTALL)
82 for dir in $VAR_QMAIL_DIRS; do 82 for dir in $VAR_QMAIL_DIRS; do
83 if [ -e ${QMAILDIR}/$dir ]; then 83 if [ -e ${QMAILDIR}/$dir ]; then
84 error_qmaildir ${QMAILDIR} 84 error_qmaildir ${QMAILDIR}
85 fi 85 fi
86 done 86 done

cvs diff -r1.5 -r1.6 pkgsrc/mail/qmail/files/README.pkgsrc (expand / switch to unified diff)

--- pkgsrc/mail/qmail/files/README.pkgsrc 2017/07/21 04:07:01 1.5
+++ pkgsrc/mail/qmail/files/README.pkgsrc 2019/08/29 22:04:21 1.6
@@ -1,13 +1,24 @@ @@ -1,13 +1,24 @@
 1 Basic configuration
 2 ===================
 3
 4If your system's hostname is a Fully Qualified Domain Name, basic qmail
 5control files have already been configured for you.
 6
 7Otherwise, run this command as root:
 8
 9# @PREFIX@/share/qmail/setup/config-fast-pkgsrc yourhostname.yourdomain.tld
 10
 11
1 Getting help 12 Getting help
2 ============ 13 ============
3 14
4You've installed an automated and customized qmail package. If 15You've installed an automated and customized qmail package. If
5you're having trouble with it, ask the package's maintainer: 16you're having trouble with it, ask the package's maintainer:
6 17
7<URL:mailto:schmonz-pkgsrc-qmail@schmonz.com> 18<URL:mailto:schmonz-pkgsrc-qmail@schmonz.com>
8 19
9Many members of the qmail mailing list recommend following the 20Many members of the qmail mailing list recommend following the
10install instructions in Dave Sill's "Life with qmail" document: 21install instructions in Dave Sill's "Life with qmail" document:
11 22
12<URL:http://www.lifewithqmail.org/lwq.html> 23<URL:http://www.lifewithqmail.org/lwq.html>
13 24