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.8.0.ebuild ChangeLog gnutls-2.9.0.ebuild gnutls-2.7.12.ebuild gnutls-2.7.13.ebuild
Date: Thu, 28 May 2009 17:33:34
Message-Id: E1M9jTu-0003jB-MJ@stork.gentoo.org
1 arfrever 09/05/28 17:33:30
2
3 Modified: ChangeLog
4 Added: gnutls-2.8.0.ebuild gnutls-2.9.0.ebuild
5 Removed: gnutls-2.7.12.ebuild gnutls-2.7.13.ebuild
6 Log:
7 Version bumps.
8 (Portage version: 13625-svn/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.201 net-libs/gnutls/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/gnutls/ChangeLog?rev=1.201&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/gnutls/ChangeLog?rev=1.201&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/gnutls/ChangeLog?r1=1.200&r2=1.201
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-libs/gnutls/ChangeLog,v
20 retrieving revision 1.200
21 retrieving revision 1.201
22 diff -u -r1.200 -r1.201
23 --- ChangeLog 25 May 2009 18:12:38 -0000 1.200
24 +++ ChangeLog 28 May 2009 17:33:30 -0000 1.201
25 @@ -1,6 +1,14 @@
26 # ChangeLog for net-libs/gnutls
27 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-libs/gnutls/ChangeLog,v 1.200 2009/05/25 18:12:38 arfrever Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-libs/gnutls/ChangeLog,v 1.201 2009/05/28 17:33:30 arfrever Exp $
30 +
31 +*gnutls-2.9.0 (28 May 2009)
32 +*gnutls-2.8.0 (28 May 2009)
33 +
34 + 28 May 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o>
35 + -gnutls-2.7.12.ebuild, -gnutls-2.7.13.ebuild, +gnutls-2.8.0.ebuild,
36 + +gnutls-2.9.0.ebuild:
37 + Version bumps.
38
39 *gnutls-2.7.13 (25 May 2009)
40
41
42
43
44 1.1 net-libs/gnutls/gnutls-2.8.0.ebuild
45
46 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/gnutls/gnutls-2.8.0.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/gnutls/gnutls-2.8.0.ebuild?rev=1.1&content-type=text/plain
48
49 Index: gnutls-2.8.0.ebuild
50 ===================================================================
51 # Copyright 1999-2009 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/net-libs/gnutls/gnutls-2.8.0.ebuild,v 1.1 2009/05/28 17:33:30 arfrever Exp $
54
55 EAPI="2"
56
57 inherit autotools libtool
58
59 DESCRIPTION="A TLS 1.0 and SSL 3.0 implementation for the GNU project"
60 HOMEPAGE="http://www.gnutls.org/"
61
62 MINOR_VERSION="${PV#*.}"
63 MINOR_VERSION="${MINOR_VERSION%.*}"
64 if [[ $((MINOR_VERSION % 2)) == 0 ]] ; then
65 #SRC_URI="ftp://ftp.gnu.org/pub/gnu/${PN}/${P}.tar.bz2"
66 SRC_URI="mirror://gnu/${PN}/${P}.tar.bz2"
67 else
68 SRC_URI="ftp://alpha.gnu.org/gnu/${PN}/${P}.tar.bz2"
69 fi
70 unset MINOR_VERSION
71
72 # GPL-3 for the gnutls-extras library and LGPL for the gnutls library.
73 LICENSE="LGPL-2.1 GPL-3"
74 SLOT="0"
75 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
76 IUSE="bindist +cxx doc guile lzo nls zlib"
77
78 RDEPEND="dev-libs/libgpg-error
79 >=dev-libs/libgcrypt-1.4.0
80 >=dev-libs/libtasn1-0.3.4
81 nls? ( virtual/libintl )
82 guile? ( dev-scheme/guile[networking] )
83 zlib? ( >=sys-libs/zlib-1.1 )
84 !bindist? ( lzo? ( >=dev-libs/lzo-2 ) )"
85 DEPEND="${RDEPEND}
86 sys-devel/libtool
87 doc? ( dev-util/gtk-doc )
88 nls? ( sys-devel/gettext )"
89
90 pkg_setup() {
91 if use lzo && use bindist; then
92 ewarn "lzo support was disabled for binary distribution of gnutls"
93 ewarn "due to licensing issues. See Bug 202381 for details."
94 epause 5
95 fi
96 }
97
98 src_prepare() {
99 local dir
100 for dir in m4 lib/m4 libextra/m4 ; do
101 rm -f "${dir}/lt"* "${dir}/libtool.m4"
102 done
103 find . -name ltmain.sh -exec rm {} \;
104 for dir in . lib libextra ; do
105 pushd "${dir}" > /dev/null
106 eautoreconf
107 popd > /dev/null
108 done
109
110 elibtoolize # for sane .so versioning on FreeBSD
111 }
112
113 src_configure() {
114 local myconf
115 use bindist && myconf="--without-lzo" || myconf="$(use_with lzo)"
116 econf \
117 $(use_enable cxx) \
118 $(use_enable doc gtk-doc) \
119 $(use_enable guile) \
120 $(use_enable nls) \
121 $(use_with zlib) \
122 ${myconf}
123 }
124
125 src_install() {
126 emake DESTDIR="${D}" install || die "emake install failed"
127
128 dodoc AUTHORS ChangeLog NEWS README THANKS doc/TODO
129
130 if use doc ; then
131 dodoc doc/README.autoconf doc/tex/gnutls.ps
132 docinto examples
133 dodoc doc/examples/*.c
134 fi
135 }
136
137
138
139 1.1 net-libs/gnutls/gnutls-2.9.0.ebuild
140
141 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/gnutls/gnutls-2.9.0.ebuild?rev=1.1&view=markup
142 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/gnutls/gnutls-2.9.0.ebuild?rev=1.1&content-type=text/plain
143
144 Index: gnutls-2.9.0.ebuild
145 ===================================================================
146 # Copyright 1999-2009 Gentoo Foundation
147 # Distributed under the terms of the GNU General Public License v2
148 # $Header: /var/cvsroot/gentoo-x86/net-libs/gnutls/gnutls-2.9.0.ebuild,v 1.1 2009/05/28 17:33:30 arfrever Exp $
149
150 EAPI="2"
151
152 inherit autotools libtool
153
154 DESCRIPTION="A TLS 1.0 and SSL 3.0 implementation for the GNU project"
155 HOMEPAGE="http://www.gnutls.org/"
156
157 MINOR_VERSION="${PV#*.}"
158 MINOR_VERSION="${MINOR_VERSION%.*}"
159 if [[ $((MINOR_VERSION % 2)) == 0 ]] ; then
160 #SRC_URI="ftp://ftp.gnu.org/pub/gnu/${PN}/${P}.tar.bz2"
161 SRC_URI="mirror://gnu/${PN}/${P}.tar.bz2"
162 else
163 SRC_URI="ftp://alpha.gnu.org/gnu/${PN}/${P}.tar.bz2"
164 fi
165 unset MINOR_VERSION
166
167 # GPL-3 for the gnutls-extras library and LGPL for the gnutls library.
168 LICENSE="LGPL-2.1 GPL-3"
169 SLOT="0"
170 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
171 IUSE="bindist +cxx doc guile lzo nls zlib"
172
173 RDEPEND="dev-libs/libgpg-error
174 >=dev-libs/libgcrypt-1.4.0
175 >=dev-libs/libtasn1-0.3.4
176 nls? ( virtual/libintl )
177 guile? ( dev-scheme/guile[networking] )
178 zlib? ( >=sys-libs/zlib-1.1 )
179 !bindist? ( lzo? ( >=dev-libs/lzo-2 ) )"
180 DEPEND="${RDEPEND}
181 sys-devel/libtool
182 doc? ( dev-util/gtk-doc )
183 nls? ( sys-devel/gettext )"
184
185 pkg_setup() {
186 if use lzo && use bindist; then
187 ewarn "lzo support was disabled for binary distribution of gnutls"
188 ewarn "due to licensing issues. See Bug 202381 for details."
189 epause 5
190 fi
191 }
192
193 src_prepare() {
194 local dir
195 for dir in m4 lib/m4 libextra/m4 ; do
196 rm -f "${dir}/lt"* "${dir}/libtool.m4"
197 done
198 find . -name ltmain.sh -exec rm {} \;
199 for dir in . lib libextra ; do
200 pushd "${dir}" > /dev/null
201 eautoreconf
202 popd > /dev/null
203 done
204
205 elibtoolize # for sane .so versioning on FreeBSD
206 }
207
208 src_configure() {
209 local myconf
210 use bindist && myconf="--without-lzo" || myconf="$(use_with lzo)"
211 econf \
212 $(use_enable cxx) \
213 $(use_enable doc gtk-doc) \
214 $(use_enable guile) \
215 $(use_enable nls) \
216 $(use_with zlib) \
217 ${myconf}
218 }
219
220 src_install() {
221 emake DESTDIR="${D}" install || die "emake install failed"
222
223 dodoc AUTHORS ChangeLog NEWS README THANKS doc/TODO
224
225 if use doc ; then
226 dodoc doc/README.autoconf doc/tex/gnutls.ps
227 docinto examples
228 dodoc doc/examples/*.c
229 fi
230 }