From a678b38ef0e61f3c3b904d7657e235a33acab532 Mon Sep 17 00:00:00 2001 From: Duncaen Date: Tue, 5 Nov 2019 00:19:43 +0100 Subject: [PATCH] libressl: update to 3.0.2. --- .../libressl/patches/getprogname-musl.patch | 28 ------------------- srcpkgs/libressl/template | 4 +-- 2 files changed, 2 insertions(+), 30 deletions(-) delete mode 100644 srcpkgs/libressl/patches/getprogname-musl.patch diff --git a/srcpkgs/libressl/patches/getprogname-musl.patch b/srcpkgs/libressl/patches/getprogname-musl.patch deleted file mode 100644 index 63fdf53f7dd..00000000000 --- a/srcpkgs/libressl/patches/getprogname-musl.patch +++ /dev/null @@ -1,28 +0,0 @@ -From a747aacc23607c993cc481378782b2c7dd5bc53b Mon Sep 17 00:00:00 2001 -From: Ishimoto Shinobu <47295761+protonesso@users.noreply.github.com> -Date: Tue, 21 May 2019 22:41:05 +0900 -Subject: [PATCH 1/4] avoid glibc - -cause problems on musl systems ---- - crypto/compat/getprogname_linux.c | 4 +--- - 1 file changed, 1 insertion(+), 3 deletions(-) - -diff --git a/crypto/compat/getprogname_linux.c b/crypto/compat/getprogname_linux.c -index 2c89743..4e7e31f 100644 ---- crypto/compat/getprogname_linux.c -+++ crypto/compat/getprogname_linux.c -@@ -26,9 +26,7 @@ getprogname(void) - #if defined(__ANDROID_API__) && __ANDROID_API__ < 21 - extern const char *__progname; - return __progname; --#elif defined(__GLIBC__) -- return program_invocation_short_name; - #else --#error "Cannot emulate getprogname" -+ return program_invocation_short_name; - #endif - } --- -2.21.0 - diff --git a/srcpkgs/libressl/template b/srcpkgs/libressl/template index 9f1de56df61..35f0987cb08 100644 --- a/srcpkgs/libressl/template +++ b/srcpkgs/libressl/template @@ -1,6 +1,6 @@ # Template file for 'libressl' pkgname=libressl -version=2.9.2 +version=3.0.2 revision=1 bootstrap=yes build_style=gnu-configure @@ -10,7 +10,7 @@ license="OpenSSL-License, SSLeay-License, ISC" #changelog="https://raw.githubusercontent.com/libressl-portable/portable/master/ChangeLog" homepage="http://www.libressl.org/" distfiles="http://ftp.openbsd.org/pub/OpenBSD/LibreSSL/${pkgname}-${version}.tar.gz" -checksum=c4c78167fae325b47aebd8beb54b6041d6f6a56b3743f4bd5d79b15642f9d5d4 +checksum=df7b172bf79b957dd27ef36dcaa1fb162562c0e8999e194aa8c1a3df2f15398e provides="openssl-${version}_${revision}" replaces="openssl>=0" conf_files="/etc/ssl/openssl.cnf /etc/ssl/x509v3.cnf"