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