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