Received: by mail.netbsd.org (Postfix, from userid 605) id 18BC584E0A; Mon, 5 Mar 2018 09:16:30 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 731CC84D4D for ; Mon, 5 Mar 2018 09:16:29 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id qC838pZqVneZ for ; Mon, 5 Mar 2018 09:16:28 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id CA04784DAF for ; Mon, 5 Mar 2018 09:16:28 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id C2FC2FB40; Mon, 5 Mar 2018 09:16:28 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_152024138820270" MIME-Version: 1.0 Date: Mon, 5 Mar 2018 09:16:28 +0000 From: "Kamil Rytarowski" Subject: CVS commit: pkgsrc/audio/libshout To: pkgsrc-changes@NetBSD.org Reply-To: kamil@netbsd.org X-Mailer: log_accum Message-Id: <20180305091628.C2FC2FB40@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_152024138820270 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: kamil Date: Mon Mar 5 09:16:28 UTC 2018 Modified Files: pkgsrc/audio/libshout: distinfo Added Files: pkgsrc/audio/libshout/patches: patch-src_tls.c Log Message: libshout: Support OpenSSL 1.1 Keep backwards-compatible support for OpenSSL 1.0. Patch inspired by ArchLinux AUR: libshout-idjc-git. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 pkgsrc/audio/libshout/distinfo cvs rdiff -u -r0 -r1.1 pkgsrc/audio/libshout/patches/patch-src_tls.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_152024138820270 Content-Disposition: inline Content-Length: 1548 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/audio/libshout/distinfo diff -u pkgsrc/audio/libshout/distinfo:1.8 pkgsrc/audio/libshout/distinfo:1.9 --- pkgsrc/audio/libshout/distinfo:1.8 Mon Nov 23 09:51:48 2015 +++ pkgsrc/audio/libshout/distinfo Mon Mar 5 09:16:28 2018 @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.8 2015/11/23 09:51:48 wiz Exp $ +$NetBSD: distinfo,v 1.9 2018/03/05 09:16:28 kamil Exp $ SHA1 (libshout-2.4.1.tar.gz) = cca5606f38e84a4c46223796b06cf7483abaa32f RMD160 (libshout-2.4.1.tar.gz) = 4dc076d0d12161202110b4fd53954314db5e6ebf SHA512 (libshout-2.4.1.tar.gz) = 4d4b958947e020de3330d49d39d59220fc89315f25f653a7456b9aa24ca9566fca30bb3d65e6348e79958656096b6b864ea8885157d24e55c8d84d6604670219 Size (libshout-2.4.1.tar.gz) = 516161 bytes +SHA1 (patch-src_tls.c) = 09e5ce5f0dc7c5a3581fe98b7245ea51daced303 Added files: Index: pkgsrc/audio/libshout/patches/patch-src_tls.c diff -u /dev/null pkgsrc/audio/libshout/patches/patch-src_tls.c:1.1 --- /dev/null Mon Mar 5 09:16:28 2018 +++ pkgsrc/audio/libshout/patches/patch-src_tls.c Mon Mar 5 09:16:28 2018 @@ -0,0 +1,18 @@ +$NetBSD: patch-src_tls.c,v 1.1 2018/03/05 09:16:28 kamil Exp $ + +Support OpenSSL 1.1 + +--- src/tls.c.orig 2015-06-18 04:27:45.000000000 +0000 ++++ src/tls.c +@@ -65,7 +65,11 @@ static inline int tls_setup(shout_tls_t + + SSL_library_init(); + SSL_load_error_strings(); ++#if OPENSSL_VERSION_NUMBER >= 0x10100000 ++ OpenSSL_add_all_algorithms(); ++#else + SSLeay_add_all_algorithms(); ++#endif + SSLeay_add_ssl_algorithms(); + + meth = TLSv1_client_method(); --_----------=_152024138820270--