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: ChangeLog gnutls-2.10.2.ebuild
Date: Fri, 01 Oct 2010 21:18:10
Message-Id: 20101001211803.F1EDE20051@flycatcher.gentoo.org
1 arfrever 10/10/01 21:18:03
2
3 Modified: ChangeLog
4 Added: gnutls-2.10.2.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2_rc88_p65/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.264 net-libs/gnutls/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/gnutls/ChangeLog?rev=1.264&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/gnutls/ChangeLog?rev=1.264&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/gnutls/ChangeLog?r1=1.263&r2=1.264
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-libs/gnutls/ChangeLog,v
20 retrieving revision 1.263
21 retrieving revision 1.264
22 diff -u -r1.263 -r1.264
23 --- ChangeLog 30 Sep 2010 14:46:42 -0000 1.263
24 +++ ChangeLog 1 Oct 2010 21:18:03 -0000 1.264
25 @@ -1,6 +1,12 @@
26 # ChangeLog for net-libs/gnutls
27 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-libs/gnutls/ChangeLog,v 1.263 2010/09/30 14:46:42 ssuominen Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-libs/gnutls/ChangeLog,v 1.264 2010/10/01 21:18:03 arfrever Exp $
30 +
31 +*gnutls-2.10.2 (01 Oct 2010)
32 +
33 + 01 Oct 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o>
34 + +gnutls-2.10.2.ebuild:
35 + Version bump.
36
37 30 Sep 2010; Samuli Suominen <ssuominen@g.o> gnutls-2.11.1.ebuild:
38 Backport USE="test" also to development series.
39
40
41
42 1.1 net-libs/gnutls/gnutls-2.10.2.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/gnutls/gnutls-2.10.2.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/gnutls/gnutls-2.10.2.ebuild?rev=1.1&content-type=text/plain
46
47 Index: gnutls-2.10.2.ebuild
48 ===================================================================
49 # Copyright 1999-2010 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.10.2.ebuild,v 1.1 2010/10/01 21:18:03 arfrever Exp $
52
53 EAPI="3"
54
55 inherit autotools libtool
56
57 DESCRIPTION="A TLS 1.2 and SSL 3.0 implementation for the GNU project"
58 HOMEPAGE="http://www.gnutls.org/"
59
60 if [[ "${PV}" == *pre* ]]; then
61 SRC_URI="http://daily.josefsson.org/${P%.*}/${P%.*}-${PV#*pre}.tar.gz"
62 else
63 MINOR_VERSION="${PV#*.}"
64 MINOR_VERSION="${MINOR_VERSION%.*}"
65 if [[ $((MINOR_VERSION % 2)) == 0 ]]; then
66 #SRC_URI="ftp://ftp.gnu.org/pub/gnu/${PN}/${P}.tar.bz2"
67 SRC_URI="mirror://gnu/${PN}/${P}.tar.bz2"
68 else
69 SRC_URI="ftp://alpha.gnu.org/gnu/${PN}/${P}.tar.bz2"
70 fi
71 unset MINOR_VERSION
72 fi
73
74 # GPL-3 for the gnutls-extras library and LGPL for the gnutls library.
75 LICENSE="LGPL-2.1 GPL-3"
76 SLOT="0"
77 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
78 IUSE="bindist +cxx doc examples guile lzo nls zlib"
79
80 RDEPEND="dev-libs/libgpg-error
81 >=dev-libs/libgcrypt-1.4.0
82 >=dev-libs/libtasn1-0.3.4
83 nls? ( virtual/libintl )
84 guile? ( dev-scheme/guile[networking] )
85 zlib? ( >=sys-libs/zlib-1.1 )
86 !bindist? ( lzo? ( >=dev-libs/lzo-2 ) )"
87 DEPEND="${RDEPEND}
88 sys-devel/libtool
89 doc? ( dev-util/gtk-doc )
90 nls? ( sys-devel/gettext )"
91
92 S="${WORKDIR}/${P%_pre*}"
93
94 pkg_setup() {
95 if use lzo && use bindist; then
96 ewarn "lzo support is disabled for binary distribution of GnuTLS due to licensing issues."
97 fi
98 }
99
100 src_prepare() {
101 sed -e 's/imagesdir = $(infodir)/imagesdir = $(htmldir)/' -i doc/Makefile.am
102
103 local dir
104 for dir in m4 lib/m4 libextra/m4; do
105 rm -f "${dir}/lt"* "${dir}/libtool.m4"
106 done
107 find . -name ltmain.sh -exec rm {} \;
108 for dir in . lib libextra; do
109 pushd "${dir}" > /dev/null
110 eautoreconf
111 popd > /dev/null
112 done
113
114 # Use sane .so versioning on FreeBSD.
115 elibtoolize
116 }
117
118 src_configure() {
119 local myconf
120 use bindist && myconf="--without-lzo" || myconf="$(use_with lzo)"
121 econf --htmldir=/usr/share/doc/${P}/html \
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/gnutls.{pdf,ps}
137 dohtml doc/gnutls.html
138 fi
139
140 if use examples; then
141 docinto examples
142 dodoc doc/examples/*.c
143 fi
144 }