diff options
author | Georgy Yakovlev <gyakovlev@gentoo.org> | 2019-06-06 21:35:54 -0700 |
---|---|---|
committer | Georgy Yakovlev <gyakovlev@gentoo.org> | 2019-06-06 21:36:12 -0700 |
commit | cff9a317b7d3d0b4f5d5e550fa0ef36696dd53e3 (patch) | |
tree | 5c5c9784a6a1e00b6ac7114872f47deca4622c2b /app-admin/conserver | |
parent | app-admin/conserver: add libressl patch for 8.2.4 (diff) | |
download | gentoo-cff9a317b7d3d0b4f5d5e550fa0ef36696dd53e3.tar.gz gentoo-cff9a317b7d3d0b4f5d5e550fa0ef36696dd53e3.tar.bz2 gentoo-cff9a317b7d3d0b4f5d5e550fa0ef36696dd53e3.zip |
app-admin/conserver: backport libressl patch to 8.2.3
does not affect openssl users, hence no rebvump
Bug: https://bugs.gentoo.org/687542
Package-Manager: Portage-2.3.67, Repoman-2.3.14
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'app-admin/conserver')
-rw-r--r-- | app-admin/conserver/conserver-8.2.3.ebuild | 2 | ||||
-rw-r--r-- | app-admin/conserver/files/8.2.3-libressl.patch | 31 |
2 files changed, 33 insertions, 0 deletions
diff --git a/app-admin/conserver/conserver-8.2.3.ebuild b/app-admin/conserver/conserver-8.2.3.ebuild index 9a067d23f712..d9a7265bfbad 100644 --- a/app-admin/conserver/conserver-8.2.3.ebuild +++ b/app-admin/conserver/conserver-8.2.3.ebuild @@ -32,6 +32,8 @@ RDEPEND="${DEPEND} DOCS=( CHANGES FAQ PROTOCOL README conserver/Sun-serial contrib/maketestcerts) +PATCHES=( "${FILESDIR}/${PV}-libressl.patch" ) + src_prepare() { default sed -e '/^INSTALL_PROGRAM/s:-s::' \ diff --git a/app-admin/conserver/files/8.2.3-libressl.patch b/app-admin/conserver/files/8.2.3-libressl.patch new file mode 100644 index 000000000000..8b04acb7b88c --- /dev/null +++ b/app-admin/conserver/files/8.2.3-libressl.patch @@ -0,0 +1,31 @@ +From f4d2a4a30f930c58bf87511f7ed1a982eca66ce3 Mon Sep 17 00:00:00 2001 +From: Georgy Yakovlev <gyakovlev@gentoo.org> +Date: Thu, 6 Jun 2019 21:30:16 -0700 +Subject: [PATCH] libressl + +backport of https://github.com/conserver/conserver/pull/26 +--- + conserver/cutil.h | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +diff --git a/conserver/cutil.h b/conserver/cutil.h +index 63aef65..07aa6d4 100644 +--- a/conserver/cutil.h ++++ b/conserver/cutil.h +@@ -12,10 +12,12 @@ + # include <openssl/err.h> + # if OPENSSL_VERSION_NUMBER < 0x10100000L + # define TLS_method SSLv23_method ++# endif/* OPENSSL_VERSION_NUMBER < 0x10100000L */ ++# if (OPENSSL_VERSION_NUMBER < 0x10100000L) || defined(LIBRESSL_VERSION_NUMBER) + # define CIPHER_SEC0 + # else + # define CIPHER_SEC0 ":@SECLEVEL=0" +-# endif /* OPENSSL_VERSION_NUMBER < 0x10100000L */ ++# endif/* OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) */ + #endif + #if HAVE_GSSAPI + # include <gssapi/gssapi.h> +-- +2.21.0 + |