From: | "Daniel Black (dragonheart)" <dragonheart@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in net-libs/gnutls: ChangeLog gnutls-2.6.5-r1.ebuild |
Date: | Thu, 30 Apr 2009 12:23:48 |
Message-Id: | E1LzVIn-0002C2-9Z@stork.gentoo.org |
1 | dragonheart 09/04/30 12:23:45 |
2 | |
3 | Modified: ChangeLog |
4 | Added: gnutls-2.6.5-r1.ebuild |
5 | Log: |
6 | fix for security bug #267774 |
7 | (Portage version: 2.2_rc31/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.188 net-libs/gnutls/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/gnutls/ChangeLog?rev=1.188&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/gnutls/ChangeLog?rev=1.188&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/gnutls/ChangeLog?r1=1.187&r2=1.188 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/net-libs/gnutls/ChangeLog,v |
19 | retrieving revision 1.187 |
20 | retrieving revision 1.188 |
21 | diff -u -r1.187 -r1.188 |
22 | --- ChangeLog 26 Apr 2009 18:48:50 -0000 1.187 |
23 | +++ ChangeLog 30 Apr 2009 12:23:45 -0000 1.188 |
24 | @@ -1,6 +1,13 @@ |
25 | # ChangeLog for net-libs/gnutls |
26 | # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/net-libs/gnutls/ChangeLog,v 1.187 2009/04/26 18:48:50 arfrever Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/net-libs/gnutls/ChangeLog,v 1.188 2009/04/30 12:23:45 dragonheart Exp $ |
29 | + |
30 | +*gnutls-2.6.5-r1 (30 Apr 2009) |
31 | + |
32 | + 30 Apr 2009; Daniel Black <dragonheart@g.o> |
33 | + +files/CVE-2009-1415.patch, +files/CVE-2009-1416.patch, |
34 | + +files/CVE-2009-1417.patch, +gnutls-2.6.5-r1.ebuild: |
35 | + fix for security bug #267774 |
36 | |
37 | *gnutls-2.7.7 (26 Apr 2009) |
38 | |
39 | |
40 | |
41 | |
42 | 1.1 net-libs/gnutls/gnutls-2.6.5-r1.ebuild |
43 | |
44 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/gnutls/gnutls-2.6.5-r1.ebuild?rev=1.1&view=markup |
45 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/gnutls/gnutls-2.6.5-r1.ebuild?rev=1.1&content-type=text/plain |
46 | |
47 | Index: gnutls-2.6.5-r1.ebuild |
48 | =================================================================== |
49 | # Copyright 1999-2009 Gentoo Foundation |
50 | # Distributed under the terms of the GNU General Public License v2 |
51 | # $Header: /var/cvsroot/gentoo-x86/net-libs/gnutls/gnutls-2.6.5-r1.ebuild,v 1.1 2009/04/30 12:23:45 dragonheart Exp $ |
52 | |
53 | EAPI="2" |
54 | inherit autotools eutils libtool |
55 | |
56 | DESCRIPTION="A TLS 1.0 and SSL 3.0 implementation for the GNU project" |
57 | HOMEPAGE="http://www.gnutls.org/" |
58 | |
59 | MINOR_VERSION="${PV#*.}" |
60 | MINOR_VERSION="${MINOR_VERSION%.*}" |
61 | if [[ $((MINOR_VERSION % 2)) == 0 ]] ; then |
62 | #SRC_URI="ftp://ftp.gnu.org/pub/gnu/${PN}/${P}.tar.bz2" |
63 | SRC_URI="mirror://gnu/${PN}/${P}.tar.bz2" |
64 | else |
65 | SRC_URI="ftp://alpha.gnu.org/gnu/${PN}/${P}.tar.bz2" |
66 | fi |
67 | unset MINOR_VERSION |
68 | |
69 | # GPL-3 for the gnutls-extras library and LGPL for the gnutls library. |
70 | LICENSE="LGPL-2.1 GPL-3" |
71 | SLOT="0" |
72 | KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd" |
73 | IUSE="bindist +cxx doc guile lzo nls zlib" |
74 | |
75 | RDEPEND="dev-libs/libgpg-error |
76 | >=dev-libs/libgcrypt-1.4.0 |
77 | >=dev-libs/libtasn1-0.3.4 |
78 | nls? ( virtual/libintl ) |
79 | guile? ( dev-scheme/guile[networking] ) |
80 | zlib? ( >=sys-libs/zlib-1.1 ) |
81 | !bindist? ( lzo? ( >=dev-libs/lzo-2 ) )" |
82 | DEPEND="${RDEPEND} |
83 | sys-devel/libtool |
84 | doc? ( dev-util/gtk-doc ) |
85 | nls? ( sys-devel/gettext )" |
86 | |
87 | pkg_setup() { |
88 | if use lzo && use bindist; then |
89 | ewarn "lzo support was disabled for binary distribution of gnutls" |
90 | ewarn "due to licensing issues. See Bug 202381 for details." |
91 | epause 5 |
92 | fi |
93 | } |
94 | |
95 | src_prepare() { |
96 | local dir |
97 | for dir in m4 lib/m4 libextra/m4 ; do |
98 | rm -f ${dir}/lt* ${dir}/libtool.m4 |
99 | done |
100 | find . -name ltmain.sh -exec rm {} \; |
101 | |
102 | # the below patch is in 2.7.* as per |
103 | # https://savannah.gnu.org/support/?106542 |
104 | epatch "${FILESDIR}"/gnutls-2.6.0-cxx-configure.in.patch |
105 | epatch "${FILESDIR}"/gnutls-2.6.0-openpgp-selftest.patch |
106 | |
107 | pushd lib |
108 | epatch "${FILESDIR}"/CVE-2009-1415.patch |
109 | epatch "${FILESDIR}"/CVE-2009-1416.patch |
110 | popd |
111 | epatch "${FILESDIR}"/CVE-2009-1417.patch |
112 | |
113 | eautoreconf |
114 | |
115 | elibtoolize # for sane .so versioning on FreeBSD |
116 | } |
117 | |
118 | src_configure() { |
119 | local myconf |
120 | use bindist && myconf="--without-lzo" || myconf="$(use_with lzo)" |
121 | econf \ |
122 | $(use_enable cxx) \ |
123 | $(use_enable doc gtk-doc) \ |
124 | $(use_enable guile) \ |
125 | $(use_enable nls) \ |
126 | $(use_with zlib) \ |
127 | ${myconf} |
128 | } |
129 | |
130 | src_install() { |
131 | emake DESTDIR="${D}" install || die "emake install failed" |
132 | |
133 | dodoc AUTHORS ChangeLog NEWS README THANKS doc/TODO |
134 | |
135 | if use doc ; then |
136 | dodoc doc/README.autoconf doc/tex/gnutls.ps |
137 | docinto examples |
138 | dodoc doc/examples/*.c |
139 | fi |
140 | } |