From 464c6eddbbb74bc9847661c8fb8d4815d2ce5a7b Mon Sep 17 00:00:00 2001 From: itojun Date: Sun, 2 Jan 2000 17:46:47 +0000 Subject: incorporate WIDE sendmail patch (IPv6 support and other enhancements). enable USE_INET6 cases. --- mail/sendmail/Makefile | 23 +++++++++++++++++++++-- mail/sendmail/files/md5 | 3 ++- mail/sendmail/files/site.config-v6 | 1 + 3 files changed, 24 insertions(+), 3 deletions(-) create mode 100644 mail/sendmail/files/site.config-v6 (limited to 'mail/sendmail') diff --git a/mail/sendmail/Makefile b/mail/sendmail/Makefile index 9b81d9179dc..2108cba931b 100644 --- a/mail/sendmail/Makefile +++ b/mail/sendmail/Makefile @@ -1,10 +1,18 @@ -# $NetBSD: Makefile,v 1.10 1999/12/01 21:55:12 tron Exp $ +# $NetBSD: Makefile,v 1.11 2000/01/02 17:46:47 itojun Exp $ DISTNAME= sendmail.8.9.3 PKGNAME= sendmail-8.9.3 CATEGORIES= mail MASTER_SITES= ftp://ftp.sendmail.org/pub/sendmail/ \ - ftp://ftp.cert.dfn.de/pub/tools/net/sendmail/ + ftp://ftp.cert.dfn.de/pub/tools/net/sendmail/ \ + ftp://ftp.kyoto.wide.ad.jp/pub/mail/sendmail/ + +PATCH_SITES= ftp://ftp.kyoto.wide.ad.jp/pub/mail/sendmail/ +PATCHFILES= sendmail893+3.2W.patch.gz +PATCH_DIST_ARGS=-d ${WRKSRC}/src -E ${PATCH_DIST_STRIP} +.if !(defined(PATCH_DEBUG) || defined(PKG_VERBOSE)) +PATCH_DIST_ARGS+=--forward --quiet +.endif MAINTAINER= packages@netbsd.org HOMEPAGE= http://www.sendmail.org/ @@ -19,8 +27,14 @@ MESSAGE_FILE= ${WRKDIR}/MESSAGE OBJDIR!= echo obj.`uname -srm | tr \ .` WRKSRC= ${WRKDIR}/${PKGNAME} +BUILD_DEFS+= USE_INET6 + .include "../../mk/bsd.prefs.mk" +.if defined(USE_INET6) && ${USE_INET6} == YES +MAKE_ENV+= CONFIG="-f ${WRKSRC}/site.config-v6" +.endif + USE_DB2?= NO .if ${USE_DB2} == YES @@ -33,6 +47,11 @@ PLIST_SRC= ${WRKDIR}/PLIST MAKE_ENV+= DB_ENVDEF="" DB_LIBS="" .endif +post-patch: +.if defined(USE_INET6) && ${USE_INET6} == YES + @(cp ${FILESDIR}/site.config-v6 ${WRKSRC}) +.endif + post-build: ${SED} -e 's#@@PREFIX@@#${PREFIX}#g' \ <${FILESDIR}/mailer.conf >${WRKDIR}/mailer.conf.sendmail diff --git a/mail/sendmail/files/md5 b/mail/sendmail/files/md5 index f34fab91d1f..83e51974438 100644 --- a/mail/sendmail/files/md5 +++ b/mail/sendmail/files/md5 @@ -1,3 +1,4 @@ -$NetBSD: md5,v 1.1.1.1 1999/04/08 23:00:33 tron Exp $ +$NetBSD: md5,v 1.2 2000/01/02 17:46:47 itojun Exp $ MD5 (sendmail.8.9.3.tar.gz) = efedacfbce84a71d1cfb0e617b84596e +MD5 (sendmail893+3.2W.patch.gz) = 77e2183c40e304a2b1410a5bb041cd46 diff --git a/mail/sendmail/files/site.config-v6 b/mail/sendmail/files/site.config-v6 new file mode 100644 index 00000000000..e5c7634f274 --- /dev/null +++ b/mail/sendmail/files/site.config-v6 @@ -0,0 +1 @@ +PREPENDDEF(`confENVDEF', ``-DNETINET6=1'') -- cgit v1.2.3