libressl: remove obsolete patches and drop --enable-libtls (enabled by default).
This commit is contained in:
parent
5da95578d3
commit
3150143fc5
@ -1,11 +0,0 @@
|
|||||||
--- include/openssl/ssl.h.orig 2015-01-03 11:10:35.105389365 +0100
|
|
||||||
+++ include/openssl/ssl.h 2015-01-03 11:10:44.425472976 +0100
|
|
||||||
@@ -143,6 +143,8 @@
|
|
||||||
#ifndef HEADER_SSL_H
|
|
||||||
#define HEADER_SSL_H
|
|
||||||
|
|
||||||
+#include <inttypes.h>
|
|
||||||
+
|
|
||||||
#include <openssl/opensslconf.h>
|
|
||||||
#include <openssl/hmac.h>
|
|
||||||
#include <openssl/pem.h>
|
|
@ -1,32 +0,0 @@
|
|||||||
--- crypto/compat/issetugid_linux.c
|
|
||||||
+++ crypto/compat/issetugid_linux.c
|
|
||||||
@@ -4,7 +4,9 @@
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <errno.h>
|
|
||||||
+#ifdef __GLIBC__
|
|
||||||
#include <gnu/libc-version.h>
|
|
||||||
+#endif
|
|
||||||
#include <string.h>
|
|
||||||
#include <sys/types.h>
|
|
||||||
#include <unistd.h>
|
|
||||||
@@ -33,15 +35,19 @@
|
|
||||||
* info: http://lwn.net/Articles/519085/
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
+#ifdef __GLIBC__
|
|
||||||
const char *glcv = gnu_get_libc_version();
|
|
||||||
if (strverscmp(glcv, "2.19") >= 0) {
|
|
||||||
+#endif
|
|
||||||
errno = 0;
|
|
||||||
if (getauxval(AT_SECURE) == 0) {
|
|
||||||
if (errno != ENOENT) {
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
+#ifdef __GLIBC__
|
|
||||||
}
|
|
||||||
+#endif
|
|
||||||
#endif
|
|
||||||
return 1;
|
|
||||||
}
|
|
@ -1,10 +1,9 @@
|
|||||||
# Template file for 'libressl'
|
# Template file for 'libressl'
|
||||||
pkgname=libressl
|
pkgname=libressl
|
||||||
version=2.1.6
|
version=2.1.6
|
||||||
revision=1
|
revision=2
|
||||||
bootstrap=yes
|
bootstrap=yes
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--enable-libtls"
|
|
||||||
short_desc="Version of the TLS/crypto stack forked from OpenSSL"
|
short_desc="Version of the TLS/crypto stack forked from OpenSSL"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
license="OpenSSL-License, SSLeay-License, ISC"
|
license="OpenSSL-License, SSLeay-License, ISC"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user