Gentoo Archives: gentoo-commits

From: "Alon Bar-Lev (alonbl)" <alonbl@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/nettle: nettle-3.1.1.ebuild ChangeLog nettle-3.1.ebuild
Date: Tue, 28 Apr 2015 13:55:53
Message-Id: 20150428075813.A33CF98E@oystercatcher.gentoo.org
1 alonbl 15/04/28 07:58:12
2
3 Modified: ChangeLog
4 Added: nettle-3.1.1.ebuild
5 Removed: nettle-3.1.ebuild
6 Log:
7 Version bump
8
9 (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key BF20DC51)
10
11 Revision Changes Path
12 1.123 dev-libs/nettle/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/nettle/ChangeLog?rev=1.123&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/nettle/ChangeLog?rev=1.123&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/nettle/ChangeLog?r1=1.122&r2=1.123
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/dev-libs/nettle/ChangeLog,v
21 retrieving revision 1.122
22 retrieving revision 1.123
23 diff -u -r1.122 -r1.123
24 --- ChangeLog 26 Apr 2015 15:38:17 -0000 1.122
25 +++ ChangeLog 28 Apr 2015 07:58:12 -0000 1.123
26 @@ -1,6 +1,12 @@
27 # ChangeLog for dev-libs/nettle
28 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/nettle/ChangeLog,v 1.122 2015/04/26 15:38:17 alonbl Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/nettle/ChangeLog,v 1.123 2015/04/28 07:58:12 alonbl Exp $
31 +
32 +*nettle-3.1.1 (28 Apr 2015)
33 +
34 + 28 Apr 2015; Alon Bar-Lev <alonbl@g.o> +nettle-3.1.1.ebuild,
35 + -nettle-3.1.ebuild:
36 + Version bump
37
38 26 Apr 2015; Alon Bar-Lev <alonbl@g.o>
39 -files/nettle-1.14-make-as-needed.patch,
40
41
42
43 1.1 dev-libs/nettle/nettle-3.1.1.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/nettle/nettle-3.1.1.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/nettle/nettle-3.1.1.ebuild?rev=1.1&content-type=text/plain
47
48 Index: nettle-3.1.1.ebuild
49 ===================================================================
50 # Copyright 1999-2015 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/dev-libs/nettle/nettle-3.1.1.ebuild,v 1.1 2015/04/28 07:58:12 alonbl Exp $
53
54 EAPI=5
55 AUTOTOOLS_AUTORECONF=yes
56
57 inherit eutils autotools-multilib multilib toolchain-funcs
58
59 DESCRIPTION="Low-level cryptographic library"
60 HOMEPAGE="http://www.lysator.liu.se/~nisse/nettle/"
61 SRC_URI="http://www.lysator.liu.se/~nisse/archive/${P}.tar.gz"
62
63 LICENSE="|| ( LGPL-3 LGPL-2.1 )"
64 SLOT="0/6" # subslot = libnettle soname version
65 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~x86-solaris"
66 IUSE="doc +gmp neon static-libs test cpu_flags_x86_aes"
67
68 DEPEND="gmp? ( dev-libs/gmp:0[${MULTILIB_USEDEP}] )"
69 RDEPEND="${DEPEND}
70 abi_x86_32? (
71 !<=app-emulation/emul-linux-x86-baselibs-20131008-r17
72 !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
73 )"
74
75 MULTILIB_WRAPPED_HEADERS=(
76 /usr/include/nettle/nettle-stdint.h
77 /usr/include/nettle/version.h
78 )
79
80 src_prepare() {
81 sed -e '/CFLAGS=/s: -ggdb3::' \
82 -e 's/solaris\*)/sunldsolaris*)/' \
83 -i configure.ac || die
84
85 # conditionally build tests and examples required by tests
86 use test || sed -i '/SUBDIRS/s/testsuite examples//' Makefile.in || die
87
88 autotools-utils_src_prepare
89 }
90
91 multilib_src_configure() {
92 # --disable-openssl bug #427526
93 ECONF_SOURCE="${S}" econf \
94 --libdir="${EPREFIX}"/usr/$(get_libdir) \
95 --disable-openssl \
96 --disable-fat \
97 $(use_enable gmp public-key) \
98 $(use_enable static-libs static) \
99 $(tc-is-static-only && echo --disable-shared) \
100 $(use_enable doc documentation) \
101 $(use_enable neon arm-neon) \
102 $(use_enable cpu_flags_x86_aes x86-aesni)
103 }
104
105 multilib_src_install_all() {
106 einstalldocs
107 if use doc ; then
108 dohtml nettle.html
109 dodoc nettle.pdf
110 fi
111 }