pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mail/qmail Short story:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/01832575be28
branches:  trunk
changeset: 478320:01832575be28
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Wed Jul 21 22:35:59 2004 +0000

description:
Short story:

1) Mostly conform to hier(7) and honor PKG_SYSCONFDIR.
2) Follow more closely Dave Sill's "Life with qmail" (LWQ).
3) Add a bunch of features to the rc.d scripts.
4) Remove some (but not all) obstacles to binary packaging.
5) Introduce QMAIL_AUTOCONFIG, QMAIL_QUEUE_DIR, and QMAIL_QUEUE_EXTRA.
6) Enable pkgviews installation.
7) Bump PKGREVISION.


Long story:

1) Mostly conform to hier(7) and honor PKG_SYSCONFDIR.

     Based on a January 1997 post by mrg to the qmail list: prior
     to installation, we create symlinks in ${QMAILDIR} that point
     into ${LOCALBASE} or ${PKG_SYSCONFDIR}, causing installation
     to place files in those locations while allowing the canonical
     /var/qmail paths to continue to work. The notable deviation
     from hier(7) is that even though some binaries ought to go in
     sbin, they've all been lumped into bin for simplicity.

     Pleasant effects:
     * We no longer need to set LOCALBASE (a big no-no), and as a
       result also no longer need to set NO_MTREE, RCD_SCRIPTS_EXAMPLEDIR,
       or EVAL_PREFIX. This will also allow a few qmail-related
       packages to do likewise.
     * The commands and manual pages are in easily accessible paths
       by default.
     * Package installation and deinstallation work much better.

     Side effects:
     * There were a few minor conflicts with mail/courier-maildirmake,
       mail/mutt, and mail/pulsar. The latest versions of each are
       fine, so we add CONFLICTS only for older versions. (Thanks
       to those packages' maintainers!) There's also a conflict
       with security/mirrordir, which has a "bin/forward" command
       and corresponding section 1 man page.

     * Some directories under ${PREFIX} get chown'd to group qmail.
       Rather than modify the qmail installer, the affected
       directories are simply chown'd back afterward during
       post-install if PKG_INSTALLATION_TYPE is "overwrite". (If
       it's "pkgviews", then only the package's depot directory is
       affected, so we leave it alone.)

2) Follow more closely Dave Sill's "Life with qmail" (LWQ).

     Similarities:
     * Installs into /var/qmail from source.
     * Installs ucspi-tcp and daemontools.
     * Uses tcpserver(1).
     * Uses tcp.smtp.cdb for relay access control.
     * Uses control/defaultdelivery.
     * Uses control/concurrencyincoming.
     * Requires that control/rcpthosts exist to prevent open relays.
     * Uses similar chains of commands in run scripts.
     * Provides a script much like qmailctl.

     Differences:
     * This package does the following work for you automatically:
       * Creates user accounts.
       * Fetches, extracts, patches, configures, and compiles the source.
       * Installs binaries.
       * Runs ./config-fast.
       * Creates tcp.smtp{,cdb} and tcp.pop3d{,cdb}.
       * Creates control/concurrencyincoming.
       * Creates control/defaultdelivery (defaulting to "./Mailbox").
       * Creates the three required system aliases.
     * LWQ suggests doing some things this package doesn't do:
       * Applying patches.
       * Copying a script from /var/qmail/boot to /var/qmail/rc.
       * Configuring svscan(8) to run at boot.
       * Creating and populating /service.
       * Using supervise(8) and multilog(8).
       * Using the qmailctl script to control qmail.
       * Using the inst_check script to verify the installation.
       * Storing tcp.smtp{,cdb} in /etc.
       * Renaming the system sendmail(8) and marking it non-executable.
     * Instead, this package:
       * Builds from unmodified source. (See also mail/netqmail.)
       * Uses NetBSD-style rc.d scripts (including one similar to qmailctl).
       * Sends log messages to syslog(3).
       * Stores tcp.smtp{,cdb} and tcp.pop3{,cdb} in ${PKG_SYSCONFDIR}.
       * Provides an example mailer.conf(5).

3) Add a bunch of features to the rc.d scripts.

     Rename the qmail script and rcvar to qmailsend. Add "doqueue"
     (synonyms: alrm, flush) and "queue" commands, add "hup" as a
     synonym for "reload", and determine default delivery instruction
     from control/defaultdelivery (LWQ). Add control/defaultdelivery
     to required_files. Rename qmailsend_flags to
     qmailsend_defaultdelivery, which overrides control/defaultdelivery
     if set.

     In the qmailpop3d and qmailsmtpd scripts, enforce resource
     limits with softlimit(8) (LWQ). Add dependency on sysutils/daemontools
     for this. Rename qmailfoo_flags to qmailfoo_tcpflags. Add
     qmailfoo_tcphost (default: 0, meaning "any address") and
     qmailfoo_tcpport (default: 110 and 25, respectively). Add
     qmailfoo_softlimit (default: 2000000). Add qmailfoo_pretcpserver
     and qmailfoo_prefoo (default: empty), useful for inserting
     commands such as rblsmtpd(1) or relay-ctrl into the chain.
     Log to splogger's default syslog facility ("mail"), and use
     the name of the script as the tag.

     In the qmailpop3d, qmailsend, and qmailsmtpd scripts, add
     qmailfoo_postenv (defaults: empty, PATH=${PREFIX}/bin:$PATH,
     and QMAILQUEUE=${PREFIX}/bin/qmail-queue, respectively), useful
     primarily for setting environment variables for each service.
     Add "pause" and "cont" commands (LWQ). They send -STOP and
     -CONT signals, respectively. Add "stat" as a synonym for
     "status" (LWQ).

     In the qmailpop3d script, add -x to qmailpop3d_tcpflags and
     add "cdb" command. Add qmailpop3d_checkpassword (useful for
     authenticating against alternate user databases) and
     qmailpop3d_maildirname (useful if your maildirs are named
     something other than "Maildir"). Add tcp.pop3.cdb to
     required_files.

     In the qmailsmtpd script, add -x and remove -H from
     qmailsmtpd_tcpflags, limit the number of incoming connections
     to control/concurrencyincoming, and add "cdb" command (LWQ).
     Add control/concurrencyincoming and tcp.smtp.cdb to required_files.

     Add qmailqread script and ${PREFIX}/bin/qmail-qread-client,
     based on Steinar Haug's example on www.qmail.org. If enabled,
     this allows local non-root users to see the queue.

     Add qmail script (structure copied from net/samba/files/samba.sh).
     Its interface is very similar to LWQ's qmailctl: it provides
     the commands "start stop restart rcvar pause cont stat status
     cdb doqueue reload queue alrm flush hup help". These commands
     can be run either directly from the appropriate service-specific
     script(s), or from this qmail script (which will call the
     right script(s) for you).

4) Remove some (but not all) obstacles to binary packaging.

     Each of these is better explained elsewhere. Summary:
     * Installs into the normal ${LOCALBASE}.
     * /var/qmail paths still work.
     * No patches are applied. (See also mail/netqmail.)

5) Introduce QMAIL_AUTOCONFIG, QMAIL_QUEUE_DIR, and QMAIL_QUEUE_EXTRA.

     QMAIL_AUTOCONFIG (default: YES): whether to automatically
     create basic config files.

     QMAIL_QUEUE_DIR (default: ${VARBASE}/spool/qmail): the path
     to the queue.

     QMAIL_QUEUE_EXTRA (default: empty): an additional recipient
     that will be added to every delivery. This is used primarily
     for logging. If this is set to a non-empty value, the necessary
     dot-qmail(5) file is created automatically at install time.

6) Enable pkgviews installation.

7) Bump PKGREVISION.

     Other user-visible changes:

     This package no longer applies patches to qmail. mail/netqmail,
     to be imported shortly, does.

     Restrictions on the redistribution of modified qmail apply
     not only to binaries but also to source. Clarify this in
     RESTRICTED.

     Add "newaliases", "hoststat", and "purgestat" entries to the
     sample mailer.conf. Install it to ${PREFIX}/share/examples/${PKGBASE},
     as other pkgsrc mailers do. ("newaliases" is actually provided
     by the fastforward package, and isn't needed unless you're
     using it.)

     Explain how to enable qmail in MESSAGE (cribbed from the
     postfix package).

Thanks to zuntum, snj, salo, and jlam for ideas, discussion, and review.

diffstat:

 mail/qmail/DEINSTALL                   |   26 +-
 mail/qmail/INSTALL                     |  100 ++++++++
 mail/qmail/MESSAGE                     |   25 +-
 mail/qmail/Makefile                    |   57 +---
 mail/qmail/Makefile.common             |  112 +++++++++
 mail/qmail/PLIST                       |  390 ++++++++++++++++----------------
 mail/qmail/distinfo                    |   19 +-
 mail/qmail/files/mailer.conf           |   11 +-
 mail/qmail/files/qmail-qread-client.sh |    7 +
 mail/qmail/files/qmail.sh              |  106 ++++++--
 mail/qmail/files/qmailpop3d.sh         |   63 ++++-
 mail/qmail/files/qmailqread.sh         |   28 ++
 mail/qmail/files/qmailsend.sh          |   90 +++++++
 mail/qmail/files/qmailsmtpd.sh         |   64 ++++-
 mail/qmail/patches/patch-aa            |   37 ---
 mail/qmail/patches/patch-ab            |   32 --
 mail/qmail/patches/patch-ac            |   74 ------
 mail/qmail/patches/patch-ad            |   11 -
 mail/qmail/patches/patch-ae            |    9 -
 mail/qmail/patches/patch-af            |   15 -
 mail/qmail/patches/patch-ag            |   13 -
 mail/qmail/patches/patch-ah            |   16 -
 mail/qmail/patches/patch-ai            |   13 -
 mail/qmail/patches/patch-aj            |   16 -
 mail/qmail/patches/patch-ak            |  103 --------
 mail/qmail/patches/patch-al            |   27 --
 mail/qmail/patches/patch-am            |   17 -
 mail/qmail/patches/patch-an            |  113 ---------
 mail/qmail/patches/patch-ao            |   22 -
 mail/qmail/patches/patch-ap            |   51 ----
 mail/qmail/patches/patch-aq            |   12 -
 31 files changed, 779 insertions(+), 900 deletions(-)

diffs (truncated from 1892 to 300 lines):

diff -r 4c4473692761 -r 01832575be28 mail/qmail/DEINSTALL
--- a/mail/qmail/DEINSTALL      Wed Jul 21 22:32:33 2004 +0000
+++ b/mail/qmail/DEINSTALL      Wed Jul 21 22:35:59 2004 +0000
@@ -1,11 +1,25 @@
-# $NetBSD: DEINSTALL,v 1.3 2002/01/28 17:56:19 zuntum Exp $
+# $NetBSD: DEINSTALL,v 1.4 2004/07/21 22:35:59 schmonz Exp $
+
+QMAILDIR=@QMAILDIR@
+
+VAR_QMAIL_DIRS="alias bin boot control doc man queue users"
 
 case "${STAGE}" in
+
 POST-DEINSTALL)
-       ${ECHO} ===========================================================================
-       ${ECHO}
-       ${ECHO} You may remove qmail-users package now, as it is no longer needed.
-       ${ECHO}
-       ${ECHO} ===========================================================================
+
+       for dir in $VAR_QMAIL_DIRS; do
+               if [ -h ${QMAILDIR}/$dir ]; then
+                       ${RM} -f ${QMAILDIR}/$dir
+               fi
+       done
+
+       ${CAT} <<EOF
+===========================================================================
+
+You may remove the qmail-users package now, as it is no longer needed.
+
+===========================================================================
+EOF
        ;;
 esac
diff -r 4c4473692761 -r 01832575be28 mail/qmail/INSTALL
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/qmail/INSTALL        Wed Jul 21 22:35:59 2004 +0000
@@ -0,0 +1,100 @@
+# $NetBSD: INSTALL,v 1.1 2004/07/21 22:35:59 schmonz Exp $
+
+DOCDIR=@DOCDIR@
+EGDIR=@EGDIR@
+SHAREDIR=@SHAREDIR@
+QMAILDIR=@QMAILDIR@
+QMAIL_AUTOCONFIG=@QMAIL_AUTOCONFIG@
+QMAIL_QUEUE_DIR=@QMAIL_QUEUE_DIR@
+QMAIL_QUEUE_EXTRA=@QMAIL_QUEUE_EXTRA@
+
+VAR_QMAIL_DIRS="alias bin boot control doc man queue users"
+
+case ${STAGE} in
+
+PRE-INSTALL)
+       for dir in $VAR_QMAIL_DIRS; do
+               if [ -e ${QMAILDIR}/$dir ]; then
+                       ${CAT} <<EOF
+===========================================================================
+
+ERROR: ${QMAILDIR} exists and is non-empty.
+
+Please remove or rename it, then try again.
+
+===========================================================================
+EOF
+               exit 1
+               fi
+       done
+
+       if ${ECHO} ${QMAIL_QUEUE_DIR} | ${GREP} -q "^${QMAILDIR}/"; then
+               ${CAT} <<EOF
+===========================================================================
+
+ERROR: QMAIL_QUEUE_DIR must not be under ${QMAILDIR}.
+
+Please adjust your definition of QMAIL_QUEUE_DIR, then try again.
+
+===========================================================================
+EOF
+               exit 1
+       fi
+
+       ${LN} -s ${PKG_SYSCONFDIR}/alias        ${QMAILDIR}/alias
+       ${LN} -s ${PREFIX}/bin                  ${QMAILDIR}/bin
+       ${LN} -s ${EGDIR}/boot                  ${QMAILDIR}/boot
+       ${LN} -s ${PKG_SYSCONFDIR}/control      ${QMAILDIR}/control
+       ${LN} -s ${DOCDIR}                      ${QMAILDIR}/doc
+       ${LN} -s ${PREFIX}/man                  ${QMAILDIR}/man
+       ${LN} -s ${QMAIL_QUEUE_DIR}             ${QMAILDIR}/queue
+       ${LN} -s ${PKG_SYSCONFDIR}/users        ${QMAILDIR}/users
+
+       ;;
+
+POST-INSTALL)
+       if [ "${QMAIL_AUTOCONFIG}" = YES ]; then
+
+               cd ${SHAREDIR}/setup && ./config-fast `./hostname`
+
+               cd ${PKG_SYSCONFDIR}/alias && ${TOUCH} .qmail-postmaster .qmail-mailer-daemon .qmail-root
+
+               if ! [ -s ${PKG_SYSCONFDIR}/control/concurrencyincoming ]; then
+                       ${ECHO} 20 > ${PKG_SYSCONFDIR}/control/concurrencyincoming
+                       ${CHMOD} 644 ${PKG_SYSCONFDIR}/control/concurrencyincoming
+               fi
+
+               if ! [ -s ${PKG_SYSCONFDIR}/control/defaultdelivery ]; then
+                       ${ECHO} ./Mailbox > ${PKG_SYSCONFDIR}/control/defaultdelivery
+                       ${CHMOD} 644 ${PKG_SYSCONFDIR}/control/defaultdelivery
+               fi
+
+               pop3rule=':allow'
+               smtprule='127.:allow,RELAYCLIENT=""'
+               for i in pop3 smtp; do
+                       if ! [ -s ${PKG_SYSCONFDIR}/tcp.${i} ]; then
+                               eval ${ECHO} \"\$${i}rule\" > ${PKG_SYSCONFDIR}/tcp.${i}
+                       fi
+                       ${CHMOD} 644 ${PKG_SYSCONFDIR}/tcp.${i}
+                       ${LOCALBASE}/bin/tcprules ${PKG_SYSCONFDIR}/tcp.${i}.cdb ${PKG_SYSCONFDIR}/tcp.${i}.tmp < ${PKG_SYSCONFDIR}/tcp.${i}
+                       ${CHMOD} 644 ${PKG_SYSCONFDIR}/tcp.${i}.cdb
+               done
+
+               if ! [ -z ${QMAIL_QUEUE_EXTRA} ]; then
+                       ${ECHO} '#' >> ${PKG_SYSCONFDIR}/alias/.qmail-${QMAIL_QUEUE_EXTRA}
+                       ${CHMOD} 644 ${PKG_SYSCONFDIR}/alias/.qmail-${QMAIL_QUEUE_EXTRA}
+               fi
+
+       else
+               ${CAT} <<EOF
+===========================================================================
+
+You may need to create some config files manually.
+
+===========================================================================
+EOF
+       fi
+
+       ;;
+
+esac
diff -r 4c4473692761 -r 01832575be28 mail/qmail/MESSAGE
--- a/mail/qmail/MESSAGE        Wed Jul 21 22:32:33 2004 +0000
+++ b/mail/qmail/MESSAGE        Wed Jul 21 22:35:59 2004 +0000
@@ -1,12 +1,23 @@
 ===========================================================================
-$NetBSD: MESSAGE,v 1.7 2004/04/24 05:29:36 schmonz Exp $
+$NetBSD: MESSAGE,v 1.8 2004/07/21 22:35:59 schmonz Exp $
+
+To activate ${PKGBASE} for local and outgoing deliveries:
+- Check the configuration files in ${PKG_SYSCONFDIR}.
+- Modify /etc/mailer.conf (see ${EGDIR}/mailer.conf).
+- Set qmailsend=YES in /etc/rc.conf.
+
+To enable SMTP:
+- Set qmailsmtpd=YES in /etc/rc.conf.
 
-  To be able to view manpages either add "${QMAILDIR}/man/" to the
-  _default line in /etc/man.conf or specify this directory in
-  MANPATH variable in your environment.
+To enable POP3 (only for Maildirs):
+- Set qmailpop3d=YES in /etc/rc.conf.
 
-  To start qmail at startup, set qmail=YES in /etc/rc.conf.
-  To start qmail-pop3d at startup, set qmailpop3d=YES in /etc/rc.conf.
-  To start qmail-smtpd at startup, set qmailsmtpd=YES in /etc/rc.conf.
+To allow local non-root users to see the queue:
+- Set qmailqread=YES in /etc/rc.conf.
+- Change the mailq entry in /etc/mailer.conf to qmail-qread-client.
+
+Alternatively, you can manage the qmail daemons with daemontools
+by creating appropriate run scripts in /service. There are many
+ways to do this; you may find the qmail-conf package helpful.
 
 ===========================================================================
diff -r 4c4473692761 -r 01832575be28 mail/qmail/Makefile
--- a/mail/qmail/Makefile       Wed Jul 21 22:32:33 2004 +0000
+++ b/mail/qmail/Makefile       Wed Jul 21 22:35:59 2004 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.23 2004/04/24 05:29:36 schmonz Exp $
+# $NetBSD: Makefile,v 1.24 2004/07/21 22:35:59 schmonz Exp $
 #
 
 DISTNAME=      qmail-1.03
-PKGREVISION=   6
+PKGREVISION=   7
 CATEGORIES=    mail
 MASTER_SITES=  http://cr.yp.to/software/                       \
                ftp://ftp.ntnu.no/pub/unix/mail/qmail/          \
@@ -10,55 +10,18 @@
                ftp://ftp.net.ohio-state.edu/pub/networking/mail/qmail/
 
 MAINTAINER=    schmonz%NetBSD.org@localhost
-HOMEPAGE=      http://www.qmail.org/
-COMMENT=       Secure, reliable, efficient, simple, and fast MTA for UNIX systems
+HOMEPAGE=      http://cr.yp.to/qmail.html
+COMMENT=       Secure, reliable, efficient, simple, and fast MTA
 
-DEPENDS+=      checkpassword-[0-9]*:../../sysutils/checkpassword
-DEPENDS+=      qmail-users>=1.0:../../mail/qmail-users
-DEPENDS+=      ucspi-tcp-[0-9]*:../../net/ucspi-tcp
+CONFLICTS+=    netqmail-[0-9]*
 
 USE_BUILDLINK3=        yes
 
-ALL_TARGET=    it man
-INSTALL_TARGET=        setup check
-
-RESTRICTED=            "djb does not permit modified binary packages"
-NO_BIN_ON_CDROM=       ${RESTRICTED}
-NO_BIN_ON_FTP=         ${RESTRICTED}
-
-NO_PACKAGE=            "needs work to function properly as a binary package"
-
-USE_PKGINSTALL=                yes
-DEINSTALL_EXTRA_TMPL+= ${.CURDIR}/DEINSTALL
-OWN_DIRS+=             ${QMAILDIR}
-
-EVAL_PREFIX+=          LOCALBASE_NORMAL=ucspi-tcp
-
-FILES_SUBST+=          QMAILDIR=${QMAILDIR}
-FILES_SUBST+=          LOCALBASE_NORMAL=${LOCALBASE_NORMAL}
-RCD_SCRIPTS=           qmail qmailsmtpd qmailpop3d
-RCD_SCRIPTS_EXAMPLEDIR=        ${QMAILDIR}/etc/rc.d
+RESTRICTED=    "modified source and binaries may not be distributed"
+NO_BIN_ON_CDROM=${RESTRICTED}
+NO_BIN_ON_FTP= ${RESTRICTED}
+NO_PACKAGE=    "needs work to function properly as a binary package"
 
-.include "../../mk/bsd.prefs.mk"
-
-NO_MTREE=      YES
-LOCALBASE=     /
-
-do-configure:
-       ${ECHO} ${CC} ${CFLAGS} > ${WRKSRC}/conf-cc
-       ${ECHO} ${CC} ${_STRIPFLAG_CC} > ${WRKSRC}/conf-ld
-       ${ECHO} ${QMAILDIR} > ${WRKSRC}/conf-qmail
-
-pre-install:
-       @${SED} ${FILES_SUBST_SED} ${FILESDIR}/mailer.conf              \
-               > ${WRKDIR}/mailer.conf.qmail
-
-post-install:
-       ${INSTALL_DATA_DIR} ${QMAILDIR}/etc
-       ${INSTALL_DATA} ${WRKDIR}/mailer.conf.qmail ${QMAILDIR}/etc
-
-       ${INSTALL_DATA_DIR} ${QMAILDIR}/alias
-       cd ${QMAILDIR}/alias &&                                         \
-               ${TOUCH} .qmail-postmaster .qmail-mailer-daemon .qmail-root
+.include "../../mail/qmail/Makefile.common"
 
 .include "../../mk/bsd.pkg.mk"
diff -r 4c4473692761 -r 01832575be28 mail/qmail/Makefile.common
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/qmail/Makefile.common        Wed Jul 21 22:35:59 2004 +0000
@@ -0,0 +1,112 @@
+# $NetBSD: Makefile.common,v 1.1 2004/07/21 22:35:59 schmonz Exp $
+#
+
+DEPENDS+=      checkpassword-[0-9]*:../../sysutils/checkpassword
+DEPENDS+=      daemontools-[0-9]*:../../sysutils/daemontools
+DEPENDS+=      qmail-users>=1.0:../../mail/qmail-users
+DEPENDS+=      ucspi-tcp-[0-9]*:../../net/ucspi-tcp
+
+CONFLICTS+=    courier-maildirmake-[0-9]*
+CONFLICTS+=    mirrordir-[0-9]*
+CONFLICTS+=    mutt<=1.4.2.1nb1
+CONFLICTS+=    pulsar<=0.1.1
+
+PKG_INSTALLATION_TYPES=        overwrite pkgviews
+
+ALL_TARGET=            it man
+INSTALL_TARGET=                setup check
+
+FILESDIR=              ${.CURDIR}/../../mail/qmail/files
+MESSAGE_SRC=           ${.CURDIR}/../../mail/qmail/MESSAGE
+PLIST_SRC=             ${.CURDIR}/../../mail/qmail/PLIST
+
+USE_PKGINSTALL=                yes
+DEINSTALL_EXTRA_TMPL+= ${.CURDIR}/../../mail/qmail/DEINSTALL
+INSTALL_EXTRA_TMPL+=   ${.CURDIR}/../../mail/qmail/INSTALL
+MAKE_DIRS+=            ${PKG_SYSCONFDIR} ${PKG_SYSCONFDIR}/alias ${EGDIR}/boot
+MAKE_DIRS+=            ${PKG_SYSCONFDIR}/control ${DOCDIR}
+MAKE_DIRS+=            ${PKG_SYSCONFDIR}/users
+OWN_DIRS+=             ${QMAILDIR} ${QMAIL_QUEUE_DIR}
+RCD_SCRIPTS=           qmail qmailqread qmailpop3d qmailsend qmailsmtpd
+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_AUTOCONFIG=${QMAIL_AUTOCONFIG}
+FILES_SUBST+=          QMAIL_QUEUE_DIR=${QMAIL_QUEUE_DIR}
+FILES_SUBST+=          QMAIL_QUEUE_EXTRA=${QMAIL_QUEUE_EXTRA}
+



Home | Main Index | Thread Index | Old Index