2006-05-01 04:57:03 +02:00
|
|
|
# $NetBSD: Makefile,v 1.50 2006/05/01 02:57:03 jlam Exp $
|
Initial import of qmail-1.03 -- SECURE, reliable, efficient, simple, and FAST MTA for UNIX systems
qmail checks for qmail users' existance at compile time, so this package
must be built as root (it tries to add necessary users and groups),
thus NO_PACKAGE and IS_INTERACTIVE are set. PLIST file is left
empty intentionally, because qmail installs itself to /var/qmail,
outside ${PREFIX}.
The qmail program is a secure, reliable, efficient simple message
transfer agent. It is meant to be a replacement for the entire
sendmail-binmail system that most UNIX hosts use.
Although qmail holds security and reliability as its top two
priorities, it is also fast. On a Pentium under BSD/OS, qmail can
easily handle 200000 separate messages per day that are injected
and must then be delivered to local mailboxes!
Security and reliability are qmail's two strengths, however. The
qmail package ensures a message, once accepted, will never be lost.
An optional new mailbox format, maildir, even lets users safely
read their mail over NFS, while still accepting new mail deliveries.
The following features are supported: host and user masquerading,
full host hiding, virtual domains, null clients, list-owner rewriting,
relay control, double-bounce recording, arbitrary RFC 822 address
lists, cross-host mailing-list loop detection, per-recipient
checkpointing, downed host backoffs, independent message retry
schedules, a drop-in sendmail replacement, and more!
The package is still being worked on.
2001-08-13 11:10:10 +02:00
|
|
|
#
|
|
|
|
|
Using bsd.options.mk, add several common build-time options. The
complete list:
badrcptto bigdns darwin netqmail nullenvsender
outgoingip qregex realrcptto smtpauth syncdir
tls
This obviates the need for a separate netqmail package. As a result,
reintegrate Makefile.common into Makefile, and simplify a handful
of definitions. If you used the netqmail package, set PKG_OPTIONS.qmail
to "netqmail bigdns" to build with the same patches as before.
Note that most of these options result in patches being applied,
and that any given combination of patches may not apply cleanly.
If there's a combination you need that doesn't work, or build
options you need that aren't available, let me know.
On Darwin, the "darwin" option is set by default, as it's needed
in order to build. The patch includes <nameser8_compat.h>, which
is present on Panther, but not on older systems. We provide a
buildlink stand-in where needed.
On Linux, the "netqmail" option is set by default, as with recent
glibc it's necessary to #include <errno.h> in order to build.
On other platforms, no options are set by default.
Bump PKGREVISION.
2004-08-22 02:10:51 +02:00
|
|
|
DISTNAME= netqmail-1.05
|
|
|
|
PKGNAME= qmail-1.03
|
2006-04-29 06:53:17 +02:00
|
|
|
PKGREVISION= 11
|
Using bsd.options.mk, add several common build-time options. The
complete list:
badrcptto bigdns darwin netqmail nullenvsender
outgoingip qregex realrcptto smtpauth syncdir
tls
This obviates the need for a separate netqmail package. As a result,
reintegrate Makefile.common into Makefile, and simplify a handful
of definitions. If you used the netqmail package, set PKG_OPTIONS.qmail
to "netqmail bigdns" to build with the same patches as before.
Note that most of these options result in patches being applied,
and that any given combination of patches may not apply cleanly.
If there's a combination you need that doesn't work, or build
options you need that aren't available, let me know.
On Darwin, the "darwin" option is set by default, as it's needed
in order to build. The patch includes <nameser8_compat.h>, which
is present on Panther, but not on older systems. We provide a
buildlink stand-in where needed.
On Linux, the "netqmail" option is set by default, as with recent
glibc it's necessary to #include <errno.h> in order to build.
On other platforms, no options are set by default.
Bump PKGREVISION.
2004-08-22 02:10:51 +02:00
|
|
|
CATEGORIES= mail
|
|
|
|
MASTER_SITES= http://qmail.org/
|
Initial import of qmail-1.03 -- SECURE, reliable, efficient, simple, and FAST MTA for UNIX systems
qmail checks for qmail users' existance at compile time, so this package
must be built as root (it tries to add necessary users and groups),
thus NO_PACKAGE and IS_INTERACTIVE are set. PLIST file is left
empty intentionally, because qmail installs itself to /var/qmail,
outside ${PREFIX}.
The qmail program is a secure, reliable, efficient simple message
transfer agent. It is meant to be a replacement for the entire
sendmail-binmail system that most UNIX hosts use.
Although qmail holds security and reliability as its top two
priorities, it is also fast. On a Pentium under BSD/OS, qmail can
easily handle 200000 separate messages per day that are injected
and must then be delivered to local mailboxes!
Security and reliability are qmail's two strengths, however. The
qmail package ensures a message, once accepted, will never be lost.
An optional new mailbox format, maildir, even lets users safely
read their mail over NFS, while still accepting new mail deliveries.
The following features are supported: host and user masquerading,
full host hiding, virtual domains, null clients, list-owner rewriting,
relay control, double-bounce recording, arbitrary RFC 822 address
lists, cross-host mailing-list loop detection, per-recipient
checkpointing, downed host backoffs, independent message retry
schedules, a drop-in sendmail replacement, and more!
The package is still being worked on.
2001-08-13 11:10:10 +02:00
|
|
|
|
Using bsd.options.mk, add several common build-time options. The
complete list:
badrcptto bigdns darwin netqmail nullenvsender
outgoingip qregex realrcptto smtpauth syncdir
tls
This obviates the need for a separate netqmail package. As a result,
reintegrate Makefile.common into Makefile, and simplify a handful
of definitions. If you used the netqmail package, set PKG_OPTIONS.qmail
to "netqmail bigdns" to build with the same patches as before.
Note that most of these options result in patches being applied,
and that any given combination of patches may not apply cleanly.
If there's a combination you need that doesn't work, or build
options you need that aren't available, let me know.
On Darwin, the "darwin" option is set by default, as it's needed
in order to build. The patch includes <nameser8_compat.h>, which
is present on Panther, but not on older systems. We provide a
buildlink stand-in where needed.
On Linux, the "netqmail" option is set by default, as with recent
glibc it's necessary to #include <errno.h> in order to build.
On other platforms, no options are set by default.
Bump PKGREVISION.
2004-08-22 02:10:51 +02:00
|
|
|
MAINTAINER= schmonz@NetBSD.org
|
|
|
|
HOMEPAGE= http://cr.yp.to/qmail.html
|
|
|
|
COMMENT= Secure, reliable, efficient, simple, and fast MTA
|
Initial import of qmail-1.03 -- SECURE, reliable, efficient, simple, and FAST MTA for UNIX systems
qmail checks for qmail users' existance at compile time, so this package
must be built as root (it tries to add necessary users and groups),
thus NO_PACKAGE and IS_INTERACTIVE are set. PLIST file is left
empty intentionally, because qmail installs itself to /var/qmail,
outside ${PREFIX}.
The qmail program is a secure, reliable, efficient simple message
transfer agent. It is meant to be a replacement for the entire
sendmail-binmail system that most UNIX hosts use.
Although qmail holds security and reliability as its top two
priorities, it is also fast. On a Pentium under BSD/OS, qmail can
easily handle 200000 separate messages per day that are injected
and must then be delivered to local mailboxes!
Security and reliability are qmail's two strengths, however. The
qmail package ensures a message, once accepted, will never be lost.
An optional new mailbox format, maildir, even lets users safely
read their mail over NFS, while still accepting new mail deliveries.
The following features are supported: host and user masquerading,
full host hiding, virtual domains, null clients, list-owner rewriting,
relay control, double-bounce recording, arbitrary RFC 822 address
lists, cross-host mailing-list loop detection, per-recipient
checkpointing, downed host backoffs, independent message retry
schedules, a drop-in sendmail replacement, and more!
The package is still being worked on.
2001-08-13 11:10:10 +02:00
|
|
|
|
Using bsd.options.mk, add several common build-time options. The
complete list:
badrcptto bigdns darwin netqmail nullenvsender
outgoingip qregex realrcptto smtpauth syncdir
tls
This obviates the need for a separate netqmail package. As a result,
reintegrate Makefile.common into Makefile, and simplify a handful
of definitions. If you used the netqmail package, set PKG_OPTIONS.qmail
to "netqmail bigdns" to build with the same patches as before.
Note that most of these options result in patches being applied,
and that any given combination of patches may not apply cleanly.
If there's a combination you need that doesn't work, or build
options you need that aren't available, let me know.
On Darwin, the "darwin" option is set by default, as it's needed
in order to build. The patch includes <nameser8_compat.h>, which
is present on Panther, but not on older systems. We provide a
buildlink stand-in where needed.
On Linux, the "netqmail" option is set by default, as with recent
glibc it's necessary to #include <errno.h> in order to build.
On other platforms, no options are set by default.
Bump PKGREVISION.
2004-08-22 02:10:51 +02:00
|
|
|
DEPENDS+= checkpassword-[0-9]*:../../sysutils/checkpassword
|
|
|
|
DEPENDS+= daemontools-[0-9]*:../../sysutils/daemontools
|
|
|
|
DEPENDS+= ucspi-tcp-[0-9]*:../../net/ucspi-tcp
|
Initial import of qmail-1.03 -- SECURE, reliable, efficient, simple, and FAST MTA for UNIX systems
qmail checks for qmail users' existance at compile time, so this package
must be built as root (it tries to add necessary users and groups),
thus NO_PACKAGE and IS_INTERACTIVE are set. PLIST file is left
empty intentionally, because qmail installs itself to /var/qmail,
outside ${PREFIX}.
The qmail program is a secure, reliable, efficient simple message
transfer agent. It is meant to be a replacement for the entire
sendmail-binmail system that most UNIX hosts use.
Although qmail holds security and reliability as its top two
priorities, it is also fast. On a Pentium under BSD/OS, qmail can
easily handle 200000 separate messages per day that are injected
and must then be delivered to local mailboxes!
Security and reliability are qmail's two strengths, however. The
qmail package ensures a message, once accepted, will never be lost.
An optional new mailbox format, maildir, even lets users safely
read their mail over NFS, while still accepting new mail deliveries.
The following features are supported: host and user masquerading,
full host hiding, virtual domains, null clients, list-owner rewriting,
relay control, double-bounce recording, arbitrary RFC 822 address
lists, cross-host mailing-list loop detection, per-recipient
checkpointing, downed host backoffs, independent message retry
schedules, a drop-in sendmail replacement, and more!
The package is still being worked on.
2001-08-13 11:10:10 +02:00
|
|
|
|
Using bsd.options.mk, add several common build-time options. The
complete list:
badrcptto bigdns darwin netqmail nullenvsender
outgoingip qregex realrcptto smtpauth syncdir
tls
This obviates the need for a separate netqmail package. As a result,
reintegrate Makefile.common into Makefile, and simplify a handful
of definitions. If you used the netqmail package, set PKG_OPTIONS.qmail
to "netqmail bigdns" to build with the same patches as before.
Note that most of these options result in patches being applied,
and that any given combination of patches may not apply cleanly.
If there's a combination you need that doesn't work, or build
options you need that aren't available, let me know.
On Darwin, the "darwin" option is set by default, as it's needed
in order to build. The patch includes <nameser8_compat.h>, which
is present on Panther, but not on older systems. We provide a
buildlink stand-in where needed.
On Linux, the "netqmail" option is set by default, as with recent
glibc it's necessary to #include <errno.h> in order to build.
On other platforms, no options are set by default.
Bump PKGREVISION.
2004-08-22 02:10:51 +02:00
|
|
|
CONFLICTS+= courier-maildirmake-[0-9]*
|
2006-05-01 04:57:03 +02:00
|
|
|
CONFLICTS+= courier-mta-[0-9]*
|
Using bsd.options.mk, add several common build-time options. The
complete list:
badrcptto bigdns darwin netqmail nullenvsender
outgoingip qregex realrcptto smtpauth syncdir
tls
This obviates the need for a separate netqmail package. As a result,
reintegrate Makefile.common into Makefile, and simplify a handful
of definitions. If you used the netqmail package, set PKG_OPTIONS.qmail
to "netqmail bigdns" to build with the same patches as before.
Note that most of these options result in patches being applied,
and that any given combination of patches may not apply cleanly.
If there's a combination you need that doesn't work, or build
options you need that aren't available, let me know.
On Darwin, the "darwin" option is set by default, as it's needed
in order to build. The patch includes <nameser8_compat.h>, which
is present on Panther, but not on older systems. We provide a
buildlink stand-in where needed.
On Linux, the "netqmail" option is set by default, as with recent
glibc it's necessary to #include <errno.h> in order to build.
On other platforms, no options are set by default.
Bump PKGREVISION.
2004-08-22 02:10:51 +02:00
|
|
|
CONFLICTS+= mirrordir-[0-9]*
|
|
|
|
CONFLICTS+= mutt<=1.4.2.1nb1
|
|
|
|
CONFLICTS+= netqmail-[0-9]*
|
|
|
|
CONFLICTS+= pulsar<=0.1.1
|
2004-04-24 07:29:36 +02:00
|
|
|
|
2004-08-22 14:44:32 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
|
Initial import of qmail-1.03 -- SECURE, reliable, efficient, simple, and FAST MTA for UNIX systems
qmail checks for qmail users' existance at compile time, so this package
must be built as root (it tries to add necessary users and groups),
thus NO_PACKAGE and IS_INTERACTIVE are set. PLIST file is left
empty intentionally, because qmail installs itself to /var/qmail,
outside ${PREFIX}.
The qmail program is a secure, reliable, efficient simple message
transfer agent. It is meant to be a replacement for the entire
sendmail-binmail system that most UNIX hosts use.
Although qmail holds security and reliability as its top two
priorities, it is also fast. On a Pentium under BSD/OS, qmail can
easily handle 200000 separate messages per day that are injected
and must then be delivered to local mailboxes!
Security and reliability are qmail's two strengths, however. The
qmail package ensures a message, once accepted, will never be lost.
An optional new mailbox format, maildir, even lets users safely
read their mail over NFS, while still accepting new mail deliveries.
The following features are supported: host and user masquerading,
full host hiding, virtual domains, null clients, list-owner rewriting,
relay control, double-bounce recording, arbitrary RFC 822 address
lists, cross-host mailing-list loop detection, per-recipient
checkpointing, downed host backoffs, independent message retry
schedules, a drop-in sendmail replacement, and more!
The package is still being worked on.
2001-08-13 11:10:10 +02:00
|
|
|
|
Using bsd.options.mk, add several common build-time options. The
complete list:
badrcptto bigdns darwin netqmail nullenvsender
outgoingip qregex realrcptto smtpauth syncdir
tls
This obviates the need for a separate netqmail package. As a result,
reintegrate Makefile.common into Makefile, and simplify a handful
of definitions. If you used the netqmail package, set PKG_OPTIONS.qmail
to "netqmail bigdns" to build with the same patches as before.
Note that most of these options result in patches being applied,
and that any given combination of patches may not apply cleanly.
If there's a combination you need that doesn't work, or build
options you need that aren't available, let me know.
On Darwin, the "darwin" option is set by default, as it's needed
in order to build. The patch includes <nameser8_compat.h>, which
is present on Panther, but not on older systems. We provide a
buildlink stand-in where needed.
On Linux, the "netqmail" option is set by default, as with recent
glibc it's necessary to #include <errno.h> in order to build.
On other platforms, no options are set by default.
Bump PKGREVISION.
2004-08-22 02:10:51 +02:00
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
2006-04-30 10:03:42 +02:00
|
|
|
USE_TOOLS+= nroff
|
Using bsd.options.mk, add several common build-time options. The
complete list:
badrcptto bigdns darwin netqmail nullenvsender
outgoingip qregex realrcptto smtpauth syncdir
tls
This obviates the need for a separate netqmail package. As a result,
reintegrate Makefile.common into Makefile, and simplify a handful
of definitions. If you used the netqmail package, set PKG_OPTIONS.qmail
to "netqmail bigdns" to build with the same patches as before.
Note that most of these options result in patches being applied,
and that any given combination of patches may not apply cleanly.
If there's a combination you need that doesn't work, or build
options you need that aren't available, let me know.
On Darwin, the "darwin" option is set by default, as it's needed
in order to build. The patch includes <nameser8_compat.h>, which
is present on Panther, but not on older systems. We provide a
buildlink stand-in where needed.
On Linux, the "netqmail" option is set by default, as with recent
glibc it's necessary to #include <errno.h> in order to build.
On other platforms, no options are set by default.
Bump PKGREVISION.
2004-08-22 02:10:51 +02:00
|
|
|
|
2006-04-29 06:53:17 +02:00
|
|
|
DJB_BUILD_TARGETS= man
|
Using bsd.options.mk, add several common build-time options. The
complete list:
badrcptto bigdns darwin netqmail nullenvsender
outgoingip qregex realrcptto smtpauth syncdir
tls
This obviates the need for a separate netqmail package. As a result,
reintegrate Makefile.common into Makefile, and simplify a handful
of definitions. If you used the netqmail package, set PKG_OPTIONS.qmail
to "netqmail bigdns" to build with the same patches as before.
Note that most of these options result in patches being applied,
and that any given combination of patches may not apply cleanly.
If there's a combination you need that doesn't work, or build
options you need that aren't available, let me know.
On Darwin, the "darwin" option is set by default, as it's needed
in order to build. The patch includes <nameser8_compat.h>, which
is present on Panther, but not on older systems. We provide a
buildlink stand-in where needed.
On Linux, the "netqmail" option is set by default, as with recent
glibc it's necessary to #include <errno.h> in order to build.
On other platforms, no options are set by default.
Bump PKGREVISION.
2004-08-22 02:10:51 +02:00
|
|
|
|
2005-03-23 01:51:09 +01:00
|
|
|
DJB_RESTRICTED= YES
|
Using bsd.options.mk, add several common build-time options. The
complete list:
badrcptto bigdns darwin netqmail nullenvsender
outgoingip qregex realrcptto smtpauth syncdir
tls
This obviates the need for a separate netqmail package. As a result,
reintegrate Makefile.common into Makefile, and simplify a handful
of definitions. If you used the netqmail package, set PKG_OPTIONS.qmail
to "netqmail bigdns" to build with the same patches as before.
Note that most of these options result in patches being applied,
and that any given combination of patches may not apply cleanly.
If there's a combination you need that doesn't work, or build
options you need that aren't available, let me know.
On Darwin, the "darwin" option is set by default, as it's needed
in order to build. The patch includes <nameser8_compat.h>, which
is present on Panther, but not on older systems. We provide a
buildlink stand-in where needed.
On Linux, the "netqmail" option is set by default, as with recent
glibc it's necessary to #include <errno.h> in order to build.
On other platforms, no options are set by default.
Bump PKGREVISION.
2004-08-22 02:10:51 +02:00
|
|
|
|
2005-05-07 23:37:42 +02:00
|
|
|
MAKE_DIRS+= ${PKG_SYSCONFDIR} ${PKG_SYSCONFDIR}/alias
|
2006-01-13 21:53:56 +01:00
|
|
|
MAKE_DIRS+= ${PKG_SYSCONFDIR}/control ${PKG_SYSCONFDIR}/users
|
Using bsd.options.mk, add several common build-time options. The
complete list:
badrcptto bigdns darwin netqmail nullenvsender
outgoingip qregex realrcptto smtpauth syncdir
tls
This obviates the need for a separate netqmail package. As a result,
reintegrate Makefile.common into Makefile, and simplify a handful
of definitions. If you used the netqmail package, set PKG_OPTIONS.qmail
to "netqmail bigdns" to build with the same patches as before.
Note that most of these options result in patches being applied,
and that any given combination of patches may not apply cleanly.
If there's a combination you need that doesn't work, or build
options you need that aren't available, let me know.
On Darwin, the "darwin" option is set by default, as it's needed
in order to build. The patch includes <nameser8_compat.h>, which
is present on Panther, but not on older systems. We provide a
buildlink stand-in where needed.
On Linux, the "netqmail" option is set by default, as with recent
glibc it's necessary to #include <errno.h> in order to build.
On other platforms, no options are set by default.
Bump PKGREVISION.
2004-08-22 02:10:51 +02:00
|
|
|
OWN_DIRS+= ${QMAILDIR} ${QMAIL_QUEUE_DIR}
|
|
|
|
PKG_SYSCONFSUBDIR= qmail
|
|
|
|
|
|
|
|
DOCDIR= ${PREFIX}/share/doc/qmail
|
|
|
|
EGDIR= ${PREFIX}/share/examples/qmail
|
|
|
|
SHAREDIR= ${PREFIX}/share/qmail
|
2006-02-20 04:39:25 +01:00
|
|
|
MESSAGE_SUBST+= DOCDIR=${DOCDIR:Q} EGDIR=${EGDIR:Q}
|
2005-12-05 21:49:47 +01:00
|
|
|
FILES_SUBST+= DOCDIR=${DOCDIR:Q} EGDIR=${EGDIR:Q} SHAREDIR=${SHAREDIR:Q}
|
|
|
|
FILES_SUBST+= QMAILDIR=${QMAILDIR:Q} QMAIL_QUEUE_DIR=${QMAIL_QUEUE_DIR:Q}
|
|
|
|
FILES_SUBST+= QMAIL_QUEUE_EXTRA=${QMAIL_QUEUE_EXTRA:Q}
|
|
|
|
FILES_SUBST+= VIRUSCAN_SIGS_SRCFILE=${VIRUSCAN_SIGS_SRCFILE:Q}
|
|
|
|
FILES_SUBST+= PKGNAME=${PKGNAME:Q}
|
Using bsd.options.mk, add several common build-time options. The
complete list:
badrcptto bigdns darwin netqmail nullenvsender
outgoingip qregex realrcptto smtpauth syncdir
tls
This obviates the need for a separate netqmail package. As a result,
reintegrate Makefile.common into Makefile, and simplify a handful
of definitions. If you used the netqmail package, set PKG_OPTIONS.qmail
to "netqmail bigdns" to build with the same patches as before.
Note that most of these options result in patches being applied,
and that any given combination of patches may not apply cleanly.
If there's a combination you need that doesn't work, or build
options you need that aren't available, let me know.
On Darwin, the "darwin" option is set by default, as it's needed
in order to build. The patch includes <nameser8_compat.h>, which
is present on Panther, but not on older systems. We provide a
buildlink stand-in where needed.
On Linux, the "netqmail" option is set by default, as with recent
glibc it's necessary to #include <errno.h> in order to build.
On other platforms, no options are set by default.
Bump PKGREVISION.
2004-08-22 02:10:51 +02:00
|
|
|
|
|
|
|
PLIST_SRC= ${PKGDIR}/PLIST
|
|
|
|
|
|
|
|
SETUP_PROGRAMS= dnsfq dnsip dnsptr hostname install ipmeprint
|
|
|
|
SETUP_SCRIPTS= config config-fast
|
|
|
|
|
|
|
|
MANDIRS= man
|
|
|
|
.for i in cat man
|
|
|
|
. for j in 1 5 7 8
|
|
|
|
MANDIRS+= man/${i}${j}
|
|
|
|
. endfor
|
|
|
|
.endfor
|
|
|
|
INSTALLATION_DIRS= bin ${MANDIRS}
|
2005-05-07 23:37:42 +02:00
|
|
|
INSTALLATION_DIRS+= share/doc/qmail share/examples/qmail/boot share/qmail
|
Using bsd.options.mk, add several common build-time options. The
complete list:
badrcptto bigdns darwin netqmail nullenvsender
outgoingip qregex realrcptto smtpauth syncdir
tls
This obviates the need for a separate netqmail package. As a result,
reintegrate Makefile.common into Makefile, and simplify a handful
of definitions. If you used the netqmail package, set PKG_OPTIONS.qmail
to "netqmail bigdns" to build with the same patches as before.
Note that most of these options result in patches being applied,
and that any given combination of patches may not apply cleanly.
If there's a combination you need that doesn't work, or build
options you need that aren't available, let me know.
On Darwin, the "darwin" option is set by default, as it's needed
in order to build. The patch includes <nameser8_compat.h>, which
is present on Panther, but not on older systems. We provide a
buildlink stand-in where needed.
On Linux, the "netqmail" option is set by default, as with recent
glibc it's necessary to #include <errno.h> in order to build.
On other platforms, no options are set by default.
Bump PKGREVISION.
2004-08-22 02:10:51 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
|
|
|
BUILD_DEFS+= QMAILDIR QMAIL_QUEUE_DIR QMAIL_QUEUE_EXTRA
|
|
|
|
|
|
|
|
.if !empty(QMAIL_QUEUE_DIR:M${QMAILDIR}/*)
|
|
|
|
PKG_FAIL_REASON+= "QMAIL_QUEUE_DIR must not be under ${QMAILDIR}"
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if !empty(QMAIL_QUEUE_EXTRA)
|
2006-04-30 10:03:42 +02:00
|
|
|
USE_TOOLS+= expr
|
Using bsd.options.mk, add several common build-time options. The
complete list:
badrcptto bigdns darwin netqmail nullenvsender
outgoingip qregex realrcptto smtpauth syncdir
tls
This obviates the need for a separate netqmail package. As a result,
reintegrate Makefile.common into Makefile, and simplify a handful
of definitions. If you used the netqmail package, set PKG_OPTIONS.qmail
to "netqmail bigdns" to build with the same patches as before.
Note that most of these options result in patches being applied,
and that any given combination of patches may not apply cleanly.
If there's a combination you need that doesn't work, or build
options you need that aren't available, let me know.
On Darwin, the "darwin" option is set by default, as it's needed
in order to build. The patch includes <nameser8_compat.h>, which
is present on Panther, but not on older systems. We provide a
buildlink stand-in where needed.
On Linux, the "netqmail" option is set by default, as with recent
glibc it's necessary to #include <errno.h> in order to build.
On other platforms, no options are set by default.
Bump PKGREVISION.
2004-08-22 02:10:51 +02:00
|
|
|
QUEUE_EXTRA= "T${QMAIL_QUEUE_EXTRA}\\0"
|
2005-05-07 23:37:42 +02:00
|
|
|
QUEUE_EXTRALEN_cmd= ${EXPR} `${ECHO_N} ${QMAIL_QUEUE_EXTRA} | ${WC} -c` + 2
|
Using bsd.options.mk, add several common build-time options. The
complete list:
badrcptto bigdns darwin netqmail nullenvsender
outgoingip qregex realrcptto smtpauth syncdir
tls
This obviates the need for a separate netqmail package. As a result,
reintegrate Makefile.common into Makefile, and simplify a handful
of definitions. If you used the netqmail package, set PKG_OPTIONS.qmail
to "netqmail bigdns" to build with the same patches as before.
Note that most of these options result in patches being applied,
and that any given combination of patches may not apply cleanly.
If there's a combination you need that doesn't work, or build
options you need that aren't available, let me know.
On Darwin, the "darwin" option is set by default, as it's needed
in order to build. The patch includes <nameser8_compat.h>, which
is present on Panther, but not on older systems. We provide a
buildlink stand-in where needed.
On Linux, the "netqmail" option is set by default, as with recent
glibc it's necessary to #include <errno.h> in order to build.
On other platforms, no options are set by default.
Bump PKGREVISION.
2004-08-22 02:10:51 +02:00
|
|
|
SUBST_CLASSES+= logging
|
|
|
|
SUBST_STAGE.logging= do-configure
|
|
|
|
SUBST_FILES.logging= extra.h
|
2005-04-30 17:06:58 +02:00
|
|
|
SUBST_SED.logging= -e 's|0|${QUEUE_EXTRALEN_cmd:sh}|g'
|
Using bsd.options.mk, add several common build-time options. The
complete list:
badrcptto bigdns darwin netqmail nullenvsender
outgoingip qregex realrcptto smtpauth syncdir
tls
This obviates the need for a separate netqmail package. As a result,
reintegrate Makefile.common into Makefile, and simplify a handful
of definitions. If you used the netqmail package, set PKG_OPTIONS.qmail
to "netqmail bigdns" to build with the same patches as before.
Note that most of these options result in patches being applied,
and that any given combination of patches may not apply cleanly.
If there's a combination you need that doesn't work, or build
options you need that aren't available, let me know.
On Darwin, the "darwin" option is set by default, as it's needed
in order to build. The patch includes <nameser8_compat.h>, which
is present on Panther, but not on older systems. We provide a
buildlink stand-in where needed.
On Linux, the "netqmail" option is set by default, as with recent
glibc it's necessary to #include <errno.h> in order to build.
On other platforms, no options are set by default.
Bump PKGREVISION.
2004-08-22 02:10:51 +02:00
|
|
|
SUBST_SED.logging+= -e 's|""|${QUEUE_EXTRA}|g'
|
2006-03-12 15:15:43 +01:00
|
|
|
SUBST_MESSAGE.logging= Setting QUEUE_EXTRA.
|
Using bsd.options.mk, add several common build-time options. The
complete list:
badrcptto bigdns darwin netqmail nullenvsender
outgoingip qregex realrcptto smtpauth syncdir
tls
This obviates the need for a separate netqmail package. As a result,
reintegrate Makefile.common into Makefile, and simplify a handful
of definitions. If you used the netqmail package, set PKG_OPTIONS.qmail
to "netqmail bigdns" to build with the same patches as before.
Note that most of these options result in patches being applied,
and that any given combination of patches may not apply cleanly.
If there's a combination you need that doesn't work, or build
options you need that aren't available, let me know.
On Darwin, the "darwin" option is set by default, as it's needed
in order to build. The patch includes <nameser8_compat.h>, which
is present on Panther, but not on older systems. We provide a
buildlink stand-in where needed.
On Linux, the "netqmail" option is set by default, as with recent
glibc it's necessary to #include <errno.h> in order to build.
On other platforms, no options are set by default.
Bump PKGREVISION.
2004-08-22 02:10:51 +02:00
|
|
|
.endif
|
|
|
|
|
2006-01-08 18:48:14 +01:00
|
|
|
SUBST_FILES.djbware+= cdb_seek.c dns.c
|
|
|
|
|
2006-01-19 02:18:30 +01:00
|
|
|
SUBST_CLASSES+= paths
|
|
|
|
SUBST_FILES.paths= ${WRKDIR}/README.pkgsrc
|
|
|
|
SUBST_SED.paths+= -e 's,@PKGNAME@,${PKGNAME},g'
|
|
|
|
SUBST_SED.paths+= -e 's,@PKG_INFO@,${PKG_INFO},g'
|
|
|
|
SUBST_SED.paths+= -e 's,@GREP@,${GREP},g'
|
|
|
|
SUBST_STAGE.paths= post-patch
|
|
|
|
|
2006-04-29 06:53:17 +02:00
|
|
|
USERGROUP_PHASE= configure
|
|
|
|
PKG_GROUPS= qmail nofiles
|
|
|
|
PKG_USERS+= alias:nofiles
|
|
|
|
PKG_USERS+= qmaill:nofiles qmaild:nofiles qmailp:nofiles
|
|
|
|
PKG_USERS+= qmailq:qmail qmailr:qmail qmails:qmail
|
|
|
|
.for user in ${PKG_USERS:C/\:.*//}
|
|
|
|
PKG_HOME.${user}= ${QMAILDIR}
|
|
|
|
.endfor
|
|
|
|
PKG_HOME.alias= ${QMAILDIR}/alias
|
|
|
|
|
2006-02-20 04:39:25 +01:00
|
|
|
# extract the qmail tarball that was inside the netqmail distfile
|
Using bsd.options.mk, add several common build-time options. The
complete list:
badrcptto bigdns darwin netqmail nullenvsender
outgoingip qregex realrcptto smtpauth syncdir
tls
This obviates the need for a separate netqmail package. As a result,
reintegrate Makefile.common into Makefile, and simplify a handful
of definitions. If you used the netqmail package, set PKG_OPTIONS.qmail
to "netqmail bigdns" to build with the same patches as before.
Note that most of these options result in patches being applied,
and that any given combination of patches may not apply cleanly.
If there's a combination you need that doesn't work, or build
options you need that aren't available, let me know.
On Darwin, the "darwin" option is set by default, as it's needed
in order to build. The patch includes <nameser8_compat.h>, which
is present on Panther, but not on older systems. We provide a
buildlink stand-in where needed.
On Linux, the "netqmail" option is set by default, as with recent
glibc it's necessary to #include <errno.h> in order to build.
On other platforms, no options are set by default.
Bump PKGREVISION.
2004-08-22 02:10:51 +02:00
|
|
|
post-extract:
|
2006-02-20 04:39:25 +01:00
|
|
|
${_PKG_SILENT}${_PKG_DEBUG} \
|
|
|
|
extract_file=${WRKDIR}/${DISTNAME}/${PKGNAME_NOREV}.tar.gz; \
|
|
|
|
cd ${WRKDIR} && ${EXTRACT_CMD}
|
2006-01-19 02:18:30 +01:00
|
|
|
${CP} ${FILESDIR}/README.pkgsrc ${WRKDIR}/README.pkgsrc
|
Using bsd.options.mk, add several common build-time options. The
complete list:
badrcptto bigdns darwin netqmail nullenvsender
outgoingip qregex realrcptto smtpauth syncdir
tls
This obviates the need for a separate netqmail package. As a result,
reintegrate Makefile.common into Makefile, and simplify a handful
of definitions. If you used the netqmail package, set PKG_OPTIONS.qmail
to "netqmail bigdns" to build with the same patches as before.
Note that most of these options result in patches being applied,
and that any given combination of patches may not apply cleanly.
If there's a combination you need that doesn't work, or build
options you need that aren't available, let me know.
On Darwin, the "darwin" option is set by default, as it's needed
in order to build. The patch includes <nameser8_compat.h>, which
is present on Panther, but not on older systems. We provide a
buildlink stand-in where needed.
On Linux, the "netqmail" option is set by default, as with recent
glibc it's necessary to #include <errno.h> in order to build.
On other platforms, no options are set by default.
Bump PKGREVISION.
2004-08-22 02:10:51 +02:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
# qmail's installer sets strange permissions; set them back
|
|
|
|
. if (${PKG_INSTALLATION_TYPE} == "overwrite")
|
|
|
|
. for i in bin boot
|
|
|
|
${CHGRP} ${BINGRP} ${QMAILDIR}/${i}
|
|
|
|
. endfor
|
|
|
|
. for i in doc
|
|
|
|
${CHGRP} ${SHAREGRP} ${QMAILDIR}/${i}
|
|
|
|
. endfor
|
|
|
|
. for i in ${MANDIRS}
|
|
|
|
${CHGRP} ${MANGRP} ${QMAILDIR}/${i}
|
|
|
|
. endfor
|
|
|
|
. endif
|
|
|
|
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/README.pkgsrc ${DOCDIR}
|
|
|
|
|
|
|
|
${INSTALL_PROGRAM_DIR} ${SHAREDIR}/setup
|
|
|
|
for i in ${SETUP_PROGRAMS}; do \
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/$$i ${SHAREDIR}/setup; \
|
|
|
|
done
|
|
|
|
for i in ${SETUP_SCRIPTS}; do \
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/$$i ${SHAREDIR}/setup; \
|
|
|
|
done
|
Initial import of qmail-1.03 -- SECURE, reliable, efficient, simple, and FAST MTA for UNIX systems
qmail checks for qmail users' existance at compile time, so this package
must be built as root (it tries to add necessary users and groups),
thus NO_PACKAGE and IS_INTERACTIVE are set. PLIST file is left
empty intentionally, because qmail installs itself to /var/qmail,
outside ${PREFIX}.
The qmail program is a secure, reliable, efficient simple message
transfer agent. It is meant to be a replacement for the entire
sendmail-binmail system that most UNIX hosts use.
Although qmail holds security and reliability as its top two
priorities, it is also fast. On a Pentium under BSD/OS, qmail can
easily handle 200000 separate messages per day that are injected
and must then be delivered to local mailboxes!
Security and reliability are qmail's two strengths, however. The
qmail package ensures a message, once accepted, will never be lost.
An optional new mailbox format, maildir, even lets users safely
read their mail over NFS, while still accepting new mail deliveries.
The following features are supported: host and user masquerading,
full host hiding, virtual domains, null clients, list-owner rewriting,
relay control, double-bounce recording, arbitrary RFC 822 address
lists, cross-host mailing-list loop detection, per-recipient
checkpointing, downed host backoffs, independent message retry
schedules, a drop-in sendmail replacement, and more!
The package is still being worked on.
2001-08-13 11:10:10 +02:00
|
|
|
|
2005-03-23 01:51:09 +01:00
|
|
|
.include "../../mk/djbware.mk"
|
Initial import of qmail-1.03 -- SECURE, reliable, efficient, simple, and FAST MTA for UNIX systems
qmail checks for qmail users' existance at compile time, so this package
must be built as root (it tries to add necessary users and groups),
thus NO_PACKAGE and IS_INTERACTIVE are set. PLIST file is left
empty intentionally, because qmail installs itself to /var/qmail,
outside ${PREFIX}.
The qmail program is a secure, reliable, efficient simple message
transfer agent. It is meant to be a replacement for the entire
sendmail-binmail system that most UNIX hosts use.
Although qmail holds security and reliability as its top two
priorities, it is also fast. On a Pentium under BSD/OS, qmail can
easily handle 200000 separate messages per day that are injected
and must then be delivered to local mailboxes!
Security and reliability are qmail's two strengths, however. The
qmail package ensures a message, once accepted, will never be lost.
An optional new mailbox format, maildir, even lets users safely
read their mail over NFS, while still accepting new mail deliveries.
The following features are supported: host and user masquerading,
full host hiding, virtual domains, null clients, list-owner rewriting,
relay control, double-bounce recording, arbitrary RFC 822 address
lists, cross-host mailing-list loop detection, per-recipient
checkpointing, downed host backoffs, independent message retry
schedules, a drop-in sendmail replacement, and more!
The package is still being worked on.
2001-08-13 11:10:10 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|