Commit db6ec0b1 authored by Natanael Copa's avatar Natanael Copa

main/elinks: rebuild against libressl 2.5

parent eccd16bc
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
pkgname=elinks pkgname=elinks
pkgver=0.13 pkgver=0.13
_ver=${pkgver/_/} _ver=${pkgver/_/}
pkgrel=2 pkgrel=3
pkgdesc="a text mode web browser" pkgdesc="a text mode web browser"
url="http://elinks.or.cz/" url="http://elinks.or.cz/"
arch="all" arch="all"
...@@ -14,7 +14,9 @@ install= ...@@ -14,7 +14,9 @@ install=
subpackages="$pkgname-doc $pkgname-lang" subpackages="$pkgname-doc $pkgname-lang"
source="http://dev.alpinelinux.org/archive/elinks/elinks-$pkgver.tar.bz2 source="http://dev.alpinelinux.org/archive/elinks/elinks-$pkgver.tar.bz2
musl-va_copy.patch musl-va_copy.patch
ssl-Make-RAND_egd-optional.patch" ssl-Make-RAND_egd-optional.patch
libressl-2.5.patch
"
builddir="$srcdir"/elinks-0.13-20150624 builddir="$srcdir"/elinks-0.13-20150624
...@@ -51,12 +53,7 @@ package() { ...@@ -51,12 +53,7 @@ package() {
rm "$pkgdir"/usr/share/locale/locale.alias rm "$pkgdir"/usr/share/locale/locale.alias
} }
md5sums="b377364a3f467056dcc25c7e973cd031 elinks-0.13.tar.bz2
8e7c2deee72e1832adab563ba04214da musl-va_copy.patch
7107384670ce67a50e70d9d2b46cbb08 ssl-Make-RAND_egd-optional.patch"
sha256sums="865493187f678a949c2e35fbd302bdc99fbcd9cce253392135928d6db351f705 elinks-0.13.tar.bz2
8beba82169662655aa075b9453334a14c87580282a1e5472fe89393b8b923020 musl-va_copy.patch
2f1f563efcf7ad4a848cb67fd519aa00e320c3e7642c88bf6505859d4e1a31ab ssl-Make-RAND_egd-optional.patch"
sha512sums="9dd7fb674ab914fccaf64b889f6fe3431f95abe1ae76f1df6155fbc89623ec921a4de5f30e896e94c77161c4b4638a29ec19b8e1fe4cbdebdc4666be024f8ed9 elinks-0.13.tar.bz2 sha512sums="9dd7fb674ab914fccaf64b889f6fe3431f95abe1ae76f1df6155fbc89623ec921a4de5f30e896e94c77161c4b4638a29ec19b8e1fe4cbdebdc4666be024f8ed9 elinks-0.13.tar.bz2
56378b4744783e8a07c5e92f3f75cdb7edf7b26881eb033789d71612c3971b3a3c5ada5f02ec422391242cbceb64ff31a2be68298608ed6448c37056d6dedf40 musl-va_copy.patch 56378b4744783e8a07c5e92f3f75cdb7edf7b26881eb033789d71612c3971b3a3c5ada5f02ec422391242cbceb64ff31a2be68298608ed6448c37056d6dedf40 musl-va_copy.patch
df3254ff429540cca66849e03cd6245bd3e82897225ba3bfea9a41ab222c0041e60c61784a9fd6f819b360b6168b6375a5455a97786ab656b24a8e1b4b96bda3 ssl-Make-RAND_egd-optional.patch" df3254ff429540cca66849e03cd6245bd3e82897225ba3bfea9a41ab222c0041e60c61784a9fd6f819b360b6168b6375a5455a97786ab656b24a8e1b4b96bda3 ssl-Make-RAND_egd-optional.patch
6aa70bb8ddf1fb57b2e52ccc9b75d08731e8423f60f60aba31fcba879fbf3758208b0079b9204e2351380483c991ea39bddcc7f426d89fe18971390a01cae79d libressl-2.5.patch"
--- a/src/network/ssl/socket.c.orig 2017-02-08 12:49:43 UTC
+++ b/src/network/ssl/socket.c
@@ -67,7 +67,7 @@ static void
ssl_set_no_tls(struct socket *socket)
{
#ifdef CONFIG_OPENSSL
- ((ssl_t *) socket->ssl)->options |= SSL_OP_NO_TLSv1;
+ SSL_set_options((ssl_t *) socket->ssl, SSL_OP_NO_TLSv1);
#elif defined(CONFIG_GNUTLS)
{
/* GnuTLS does not support SSLv2 because it is "insecure".
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment