aboutsummaryrefslogtreecommitdiffstats
path: root/main/lynx/APKBUILD
diff options
context:
space:
mode:
authorCarlo Dé <sbb@tuxfamily.org>2021-09-04 16:31:30 +0200
committerLeo <thinkabit.ukim@gmail.com>2021-09-04 18:37:48 +0000
commit8ce8e727544bdf1a3faad93abcd5c658138adabf (patch)
tree6bfac1e2cb86b3ea62c8171d7dba090ba66d6905 /main/lynx/APKBUILD
parenta3739a07d478bc4f1f6e0c17612a1c83dffa9ecd (diff)
downloadaports-8ce8e727544bdf1a3faad93abcd5c658138adabf.tar.gz
aports-8ce8e727544bdf1a3faad93abcd5c658138adabf.tar.bz2
aports-8ce8e727544bdf1a3faad93abcd5c658138adabf.tar.xz
main/lynx: improve
--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.
Diffstat (limited to 'main/lynx/APKBUILD')
-rw-r--r--main/lynx/APKBUILD12
1 files 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
}