Hi,

Here's an update to latest libetpan release. All patchs were
merged upstream. A major bump is required (and was done upstream too)
as some functions were removed.

Comments? OK?

Cheers,
Daniel

Index: Makefile
===================================================================
RCS file: /cvs/ports/mail/libetpan/Makefile,v
retrieving revision 1.21
diff -u -p -r1.21 Makefile
--- Makefile    1 May 2016 20:11:16 -0000       1.21
+++ Makefile    22 Jun 2016 10:46:56 -0000
@@ -4,10 +4,10 @@ COMMENT=      mail purpose library
 
 GH_ACCOUNT=    dinhviethoa
 GH_PROJECT=    libetpan
-GH_TAGNAME=    1.7
+GH_TAGNAME=    1.7.2
 CATEGORIES=    mail devel
 
-SHARED_LIBS=   etpan   16.0
+SHARED_LIBS=   etpan   17.0    # 20.0
 
 HOMEPAGE=      http://www.etpan.org/libetpan.html
 
Index: distinfo
===================================================================
RCS file: /cvs/ports/mail/libetpan/distinfo,v
retrieving revision 1.8
diff -u -p -r1.8 distinfo
--- distinfo    1 May 2016 20:11:16 -0000       1.8
+++ distinfo    22 Jun 2016 10:46:56 -0000
@@ -1,2 +1,2 @@
-SHA256 (libetpan-1.7.tar.gz) = R9DASditzc/QaY6fH8uFQWsLL0du7R9SqucsKIPPBbA=
-SIZE (libetpan-1.7.tar.gz) = 6184289
+SHA256 (libetpan-1.7.2.tar.gz) = MnlygqQg8xdPSmeVSOIPortKy0BLgn1iwvRNPeTrMSA=
+SIZE (libetpan-1.7.2.tar.gz) = 6186628
Index: patches/patch-src_driver_implementation_mh_mhdriver_cached_message_c
===================================================================
RCS file: patches/patch-src_driver_implementation_mh_mhdriver_cached_message_c
diff -N patches/patch-src_driver_implementation_mh_mhdriver_cached_message_c
--- patches/patch-src_driver_implementation_mh_mhdriver_cached_message_c        
16 May 2016 16:06:28 -0000      1.2
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,18 +0,0 @@
-$OpenBSD: patch-src_driver_implementation_mh_mhdriver_cached_message_c,v 1.2 
2016/05/16 16:06:28 danj Exp $
-
-Committed upstream
-https://github.com/dinhviethoa/libetpan/commit/a8d2f243509939b6c5cb5360f1796f1eb7698fde
-
---- src/driver/implementation/mh/mhdriver_cached_message.c.orig        Fri Oct 
31 22:41:02 2014
-+++ src/driver/implementation/mh/mhdriver_cached_message.c     Thu Sep 17 
20:27:20 2015
-@@ -187,8 +187,8 @@ static int mh_initialize(mailmessage * msg_info)
-   
-   mh_msg_info = data.data;
- 
--  snprintf(static_uid, PATH_MAX, "%u-%lu-%lu", msg_info->msg_index,
--         mh_msg_info->msg_mtime, (unsigned long) mh_msg_info->msg_size);
-+  snprintf(static_uid, PATH_MAX, "%u-%lld-%zu", msg_info->msg_index,
-+           (long long)mh_msg_info->msg_mtime, mh_msg_info->msg_size);
-   uid = strdup(static_uid);
-   if (uid == NULL)
-     return MAIL_ERROR_MEMORY;
Index: patches/patch-src_low-level_feed_parser_c
===================================================================
RCS file: patches/patch-src_low-level_feed_parser_c
diff -N patches/patch-src_low-level_feed_parser_c
--- patches/patch-src_low-level_feed_parser_c   2 May 2016 06:23:19 -0000       
1.3
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,16 +0,0 @@
-$OpenBSD: patch-src_low-level_feed_parser_c,v 1.3 2016/05/02 06:23:19 danj Exp 
$
-
-Committed upstream:
-https://github.com/dinhviethoa/libetpan/commit/49c9f8c759d6ba2ec8596bf4d95f505a0ab23045
-
---- src/low-level/feed/parser.c.orig   Mon May 31 12:57:17 2010
-+++ src/low-level/feed/parser.c        Mon May 31 12:57:37 2010
-@@ -230,7 +230,7 @@ static int iconv_utf32_char(iconv_t cd, const char * i
-     return LEP_ICONV_OK;
-   }
- #else
--  return LEP_ICONV_FAIL;
-+  return LEP_ICONV_FAILED;
- #endif
- }
- 
Index: patches/patch-src_low-level_mime_mailmime_types_helper_c
===================================================================
RCS file: patches/patch-src_low-level_mime_mailmime_types_helper_c
diff -N patches/patch-src_low-level_mime_mailmime_types_helper_c
--- patches/patch-src_low-level_mime_mailmime_types_helper_c    16 May 2016 
16:06:28 -0000      1.2
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,16 +0,0 @@
-$OpenBSD: patch-src_low-level_mime_mailmime_types_helper_c,v 1.2 2016/05/16 
16:06:28 danj Exp $
-
-Committed upstream
-https://github.com/dinhviethoa/libetpan/commit/a8d2f243509939b6c5cb5360f1796f1eb7698fde
-
---- src/low-level/mime/mailmime_types_helper.c.orig    Thu Sep 17 19:02:07 2015
-+++ src/low-level/mime/mailmime_types_helper.c Thu Sep 17 19:02:32 2015
-@@ -518,7 +518,7 @@ char * mailmime_generate_boundary(void)
-   value = random();
- 
-   gethostname(name, MAX_MESSAGE_ID);
--  snprintf(id, MAX_MESSAGE_ID, "%lx_%lx_%x", now, value, getpid());
-+  snprintf(id, MAX_MESSAGE_ID, "%llx_%lx_%x", (long long)now, value, 
getpid());
- 
-   return strdup(id);
- }
Index: patches/patch-tests_mime-create_c
===================================================================
RCS file: patches/patch-tests_mime-create_c
diff -N patches/patch-tests_mime-create_c
--- patches/patch-tests_mime-create_c   16 May 2016 16:06:28 -0000      1.2
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,16 +0,0 @@
-$OpenBSD: patch-tests_mime-create_c,v 1.2 2016/05/16 16:06:28 danj Exp $
-
-Committed upstream
-https://github.com/dinhviethoa/libetpan/commit/a8d2f243509939b6c5cb5360f1796f1eb7698fde
-
---- tests/mime-create.c.orig   Thu Sep 17 19:03:11 2015
-+++ tests/mime-create.c        Thu Sep 17 19:03:31 2015
-@@ -272,7 +272,7 @@ static char * generate_boundary(const char * boundary_
-     if (boundary_prefix == NULL)
-         boundary_prefix = "";
-     
--    snprintf(id, MAX_MESSAGE_ID, "%s%lx_%lx_%x", boundary_prefix, now, value, 
getpid());
-+    snprintf(id, MAX_MESSAGE_ID, "%s%llx_%lx_%x", boundary_prefix, (long 
long)now, value, getpid());
-     
-     return strdup(id);
- }

Reply via email to