Gentoo Archives: gentoo-commits

From: "Diego Petteno (flameeyes)" <flameeyes@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-libs/gnutls: gnutls-3.1.9.ebuild ChangeLog gnutls-3.1.6.ebuild gnutls-3.1.5-r1.ebuild
Date: Wed, 27 Feb 2013 19:42:17
Message-Id: 20130227194213.1AA212171D@flycatcher.gentoo.org
1 flameeyes 13/02/27 19:42:13
2
3 Modified: ChangeLog
4 Added: gnutls-3.1.9.ebuild
5 Removed: gnutls-3.1.6.ebuild gnutls-3.1.5-r1.ebuild
6 Log:
7 Version bump; remove old.
8
9 (Portage version: 2.2.0_alpha163/cvs/Linux x86_64, signed Manifest commit with key 1CD13C8AD4301342)
10
11 Revision Changes Path
12 1.410 net-libs/gnutls/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/gnutls/ChangeLog?rev=1.410&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/gnutls/ChangeLog?rev=1.410&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/gnutls/ChangeLog?r1=1.409&r2=1.410
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/net-libs/gnutls/ChangeLog,v
21 retrieving revision 1.409
22 retrieving revision 1.410
23 diff -u -r1.409 -r1.410
24 --- ChangeLog 21 Feb 2013 18:43:17 -0000 1.409
25 +++ ChangeLog 27 Feb 2013 19:42:12 -0000 1.410
26 @@ -1,6 +1,14 @@
27 # ChangeLog for net-libs/gnutls
28 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/net-libs/gnutls/ChangeLog,v 1.409 2013/02/21 18:43:17 zmedico Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/net-libs/gnutls/ChangeLog,v 1.410 2013/02/27 19:42:12 flameeyes Exp $
31 +
32 +*gnutls-3.1.9 (27 Feb 2013)
33 +
34 + 27 Feb 2013; Diego E. Pettenò <flameeyes@g.o> +gnutls-3.1.9.ebuild,
35 + -files/gnutls-3.1.3-guile-parallelmake.patch,
36 + -files/gnutls-3.1.6-danetool.patch, -gnutls-3.1.5-r1.ebuild,
37 + -gnutls-3.1.6.ebuild:
38 + Version bump; remove old.
39
40 21 Feb 2013; Zac Medico <zmedico@g.o> gnutls-3.1.8.ebuild:
41 Add ~arm-linux keyword.
42
43
44
45 1.1 net-libs/gnutls/gnutls-3.1.9.ebuild
46
47 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/gnutls/gnutls-3.1.9.ebuild?rev=1.1&view=markup
48 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/gnutls/gnutls-3.1.9.ebuild?rev=1.1&content-type=text/plain
49
50 Index: gnutls-3.1.9.ebuild
51 ===================================================================
52 # Copyright 1999-2013 Gentoo Foundation
53 # Distributed under the terms of the GNU General Public License v2
54 # $Header: /var/cvsroot/gentoo-x86/net-libs/gnutls/gnutls-3.1.9.ebuild,v 1.1 2013/02/27 19:42:12 flameeyes Exp $
55
56 EAPI=5
57
58 inherit autotools libtool eutils versionator
59
60 DESCRIPTION="A TLS 1.2 and SSL 3.0 implementation for the GNU project"
61 HOMEPAGE="http://www.gnutls.org/"
62 SRC_URI="ftp://ftp.gnutls.org/gcrypt/gnutls/v$(get_version_component_range 1-2)/${P}.tar.xz"
63
64 # LGPL-3 for libgnutls library and GPL-3 for libgnutls-extra library.
65 # soon to be relicensed as LGPL-2.1 unless heartbeat extension enabled.
66 LICENSE="GPL-3 LGPL-3"
67 SLOT="0"
68 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
69 IUSE_LINGUAS=" en cs de fi fr it ms nl pl sv uk vi zh_CN"
70 IUSE="+cxx dane doc examples guile nls pkcs11 static-libs test zlib ${IUSE_LINGUAS// / linguas_}"
71 # heartbeat support is not disabled until re-licensing happens fullyf
72
73 # NOTICE: sys-devel/autogen is required at runtime as we
74 # use system libopts
75 RDEPEND=">=dev-libs/libtasn1-2.14
76 >=dev-libs/nettle-2.5[gmp]
77 sys-devel/autogen
78 dane? ( net-dns/unbound )
79 guile? ( >=dev-scheme/guile-1.8[networking] )
80 nls? ( virtual/libintl )
81 pkcs11? ( >=app-crypt/p11-kit-0.11 )
82 zlib? ( >=sys-libs/zlib-1.2.3.1 )"
83 DEPEND="${RDEPEND}
84 >=sys-devel/automake-1.11.6
85 virtual/pkgconfig
86 doc? ( dev-util/gtk-doc )
87 nls? ( sys-devel/gettext )
88 test? ( app-misc/datefudge )"
89
90 DOCS=( AUTHORS ChangeLog NEWS README THANKS doc/TODO )
91
92 src_prepare() {
93 local dir file
94
95 # tests/suite directory is not distributed.
96 sed -i \
97 -e ':AC_CONFIG_FILES(\[tests/suite/Makefile\]):d' \
98 -e '/^AM_INIT_AUTOMAKE/s/-Werror//' \
99 configure.ac || die
100
101 sed -i \
102 -e 's/imagesdir = $(infodir)/imagesdir = $(htmldir)/' \
103 doc/Makefile.am || die
104
105 rm -f {m4,gl/m4}/{lt*,libtool.m4}
106 find . -name ltmain.sh -delete
107
108 # use system libopts
109 sed -i -e "/^enable_local_libopts/s/yes/no/" configure.ac || die
110
111 # force regeneration of autogen-ed files
112 for file in $(grep -l AutoGen-ed src/*.c) ; do
113 rm src/$(basename ${file} .c).{c,h} || die
114 done
115
116 # support user patches
117 epatch_user
118
119 eautoreconf
120
121 # Use sane .so versioning on FreeBSD.
122 elibtoolize
123 }
124
125 src_configure() {
126 LINGUAS="${LINGUAS//en/en@boldquot en@quot}"
127
128 # TPM needs to be tested before being enabled
129 econf \
130 --htmldir="${EPREFIX}/usr/share/doc/${PF}/html" \
131 --disable-silent-rules \
132 --disable-valgrind-tests \
133 --enable-heartbeat-support \
134 $(use_enable cxx) \
135 $(use_enable dane libdane) \
136 $(use_enable doc gtk-doc) \
137 $(use_enable doc gtk-doc-pdf) \
138 $(use_enable guile) \
139 $(use_enable nls) \
140 $(use_enable static-libs static) \
141 $(use_with pkcs11 p11-kit) \
142 $(use_with zlib) \
143 --without-tpm
144 }
145
146 src_install() {
147 default
148
149 find "${ED}" -name '*.la' -delete
150
151 dodoc doc/certtool.cfg
152
153 if use doc; then
154 dodoc doc/gnutls.pdf
155 dohtml doc/gnutls.html
156 fi
157
158 if use examples; then
159 docinto examples
160 dodoc doc/examples/*.c
161 fi
162 }