summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorschmonz <schmonz@pkgsrc.org>2004-08-02 17:28:10 +0000
committerschmonz <schmonz@pkgsrc.org>2004-08-02 17:28:10 +0000
commit58c763f8c3c86eb8d4b67c069179cf149e314b1a (patch)
tree3272704f6fb4ab6454f81377197c73956184d293 /mail
parent0fecdbf26d366514d47f3eb201163ed57a685c81 (diff)
downloadpkgsrc-58c763f8c3c86eb8d4b67c069179cf149e314b1a.tar.gz
Add a "README.pkgsrc" document and refer to it in MESSAGE. Ride
the PKGREVISION bump from 12 hours ago.
Diffstat (limited to 'mail')
-rw-r--r--mail/qmail/MESSAGE4
-rw-r--r--mail/qmail/Makefile.common22
-rw-r--r--mail/qmail/PLIST3
-rw-r--r--mail/qmail/files/README.pkgsrc28
4 files changed, 45 insertions, 12 deletions
diff --git a/mail/qmail/MESSAGE b/mail/qmail/MESSAGE
index 4f792b9ff6f..79e01db7615 100644
--- a/mail/qmail/MESSAGE
+++ b/mail/qmail/MESSAGE
@@ -1,5 +1,7 @@
===========================================================================
-$NetBSD: MESSAGE,v 1.9 2004/08/02 03:57:17 schmonz Exp $
+$NetBSD: MESSAGE,v 1.10 2004/08/02 17:28:10 schmonz Exp $
+
+Please read ${DOCDIR}/README.pkgsrc.
There are many ways to enable ${PKGBASE}. One popular, well-regarded
choice is to follow the directions in Dave Sill's "Life with qmail":
diff --git a/mail/qmail/Makefile.common b/mail/qmail/Makefile.common
index 1f10561a78b..ab5b9ebc059 100644
--- a/mail/qmail/Makefile.common
+++ b/mail/qmail/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.3 2004/08/02 04:53:00 schmonz Exp $
+# $NetBSD: Makefile.common,v 1.4 2004/08/02 17:28:10 schmonz Exp $
#
QMAIL_VERS= qmail-1.03
@@ -43,15 +43,12 @@ PKG_SYSCONFSUBDIR= qmail
DOCDIR= ${PREFIX}/share/doc/qmail
EGDIR= ${PREFIX}/share/examples/qmail
SHAREDIR= ${PREFIX}/share/qmail
-MESSAGE_SUBST+= EGDIR=${EGDIR}
-MESSAGE_SUBST+= PKGBASE=${PKGBASE}
-FILES_SUBST+= DOCDIR=${DOCDIR}
-FILES_SUBST+= EGDIR=${EGDIR}
-FILES_SUBST+= SHAREDIR=${SHAREDIR}
-FILES_SUBST+= QMAILDIR=${QMAILDIR}
-FILES_SUBST+= QMAIL_QUEUE_DIR=${QMAIL_QUEUE_DIR}
+MESSAGE_SUBST+= DOCDIR=${DOCDIR} EGDIR=${EGDIR} PKGBASE=${PKGBASE}
+FILES_SUBST+= DOCDIR=${DOCDIR} EGDIR=${EGDIR} SHAREDIR=${SHAREDIR}
+FILES_SUBST+= QMAILDIR=${QMAILDIR} QMAIL_QUEUE_DIR=${QMAIL_QUEUE_DIR}
FILES_SUBST+= QMAIL_QUEUE_EXTRA=${QMAIL_QUEUE_EXTRA}
-PLIST_SUBST+= OSXSUFX+=${OSXSUFX}
+FILES_SUBST+= PKGNAME=${PKGNAME}
+PLIST_SUBST+= OSXSUFX=${OSXSUFX}
SETUP_PROGRAMS= dnsfq dnsip dnsptr hostname install ipmeprint
SETUP_SCRIPTS= config config-fast
@@ -104,6 +101,10 @@ do-configure:
${ECHO} ${CC} ${_STRIPFLAG_CC} > ${WRKSRC}/conf-ld
${ECHO} ${QMAILDIR} > ${WRKSRC}/conf-qmail
+post-build:
+ @${SED} ${FILES_SUBST_SED} ${FILESDIR}/README.pkgsrc \
+ > ${WRKDIR}/README.pkgsrc
+
post-install:
# qmail's installer sets strange permissions; set them back
. if (${PKG_INSTALLATION_TYPE} == "overwrite")
@@ -118,7 +119,8 @@ post-install:
. endfor
. endif
- ${INSTALL_DATA_DIR} ${SHAREDIR}
+ ${INSTALL_DATA} ${WRKDIR}/README.pkgsrc ${DOCDIR}
+
${INSTALL_PROGRAM_DIR} ${SHAREDIR}/setup
for i in ${SETUP_PROGRAMS}; do \
${INSTALL_PROGRAM} ${WRKSRC}/$$i ${SHAREDIR}/setup; \
diff --git a/mail/qmail/PLIST b/mail/qmail/PLIST
index df59c622c80..63996f49baf 100644
--- a/mail/qmail/PLIST
+++ b/mail/qmail/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.8 2004/08/02 03:57:17 schmonz Exp $
+@comment $NetBSD: PLIST,v 1.9 2004/08/02 17:28:10 schmonz Exp $
bin/bouncesaying
bin/condredirect
bin/datemail
@@ -162,6 +162,7 @@ share/doc/qmail/PIC.nullclient
share/doc/qmail/PIC.relaybad
share/doc/qmail/PIC.relaygood
share/doc/qmail/PIC.rem2local
+share/doc/qmail/README.pkgsrc
share/doc/qmail/REMOVE.binmail
share/doc/qmail/REMOVE.sendmail
share/doc/qmail/SENDMAIL${OSXSUFX}
diff --git a/mail/qmail/files/README.pkgsrc b/mail/qmail/files/README.pkgsrc
new file mode 100644
index 00000000000..1b7842e88a6
--- /dev/null
+++ b/mail/qmail/files/README.pkgsrc
@@ -0,0 +1,28 @@
+ Getting help
+ ============
+
+You've installed an automated and customized qmail package. If
+you're having trouble with it, ask the package's maintainer:
+
+<URL:mailto:schmonz-nbqmail@schmonz.com>
+
+Many members of the qmail mailing list recommend following the
+install instructions in Dave Sill's "Life with qmail" document:
+
+<URL:http://www.lifewithqmail.org/lwq.html>
+
+A "Life with qmail" installation is done by hand, so any qmail
+package necessarily deviates from LWQ in at least this respect.
+Therefore, if you need to ask for help on the qmail list, please
+mention:
+
+* that you installed @PKGNAME@ from pkgsrc, and
+* how you're running (or trying to run) the qmail daemons.
+
+If you can first reproduce your problem on a manual LWQ-style
+installation, your request for help is likely to be better received.
+
+It is highly recommended that you read Charles Cazabon's "12 Steps
+to qmail List Bliss" before posting to the list:
+
+<URL:http://www.qcc.ca/~charlesc/writings/12-steps-to-qmail-list-bliss.html>