<pre style='margin:0'>
Perry E. Metzger (pmetzger) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/c4a9e9075a95b829cce74a900610e3a4464b2c03">https://github.com/macports/macports-ports/commit/c4a9e9075a95b829cce74a900610e3a4464b2c03</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new c4a9e90 libevent: update to 2.1.10
</span>c4a9e90 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit c4a9e9075a95b829cce74a900610e3a4464b2c03
</span>Author: Jerry <jerryyhom@gmail.com>
AuthorDate: Wed Jul 24 00:48:27 2019 -0700
<span style='display:block; white-space:pre;color:#404040;'> libevent: update to 2.1.10
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> + Add 'conflicts' with libev
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> see https://trac.macports.org/ticket/58733
</span>---
devel/libevent/Portfile | 12 ++--
devel/libevent/files/patch-apple-clang.diff | 32 ++++++++++
devel/libevent/files/patch-libressl-2-7.diff | 93 ----------------------------
3 files changed, 40 insertions(+), 97 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/libevent/Portfile b/devel/libevent/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index f76f4ee..622ff6d 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/libevent/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/libevent/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -3,7 +3,8 @@
</span> PortSystem 1.0
PortGroup github 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-github.setup libevent libevent 2.1.8-stable release-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup libevent libevent 2.1.10-stable release-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.tarball_from releases
</span> version [lindex [split ${version} -] 0]
categories devel
platforms darwin
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -20,12 +21,15 @@ long_description The libevent API provides a mechanism to execute \
</span>
homepage http://libevent.org
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 f23ad93d555089535085c99f3f8cbb9ebae4fd53 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 d53e88f2b31fbccab93f6b1e54fe7f4c1d536b6d8250c95cd42dbc14f958baeb
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+conflicts libev
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 a8a158035d7677e9db00f63fab45fbadd3da41df \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 e864af41a336bb11dab1a23f32993afe963c1f69618bd9292b89ecf6904845b0 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 1074897
</span>
depends_lib path:lib/libssl.dylib:openssl
<span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles patch-libressl-2-7.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles patch-apple-clang.diff
</span>
use_autoreconf yes
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/libevent/files/patch-apple-clang.diff b/devel/libevent/files/patch-apple-clang.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..1493049
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/libevent/files/patch-apple-clang.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,32 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- util-internal.h.orig 2019-02-03 13:30:49.000000000 -0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ util-internal.h 2019-07-23 22:36:20.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -52,16 +52,22 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /* __has_attribute() wrapper */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #ifdef __has_attribute
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#define EVUTIL_HAS_ATTRIBUTE __has_attribute
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# define EVUTIL_HAS_ATTRIBUTE __has_attribute
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /** clang 3 __has_attribute misbehaves in some versions */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#if defined(__clang__) && \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- __clang__ == 1 && __clang_major__ == 3 && \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- (__clang_minor__ >= 2 && __clang_minor__ <= 5)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#undef EVUTIL_HAS_ATTRIBUTE
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if defined(__clang__) && __clang__ == 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# if defined(__apple_build_version__)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# if __clang_major__ <= 6
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# undef EVUTIL_HAS_ATTRIBUTE
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# else /* !__apple_build_version__ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# if __clang_major__ == 3 && __clang_minor__ >= 2 && __clang_minor__ <= 5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# undef EVUTIL_HAS_ATTRIBUTE
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# endif /* __apple_build_version__ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#endif /*\ defined(__clang__) && __clang__ == 1 */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #ifndef EVUTIL_HAS_ATTRIBUTE
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#define EVUTIL_HAS_ATTRIBUTE(x) 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# define EVUTIL_HAS_ATTRIBUTE(x) 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /* If we need magic to say "inline", get it for free internally. */
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/libevent/files/patch-libressl-2-7.diff b/devel/libevent/files/patch-libressl-2-7.diff
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index cb8f164..0000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/libevent/files/patch-libressl-2-7.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,93 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- openssl-compat.h.orig 2016-12-06 14:13:44.000000000 -0800
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ openssl-compat.h 2018-11-04 23:02:01.000000000 -0800
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -1,7 +1,8 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #ifndef OPENSSL_COMPAT_H
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #define OPENSSL_COMPAT_H
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--#if OPENSSL_VERSION_NUMBER < 0x10100000L
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#if (OPENSSL_VERSION_NUMBER < 0x10100000L) || \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x20700000L)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- static inline BIO_METHOD *BIO_meth_new(int type, const char *name)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -30,6 +31,11 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #define TLS_method SSLv23_method
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--#endif /* OPENSSL_VERSION_NUMBER < 0x10100000L */
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#endif /* (OPENSSL_VERSION_NUMBER < 0x10100000L) || \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x20700000L) */
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#if defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER >= 0x20700000L
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#define BIO_get_init(b) (b)->init
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#endif
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #endif /* OPENSSL_COMPAT_H */
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- sample/https-client.c.orig 2016-12-06 02:27:06.000000000 -0800
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ sample/https-client.c 2018-11-04 22:59:45.000000000 -0800
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -312,7 +312,8 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- uri[sizeof(uri) - 1] = '\0';
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--#if OPENSSL_VERSION_NUMBER < 0x10100000L
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#if (OPENSSL_VERSION_NUMBER < 0x10100000L) || \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x20700000L)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- // Initialize OpenSSL
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- SSL_library_init();
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ERR_load_crypto_strings();
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -480,7 +481,8 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- SSL_CTX_free(ssl_ctx);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if (type == HTTP && ssl)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- SSL_free(ssl);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--#if OPENSSL_VERSION_NUMBER < 0x10100000L
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#if (OPENSSL_VERSION_NUMBER < 0x10100000L) || \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x20700000L)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- EVP_cleanup();
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ERR_free_strings();
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -492,7 +494,8 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- CRYPTO_cleanup_all_ex_data();
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sk_SSL_COMP_free(SSL_COMP_get_compression_methods());
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--#endif /*OPENSSL_VERSION_NUMBER < 0x10100000L */
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#endif /* (OPENSSL_VERSION_NUMBER < 0x10100000L) || \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x20700000L) */
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #ifdef _WIN32
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- WSACleanup();
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- sample/le-proxy.c.orig 2016-12-06 14:13:44.000000000 -0800
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ sample/le-proxy.c 2018-11-04 22:57:24.000000000 -0800
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -259,7 +259,8 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if (use_ssl) {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- int r;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--#if OPENSSL_VERSION_NUMBER < 0x10100000L
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#if (OPENSSL_VERSION_NUMBER < 0x10100000L) || \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x20700000L)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- SSL_library_init();
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ERR_load_crypto_strings();
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- SSL_load_error_strings();
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- sample/openssl_hostname_validation.c.orig 2016-11-01 08:34:53.000000000 -0700
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ sample/openssl_hostname_validation.c 2018-11-04 22:55:58.000000000 -0800
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -48,7 +48,8 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #define HOSTNAME_MAX_SIZE 255
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--#if OPENSSL_VERSION_NUMBER < 0x10100000L
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#if (OPENSSL_VERSION_NUMBER < 0x10100000L) || \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x20700000L)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #define ASN1_STRING_get0_data ASN1_STRING_data
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #endif
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- test/regress_ssl.c.orig 2017-01-22 07:26:24.000000000 -0800
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ test/regress_ssl.c 2018-11-04 22:55:48.000000000 -0800
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -186,7 +186,8 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- void
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- init_ssl(void)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--#if OPENSSL_VERSION_NUMBER < 0x10100000L
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#if (OPENSSL_VERSION_NUMBER < 0x10100000L) || \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x20700000L)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- SSL_library_init();
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ERR_load_crypto_strings();
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- SSL_load_error_strings();
</span></pre><pre style='margin:0'>
</pre>