summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoritojun <itojun@pkgsrc.org>2000-01-02 17:46:47 +0000
committeritojun <itojun@pkgsrc.org>2000-01-02 17:46:47 +0000
commit464c6eddbbb74bc9847661c8fb8d4815d2ce5a7b (patch)
tree2be52df08fa2274d862b1e415ccee1cf308060a5
parent68cfe404d45c5608cce024203aa9ddf8c1f98265 (diff)
downloadpkgsrc-464c6eddbbb74bc9847661c8fb8d4815d2ce5a7b.tar.gz
incorporate WIDE sendmail patch (IPv6 support and other enhancements).
enable USE_INET6 cases.
-rw-r--r--mail/sendmail/Makefile23
-rw-r--r--mail/sendmail/files/md53
-rw-r--r--mail/sendmail/files/site.config-v61
3 files changed, 24 insertions, 3 deletions
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'')