From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 294E815800C for ; Fri, 30 Dec 2022 07:32:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D930EE0959; Fri, 30 Dec 2022 07:32:32 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BE4EEE0959 for ; Fri, 30 Dec 2022 07:32:32 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7ADC5340E78 for ; Fri, 30 Dec 2022 07:32:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9F34A7F2 for ; Fri, 30 Dec 2022 07:32:29 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1672385511.1a112362effe35062597e8dfc0d3ec54898694f7.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: www-client/lynx/ X-VCS-Repository: repo/gentoo X-VCS-Files: www-client/lynx/Manifest www-client/lynx/lynx-2.9.0_pre11.ebuild www-client/lynx/metadata.xml X-VCS-Directories: www-client/lynx/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 1a112362effe35062597e8dfc0d3ec54898694f7 X-VCS-Branch: master Date: Fri, 30 Dec 2022 07:32:29 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 21822159-2161-460b-832b-118d09c55af2 X-Archives-Hash: 792c5bfb9a0f619b1cf65fada8e2d7b7 commit: 1a112362effe35062597e8dfc0d3ec54898694f7 Author: Sam James gentoo org> AuthorDate: Fri Dec 30 07:10:14 2022 +0000 Commit: Sam James gentoo org> CommitDate: Fri Dec 30 07:31:51 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a112362 www-client/lynx: add 2.9.0_pre11 Signed-off-by: Sam James gentoo.org> www-client/lynx/Manifest | 2 + www-client/lynx/lynx-2.9.0_pre11.ebuild | 108 ++++++++++++++++++++++++++++++++ www-client/lynx/metadata.xml | 1 + 3 files changed, 111 insertions(+) diff --git a/www-client/lynx/Manifest b/www-client/lynx/Manifest index 814ca604fb99..b0bac5a81296 100644 --- a/www-client/lynx/Manifest +++ b/www-client/lynx/Manifest @@ -1,2 +1,4 @@ DIST lynx2.9.0dev.10.tar.bz2 2748823 BLAKE2B d4d5625091dd19fcbb245b51faca0913241491cc5c176702d04fb967abd960cee8a70ceb0fe769978a954cbf8a3bb3eae6cf096e2af600cb5916988a183479bd SHA512 afc8bbd241045a530d2c869b268fce708077024fea4363902d258a174994424e6cc64f066c63db82f08bb7e368647cbed1d420d596a494982f09ae05ec9e8bf5 DIST lynx2.9.0dev.10.tar.bz2.asc 729 BLAKE2B 80c7cfa5e91e3b66af3bce2034c435e3bebbd4601034887bafdcad910619fc7141108f994ad4b095b28042e1f412549ab57182da09710f22e1a37f3249204c12 SHA512 386f1ce3d65db6275f999c3e6b9e4af31ca1f8c7bd2577fa0d130df3eb15685c0badc92b1b853805151b30ddda35f6423ad89f62b4983ad102ede770d6b15e60 +DIST lynx2.9.0dev.11.tar.bz2 2761964 BLAKE2B e5830aa84749b693ccf715b6492b9b2613c313770a3e161f6ff0b816d702a2cdb891486849a9cd2a86a534972bd8ec4dbfb6b70485d98ac714ab7d210f9da2b7 SHA512 d7eaf567f145b31fe3ab827768326c0af28c1ef891c280fa45041184a8f3b4e310a9f8c192d1495b55fb0bf5cb2a08e7310aec728a1f906a3d3d391448ae4121 +DIST lynx2.9.0dev.11.tar.bz2.asc 729 BLAKE2B 7eda78aa36b8f4cb8fd72e107e74ad95977a858297b63f11cb6788282d9471751a6d50dca197f30370b4eddd8c4d3f517da25383470057666b0c2de22c1d38f4 SHA512 e6242445a408b8e3c9740e413f84c27573f8f8d7c40c34d258b4ed6637143d3c6e4483ff587e7cf08b5e337642dc54ebf03d7bef24f009fa10c015ac5e3100ff diff --git a/www-client/lynx/lynx-2.9.0_pre11.ebuild b/www-client/lynx/lynx-2.9.0_pre11.ebuild new file mode 100644 index 000000000000..645aea9979ea --- /dev/null +++ b/www-client/lynx/lynx-2.9.0_pre11.ebuild @@ -0,0 +1,108 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/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-mirror.net/archives/${PN}/tarballs/${MY_P}.tar.bz2" +SRC_URI+=" verify-sig? ( https://invisible-mirror.net/archives/${PN}/tarballs/${MY_P}.tar.bz2.asc )" +S="${WORKDIR}/${MY_P}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-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/libidn:= ) + 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 ) +" + +PATCHES=( + "${FILESDIR}/${PN}-2.9.0_pre9-mint.patch" + "${FILESDIR}/${PN}-2.9.0_pre9-parallel.patch" +) + +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 +} diff --git a/www-client/lynx/metadata.xml b/www-client/lynx/metadata.xml index 142dd473b0ba..0b35e12c1361 100644 --- a/www-client/lynx/metadata.xml +++ b/www-client/lynx/metadata.xml @@ -3,6 +3,7 @@ + Enable support for Brotli decompression Enable HTTPS support. Use gnutls library for HTTPS support (openssl is the default library for HTTPS support).