From b612d70edc46c5de660cc1a901186fa36c774812 Mon Sep 17 00:00:00 2001 From: William Grzybowski Date: Mon, 28 Jul 2014 17:46:24 +0000 Subject: [PATCH] mail/dbmail: update to 3.1.17 PR: 192189 Submitted by: maintainer --- mail/dbmail/Makefile | 3 +- mail/dbmail/distinfo | 4 +- mail/dbmail/files/patch-acinclude.m4 | 58 ------------------------- mail/dbmail/files/patch-src_dbmail.h.in | 16 ------- 4 files changed, 3 insertions(+), 78 deletions(-) delete mode 100644 mail/dbmail/files/patch-acinclude.m4 diff --git a/mail/dbmail/Makefile b/mail/dbmail/Makefile index 2e13d873ac54..2d77515594cb 100644 --- a/mail/dbmail/Makefile +++ b/mail/dbmail/Makefile @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= dbmail -PORTVERSION= 3.1.15 -PORTREVISION= 3 +PORTVERSION= 3.1.17 CATEGORIES= mail MASTER_SITES= http://git.dbmail.eu/paul/dbmail/snapshot/ diff --git a/mail/dbmail/distinfo b/mail/dbmail/distinfo index bbbdb25b836a..21f13b81dd7c 100644 --- a/mail/dbmail/distinfo +++ b/mail/dbmail/distinfo @@ -1,2 +1,2 @@ -SHA256 (dbmail-3.1.15.tar.bz2) = 08e67c0b2cd81c862c06d11f06cec9e252f249fa56703d14a25adff375c6d107 -SIZE (dbmail-3.1.15.tar.bz2) = 2248627 +SHA256 (dbmail-3.1.17.tar.bz2) = d5cb070d1e042b51aa324b9c54de129189b65ec79aa227eecbf5d052aa318432 +SIZE (dbmail-3.1.17.tar.bz2) = 2238540 diff --git a/mail/dbmail/files/patch-acinclude.m4 b/mail/dbmail/files/patch-acinclude.m4 deleted file mode 100644 index f4333658a12f..000000000000 --- a/mail/dbmail/files/patch-acinclude.m4 +++ /dev/null @@ -1,58 +0,0 @@ ---- acinclude.m4.orig 2013-05-31 14:03:59.000000000 +0100 -+++ acinclude.m4 2013-05-31 14:45:49.000000000 +0100 -@@ -23,7 +23,7 @@ - SOCKETS: $SOCKETLIB - MATH: $MATHLIB - MHASH: $MHASHLIB -- LIBEVENT: $EVENTLIB -+ LIBEVENT: $ac_event_libs - OPENSSL: $SSLLIB - ZDB: $ZDBLIB - JEMALLOC: $JEMALLOCLIB -@@ -342,13 +342,40 @@ - fi - ]) - --AC_DEFUN([DM_CHECK_EVENT], [ -- AC_CHECK_HEADERS([event.h], [EVENTLIB="-levent_pthreads -levent"],[EVENTLIB="failed"], [#include ]) -- if test [ "x$EVENTLIB" = "xfailed" ]; then -- AC_MSG_ERROR([Could not find EVENT library.]) -- else -- LDFLAGS="$LDFLAGS $EVENTLIB" -+AC_DEFUN([DM_CHECK_EVENT], [dnl -+AC_PATH_PROG(eventconfig,pkg-config) -+if test [ -z "$eventconfig" ] -+then -+ AC_MSG_ERROR([pkg-config executable not found. Make sure pkg-config is in your path]) -+else -+ AC_MSG_CHECKING([Event headers]) -+ ac_event_cflags=`${eventconfig} --cflags libevent_pthreads` -+ if test -z "$ac_event_cflags" -+ then -+ AC_MSG_RESULT([no]) -+ AC_MSG_ERROR([Unable to locate event development files]) -+ fi -+ -+ CFLAGS="$CFLAGS $ac_event_cflags" -+ AC_MSG_RESULT([$ac_event_cflags]) -+ AC_MSG_CHECKING([Event libraries]) -+ ac_event_libs=`${eventconfig} --libs libevent_pthreads` -+ if test -z "$ac_event_libs" -+ then -+ AC_MSG_RESULT([no]) -+ AC_MSG_ERROR([Unable to locate event libaries]) - fi -+ ac_event_minvers="2.0" -+ AC_MSG_CHECKING([Event version >= $ac_event_minvers]) -+ ac_event_vers=`${eventconfig} --atleast-version=$ac_event_minvers libevent_pthreads>/dev/null && echo yes` -+ if test -z "$ac_event_vers" -+ then -+ AC_MSG_ERROR([At least Event version $ac_event_minvers is required.]) -+ fi -+ -+ LDFLAGS="$LDFLAGS $ac_event_libs" -+ AC_MSG_RESULT([$ac_event_libs]) -+fi - ]) - - AC_DEFUN([DM_CHECK_SSL], [ diff --git a/mail/dbmail/files/patch-src_dbmail.h.in b/mail/dbmail/files/patch-src_dbmail.h.in index 73a507e58d88..084ae434334d 100644 --- a/mail/dbmail/files/patch-src_dbmail.h.in +++ b/mail/dbmail/files/patch-src_dbmail.h.in @@ -1,21 +1,5 @@ --- src/dbmail.h.in.orig +++ src/dbmail.h.in -@@ -83,8 +83,14 @@ - #include - #include - #include -+#include - #include --#include -+#include -+#include -+#include -+#include -+#include -+#include - #include - #include - @@ -154,6 +160,11 @@ #include #endif