Received: from smtpfb2-g21.free.fr (smtpfb2-g21.free.fr [212.27.42.10]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTP id 7CAED781AEB for ; Sat, 4 Sep 2021 16:49:22 +0000 (UTC) Received: from smtp2-g21.free.fr (smtp2-g21.free.fr [212.27.42.2]) by smtpfb2-g21.free.fr (Postfix) with ESMTP id CEF76428572 for ; Sat, 4 Sep 2021 16:32:22 +0200 (CEST) Received: from mu.home.arpa (unknown [88.124.43.102]) by smtp2-g21.free.fr (Postfix) with ESMTP id ABDFA20039F; Sat, 4 Sep 2021 16:32:20 +0200 (CEST) From: =?UTF-8?q?Carlo=20D=C3=A9?= To: alpine-aports@lists.alpinelinux.org Cc: =?UTF-8?q?Carlo=20D=C3=A9?= Subject: [PATCH] Improve the provided lynx Date: Sat, 4 Sep 2021 16:31:30 +0200 Message-Id: <20210904143129.6359-1-sbb@tuxfamily.org> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit --enable-default-colors allows to use the terminal's background color. Useful when, for example, black has been redefined as dark gray to appear on a black background. --with-screen=ncursesw better wide char support (implies --enable-widec). --enable-nls add locales. --disable-full-paths look for external commands in the PATH. --enable-externs allow to pass an URL to an external command using "." or ",". For example to pass a page requiring JS to firefox. --- main/lynx/APKBUILD | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/main/lynx/APKBUILD b/main/lynx/APKBUILD index 5ee6c80573..1ad631efad 100644 --- a/main/lynx/APKBUILD +++ b/main/lynx/APKBUILD @@ -4,14 +4,14 @@ pkgname=lynx pkgver=2.8.9_p1 _relver=${pkgver/_p/rel.} -pkgrel=4 +pkgrel=5 pkgdesc="Cross-platform text-based browser" url="https://lynx.invisible-island.net/" arch="all" license="GPL-2.0-only" depends="gzip" makedepends="openssl-dev gettext zlib-dev glib-dev perl ncurses-dev" -subpackages="$pkgname-doc" +subpackages="$pkgname-doc $pkgname-lang" source="http://invisible-mirror.net/archives/lynx/tarballs/lynx$_relver.tar.bz2 CVE-2021-38165.patch" builddir="$srcdir"/$pkgname$_relver @@ -30,7 +30,13 @@ build() { --infodir=/usr/share/info \ --localstatedir=/var \ --enable-ipv6 \ - --with-ssl + --with-ssl \ + --enable-default-colors \ + --with-screen=ncursesw \ + --with-zlib \ + --disable-full-paths \ + --enable-externs \ + --enable-nls make helpdir=/usr/share/doc/lynx/help \ docdir=/usr/share/doc/lynx } -- 2.32.0