elinks: update to 0.14.0, switch upstream.
This commit is contained in:
parent
eb69bdf6bd
commit
1a19a11954
|
@ -1,20 +0,0 @@
|
||||||
Remove this nonsense to allow cross compilation...
|
|
||||||
|
|
||||||
--- configure.in.orig 2015-01-04 09:56:34.986063527 +0100
|
|
||||||
+++ configure.in 2015-01-04 09:56:43.842149084 +0100
|
|
||||||
@@ -44,15 +44,6 @@ if test -e Makefile.config; then
|
|
||||||
fi
|
|
||||||
|
|
||||||
# ===================================================================
|
|
||||||
-# Load feature configuration file and start logging features.
|
|
||||||
-# ===================================================================
|
|
||||||
-
|
|
||||||
-features="features.conf"
|
|
||||||
-AC_CHECK_FILE("$srcdir/$features", [ . $srcdir/$features ])
|
|
||||||
-AC_CHECK_FILE("$builddir/$features", [ . $builddir/$features ])
|
|
||||||
-echo "Feature summary:" > features.log
|
|
||||||
-
|
|
||||||
-# ===================================================================
|
|
||||||
# Checks for programs.
|
|
||||||
# ===================================================================
|
|
||||||
|
|
|
@ -1,11 +0,0 @@
|
||||||
--- src/network/ssl/socket.c.orig 2017-02-08 12:49:43 UTC
|
|
||||||
+++ 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".
|
|
|
@ -1,21 +0,0 @@
|
||||||
$OpenBSD: patch-src_network_ssl_ssl_c,v 1.2 2014/06/02 14:37:16 sthen Exp $
|
|
||||||
--- src/network/ssl/ssl.c.orig Mon Jun 2 12:54:40 2014
|
|
||||||
+++ src/network/ssl/ssl.c Mon Jun 2 12:55:46 2014
|
|
||||||
@@ -49,11 +49,16 @@ init_openssl(struct module *module)
|
|
||||||
* cannot initialize the PRNG and so every attempt to use SSL fails.
|
|
||||||
* It's actually an OpenSSL FAQ, and according to them, it's up to the
|
|
||||||
* application coders to seed the RNG. -- William Yodlowsky */
|
|
||||||
- if (RAND_egd(RAND_file_name(f_randfile, sizeof(f_randfile))) < 0) {
|
|
||||||
+ RAND_file_name(f_randfile, sizeof(f_randfile));
|
|
||||||
+#ifdef HAVE_RAND_EGD
|
|
||||||
+ if (RAND_egd(f_randfile) < 0) {
|
|
||||||
/* Not an EGD, so read and write to it */
|
|
||||||
+#endif
|
|
||||||
if (RAND_load_file(f_randfile, -1))
|
|
||||||
RAND_write_file(f_randfile);
|
|
||||||
+#ifdef HAVE_RAND_EGD
|
|
||||||
}
|
|
||||||
+#endif
|
|
||||||
|
|
||||||
SSLeay_add_ssl_algorithms();
|
|
||||||
context = SSL_CTX_new(SSLv23_client_method());
|
|
|
@ -1,22 +1,23 @@
|
||||||
# Template file for 'elinks'
|
# Template file for 'elinks'
|
||||||
pkgname=elinks
|
pkgname=elinks
|
||||||
version=0.12pre6
|
version=0.14.0
|
||||||
revision=22
|
revision=1
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--enable-true-color --enable-fastmem"
|
configure_args="--enable-true-color --enable-fastmem --without-spidermonkey"
|
||||||
hostmakedepends="automake libtool pkg-config"
|
hostmakedepends="automake libtool pkg-config gettext"
|
||||||
makedepends="gpm-devel zlib-devel bzip2-devel libidn-devel tre-devel ncurses-devel libressl-devel"
|
makedepends="gpm-devel zlib-devel bzip2-devel libidn-devel tre-devel
|
||||||
|
ncurses-devel libressl-devel"
|
||||||
short_desc="Full-Featured Text WWW Browser"
|
short_desc="Full-Featured Text WWW Browser"
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
license="GPL-2.0-only"
|
license="GPL-2.0-only"
|
||||||
homepage="http://elinks.or.cz"
|
homepage="https://github.com/rkd77/elinks"
|
||||||
distfiles="http://elinks.or.cz/download/${pkgname}-${version}.tar.bz2"
|
distfiles="https://github.com/rkd77/elinks/archive/v${version}.tar.gz"
|
||||||
checksum=383646375b8a325bef5a132c8300caab90eb0b842c5f8eff68febc00e29acada
|
checksum=ee1294d9144687ad6d45255a4d1b2802bec2b6285725cb4254a86780efad668f
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
sed -i 's,VA_COPY,va_copy,g' src/*/*.c
|
|
||||||
autoreconf -fi
|
autoreconf -fi
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
rm -f ${DESTDIR}/usr/share/locale/locale.alias
|
rm ${DESTDIR}/usr/share/locale/locale.alias
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue