Gentoo Archives: gentoo-commits

From: "Arfrever Frehtes Taifersar Arahesis (arfrever)" <arfrever@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-libs/gnutls: gnutls-2.7.8.ebuild ChangeLog
Date: Mon, 04 May 2009 08:15:15
Message-Id: E1M0p3t-0005vp-MU@stork.gentoo.org
1 arfrever 09/05/04 03:41:49
2
3 Modified: ChangeLog
4 Added: gnutls-2.7.8.ebuild
5 Log:
6 Version bump.
7 (Portage version: 13611-svn/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.195 net-libs/gnutls/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/gnutls/ChangeLog?rev=1.195&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/gnutls/ChangeLog?rev=1.195&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/gnutls/ChangeLog?r1=1.194&r2=1.195
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-libs/gnutls/ChangeLog,v
19 retrieving revision 1.194
20 retrieving revision 1.195
21 diff -u -r1.194 -r1.195
22 --- ChangeLog 3 May 2009 12:57:27 -0000 1.194
23 +++ ChangeLog 4 May 2009 03:41:49 -0000 1.195
24 @@ -1,6 +1,12 @@
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.194 2009/05/03 12:57:27 ranger Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/net-libs/gnutls/ChangeLog,v 1.195 2009/05/04 03:41:49 arfrever Exp $
29 +
30 +*gnutls-2.7.8 (04 May 2009)
31 +
32 + 04 May 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o>
33 + +gnutls-2.7.8.ebuild, +files/gnutls-2.7.8-lzo.patch:
34 + Version bump.
35
36 03 May 2009; Brent Baude <ranger@g.o> gnutls-2.6.6.ebuild:
37 Marking gnutls-2.6.6 ppc64 and ppc for bug 267774
38
39
40
41 1.1 net-libs/gnutls/gnutls-2.7.8.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/gnutls/gnutls-2.7.8.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/gnutls/gnutls-2.7.8.ebuild?rev=1.1&content-type=text/plain
45
46 Index: gnutls-2.7.8.ebuild
47 ===================================================================
48 # Copyright 1999-2009 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/net-libs/gnutls/gnutls-2.7.8.ebuild,v 1.1 2009/05/04 03:41:49 arfrever Exp $
51
52 EAPI="2"
53
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 epatch "${FILESDIR}/${P}-lzo.patch"
97
98 local dir
99 for dir in m4 lib/m4 libextra/m4 ; do
100 rm -f "${dir}/lt"* "${dir}/libtool.m4"
101 done
102 find . -name ltmain.sh -exec rm {} \;
103 for dir in . lib libextra ; do
104 pushd "${dir}" > /dev/null
105 eautoreconf
106 popd > /dev/null
107 done
108
109 elibtoolize # for sane .so versioning on FreeBSD
110 }
111
112 src_configure() {
113 local myconf
114 use bindist && myconf="--without-lzo" || myconf="$(use_with lzo)"
115 econf \
116 $(use_enable cxx) \
117 $(use_enable doc gtk-doc) \
118 $(use_enable guile) \
119 $(use_enable nls) \
120 $(use_with zlib) \
121 ${myconf}
122 }
123
124 src_install() {
125 emake DESTDIR="${D}" install || die "emake install failed"
126
127 dodoc AUTHORS ChangeLog NEWS README THANKS doc/TODO
128
129 if use doc ; then
130 dodoc doc/README.autoconf doc/tex/gnutls.ps
131 docinto examples
132 dodoc doc/examples/*.c
133 fi
134 }