libressl: update to 3.0.2.

This commit is contained in:
Duncaen 2019-11-05 00:19:43 +01:00 committed by Juan RP
parent 423aa12e91
commit a678b38ef0
2 changed files with 2 additions and 30 deletions

View File

@ -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

View File

@ -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"