Gentoo Archives: gentoo-commits

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.4.ebuild
Date: Sun, 01 Mar 2009 20:02:34
Message-Id: E1Ldrr5-0001Cw-ON@stork.gentoo.org
1 dragonheart 09/03/01 20:01:43
2
3 Modified: ChangeLog
4 Added: gnutls-2.6.4.ebuild
5 Log:
6 version bump as per bug #259018 thanks to Arfrever
7 (Portage version: 2.2_rc23/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.180 net-libs/gnutls/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/gnutls/ChangeLog?rev=1.180&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/gnutls/ChangeLog?rev=1.180&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/gnutls/ChangeLog?r1=1.179&r2=1.180
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-libs/gnutls/ChangeLog,v
19 retrieving revision 1.179
20 retrieving revision 1.180
21 diff -u -r1.179 -r1.180
22 --- ChangeLog 28 Feb 2009 23:16:47 -0000 1.179
23 +++ ChangeLog 1 Mar 2009 20:01:43 -0000 1.180
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.179 2009/02/28 23:16:47 dragonheart Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/net-libs/gnutls/ChangeLog,v 1.180 2009/03/01 20:01:43 dragonheart Exp $
29 +
30 +*gnutls-2.6.4 (01 Mar 2009)
31 +
32 + 01 Mar 2009; Daniel Black <dragonheart@g.o> +gnutls-2.6.4.ebuild:
33 + version bump as per bug #259018 thanks to Arfrever
34
35 *gnutls-2.7.6 (28 Feb 2009)
36
37
38
39
40 1.1 net-libs/gnutls/gnutls-2.6.4.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/gnutls/gnutls-2.6.4.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/gnutls/gnutls-2.6.4.ebuild?rev=1.1&content-type=text/plain
44
45 Index: gnutls-2.6.4.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.4.ebuild,v 1.1 2009/03/01 20:01:43 dragonheart Exp $
50
51 EAPI="2"
52 inherit eutils libtool autotools
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 for dir in m4 lib/m4 libextra/m4 ; do
95 rm -f ${dir}/lt* ${dir}/libtool.m4
96 done
97 find . -name ltmain.sh -exec rm {} \;
98
99 # the below patch is in 2.7.* as per
100 # https://savannah.gnu.org/support/?106542
101 epatch "${FILESDIR}"/gnutls-2.6.0-cxx-configure.in.patch
102 epatch "${FILESDIR}"/gnutls-2.6.0-openpgp-selftest.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_with zlib) \
114 $(use_enable nls) \
115 $(use_enable guile) \
116 $(use_enable cxx) \
117 $(use_enable doc gtk-doc) \
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 }