Gentoo Archives: gentoo-commits

From: "Tim Harder (radhermit)" <radhermit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-libs/gnutls: ChangeLog gnutls-3.0.5.ebuild gnutls-3.0.3.ebuild gnutls-3.0.4.ebuild
Date: Fri, 28 Oct 2011 22:47:55
Message-Id: 20111028224744.8209B2004B@flycatcher.gentoo.org
1 radhermit 11/10/28 22:47:44
2
3 Modified: ChangeLog
4 Added: gnutls-3.0.5.ebuild
5 Removed: gnutls-3.0.3.ebuild gnutls-3.0.4.ebuild
6 Log:
7 Version bump and remove old.
8
9 (Portage version: 2.2.0_alpha70/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.318 net-libs/gnutls/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/gnutls/ChangeLog?rev=1.318&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/gnutls/ChangeLog?rev=1.318&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/gnutls/ChangeLog?r1=1.317&r2=1.318
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/net-libs/gnutls/ChangeLog,v
21 retrieving revision 1.317
22 retrieving revision 1.318
23 diff -u -r1.317 -r1.318
24 --- ChangeLog 21 Oct 2011 19:10:25 -0000 1.317
25 +++ ChangeLog 28 Oct 2011 22:47:44 -0000 1.318
26 @@ -1,6 +1,12 @@
27 # ChangeLog for net-libs/gnutls
28 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/net-libs/gnutls/ChangeLog,v 1.317 2011/10/21 19:10:25 radhermit Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/net-libs/gnutls/ChangeLog,v 1.318 2011/10/28 22:47:44 radhermit Exp $
31 +
32 +*gnutls-3.0.5 (28 Oct 2011)
33 +
34 + 28 Oct 2011; Tim Harder <radhermit@g.o> -gnutls-3.0.3.ebuild,
35 + -gnutls-3.0.4.ebuild, +gnutls-3.0.5.ebuild:
36 + Version bump and remove old.
37
38 *gnutls-2.12.12 (21 Oct 2011)
39
40
41
42
43 1.1 net-libs/gnutls/gnutls-3.0.5.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/gnutls/gnutls-3.0.5.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/gnutls/gnutls-3.0.5.ebuild?rev=1.1&content-type=text/plain
47
48 Index: gnutls-3.0.5.ebuild
49 ===================================================================
50 # Copyright 1999-2011 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/net-libs/gnutls/gnutls-3.0.5.ebuild,v 1.1 2011/10/28 22:47:44 radhermit Exp $
53
54 EAPI=4
55
56 inherit autotools-utils libtool
57
58 DESCRIPTION="A TLS 1.2 and SSL 3.0 implementation for the GNU project"
59 HOMEPAGE="http://www.gnutls.org/"
60
61 if [[ "${PV}" == *pre* ]]; then
62 SRC_URI="http://daily.josefsson.org/${P%.*}/${P%.*}-${PV#*pre}.tar.gz"
63 else
64 MINOR_VERSION="${PV#*.}"
65 MINOR_VERSION="${MINOR_VERSION%%.*}"
66 if [[ $((MINOR_VERSION % 2)) == 0 ]]; then
67 #SRC_URI="ftp://ftp.gnu.org/pub/gnu/${PN}/${P}.tar.bz2"
68 SRC_URI="mirror://gnu/${PN}/${P}.tar.xz"
69 else
70 SRC_URI="ftp://alpha.gnu.org/gnu/${PN}/${P}.tar.xz"
71 fi
72 unset MINOR_VERSION
73 fi
74
75 # LGPL-2.1 for libgnutls library and GPL-3 for libgnutls-extra library.
76 LICENSE="GPL-3 LGPL-2.1"
77 SLOT="0"
78 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
79 IUSE="+cxx doc examples guile +nettle nls pkcs11 static-libs test zlib"
80
81 # lib/m4/hooks.m4 says that GnuTLS uses a fork of PaKChoiS.
82 RDEPEND="
83 >=dev-libs/libtasn1-0.3.4
84 >=dev-libs/nettle-2.2[gmp]
85 guile? ( >=dev-scheme/guile-1.8[networking] )
86 nls? ( virtual/libintl )
87 pkcs11? ( app-crypt/p11-kit )
88 zlib? ( >=sys-libs/zlib-1.2.3.1 )"
89 DEPEND="${RDEPEND}
90 sys-devel/libtool
91 doc? ( dev-util/gtk-doc )
92 nls? ( sys-devel/gettext )
93 test? ( app-misc/datefudge )"
94
95 S="${WORKDIR}/${P%_pre*}"
96
97 DOCS=( AUTHORS ChangeLog NEWS README THANKS doc/TODO )
98
99 src_prepare() {
100 local dir
101
102 # tests/suite directory is not distributed.
103 sed -i \
104 -e ':AC_CONFIG_FILES(\[tests/suite/Makefile\]):d' \
105 configure.ac || die
106
107 sed -i \
108 -e 's/imagesdir = $(infodir)/imagesdir = $(htmldir)/' \
109 doc/Makefile.am || die
110
111 for dir in m4 gl/m4; do
112 rm -f "${dir}/lt"* "${dir}/libtool.m4"
113 done
114 find . -name ltmain.sh -exec rm {} \;
115 eautoreconf
116
117 # Use sane .so versioning on FreeBSD.
118 elibtoolize
119 }
120
121 src_configure() {
122 local myconf
123 [[ ${VALGRIND_TESTS} != 1 ]] && myconf+=" --disable-valgrind-tests"
124
125 econf \
126 --htmldir="${EPREFIX}/usr/share/doc/${PF}/html" \
127 $(use_enable static-libs static) \
128 $(use_enable cxx) \
129 $(use_enable doc gtk-doc) \
130 $(use_enable doc gtk-doc-pdf) \
131 $(use_enable guile) \
132 $(use_enable nls) \
133 $(use_with pkcs11 p11-kit) \
134 $(use_with zlib) \
135 ${myconf}
136 }
137
138 src_test() {
139 if has_version dev-util/valgrind && [[ ${VALGRIND_TESTS} != 1 ]]; then
140 elog
141 elog "You can set VALGRIND_TESTS=\"1\" to enable Valgrind tests."
142 elog
143 fi
144
145 default
146 }
147
148 src_install() {
149 default
150
151 remove_libtool_files all
152
153 if use doc; then
154 dodoc doc/gnutls.{pdf,ps}
155 dohtml doc/gnutls.html
156 fi
157
158 if use examples; then
159 docinto examples
160 dodoc doc/examples/*.c
161 fi
162 }