Update libetpan to version 1.7.2.

patch-src_low-level_smtp_mailsmtp.c has been
removed this change is included in this release.

Changelog:
1.7.2:
    Fixed so name for Linux

1.7:
Build
    Fixed expat / curl detection
    Fix build on OpenIndiana
    Support for Berkeley DB 6.0
    Support for Bitcode (Apple)
    Build for Android
    Improved build for Windows

General
    Support for socks proxy
    API for partial base64 parsing

SMTP
    Ability to cancel SMTP operations
    Fixed logging privacy with OAuth2 on smtp

IMAP
    Broken date parsing
    Improved latest TLS/SSL support
    IMAP MOVE implemented
    workaround for XLIST on cyon.ch
    Added ability to send custom IMAP command support
    Workaround for qq.com IMAP server
    Workaround for 163 IMAP server
    Improved SEARCH compatibility
This commit is contained in:
nros 2016-09-03 17:56:37 +00:00
parent 16171ac8f5
commit 8055227b41
5 changed files with 17 additions and 34 deletions

View file

@ -1,7 +1,6 @@
# $NetBSD: Makefile,v 1.42 2016/03/05 11:27:50 jperkin Exp $
# $NetBSD: Makefile,v 1.43 2016/09/03 17:56:37 nros Exp $
DISTNAME= libetpan-1.6
PKGREVISION= 1
DISTNAME= libetpan-1.7.2
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_GITHUB:=dinhviethoa/}
EXTRACT_USING= bsdtar
@ -11,7 +10,7 @@ HOMEPAGE= http://etpan.org/libetpan.html
COMMENT= Really nice mail library
LICENSE= modified-bsd
BDB_ACCEPTED= db3 db4 db5
BDB_ACCEPTED= db3 db4 db5 db6
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
GNU_CONFIGURE= yes

View file

@ -1,4 +1,4 @@
# $NetBSD: buildlink3.mk,v 1.29 2016/03/05 11:27:50 jperkin Exp $
# $NetBSD: buildlink3.mk,v 1.30 2016/09/03 17:56:37 nros Exp $
BUILDLINK_TREE+= libetpan
@ -6,10 +6,10 @@ BUILDLINK_TREE+= libetpan
LIBETPAN_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.libetpan+= libetpan>=1.0
BUILDLINK_ABI_DEPENDS.libetpan+= libetpan>=1.6nb1
BUILDLINK_ABI_DEPENDS.libetpan+= libetpan>=1.7.2
BUILDLINK_PKGSRCDIR.libetpan?= ../../mail/libetpan
BDB_ACCEPTED?= db4 db5
BDB_ACCEPTED?= db4 db5 db6
.include "../../converters/libiconv/buildlink3.mk"
.include "../../security/cyrus-sasl/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"

View file

@ -1,9 +1,8 @@
$NetBSD: distinfo,v 1.18 2015/11/03 23:27:08 agc Exp $
$NetBSD: distinfo,v 1.19 2016/09/03 17:56:37 nros Exp $
SHA1 (libetpan-1.6.tar.gz) = a5514139a8c5ee94d0337a89db8141cb3c557fa9
RMD160 (libetpan-1.6.tar.gz) = f625263df1fcab97d010d25743803e5d4164745b
SHA512 (libetpan-1.6.tar.gz) = e3f19cfe231e8cadbb6cba3a765611e3aaeb260fa78e05cea1153a59015abe547c0f3a8b84c6b41cbbd17d04a4c7ab7b14d1b1b44a1a4b24ac124cb200a191a5
Size (libetpan-1.6.tar.gz) = 6144117 bytes
SHA1 (libetpan-1.7.2.tar.gz) = 599a0219872d50ef8e45a365ab56c886b007de13
RMD160 (libetpan-1.7.2.tar.gz) = abaea1740a4c29f133bcb35f2df7a6ef5a4922ef
SHA512 (libetpan-1.7.2.tar.gz) = b7b7c201d65bc2ad595b93d310d2569ca3bf61e599010e0f46a7e776da6ebc6a897df6e073a4878cb134d6d4bec6ea65b2a3e02d44b60f9045b5aa58b689cdca
Size (libetpan-1.7.2.tar.gz) = 6186628 bytes
SHA1 (patch-aa) = e783adf544c9a63df584815ee4b033249cecf0ff
SHA1 (patch-configure.ac) = 16636e8656018179d62b59ea75fe4a1a753768a2
SHA1 (patch-src_low-level_smtp_mailsmtp.c) = c6658435ae8e2124a4878ec3ef2ce0a2aa7be7fe
SHA1 (patch-configure.ac) = 45ec1bd4384e3bdd31c1dd7ebef1d855b5c962c6

View file

@ -1,13 +1,13 @@
$NetBSD: patch-configure.ac,v 1.1 2015/04/03 12:04:30 nros Exp $
$NetBSD: patch-configure.ac,v 1.2 2016/09/03 17:56:37 nros Exp $
Conversion of patch-ab to configure.ac
--- configure.ac.orig 2015-04-03 11:38:16.000000000 +0000
--- configure.ac.orig 2016-05-26 05:27:47.000000000 +0000
+++ configure.ac
@@ -386,7 +386,7 @@ dnl Look for db3 or superior with db_cre
@@ -395,7 +395,7 @@ dnl Look for db3 or superior with db_cre
case "$DBVERS" in
3)
AC_MSG_RESULT([version 3.x or above])
- for lib in db-5.3 db-5.1 db-5.0 db-4.8 db-4.7 db-4.6 db-4.5 db-4.4 db-4.3 db-4.2 db-4.1 db-4.0 db-4 db4 db-3.2 db-3 db3 db; do
+ for lib in db5 db4 db3 db; do
- for lib in db-6.0 db-5.3 db-5.1 db-5.0 db-4.8 db-4.7 db-4.6 db-4.5 db-4.4 db-4.3 db-4.2 db-4.1 db-4.0 db-4 db4 db-3.2 db-3 db3 db; do
+ for lib in db6 db5 db4 db3 db; do
if test "x$DBLINKED" = "x0"; then
dnl AC_CHECK_LIB($lib, db_create, [DBLIB="-l$lib"; DBLINKED=1], [])
dnl installations of libdb4 function names are defined in db.h

View file

@ -1,15 +0,0 @@
$NetBSD: patch-src_low-level_smtp_mailsmtp.c,v 1.1 2015/04/27 13:34:05 jperkin Exp $
SunOS does not have sa_len.
--- src/low-level/smtp/mailsmtp.c.orig 2014-10-31 21:41:02.000000000 +0000
+++ src/low-level/smtp/mailsmtp.c
@@ -271,7 +271,7 @@ static int get_hostname(mailsmtp * sessi
if (r != 0)
return MAILSMTP_ERROR_HOSTNAME;
-#if (defined __linux__ || defined WIN32)
+#if (defined __linux__ || defined WIN32 || defined(__sun))
r = getnameinfo(&addr, sizeof(addr), hostname, HOSTNAME_SIZE, NULL, 0, NI_NUMERICHOST);
#else
r = getnameinfo(&addr, addr.sa_len, hostname, HOSTNAME_SIZE, NULL, 0, NI_NUMERICHOST);