summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Kursawe <phosphan@gentoo.org>2003-07-04 11:45:58 +0000
committerPatrick Kursawe <phosphan@gentoo.org>2003-07-04 11:45:58 +0000
commitf3034b412fbad3c663a12e5eb41ff69f72a907cd (patch)
treeb215ad67460bfad9c53325f1de11d1cb5f9cca7d /net-www/lynx
parentfixing bug 23898 - porn site displayed instead of help (diff)
downloadhistorical-f3034b412fbad3c663a12e5eb41ff69f72a907cd.tar.gz
historical-f3034b412fbad3c663a12e5eb41ff69f72a907cd.tar.bz2
historical-f3034b412fbad3c663a12e5eb41ff69f72a907cd.zip
fixing bug 23898 - porn site displayed instead of help
Diffstat (limited to 'net-www/lynx')
-rw-r--r--net-www/lynx/Manifest4
-rw-r--r--net-www/lynx/files/digest-lynx-2.8.4.1d-r15
-rw-r--r--net-www/lynx/lynx-2.8.4.1d-r1.ebuild83
3 files changed, 90 insertions, 2 deletions
diff --git a/net-www/lynx/Manifest b/net-www/lynx/Manifest
index 3cb9beba49b4..a4e6436e8575 100644
--- a/net-www/lynx/Manifest
+++ b/net-www/lynx/Manifest
@@ -1,8 +1,8 @@
MD5 35acba752736cfd23164a446b9fc122d lynx-2.8.4a-r4.ebuild 1865
MD5 ae67b8179b287b3549d6688943d1d1f1 lynx-2.8.4.1d.ebuild 2307
-MD5 fa49dc6f8735e2d7933894a9b7e0191f lynx-2.8.4.1d-r1.ebuild 2442
+MD5 fbb9e8580b5bd3efca2fc978bc5fe0e0 lynx-2.8.4.1d-r1.ebuild 2448
MD5 7ccd1755fb2562eced8b4f8e1df8e849 lynx-2.8.4.1c.ebuild 2177
-MD5 db4a7c9286065da6b082d9f299ebd7a0 ChangeLog 3219
+MD5 09406b32bd6dfb55fcca66e389473331 ChangeLog 3352
MD5 a5a3cf665f0451dfebbbdc90b2d23a89 files/digest-lynx-2.8.4.1c 260
MD5 a48ecda8afc164dc0252e8d0ed579d49 files/digest-lynx-2.8.4.1d 324
MD5 0dacb03b3e82b0069b0b2d8e9706f234 files/lynx-2.8.4a-LYStrings.c-gentoo.patch 188
diff --git a/net-www/lynx/files/digest-lynx-2.8.4.1d-r1 b/net-www/lynx/files/digest-lynx-2.8.4.1d-r1
new file mode 100644
index 000000000000..28f910b2bc5c
--- /dev/null
+++ b/net-www/lynx/files/digest-lynx-2.8.4.1d-r1
@@ -0,0 +1,5 @@
+MD5 6916c0127839f1e454052b683e4691c4 lynx2.8.4rel.1.tar.bz2 1940531
+MD5 d209e52d8182c7c12d784e90c0890ee4 lynx2.8.4rel.1a.patch 7530
+MD5 a687a3d2465d5fd42ce686485dbf71eb lynx2.8.4rel.1b.patch 8939
+MD5 728c8dfde1484b68940673ccf060707e lynx2.8.4rel.1c.patch 9270
+MD5 f710a4b1eac5be0f014816dd48da6ddc lynx2.8.4rel.1d.patch 4688
diff --git a/net-www/lynx/lynx-2.8.4.1d-r1.ebuild b/net-www/lynx/lynx-2.8.4.1d-r1.ebuild
new file mode 100644
index 000000000000..d5b82007eb22
--- /dev/null
+++ b/net-www/lynx/lynx-2.8.4.1d-r1.ebuild
@@ -0,0 +1,83 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-www/lynx/lynx-2.8.4.1d-r1.ebuild,v 1.1 2003/07/04 11:45:49 phosphan Exp $
+
+IUSE="ssl nls ipv6"
+
+MY_PV=${PV/.1d/rel.1}
+S=${WORKDIR}/${PN}2-8-4
+DESCRIPTION="An excellent console-based web browser with ssl support"
+HOMEPAGE="http://lynx.browser.org/"
+SRC_URI="ftp://lynx.isc.org/${PN}/${PN}2.8.4/${PN}${MY_PV}.tar.bz2
+ ftp://lynx.isc.org/lynx/lynx2.8.4/patches/${PN}${MY_PV}a.patch
+ ftp://lynx.isc.org/lynx/lynx2.8.4/patches/${PN}${MY_PV}b.patch
+ ftp://lynx.isc.org/lynx/lynx2.8.4/patches/${PN}${MY_PV}c.patch
+ ftp://lynx.isc.org/lynx/lynx2.8.4/patches/${PN}${MY_PV}d.patch"
+KEYWORDS="~x86 ~ppc ~sparc alpha hppa ~mips"
+SLOT="0"
+LICENSE="GPL-2"
+
+DEPEND=">=sys-libs/ncurses-5.1
+ >=sys-libs/zlib-1.1.3
+ nls? ( sys-devel/gettext )
+ ssl? ( >=dev-libs/openssl-0.9.6 )"
+
+PROVIDE="virtual/textbrowser"
+
+src_unpack() {
+ unpack ${PN}${MY_PV}.tar.bz2
+ cd ${S}
+
+ patch -p1 < ${DISTDIR}/${PN}${MY_PV}a.patch || die
+ patch -p1 < ${DISTDIR}/${PN}${MY_PV}b.patch || die
+ patch -p1 < ${DISTDIR}/${PN}${MY_PV}c.patch || die
+ patch -p1 < ${DISTDIR}/${PN}${MY_PV}d.patch || die
+
+ # GCC3.1 support -- check if it's really needed in
+ # future. Some users report complete success with -r3 --
+ # credit to lostlogix and carpaski. Resolves #3172
+ patch -p0 < ${FILESDIR}/${P}-gentoo.patch || die
+}
+
+src_compile() {
+ local myconf
+ use nls && myconf="${myconf} --enable-nls"
+ use ssl && myconf="${myconf} --with-ssl=yes"
+ use ipv6 && myconf="${myconf} --enable-ipv6"
+
+ CFLAGS="${CFLAGS} -DANSI_VARARGS"
+
+ econf \
+ --libdir=/etc/lynx \
+ --enable-cgi-links \
+ --enable-prettysrc \
+ --enable-nsl-fork \
+ --enable-file-upload \
+ --enable-read-eta \
+ --enable-libjs \
+ --enable-color-style \
+ --enable-scrollbar \
+ --enable-included-msgs \
+ --with-zlib \
+ ${myconf} || die
+
+ emake || die "compile problem"
+}
+
+src_install() {
+ make prefix=${D}/usr datadir=${D}/usr/share mandir=${D}/usr/share/man \
+ libdir=${D}/etc/lynx install || die
+
+ dosed "s|^HELPFILE.*$|HELPFILE:file://localhost/usr/share/doc/${PF}/lynx_help/lynx_help/lynx_help_main.html|" \
+ /etc/lynx/lynx.cfg
+ dodoc CHANGES COPYHEADER COPYING INSTALLATION PROBLEMS README
+ docinto docs
+ dodoc docs/*
+ docinto lynx_help
+ dodoc lynx_help/*.txt
+ dohtml -r lynx_help
+
+ # small little manpage glitch
+ rm ${D}/usr/share/man/lynx.1
+ newman lynx.man lynx.1
+}