Gentoo Archives: gentoo-commits

From: "Patrick Lauer (patrick)" <patrick@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in www-client/lynx: ChangeLog lynx-2.8.7_rc6.ebuild
Date: Sun, 28 Jun 2009 17:20:44
Message-Id: E1MKy3V-0006kD-Ko@stork.gentoo.org
1 patrick 09/06/28 17:20:41
2
3 Modified: ChangeLog
4 Added: lynx-2.8.7_rc6.ebuild
5 Log:
6 Bump to 2.8.7_rc6, fixes glibc 2.10 issues #273058
7 (Portage version: 2.2_rc33/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.77 www-client/lynx/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/lynx/ChangeLog?rev=1.77&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/lynx/ChangeLog?rev=1.77&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/lynx/ChangeLog?r1=1.76&r2=1.77
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/www-client/lynx/ChangeLog,v
19 retrieving revision 1.76
20 retrieving revision 1.77
21 diff -u -r1.76 -r1.77
22 --- ChangeLog 5 Jun 2009 15:43:51 -0000 1.76
23 +++ ChangeLog 28 Jun 2009 17:20:41 -0000 1.77
24 @@ -1,6 +1,11 @@
25 # ChangeLog for www-client/lynx
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/www-client/lynx/ChangeLog,v 1.76 2009/06/05 15:43:51 loki_val Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/www-client/lynx/ChangeLog,v 1.77 2009/06/28 17:20:41 patrick Exp $
29 +
30 +*lynx-2.8.7_rc6 (28 Jun 2009)
31 +
32 + 28 Jun 2009; Patrick Lauer <patrick@g.o> +lynx-2.8.7_rc6.ebuild:
33 + Bump to 2.8.7_rc6, fixes glibc 2.10 issues #273058
34
35 05 Jun 2009; Peter Alfredsen <loki_val@g.o> -lynx-2.8.6-r3.ebuild,
36 -lynx-2.8.7_rc2.ebuild, metadata.xml:
37
38
39
40 1.1 www-client/lynx/lynx-2.8.7_rc6.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/lynx/lynx-2.8.7_rc6.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/lynx/lynx-2.8.7_rc6.ebuild?rev=1.1&content-type=text/plain
44
45 Index: lynx-2.8.7_rc6.ebuild
46 ===================================================================
47 # Copyright 1999-2009 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/www-client/lynx/lynx-2.8.7_rc6.ebuild,v 1.1 2009/06/28 17:20:41 patrick Exp $
50
51 EAPI=2
52
53 inherit eutils versionator
54
55 # VERSIONING SCHEME TRANSLATION
56 # Upstream : Gentoo
57 # rel. : _p
58 # pre. : _rc
59 # dev. : _pre
60
61 if [[ "${PV/_p[0-9]}" != "${PV}" ]]
62 then
63 MY_P="${PN}${PV/_p/rel.}"
64
65 elif [[ "${PV/_rc[0-9]}" != "${PV}" ]]
66 then
67 MY_P="${PN}${PV/_rc/pre.}"
68
69 elif [[ "${PV/_pre[0-9]}" != "${PV}" ]]
70 then
71 MY_P="${PN}${PV/_pre/dev.}"
72
73 fi
74
75 DESCRIPTION="An excellent console-based web browser with ssl support"
76 HOMEPAGE="http://lynx.isc.org/"
77 SRC_URI="http://lynx.isc.org/current/${MY_P}.tar.bz2"
78
79 LICENSE="GPL-2"
80 SLOT="0"
81 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
82 IUSE="bzip2 cjk gnutls ipv6 nls openssl unicode"
83
84 RDEPEND="sys-libs/ncurses[unicode?]
85 sys-libs/zlib
86 nls? ( virtual/libintl )
87 openssl? ( >=dev-libs/openssl-0.9.8 )
88 !openssl? (
89 gnutls? ( >=net-libs/gnutls-2.6.4 )
90 )
91 bzip2? ( app-arch/bzip2 )"
92
93 DEPEND="${RDEPEND}
94 nls? ( sys-devel/gettext )
95 >=dev-util/pkgconfig-0.23"
96
97 S="${WORKDIR}/${PN}$(replace_all_version_separators - $(get_version_component_range 1-3))"
98
99 pkg_setup() {
100 if use openssl
101 then
102 if use gnutls
103 then
104 elog "Both openssl and gnutls use-flags specified. Openssl will be used."
105 fi
106 else
107 if ! use gnutls
108 then
109 elog "No SSL library selected, you will not be able to access secure websites."
110 fi
111 fi
112 }
113
114 src_configure() {
115 econf \
116 --enable-cgi-links \
117 --enable-persistent-cookies \
118 --enable-prettysrc \
119 --enable-nsl-fork \
120 --enable-file-upload \
121 --enable-read-eta \
122 --enable-color-style \
123 --enable-scrollbar \
124 --enable-included-msgs \
125 --with-zlib \
126 $(use_enable nls) \
127 $(use_enable ipv6) \
128 $(use_enable cjk) \
129 $(use_enable unicode japanese-utf8) \
130 $(use_with openssl ssl) \
131 $(use_with gnutls) \
132 $(use_with bzip2 bzlib) \
133 $(use unicode && printf '%s' '--with-screen=ncursesw')
134 }
135
136 src_install() {
137 make install DESTDIR="${D}" || die
138
139 sed -i -e "s|^HELPFILE.*$|HELPFILE:file://localhost/usr/share/doc/${PF}/lynx_help/lynx_help_main.html|" \
140 "${D}"/etc/lynx.cfg || die "lynx.cfg not found"
141 if use unicode
142 then
143 sed -i -e '/^#CHARACTER_SET:/ c\CHARACTER_SET:utf-8' \
144 "${D}"/etc/lynx.cfg || die "lynx.cfg not found"
145 fi
146 dodoc CHANGES COPYHEADER PROBLEMS README
147 docinto docs
148 dodoc docs/*
149 docinto lynx_help
150 dodoc lynx_help/*.txt
151 dohtml -r lynx_help/*
152 }