Update to 1.3.1

This commit is contained in:
Emanuel Haupt 2019-05-29 11:29:51 +00:00
parent 446e35b280
commit 125dd818e5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=502950
4 changed files with 4 additions and 45 deletions

View File

@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= isync
PORTVERSION= 1.3.0
PORTREVISION= 2
PORTVERSION= 1.3.1
CATEGORIES= mail
MASTER_SITES= SF

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1506865850
SHA256 (isync-1.3.0.tar.gz) = 8d5f583976e3119705bdba27fa4fc962e807ff5996f24f354957178ffa697c9c
SIZE (isync-1.3.0.tar.gz) = 309459
TIMESTAMP = 1559120768
SHA256 (isync-1.3.1.tar.gz) = 68cb4643d58152097f01c9b3abead7d7d4c9563183d72f3c2a31d22bc168f0ea
SIZE (isync-1.3.1.tar.gz) = 311868

View File

@ -1,20 +0,0 @@
--- src/drv_imap.c.orig 2019-03-19 09:37:32 UTC
+++ src/drv_imap.c
@@ -2388,7 +2388,7 @@ imap_open_box_p2( imap_store_t *ctx, imap_cmd_t *gcmd,
INIT_IMAP_CMD(imap_cmd_open_box_t, cmd, cmdp->callback, cmdp->callback_aux)
cmd->gen.param.lastuid = 1;
imap_exec( ctx, &cmd->gen, imap_open_box_p3,
- "UID FETCH *:* (UID)" );
+ "UID FETCH * (UID)" );
}
static void
@@ -2922,7 +2922,7 @@ imap_find_new_msgs_p2( imap_store_t *ctx, imap_cmd_t *
cmd->uid = cmdp->uid;
cmd->gen.param.lastuid = 1;
imap_exec( ctx, &cmd->gen, imap_find_new_msgs_p3,
- "UID FETCH *:* (UID)" );
+ "UID FETCH * (UID)" );
}
static void

View File

@ -1,20 +0,0 @@
--- src/socket.c.orig 2017-10-01 08:42:35 UTC
+++ src/socket.c
@@ -40,7 +40,7 @@
# include <openssl/ssl.h>
# include <openssl/err.h>
# include <openssl/x509v3.h>
-# if OPENSSL_VERSION_NUMBER < 0x10100000L
+# if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
# define X509_OBJECT_get0_X509(o) ((o)->data.x509)
# define X509_STORE_get0_objects(o) ((o)->objs)
# endif
@@ -270,6 +270,8 @@ socket_start_tls( conn_t *conn, void (*c
init_wakeup( &conn->ssl_fake, ssl_fake_cb, conn );
conn->ssl = SSL_new( ((server_conf_t *)conn->conf)->SSLContext );
+ if (ssl_return( "set server name", conn, SSL_set_tlsext_host_name( conn->ssl, conn->conf->host ) ) < 0)
+ return;
SSL_set_fd( conn->ssl, conn->fd );
SSL_set_mode( conn->ssl, SSL_MODE_ACCEPT_MOVING_WRITE_BUFFER );
socket_expect_read( conn, 1 );