summaryrefslogtreecommitdiff
path: root/www-client/lynx
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-08-31 08:59:54 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-08-31 08:59:54 +0100
commit3b08f674e3f771b49370edb144dab0958c8cf721 (patch)
tree3673eb62859b2343bc70589f2f9d670c2eee5cc8 /www-client/lynx
parentb1c81de4fadbd00897700a7321f03b390d952b2e (diff)
gentoo resync : 31.08.2021
Diffstat (limited to 'www-client/lynx')
-rw-r--r--www-client/lynx/Manifest4
-rw-r--r--www-client/lynx/files/lynx-2.9.0_pre9-mint.patch11
-rw-r--r--www-client/lynx/files/lynx-2.9.0_pre9-parallel.patch69
-rw-r--r--www-client/lynx/lynx-2.9.0_pre9.ebuild98
4 files changed, 182 insertions, 0 deletions
diff --git a/www-client/lynx/Manifest b/www-client/lynx/Manifest
index 74caae22e2c5..800918a575c9 100644
--- a/www-client/lynx/Manifest
+++ b/www-client/lynx/Manifest
@@ -1,5 +1,9 @@
AUX lynx-2.8.6-mint.patch 1001 BLAKE2B 960b2401c262d2b3cb46a443eaa1bf0e8f890745aa2dd8b2455304ff3add46152e3844639fc033d686d0d473e8abc1ba148dbaeecbbd8965e6d941cc75564ca8 SHA512 c3f99d760886139c85aca68d99e4a51d57690c02348c6a5c42bbd640cb848682070e6ca7f13ae7a85ec58659765cb4dc8c58f66919d9276c96dc93f5f31f6674
AUX lynx-2.8.9_p1-parallel.patch 2127 BLAKE2B f78dd62fdf81dfa3403ad358286dc2e27d76b2bb7a65d877317a22635931499687ac75fea6d02866295a65851cfcd7c5ebf5474e1120104d998119eed132e82b SHA512 fe5ea8caab053c0d4240d34c63ee7cfb81254851eaad7e206e2b840b963ad160982566ba5cbee5fa98c732b3ddd3ff8ed88e3b2b8e6328aaa9d8b5350e2d97bc
+AUX lynx-2.9.0_pre9-mint.patch 434 BLAKE2B 90b070232eca8f6e8b1cbbd44aff0f6a9c9403c1321db54b14fc468845248285b45dc5a8e57e1ce9021b4ffe517814c5c0ae7c1c270d7db8c1790b417b2806cb SHA512 0ca26d35c8f5493e720913caf5289e89ec7238b0615a7b4198c8cd1e070afc3f776c8e5bdabbf6d252a4060b486e0333f2f94244163413443504979f5cf32fcc
+AUX lynx-2.9.0_pre9-parallel.patch 2625 BLAKE2B aca2c28c6d73f0b22fe378fdad533264580b9cbbf4fc27b780f6063791b473c10b968a5d20a7d0224006b9a8f2446d2a5e49d82b5ebf6dd72ea27c0439f4ecb1 SHA512 e5bc3076deb0766a5c9f388f92d9aed13e20f01a2e5713bb0c17f3bc20c0949e81d5fa399ceb0941dafaa7e54fbcae39617a135fcad233a384b1d7c366a31e70
DIST lynx2.9.0dev.6.tar.bz2 2730690 BLAKE2B 2b176db49ac053e6c057b366b625883f0877f0bbf9bc2fbc0dfe6a13af48e0c9d5a64de52e794a4e771d7f6b160c74589a9275543f2657cb678bba149cdba38c SHA512 0c15e00a8e36e43671a093182c69593d50bc5c51a4acd92faa59416055bf4a1fd9ecde903a0209963f1f55d1fd85136e8448ca7867e198100ff749c53e1e1531
+DIST lynx2.9.0dev.9.tar.bz2 2746988 BLAKE2B 6b5658b6bc224d02fe89fe31a1b8cdac5f736d68545fb6508f3a3b83e9c7537599dbacf5000320a019f0fab1059d5d4516e8d54341ef7d3384605d9e2f3c19da SHA512 ad343a7bc254cf287accde305db556101f7fa0f081e7c1c4327d7a4366c74cdbfb03ec003b0bc176768bbe726eae3e1bf8361416e0364ccdfe40d63fbc5b6dc4
EBUILD lynx-2.9.0_pre6-r2.ebuild 2536 BLAKE2B 2e56c0a17e40ccba0f78199c3ff7bef7362b8b42d5ef42c1ed7792aa0e1fde92d20c70fdebe9e835083770f155bd0a84cc2ba9d40c1e270196aac8b38bc73247 SHA512 2d9aaa442037c25d0ea67bbd2acbc80361dbba7ebe6f27ed2525f74f6aff594b490bffe3aac9a1791d5470f832cc062151b022e193579b187af9935d25061a89
+EBUILD lynx-2.9.0_pre9.ebuild 2439 BLAKE2B 9ef15104cdc70b696cd4f1fbab3917708bdca54b68d6ea1371dbeec8276a46c8b4611bbf2e4cae40b35e8d1286a4cef6e47bc3d91df5f69e33880cbec883d82a SHA512 e504de4e5b098aaa6710a03e42c557e3f5e698d3a14c2a23b991fc83cfdd6a44ba7d09d9669da8d4c2f965e71ce55df4ee7194dd56d1fe48baadeaab50827373
MISC metadata.xml 453 BLAKE2B a8d91c957ca10093d67ae03289b2f4f117efba84e60ef9f57000302c3672ecd17775e5a826ce345a31d65ce7f1afceeaf37f462cfba2bbdf9d8d0d9f91cbeff6 SHA512 85580db82a1b30c8b57cc7330397774e2628f1d0b708ed68df8ef5380140721bbc85b9faa68ac97cf255a50e84ad9e1bd3f619abc19de8079e9de9e0925f18c7
diff --git a/www-client/lynx/files/lynx-2.9.0_pre9-mint.patch b/www-client/lynx/files/lynx-2.9.0_pre9-mint.patch
new file mode 100644
index 000000000000..584402101c60
--- /dev/null
+++ b/www-client/lynx/files/lynx-2.9.0_pre9-mint.patch
@@ -0,0 +1,11 @@
+--- lynx2-8-6/WWW/Library/Implementation/www_tcp.h.old 2009-03-18 06:45:10.000000000 +0000
++++ lynx2-8-6/WWW/Library/Implementation/www_tcp.h 2009-03-18 06:45:22.000000000 +0000
+@@ -94,7 +94,7 @@
+ # endif
+ #endif /* HAVE_DIRENT_H */
+
+-#if !(defined(DOSPATH) || defined(__EMX__) || defined(__CYGWIN__))
++#if !(defined(DOSPATH) || defined(__EMX__) || defined(__CYGWIN__) || defined(__MINT__))
+ #define STRUCT_DIRENT__D_INO 1
+ #endif
+
diff --git a/www-client/lynx/files/lynx-2.9.0_pre9-parallel.patch b/www-client/lynx/files/lynx-2.9.0_pre9-parallel.patch
new file mode 100644
index 000000000000..7e8d728ec8d2
--- /dev/null
+++ b/www-client/lynx/files/lynx-2.9.0_pre9-parallel.patch
@@ -0,0 +1,69 @@
+diff --git a/makefile.in b/makefile.in
+index 3c42a3e..81142f3 100644
+--- a/makefile.in
++++ b/makefile.in
+@@ -199,10 +199,10 @@ binary_PROG = $(actual_PROG)$x
+
+ all lynx$x: cfg_defs.h LYHelp.h
+ @MSG_DIR_MAKE@ $(SHELL) $(scripts_dir)/fixtext.sh $(srcdir)/LYMessages_en.h >LYMessages.c
+-@MSG_DIR_MAKE@ ( cd $(PO_DIR) && $(MAKE_RECUR) )
+- ( cd $(WWW_DIR) && $(MAKE_RECUR) $(WWW_CFLAGS) )
+- ( cd $(CHR_DIR) && $(MAKE_RECUR) all $(CHR_CFLAGS) )
+- ( cd $(SRC_DIR) && $(MAKE_RECUR) all $(SRC_CFLAGS) )
++@MSG_DIR_MAKE@ $(MAKE) @cf_cv_makeflags@ DESTDIR="$(DESTDIR)" CC="$(CC)" -C $(PO_DIR)
++ $(MAKE) @cf_cv_makeflags@ DESTDIR="$(DESTDIR)" CC="$(CC)" -C $(WWW_DIR) $(WWW_CFLAGS)
++ $(MAKE) @cf_cv_makeflags@ DESTDIR="$(DESTDIR)" CC="$(CC)" -C $(CHR_DIR) all $(CHR_CFLAGS)
++ $(MAKE) @cf_cv_makeflags@ DESTDIR="$(DESTDIR)" CC="$(CC)" -C $(SRC_DIR) all $(SRC_CFLAGS)
+
+ lint:
+ ( cd $(WWW_DIR) && $(MAKE_RECUR) LINT="$(LINT)" $(WWW_CFLAGS) $@ )
+@@ -243,8 +243,8 @@ clean:
+ rm -f core *.core
+
+ depend: cfg_defs.h LYHelp.h
+- ( cd $(WWW_DIR) && $(MAKE_RECUR) $@ )
+- ( cd $(SRC_DIR) && $(MAKE_RECUR) $@ )
++ $(MAKE) @cf_cv_makeflags@ DESTDIR="$(DESTDIR)" CC="$(CC)" -C $(WWW_DIR) $@
++ $(MAKE) @cf_cv_makeflags@ DESTDIR="$(DESTDIR)" CC="$(CC)" -C $(SRC_DIR) $@
+
+ distclean: clean
+ -rm -f WWW/Library/*/*~
+@@ -299,7 +299,7 @@ install-full: install install-help install-doc
+ @echo "Full installation complete."
+
+ install-bin: $(BINDIR) lynx$x
+-@MSG_DIR_MAKE@ ( cd $(PO_DIR) && $(MAKE_RECUR) install )
++@MSG_DIR_MAKE@ $(MAKE) @cf_cv_makeflags@ DESTDIR="$(DESTDIR)" CC="$(CC)" -C $(PO_DIR)
+ @ECHO_CC@$(SHELL) -c "P=$(binary_PROG); \
+ if test -f $(BINDIR)/$$P ; then \
+ mv -f $(BINDIR)/$$P $(BINDIR)/$$P.old; fi"; \
+diff --git a/src/makefile.in b/src/makefile.in
+index 5246226..c4347cc 100644
+--- a/src/makefile.in
++++ b/src/makefile.in
+@@ -117,13 +117,13 @@ message:
+ @echo "Compiling Lynx sources"
+
+ do_chartrans_stuff:
+- -( cd chrtrans && $(MAKE_RECUR) \
++ $(MAKE) @cf_cv_makeflags@ DESTDIR="$(DESTDIR)" CC="$(CC)" -C chrtrans \
+ SITE_DEFS="$(SITE_DEFS)" \
+ BUILD_CFLAGS="$(BUILD_CFLAGS)" \
+ BUILD_CPPFLAGS="$(BUILD_CPPFLAGS)" \
+ BUILD_LDFLAGS="$(BUILD_LDFLAGS)" \
+ BUILD_LIBS="$(BUILD_LIBS)" \
+- BUILD_CC="$(BUILD_CC)" tables )
++ BUILD_CC="$(BUILD_CC)" tables
+
+ lint:
+ $(LINT) $(LINTOPTS) $(CPP_OPTS) $(C_SRC) 2>&1 |tee $(top_builddir)/lint.lynx
+@@ -209,7 +209,7 @@ TABLES= \
+ $(CHRTR)viscii_uni.h
+
+ $(TABLES):
+- -( cd chrtrans && $(MAKE_RECUR) tables )
++ $(MAKE) @cf_cv_makeflags@ DESTDIR="$(DESTDIR)" CC="$(CC)" -C chrtrans tables
+
+ UCdomap$o : UCdomap.c \
+ chrtrans/UCkd.h \
+
diff --git a/www-client/lynx/lynx-2.9.0_pre9.ebuild b/www-client/lynx/lynx-2.9.0_pre9.ebuild
new file mode 100644
index 000000000000..56f7032772c4
--- /dev/null
+++ b/www-client/lynx/lynx-2.9.0_pre9.ebuild
@@ -0,0 +1,98 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+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/lynx/tarballs/${MY_P}.tar.bz2"
+
+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="bzip2 cjk gnutls idn nls ssl"
+
+RDEPEND="sys-libs/ncurses:=[unicode(+)]
+ sys-libs/zlib
+ bzip2? ( app-arch/bzip2 )
+ idn? ( net-dns/libidn:0= )
+ nls? ( virtual/libintl )
+ ssl? (
+ !gnutls? (
+ dev-libs/openssl:0=
+ )
+ gnutls? (
+ dev-libs/libgcrypt:0=
+ >=net-libs/gnutls-2.6.4:=
+ )
+ )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ nls? ( sys-devel/gettext )"
+
+S="${WORKDIR}/${MY_P}"
+
+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 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
+}