pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/multimedia/gpac
Module Name: pkgsrc
Committed By: joerg
Date: Fri Jan 10 21:16:40 UTC 2020
Modified Files:
pkgsrc/multimedia/gpac: distinfo
Added Files:
pkgsrc/multimedia/gpac/patches: patch-src_utils_downloader.c
Log Message:
Fix build with OpenSSL 1.1.
To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 pkgsrc/multimedia/gpac/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/multimedia/gpac/patches/patch-src_utils_downloader.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/multimedia/gpac/distinfo
diff -u pkgsrc/multimedia/gpac/distinfo:1.14 pkgsrc/multimedia/gpac/distinfo:1.15
--- pkgsrc/multimedia/gpac/distinfo:1.14 Sun Jan 5 04:11:15 2020
+++ pkgsrc/multimedia/gpac/distinfo Fri Jan 10 21:16:40 2020
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.14 2020/01/05 04:11:15 ryoon Exp $
+$NetBSD: distinfo,v 1.15 2020/01/10 21:16:40 joerg Exp $
SHA1 (gpac-0.8.0.tar.gz) = eb9254a64210992d0fab44dbebe4dd6b9ed169dc
RMD160 (gpac-0.8.0.tar.gz) = a73c08fc4be9b43e9f2173f0a3125a7734347ef6
@@ -6,3 +6,4 @@ SHA512 (gpac-0.8.0.tar.gz) = 47771b9f514
Size (gpac-0.8.0.tar.gz) = 11405239 bytes
SHA1 (patch-Makefile) = 9f6cf58175ab3d95cbcf1c9fdd7b024432f6d08c
SHA1 (patch-configure) = b76d24b134b7e10c613411f08d8374f0e0202599
+SHA1 (patch-src_utils_downloader.c) = 3c55df3e695abb417fa457c71b388eba2df2771f
Added files:
Index: pkgsrc/multimedia/gpac/patches/patch-src_utils_downloader.c
diff -u /dev/null pkgsrc/multimedia/gpac/patches/patch-src_utils_downloader.c:1.1
--- /dev/null Fri Jan 10 21:16:40 2020
+++ pkgsrc/multimedia/gpac/patches/patch-src_utils_downloader.c Fri Jan 10 21:16:40 2020
@@ -0,0 +1,19 @@
+$NetBSD: patch-src_utils_downloader.c,v 1.1 2020/01/10 21:16:40 joerg Exp $
+
+Don't use ancient SSLeay functions. SSLey_add_ssl_algorithms() is mapped to
+SSL_library_init().
+
+--- src/utils/downloader.c.orig 2020-01-09 00:48:40.383588739 +0000
++++ src/utils/downloader.c
+@@ -392,8 +392,9 @@ static Bool init_ssl_lib() {
+ }
+ SSL_library_init();
+ SSL_load_error_strings();
+- SSLeay_add_all_algorithms();
+- SSLeay_add_ssl_algorithms();
++ OPENSSL_init_crypto(OPENSSL_INIT_ADD_ALL_CIPHERS
++ | OPENSSL_INIT_ADD_ALL_DIGESTS
++ | OPENSSL_INIT_LOAD_CONFIG, NULL);
+ _ssl_is_initialized = GF_TRUE;
+ GF_LOG(GF_LOG_DEBUG, GF_LOG_NETWORK, ("[HTTPS] Initalization of SSL library complete.\n"));
+ return GF_FALSE;
Home |
Main Index |
Thread Index |
Old Index