summaryrefslogtreecommitdiff
path: root/www-client/lynx
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-09-18 12:11:36 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-09-18 12:11:36 +0100
commitbcd00c826070701606b0ccebf46234dfc792d3e9 (patch)
tree3aeb69c5dd0a179ff8214b99f8db0aea63953d22 /www-client/lynx
parent7be9edf526114e427a3a44ff8b418fed3ce570aa (diff)
gentoo auto-resync : 18:09:2024 - 12:11:36
Diffstat (limited to 'www-client/lynx')
-rw-r--r--www-client/lynx/Manifest3
-rw-r--r--www-client/lynx/lynx-2.9.2.ebuild113
2 files changed, 116 insertions, 0 deletions
diff --git a/www-client/lynx/Manifest b/www-client/lynx/Manifest
index 11bdd98ba2d9..301e8286928b 100644
--- a/www-client/lynx/Manifest
+++ b/www-client/lynx/Manifest
@@ -6,7 +6,10 @@ DIST lynx2.9.0.tar.bz2 2781819 BLAKE2B 4380d46f28254bda241daae81c2072cd987cdbb4f
DIST lynx2.9.0.tar.bz2.asc 729 BLAKE2B 3221a794194554bd7b6fa577e9455a034802de715e93a9b0046ec4d9e367f0bf3a92b5780a7026c2a4a10cab8076d63964fe02f09bafea4f8fab08b27e3c7f6a SHA512 f08e46bf960a54656045d0874a3dd9811511589147bfe764efce43f87eb62d4a3e448b31edad60a485fc51f57d27dc0b87aae9df2e4dce5fbd9dea2f776a8f5d
DIST lynx2.9.0dev.12.tar.bz2 2762036 BLAKE2B 93bf762271b0419be73b11066b68dcf65e59f4eb1a5c221f0482bc0cad5e88e1cc83eb24c4c40316c37183c37db1178985d4478a2659c9e1b8322e8b6a4c6ff0 SHA512 9dd85d335a0b2c4c28f362cbcbe6499662696286fcc78e827bfafe2787d4a7fcd3faec78a115df8c14ea6e4314a5ea272f5b6353cb13224ecaebb61ae271701b
DIST lynx2.9.0dev.12.tar.bz2.asc 729 BLAKE2B 0e24df945b714acafc17974a908ca0246e4e4f506416cdb4fedb50a0b081fb87ac2b5e272fc27bbb1eee0aeef69ebb99b75583184e434e017b0edae3d9bde4d8 SHA512 fecfcbbf41f83285019a93b59d3ee38263aa0b8fc03914d41af1f9f3f77e1e376c8c686754d3e1a777d6aa853b4f3cfdca5d2a4ffa2ab3fe6ae4952e61a22e16
+DIST lynx2.9.2.tar.bz2 2783769 BLAKE2B 875ac952e956071b1dfeb61fb5848a8a6435931d3ca1fbeef00e95e14d8510641b0b81683c7e2097c13c6cd6431e8b4243c47c5f983829af1a63140673794c23 SHA512 bb9ed23a5f8664ca8bccd95cc55683849aa707f601e209d84e0acaed151b78cd772316f527881022ff120049c4fc586c05d579f9d616a2b108d9ddfaa5b2159d
+DIST lynx2.9.2.tar.bz2.asc 729 BLAKE2B fe8c3dd2a851a20363ab7e9ec498889965b9bb0f7f41cee3a84e451c630f2ec20c6255edd7f49bdc919612a92173755e991b9b13d7fde0d46274a8a6b0fa786c SHA512 2ec01cfa0928806837fdb4d499467e97c1ea90b62789015a7cf7c3ea60ee0eb3422c3cf88bb40f758560a85dfa2301e930ce20096a4f00038662951a1a5254ab
EBUILD lynx-2.9.0.ebuild 2766 BLAKE2B ee55f41dfc7d8bc7b1fe59105078f241640d6b6a0655bb9b762ee4634490efe98076a3e0cf684b9c4bb7c7df975e3c124dda9b7231e0c798981f19e7b70abeab SHA512 f8667cf01bcc953d1fddee2030165e9640f7a40f8721359b701948c42f4c31bfbf695ce5bc43979e19edd8615663ff6b8eee2ecf6d05d31104cbc7357d7a7fb2
EBUILD lynx-2.9.0_pre12-r1.ebuild 2694 BLAKE2B dde04443aa63ebe9b48c56eeeb2e3968656162f90601ba121ef5f9914bf163eb70cd7034bd7d5a8352ad9818f0601d45b33cb7bd2990e06406eb78bacb53d4d5 SHA512 2422f53fcec6a5b448da2480152e12b85e888af44b932ec61bdf1d76323b264ea79705160a86267dbcf1cdf2215d7c925dbdf195b0977588e3212496d848807b
EBUILD lynx-2.9.0_pre12-r2.ebuild 2923 BLAKE2B 23870f50d62103f6d5dff96db077400692ee6241337854788dbe7060a6f4e1b255593886dde2b24a81b6570ffb847e82a6906812ec4121ffa62649d790f984fe SHA512 6a035bc8aa3703536604c5dfe4972f7f4a57bc448505dbbfda396fa8175fce9f53ea394fb9bc299fe05df418d4aab6d17f3b6bbe9af859ec25ceefe5f05909c2
+EBUILD lynx-2.9.2.ebuild 2826 BLAKE2B ffc9be694d305f839171090914d23ca6adb88fd4fe9567de4f17ca0843fd6a17a686c1a5fa114a27ea25cfdc653501bb4879b6aa0e03ab8581a304c0966b6d9c SHA512 18ccb8244093a03bf5c68f4fec20beafaa28f1546378406fd36513fcf88feaaaa0326bdff70cba6e76c36c360947899d29bc275ce64feec6299a5f5bc3dc7b28
MISC metadata.xml 521 BLAKE2B 1c520669081f0dfd89ddc4a9a9c121e02fa4e184d28ed796b7e8e160affff889cefedd23b4a0f38d4d4acd2c9e2e8426715a0b8d0f37fa14d4d12fb4f063a9d8 SHA512 2192536d199e0e00dc2add38560b72c8a772966192f394704bc9410674b413791d2d262fefe729a32726f2c9b166f52f7af54d5d71f0868072853c3cfea151b1
diff --git a/www-client/lynx/lynx-2.9.2.ebuild b/www-client/lynx/lynx-2.9.2.ebuild
new file mode 100644
index 000000000000..20e210342dd4
--- /dev/null
+++ b/www-client/lynx/lynx-2.9.2.ebuild
@@ -0,0 +1,113 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/thomasdickey.asc
+inherit verify-sig
+
+case ${PV} in
+ *_pre*) MY_P="${PN}${PV/_pre/dev.}" ;;
+ *_rc*) MY_P="${PN}${PV/_rc/pre.}" ;;
+ *_p*|*) MY_P="${PN}${PV/_p/rel.}" ;;
+esac
+
+DESCRIPTION="An excellent console-based web browser with ssl support"
+HOMEPAGE="https://lynx.invisible-island.net/"
+SRC_URI="https://invisible-island.net/archives/lynx/tarballs/${MY_P}.tar.bz2"
+SRC_URI+=" verify-sig? ( https://invisible-island.net/archives/lynx/tarballs/${MY_P}.tar.bz2.asc )"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
+IUSE="brotli bzip2 cjk gnutls idn nls ssl"
+
+RDEPEND="
+ sys-libs/ncurses:=[unicode(+)]
+ sys-libs/zlib
+ brotli? ( app-arch/brotli:= )
+ bzip2? ( app-arch/bzip2 )
+ idn? ( net-dns/libidn2:= )
+ nls? ( virtual/libintl )
+ ssl? (
+ !gnutls? (
+ dev-libs/openssl:=
+ )
+ gnutls? (
+ dev-libs/libgcrypt:=
+ >=net-libs/gnutls-2.6.4:=
+ )
+ )"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ virtual/pkgconfig
+ nls? ( sys-devel/gettext )
+ verify-sig? ( >=sec-keys/openpgp-keys-thomasdickey-20240114 )
+"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-2.9.0-mint.patch"
+ "${FILESDIR}/${PN}-2.9.0-parallel.patch"
+)
+
+QA_CONFIG_IMPL_DECL_SKIP=(
+ arc4random # missing on musl but it handles it fine
+ arc4random_push # doesn't exist on Linux
+)
+
+src_configure() {
+ local myconf=(
+ --enable-cgi-links
+ --enable-color-style
+ --enable-externs
+ --enable-file-upload
+ --enable-included-msgs
+ --enable-ipv6
+ --enable-nested-tables
+ --enable-nsl-fork
+ --enable-persistent-cookies
+ --enable-prettysrc
+ --enable-read-eta
+ --enable-scrollbar
+ --with-screen=ncursesw
+ --with-zlib
+ $(use_enable cjk)
+ $(use_enable idn idna)
+ $(use_enable nls)
+ $(use_with brotli)
+ $(use_with bzip2 bzlib)
+ )
+
+ if use ssl; then
+ myconf+=(
+ --with-$(usex gnutls gnutls ssl)="${EPREFIX}/usr"
+ )
+ fi
+
+ econf "${myconf[@]}"
+
+ # Compared to openssl gnutls-openssl API does not use
+ # default trust store: bug #604526.
+ sed -e \
+ "s|#define SSL_CERT_FILE NULL|#define SSL_CERT_FILE \"${EPREFIX}/etc/ssl/certs/ca-certificates.crt\"|" \
+ -i userdefs.h || die
+}
+
+src_compile() {
+ # generating translation files in parallel is currently broken
+ use nls && emake -C po -j1
+ emake
+}
+
+src_install() {
+ emake install DESTDIR="${D}"
+
+ sed -i "s|^HELPFILE.*$|HELPFILE:file://localhost/usr/share/doc/${PF}/lynx_help/lynx_help_main.html|" \
+ "${ED}"/etc/lynx.cfg || die "lynx.cfg not found"
+ sed -i '/^#CHARACTER_SET:/ c\CHARACTER_SET:utf-8' \
+ "${ED}"/etc/lynx.cfg || die "lynx.cfg not found"
+
+ dodoc CHANGES COPYHEADER PROBLEMS README
+ dodoc -r docs lynx_help
+}