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.5.ebuild
Date: Mon, 28 Feb 2011 22:53:58
Message-Id: 20110228225348.D750D20054@flycatcher.gentoo.org
1 arfrever 11/02/28 22:53:48
2
3 Modified: ChangeLog
4 Added: gnutls-2.10.5.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.0_alpha25_p13/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.293 net-libs/gnutls/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/gnutls/ChangeLog?rev=1.293&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/gnutls/ChangeLog?rev=1.293&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/gnutls/ChangeLog?r1=1.292&r2=1.293
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-libs/gnutls/ChangeLog,v
20 retrieving revision 1.292
21 retrieving revision 1.293
22 diff -u -r1.292 -r1.293
23 --- ChangeLog 22 Feb 2011 19:13:37 -0000 1.292
24 +++ ChangeLog 28 Feb 2011 22:53:48 -0000 1.293
25 @@ -1,6 +1,12 @@
26 # ChangeLog for net-libs/gnutls
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-libs/gnutls/ChangeLog,v 1.292 2011/02/22 19:13:37 nixnut Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-libs/gnutls/ChangeLog,v 1.293 2011/02/28 22:53:48 arfrever Exp $
30 +
31 +*gnutls-2.10.5 (28 Feb 2011)
32 +
33 + 28 Feb 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o>
34 + -gnutls-2.8.6.ebuild, -gnutls-2.10.1.ebuild, +gnutls-2.10.5.ebuild:
35 + Version bump.
36
37 22 Feb 2011; nixnut <nixnut@g.o> gnutls-2.10.4.ebuild:
38 ppc stable #352744
39
40
41
42 1.1 net-libs/gnutls/gnutls-2.10.5.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/gnutls/gnutls-2.10.5.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/gnutls/gnutls-2.10.5.ebuild?rev=1.1&content-type=text/plain
46
47 Index: gnutls-2.10.5.ebuild
48 ===================================================================
49 # Copyright 1999-2011 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.5.ebuild,v 1.1 2011/02/28 22:53:48 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 test zlib"
79
80 RDEPEND=">=dev-libs/libgcrypt-1.4.0
81 >=dev-libs/libtasn1-0.3.4
82 nls? ( virtual/libintl )
83 guile? ( >=dev-scheme/guile-1.8[networking] )
84 zlib? ( >=sys-libs/zlib-1.1 )
85 !bindist? ( lzo? ( >=dev-libs/lzo-2 ) )"
86 DEPEND="${RDEPEND}
87 sys-devel/libtool
88 doc? ( dev-util/gtk-doc )
89 nls? ( sys-devel/gettext )
90 test? ( app-misc/datefudge )"
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 [[ "${VALGRIND_TESTS}" != "1" ]] && myconf+=" --disable-valgrind-tests"
122
123 econf --htmldir=/usr/share/doc/${P}/html \
124 $(use_enable cxx) \
125 $(use_enable doc gtk-doc) \
126 $(use_enable guile) \
127 $(use_enable nls) \
128 $(use_with zlib) \
129 ${myconf}
130 }
131
132 src_test() {
133 if has_version dev-util/valgrind && [[ "${VALGRIND_TESTS}" != "1" ]]; then
134 elog
135 elog "You can set VALGRIND_TESTS=\"1\" to enable Valgrind tests."
136 elog
137 fi
138
139 default
140 }
141
142 src_install() {
143 emake DESTDIR="${D}" install || die "emake install failed"
144
145 dodoc AUTHORS ChangeLog NEWS README THANKS doc/TODO || die "dodoc failed"
146
147 if use doc; then
148 dodoc doc/gnutls.{pdf,ps} || die "dodoc failed"
149 dohtml doc/gnutls.html || die "dohtml failed"
150 fi
151
152 if use examples; then
153 docinto examples
154 dodoc doc/examples/*.c || die "dodoc failed"
155 fi
156 }