public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Anthony G. Basile" <blueness@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: www-client/elinks/
Date: Sat, 21 Nov 2015 07:11:26 +0000 (UTC)	[thread overview]
Message-ID: <1448090237.807b6c2744675b40ccda55e350e4f8b49d5cd2cf.blueness@gentoo> (raw)

commit:     807b6c2744675b40ccda55e350e4f8b49d5cd2cf
Author:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 21 06:52:07 2015 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Sat Nov 21 07:17:17 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=807b6c27

www-client/elinks: add libressl support

Package-Manager: portage-2.2.20.1

 www-client/elinks/elinks-0.12_pre6-r2.ebuild | 184 +++++++++++++++++++++++++++
 1 file changed, 184 insertions(+)

diff --git a/www-client/elinks/elinks-0.12_pre6-r2.ebuild b/www-client/elinks/elinks-0.12_pre6-r2.ebuild
new file mode 100644
index 0000000..23044aa
--- /dev/null
+++ b/www-client/elinks/elinks-0.12_pre6-r2.ebuild
@@ -0,0 +1,184 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+inherit eutils autotools flag-o-matic
+
+MY_P="${P/_/}"
+DESCRIPTION="Advanced and well-established text-mode web browser"
+HOMEPAGE="http://elinks.or.cz/"
+SRC_URI="http://elinks.or.cz/download/${MY_P}.tar.bz2
+	https://dev.gentoo.org/~spock/portage/distfiles/elinks-0.10.4.conf.bz2
+	https://dev.gentoo.org/~axs/distfiles/${PN}-0.12_pre5-js185-patches.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
+IUSE="bittorrent bzip2 debug finger ftp gopher gpm guile idn ipv6 \
+	  javascript libressl lua +mouse nls nntp perl ruby samba ssl unicode X zlib"
+RESTRICT="test"
+
+DEPEND="dev-libs/boehm-gc
+	>=dev-libs/expat-1.95.4
+	bzip2? ( >=app-arch/bzip2-1.0.2 )
+	ssl? (
+		!libressl? ( dev-libs/openssl:0 )
+		libressl? ( dev-libs/libressl )
+	)
+	X? ( x11-libs/libX11 x11-libs/libXt )
+	zlib? ( >=sys-libs/zlib-1.1.4 )
+	lua? ( >=dev-lang/lua-5:0 )
+	gpm? ( >=sys-libs/ncurses-5.2:0 >=sys-libs/gpm-1.20.0-r5 )
+	guile? ( >=dev-scheme/guile-1.6.4-r1[deprecated,discouraged] )
+	idn? ( net-dns/libidn )
+	perl? ( dev-lang/perl )
+	ruby? ( dev-lang/ruby:= dev-ruby/rubygems )
+	samba? ( net-fs/samba )
+	javascript? ( dev-lang/spidermonkey:0 )"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+	cd "${WORKDIR}"
+	epatch "${FILESDIR}"/${PN}-0.10.4.conf-syscharset.diff
+	mv "${PN}-0.10.4.conf" "${PN}.conf"
+	if ! use ftp ; then
+		sed -i -e 's/\(.*protocol.ftp.*\)/# \1/' ${PN}.conf
+	fi
+	sed -i -e 's/\(.*set protocol.ftp.use_epsv.*\)/# \1/' ${PN}.conf
+	cd "${S}"
+
+	if use lua && has_version ">=dev-lang/lua-5.1"; then
+		epatch "${FILESDIR}"/${PN}-0.11.2-lua-5.1.patch
+	fi
+
+	epatch "${FILESDIR}"/${PN}-9999-parallel-make.patch
+	epatch "${FILESDIR}"/${PN}-0.12_pre5-compilation-fix.patch
+
+	if use javascript ; then
+		if has_version ">=dev-lang/spidermonkey-1.8"; then
+			if has_version ">=dev-lang/spidermonkey-1.8.5"; then
+				epatch "${WORKDIR}"/patches/${PN}-0.12_pre5-js185-1-heartbeat.patch
+				epatch "${WORKDIR}"/patches/${PN}-0.12_pre5-js185-2-up.patch
+				epatch "${WORKDIR}"/patches/${PN}-0.12_pre5-js185-3-histback.patch
+				epatch "${FILESDIR}"/${PN}-0.12_pre5-sm185-jsval-fixes.patch
+#				if has_version ">=dev-lang/spidermonkey-1.8.7"; then
+#					# fix lib order in configure check and add mozjs187
+#					# (these seds are necessary so that @preserved-libs copies are not used)
+#					sed -i -e 's:for spidermonkeylib in js .*$:for spidermonkeylib in mozjs187 mozjs185 mozjs js smjs; do:' \
+#						configure.in || die
+#				else
+					# fix lib order in configure check
+					# (these seds are necessary so that @preserved-libs copies are not used)
+					sed -i -e 's:for spidermonkeylib in js .*$:for spidermonkeylib in mozjs185 mozjs js smjs; do:' \
+						configure.in || die
+#				fi
+			else
+				# fix lib order in configure check
+				# (these seds are necessary so that @preserved-libs copies are not used)
+				epatch "${FILESDIR}"/${MY_P}-spidermonkey-callback.patch
+				sed -i -e 's:for spidermonkeylib in js .*$:for spidermonkeylib in mozjs js smjs; do:' \
+					configure.in || die
+			fi
+		fi
+	fi
+	epatch "${FILESDIR}"/${PN}-0.12_pre5-ruby-1.9.patch
+	# Regenerate acinclude.m4 - based on autogen.sh.
+	cat > acinclude.m4 <<- _EOF
+		dnl Automatically generated from config/m4/ files.
+		dnl Do not modify!
+	_EOF
+	cat config/m4/*.m4 >> acinclude.m4
+
+	sed -i -e 's/-Werror//' configure*
+
+	eautoreconf
+}
+
+src_configure() {
+	# NOTE about GNUTSL SSL support (from the README -- 25/12/2002)
+	# As GNUTLS is not yet 100% stable and its support in ELinks is not so well
+	# tested yet, it's recommended for users to give a strong preference to OpenSSL whenever possible.
+	local myconf=""
+
+	if use debug ; then
+		myconf="--enable-debug"
+	else
+		myconf="--enable-fastmem"
+	fi
+
+	if use ssl ; then
+		myconf="${myconf} --with-openssl=${EPREFIX}/usr"
+	else
+		myconf="${myconf} --without-openssl --without-gnutls"
+	fi
+
+	econf \
+		--sysconfdir="${EPREFIX}"/etc/elinks \
+		--enable-leds \
+		--enable-88-colors \
+		--enable-256-colors \
+		--enable-true-color \
+		--enable-html-highlight \
+		$(use_with gpm) \
+		$(use_with zlib) \
+		$(use_with bzip2 bzlib) \
+		$(use_with X x) \
+		$(use_with lua) \
+		$(use_with guile) \
+		$(use_with perl) \
+		$(use_with ruby) \
+		$(use_with idn) \
+		$(use_with javascript spidermonkey) \
+		$(use_enable bittorrent) \
+		$(use_enable nls) \
+		$(use_enable ipv6) \
+		$(use_enable ftp) \
+		$(use_enable gopher) \
+		$(use_enable nntp) \
+		$(use_enable finger) \
+		$(use_enable samba smb) \
+		$(use_enable mouse) \
+		${myconf}
+}
+
+src_compile() {
+	emake V=1
+}
+
+src_install() {
+	emake V=1 DESTDIR="${D}" install
+
+	insopts -m 644 ; insinto /etc/elinks
+	doins "${WORKDIR}"/elinks.conf
+	newins contrib/keybind-full.conf keybind-full.sample
+	newins contrib/keybind.conf keybind.conf.sample
+
+	dodoc AUTHORS BUGS ChangeLog INSTALL NEWS README SITES THANKS TODO doc/*.*
+	docinto contrib ; dodoc contrib/{README,colws.diff,elinks[-.]vim*}
+	insinto /usr/share/doc/${PF}/contrib/lua ; doins contrib/lua/{*.lua,elinks-remote}
+	insinto /usr/share/doc/${PF}/contrib/conv ; doins contrib/conv/*.*
+	insinto /usr/share/doc/${PF}/contrib/guile ; doins contrib/guile/*.scm
+
+	# Remove some conflicting files on OSX.  The files provided by OSX 10.4
+	# are more or less the same.  -- Fabian Groffen (2005-06-30)
+	rm -f "${ED}"/usr/share/locale/locale.alias "${ED}"/usr/lib/charset.alias || die
+}
+
+pkg_postinst() {
+	einfo "This ebuild provides a default config for ELinks."
+	einfo "Please check /etc/elinks/elinks.conf"
+	einfo
+	einfo "You may want to convert your html.cfg and links.cfg of"
+	einfo "Links or older ELinks versions to the new ELinks elinks.conf"
+	einfo "using /usr/share/doc/${PF}/contrib/conv/conf-links2elinks.pl"
+	einfo
+	einfo "Please have a look at /etc/elinks/keybind-full.sample and"
+	einfo "/etc/elinks/keybind.conf.sample for some bindings examples."
+	einfo
+	einfo "You will have to set your TERM variable to 'xterm-256color'"
+	einfo "to be able to use 256 colors in elinks."
+	echo
+}


             reply	other threads:[~2015-11-21  7:11 UTC|newest]

Thread overview: 117+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-21  7:11 Anthony G. Basile [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-02-04 16:58 [gentoo-commits] repo/gentoo:master commit in: www-client/elinks/ James Le Cuirot
2025-01-24  6:33 Arthur Zamarin
2025-01-24  6:33 Arthur Zamarin
2025-01-24  6:33 Arthur Zamarin
2025-01-24  2:23 Sam James
2025-01-24  2:23 Sam James
2025-01-24  2:23 Sam James
2024-11-19 14:10 Sam James
2024-11-19 14:10 Sam James
2024-11-08 11:57 Sam James
2024-11-08 10:59 Sam James
2024-11-08  6:31 Sam James
2024-11-08  3:54 Sam James
2024-10-17  7:35 Sam James
2024-10-17  7:24 Sam James
2024-10-17  7:19 Sam James
2024-10-17  7:13 Sam James
2024-09-18 13:12 Arsen Arsenović
2024-07-16 22:46 Sam James
2024-07-16 21:28 Conrad Kostecki
2024-07-14 14:03 Conrad Kostecki
2024-06-02  0:55 Sam James
2024-06-02  0:55 Sam James
2024-02-29  0:51 Sam James
2024-02-29  0:27 Sam James
2023-10-27 15:20 Michał Górny
2023-09-09  9:51 Sam James
2023-09-09  9:51 Sam James
2023-09-09  9:51 Sam James
2023-09-09  9:44 Sam James
2023-09-09  9:44 Sam James
2023-09-09  9:42 Sam James
2023-09-09  9:28 Arthur Zamarin
2023-09-09  9:28 Arthur Zamarin
2023-05-27 15:55 Sam James
2023-05-21  6:01 Joonas Niilola
2023-05-21  6:01 Joonas Niilola
2023-05-21  0:50 Sam James
2023-05-20 13:00 Sam James
2023-05-10  1:31 Sam James
2023-05-01 10:02 Sam James
2023-05-01  9:39 Sam James
2023-05-01  7:39 Arthur Zamarin
2023-05-01  7:39 Arthur Zamarin
2023-05-01  7:23 Sam James
2023-05-01  7:23 Sam James
2023-05-01  6:45 Arthur Zamarin
2023-05-01  5:16 Sam James
2023-05-01  5:16 Sam James
2023-05-01  5:09 Sam James
2023-04-14 15:51 Michał Górny
2022-12-29 21:41 Sam James
2022-10-28 13:21 Sam James
2022-10-13 19:56 Sam James
2022-10-13  1:51 Sam James
2022-10-13  1:51 Sam James
2021-11-01  8:29 Arthur Zamarin
2021-04-30 18:30 Mikle Kolyada
2021-03-20  8:25 Joonas Niilola
2021-01-24  3:52 Sam James
2021-01-23 22:51 Sam James
2021-01-23 22:42 Sam James
2021-01-23  4:20 Sam James
2021-01-23  4:09 Sam James
2021-01-07 16:52 Sam James
2021-01-07 10:09 Sam James
2021-01-06 11:37 Fabian Groffen
2021-01-06  6:37 Sam James
2021-01-04 19:40 Sergei Trofimovich
2020-10-27 21:18 Sam James
2020-10-27 21:18 Sam James
2020-09-20 13:12 Thomas Deutschmann
2020-09-13 18:36 Sam James
2020-09-13  8:44 Sergei Trofimovich
2020-09-11 17:32 Sergei Trofimovich
2020-09-09 21:59 Sergei Trofimovich
2020-09-09 21:35 Sergei Trofimovich
2020-09-08 15:56 Thomas Deutschmann
2020-09-08  4:35 Sam James
2020-08-07 17:58 Sam James
2020-08-07 17:58 Sam James
2020-08-07 17:58 Sam James
2020-08-07 17:58 Sam James
2020-08-07 17:58 Sam James
2020-06-18  9:52 Andreas Sturmlechner
2019-11-25  7:30 Sergei Trofimovich
2019-11-23 15:51 Agostino Sarubbo
2019-08-29 13:40 Michał Górny
2019-07-28 19:54 Mikle Kolyada
2019-06-27  8:56 Agostino Sarubbo
2019-06-22  9:38 Sergei Trofimovich
2019-06-22  9:32 Sergei Trofimovich
2019-06-20  9:21 Mikle Kolyada
2019-06-18 18:24 Thomas Deutschmann
2019-06-15  9:28 Sergei Trofimovich
2019-04-26 17:59 Anthony G. Basile
2019-04-21  3:13 Anthony G. Basile
2018-08-15 10:33 Michał Górny
2018-03-03 14:52 Michał Górny
2018-03-03 14:52 Michał Górny
2018-02-18 17:25 Patrice Clement
2018-02-18 17:25 Patrice Clement
2018-02-18 17:25 Patrice Clement
2018-02-18 17:25 Patrice Clement
2017-10-22 21:31 Andreas Hüttel
2017-10-22 16:55 Patrice Clement
2017-10-22 16:55 Patrice Clement
2017-10-22 16:55 Patrice Clement
2017-10-22 16:55 Patrice Clement
2017-10-22 16:55 Patrice Clement
2017-10-11 20:00 Jonas Stein
2017-04-21  7:33 David Seifert
2016-04-15 11:17 Anthony G. Basile
2016-04-15 11:17 Anthony G. Basile
2015-12-03  4:00 Mike Frysinger
2015-10-07 18:56 Ian Stakenvicius

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1448090237.807b6c2744675b40ccda55e350e4f8b49d5cd2cf.blueness@gentoo \
    --to=blueness@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox