--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
pushed the same commit with a fixed commit title
--
via https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/24976#note_178408