summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mail/dbmail/Makefile7
-rw-r--r--mail/dbmail/distinfo10
-rw-r--r--mail/dbmail/patches/patch-aa12
3 files changed, 17 insertions, 12 deletions
diff --git a/mail/dbmail/Makefile b/mail/dbmail/Makefile
index 42cd547cd7d..da8be37c8d7 100644
--- a/mail/dbmail/Makefile
+++ b/mail/dbmail/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.21 2010/01/17 12:02:23 wiz Exp $
+# $NetBSD: Makefile,v 1.22 2010/01/23 04:50:22 obache Exp $
#
-DISTNAME= dbmail-2.2.12
-PKGREVISION= 1
+DISTNAME= dbmail-2.2.14
CATEGORIES= mail
MASTER_SITES= http://www.dbmail.org/download/2.2/
@@ -59,7 +58,7 @@ post-install:
BUILDLINK_API_DEPENDS.glib2+= glib2>=2.8.0
.include "../../devel/glib2/buildlink3.mk"
-BUILDLINK_API_DEPENDS.gmime+= gmime>=2.1.19
+BUILDLINK_API_DEPENDS.gmime+= gmime>=2.2.10
.include "../../mail/gmime/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/mail/dbmail/distinfo b/mail/dbmail/distinfo
index 954719196c2..55f505ea597 100644
--- a/mail/dbmail/distinfo
+++ b/mail/dbmail/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.10 2009/10/12 02:25:36 obache Exp $
+$NetBSD: distinfo,v 1.11 2010/01/23 04:50:22 obache Exp $
-SHA1 (dbmail-2.2.12.tar.gz) = bf661f4051196b4a0832b276531556f22d33d85f
-RMD160 (dbmail-2.2.12.tar.gz) = dbc48b8ff05507041377217dbb98731fa5ddabb3
-Size (dbmail-2.2.12.tar.gz) = 911091 bytes
-SHA1 (patch-aa) = 830c49b2fddd9d85912a227e1eda6520c7d95654
+SHA1 (dbmail-2.2.14.tar.gz) = 594ec3b25238c3e93ad4fceab00f2927df0965f5
+RMD160 (dbmail-2.2.14.tar.gz) = 43b48e312ce9079189d8095d9c86edbe8fe71a8d
+Size (dbmail-2.2.14.tar.gz) = 875401 bytes
+SHA1 (patch-aa) = 082714ef215972e02348a344f57f422d21f5ff11
diff --git a/mail/dbmail/patches/patch-aa b/mail/dbmail/patches/patch-aa
index b09b59671a2..06c3189c16c 100644
--- a/mail/dbmail/patches/patch-aa
+++ b/mail/dbmail/patches/patch-aa
@@ -1,13 +1,19 @@
-$NetBSD: patch-aa,v 1.1 2009/10/12 02:25:37 obache Exp $
+$NetBSD: patch-aa,v 1.2 2010/01/23 04:50:22 obache Exp $
---- dbmail.h.in.orig 2009-10-07 19:44:07.000000000 +0000
+* getaddrinfo(3) is in XNS5.2, require _XOPEN_SOURCE>=520
+* _NETBSD_SORCE is required for NI_MAXHOST/NI_MAXSERVE on NetBSD.
+
+--- dbmail.h.in.orig 2010-01-22 12:57:30.000000000 +0000
+++ dbmail.h.in
-@@ -33,7 +33,7 @@
+@@ -33,7 +33,10 @@
#ifdef __FreeBSD__
#define _XOPEN_SOURCE
#else
-#define _XOPEN_SOURCE 500
+#define _XOPEN_SOURCE 520
++#endif
++#ifdef __NetBSD__
++#define _NETBSD_SOURCE
#endif
#define __EXTENSIONS__ /* solaris */