mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
mail/dbmail: update to 3.1.17
PR: 192189 Submitted by: maintainer
This commit is contained in:
parent
c44a54b20e
commit
b612d70edc
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=363203
@ -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/
|
||||
|
||||
|
@ -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
|
||||
|
@ -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 <event2/event.h>])
|
||||
- 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], [
|
@ -1,21 +1,5 @@
|
||||
--- src/dbmail.h.in.orig
|
||||
+++ src/dbmail.h.in
|
||||
@@ -83,8 +83,14 @@
|
||||
#include <mhash.h>
|
||||
#include <sys/queue.h>
|
||||
#include <event2/event.h>
|
||||
+#include <event2/event_compat.h>
|
||||
#include <event2/thread.h>
|
||||
-#include <evhttp.h>
|
||||
+#include <event2/http.h>
|
||||
+#include <event2/http_struct.h>
|
||||
+#include <event2/http_compat.h>
|
||||
+#include <event2/buffer.h>
|
||||
+#include <event2/buffer_compat.h>
|
||||
+#include <event2/keyvalq_struct.h>
|
||||
#include <math.h>
|
||||
#include <openssl/ssl.h>
|
||||
|
||||
@@ -154,6 +160,11 @@
|
||||
#include <endian.h>
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user