pkgsrc/mail/sendmail/Makefile.common
adrianp a22a3e9f09 Update sendmail to 8.13.5
From the CHANGELOG:
> 	Store the filesystem identifier of the df/ subdirectory (if it
> 		exists) in an internal structure instead of the base
> 		directory.  This structure is used decide whether there
> 		is enough free disk space when selecting a queue, hence
> 		without this change queue selection could fail if a df/
> 		subdirectory exists and is on a different filesystem
> 		than the base directory.
> 	Use the queue index of the df file (instead of the qf file) for
> 		checking whether a link(2) operation can be used to split
> 		an envelope across queue groups.  Problem found by
> 		Werner Wiethege.
> 	If the list of items in the queue is larger than the maximum
> 		number of items to process, sort the queue first and
> 		then cut the list off instead of the other way around.
> 		Patch from Matej Vela of Rudjer Boskovic Institute.
> 	Fix helpfile to show full entry for ETRN.  Problem noted by
> 		Penelope Fudd, patch from Neil Rickert of Northern Illinois
> 		University.
> 	FallbackSmartHost should also be tried on temporary errors.
> 		From John Beck of Sun Microsystems.
> 	When a server responds with 421 to the STARTTLS command then treat
> 		it as a temporary error, not as protocol error.  Problem
> 		noted by Andrey J. Melnikoff.
> 	Properly define two functions in libsm as static because their
> 		prototype used static too.  Patch from Peter Klein.
> 	Fix syntax errors in helpfile for MAIL and RCPT commands.
> 	LIBMILTER: When smfi_replacebody() is called with bodylen equals
> 		zero then do not silently ignore that call.  Patch from
> 		Gurusamy Sarathy of Active State.
> 	LIBMILTER: Recognize "421" also in a multi-line reply to terminate
> 		the SMTP session with that error.  Fix from Brian Kantor.
> 	Portability: New option HASSNPRINTF which can be set if the OS
> 			has a properly working snprintf(3) to get rid
> 			of the last two (safe) sprintf(3) calls in the
> 			source code.
> 		Add support for AIX 5.3.
> 		Add support for SunOS 5.11 (aka Solaris 11).
> 		Add support for Darwin 8.x.  Patch from Lyndon Nerenberg.
> 		OpenBSD 3.7 has removed support for NETISO.
> 	CONFIG: Add OSTYPE(freebsd6) for FreeBSD 6.X.
2005-10-14 08:36:02 +00:00

56 lines
1.5 KiB
Makefile

# $NetBSD: Makefile.common,v 1.29 2005/10/14 08:36:02 adrianp Exp $
#
# Makefile fragment shared with libmilter
#
DISTNAME= sendmail.${DIST_VERS}
CATEGORIES= mail
MASTER_SITES= ftp://ftp.sendmail.org/pub/sendmail/ \
ftp://ftp.fu-berlin.de/pub/unix/mail/sendmail/ \
ftp://ftp.ayamura.org/pub/sendmail/
MAINTAINER= adrianp@NetBSD.org
HOMEPAGE= http://www.sendmail.org/
LICENSE= no-profit
DISTINFO_FILE?= ${.CURDIR}/../../mail/sendmail/distinfo
FILESDIR?= ${.CURDIR}/../../mail/sendmail/files
PATCHDIR?= ${.CURDIR}/../../mail/sendmail/patches
DIST_VERS= 8.13.5
MAKE_ENV+= BSD_BINOWN="${BINOWN}" BSD_BINGRP="${BINGRP}" \
BSD_MANOWN="${MANOWN}" BSD_MANGRP="${MANGRP}" \
BUILDLINK_DIR="${BUILDLINK_DIR}"
SITECONFIG= ${WRKSRC}/devtools/Site/site.config.m4
BUILD_DEFS+= SMRSH_CMDDIR
WRKSRC= ${WRKDIR}/sendmail-${DIST_VERS}
USE_TOOLS+= gm4
MAKE_ENV+= M4=${TOOLS_M4:Q}
.include "../../mk/bsd.prefs.mk"
.include "options.mk"
make-sendmail-siteconfig:
@${CP} ${FILESDIR}/site.config.m4 ${SITECONFIG}
@${CHMOD} +w ${SITECONFIG}
.if !empty(PKG_OPTIONS:Minet6)
@${CAT} ${FILESDIR}/site.config.m4-v6 >>${SITECONFIG}
.if ${OPSYS} != "SunOS" && ${OPSYS} != "BSDOS"
@${CAT} ${FILESDIR}/site.config.m4-v6-not-solaris >>${SITECONFIG}
.endif
.endif
.if ${OPSYS} == "SunOS"
@${CAT} ${FILESDIR}/site.config.m4-solaris >>${SITECONFIG}
.endif
.if ${OPSYS} == "Linux"
@${CAT} ${FILESDIR}/site.config.m4-linux >>${SITECONFIG}
.endif
@${CAT} ${FILESDIR}/site.config.m4-milter >>${SITECONFIG}