From: Tim Harder Date: Tue, 25 Aug 2015 03:28:49 +0000 (-0400) Subject: www-client/lynx: version bump X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5a8d643d2241bd4c785f2209eb0ffaba4f64af84;p=gentoo.git www-client/lynx: version bump --- diff --git a/www-client/lynx/Manifest b/www-client/lynx/Manifest index 3619f51755d5..b80100e20dbb 100644 --- a/www-client/lynx/Manifest +++ b/www-client/lynx/Manifest @@ -1,2 +1,3 @@ DIST lynx2.8.8rel.2.tar.bz2 2587120 SHA256 6980e75cf0d677fd52c116e2e0dfd3884e360970c88c8356a114338500d5bee7 SHA512 a475fb7b79641ddd7c20861e16d3d71ccb1a5ae33247cce0b9e73690dd664ebf129964c026bc33b0f082a7585e5a6acae9afc9a65f308e19b49fa0a8bebc0362 WHIRLPOOL 0b2ee48796fded1be52a097148ca7eaa20e8af6ae316e58e39ecca9814b4b4fc926b0d8f1bf0ffc3c5f78a8923df30abed873c92f6039423e8a442dd2dfe97d5 DIST lynx2.8.9dev.4.tar.bz2 2584900 SHA256 86b06175e6cf7ce3084538f638a5fc1ef02ef32a5a563c5f5241dc3ff277586f SHA512 37f59872ba99730499d443b02e3da081bb63524fc5834d5d70c6d0dceaeab5232aa624eff139230f93c7b36898c7cd4ad6233694b03b6f131a03c6719c0c5f18 WHIRLPOOL e1544cbf7094425a61b60590a92299ad86bcd9b14de8bd851eabb7010e9baaffe24d962c5d1d3dd32bf1dc99d43707d4146070775629be3778ec5898f77aa7c0 +DIST lynx2.8.9dev.6.tar.bz2 2595337 SHA256 3e1f3e8c0df19de9b3d26d6f221b6789dab3ee1302c9cf7a888efcc186f373b5 SHA512 056edcb8567dd3ba1000b7997942006bbff967c7c10c954f378941dea85a245e9148b0d80f0197bf507d06d915e94d6bcc102109fa6f976b8d4a1639288ecdba WHIRLPOOL 7217e0b51e948e04f8d87d42408cf885f23621f93dbadadf20138bc30bf8392ca8c05e7f706f33aea0fdd9748273642199883096ba9a3778b4e792d7fc4ac11b diff --git a/www-client/lynx/lynx-2.8.9_pre6.ebuild b/www-client/lynx/lynx-2.8.9_pre6.ebuild new file mode 100644 index 000000000000..0d1048164601 --- /dev/null +++ b/www-client/lynx/lynx-2.8.9_pre6.ebuild @@ -0,0 +1,98 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils versionator + +# VERSIONING SCHEME TRANSLATION +# Upstream : Gentoo +# rel. : _p +# pre. : _rc +# dev. : _pre + +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="http://lynx.isc.org/" +SRC_URI="http://lynx.isc.org/current/${MY_P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="bzip2 cjk gnutls idn ipv6 nls ssl unicode" + +RDEPEND="sys-libs/ncurses:5=[unicode?] + sys-libs/zlib + nls? ( virtual/libintl ) + ssl? ( + !gnutls? ( >=dev-libs/openssl-0.9.8 ) + gnutls? ( + dev-libs/libgcrypt:0 + >=net-libs/gnutls-2.6.4 + ) + ) + bzip2? ( app-arch/bzip2 ) + idn? ( net-dns/libidn )" + +DEPEND="${RDEPEND} + nls? ( sys-devel/gettext ) + virtual/pkgconfig" + +S="${WORKDIR}/${PN}$(replace_all_version_separators - $(get_version_component_range 1-3))" + +pkg_setup() { + ! use ssl && elog "SSL support disabled; you will not be able to access secure websites." +} + +src_prepare() { + epatch "${FILESDIR}"/${PN}-2.8.6-mint.patch + epatch "${FILESDIR}"/${PN}-2.8.8_p1-parallel.patch +} + +src_configure() { + econf \ + --enable-nested-tables \ + --enable-cgi-links \ + --enable-persistent-cookies \ + --enable-prettysrc \ + --enable-nsl-fork \ + --enable-file-upload \ + --enable-read-eta \ + --enable-color-style \ + --enable-scrollbar \ + --enable-included-msgs \ + --enable-externs \ + --with-zlib \ + $(use_enable nls) \ + $(use_enable idn idna) \ + $(use_enable ipv6) \ + $(use_enable cjk) \ + $(use_enable unicode japanese-utf8) \ + $(use_with bzip2 bzlib) \ + $(usex ssl "--with-$(usex gnutls gnutls ssl)=${EPREFIX}/usr" "") \ + $(usex unicode "--with-screen=ncursesw" "") +} + +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" + if use unicode ; then + sed -i '/^#CHARACTER_SET:/ c\CHARACTER_SET:utf-8' \ + "${ED}"/etc/lynx.cfg || die "lynx.cfg not found" + fi + + dodoc CHANGES COPYHEADER PROBLEMS README + docinto docs + dodoc docs/* + docinto lynx_help + dodoc lynx_help/*.txt + dohtml -r lynx_help/* +}