From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C173213863A for ; Fri, 21 Oct 2016 08:14:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 00AD3E07C2; Fri, 21 Oct 2016 08:14:38 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C5202E07C2 for ; Fri, 21 Oct 2016 08:14:37 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id EDA2C34165C for ; Fri, 21 Oct 2016 08:14:35 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2369A2F2 for ; Fri, 21 Oct 2016 08:14:34 +0000 (UTC) From: "Alon Bar-Lev" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alon Bar-Lev" Message-ID: <1477037639.db239b8d16e0f064b0ae52c82be8c2bfe1765c5d.alonbl@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/nettle/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/nettle/Manifest dev-libs/nettle/nettle-3.3.ebuild X-VCS-Directories: dev-libs/nettle/ X-VCS-Committer: alonbl X-VCS-Committer-Name: Alon Bar-Lev X-VCS-Revision: db239b8d16e0f064b0ae52c82be8c2bfe1765c5d X-VCS-Branch: master Date: Fri, 21 Oct 2016 08:14:34 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 4058ed5f-699f-4544-97e8-58da87668521 X-Archives-Hash: 8d12f5eb8714b35df5c61a330754b360 commit: db239b8d16e0f064b0ae52c82be8c2bfe1765c5d Author: Alon Bar-Lev gentoo org> AuthorDate: Fri Oct 21 08:13:59 2016 +0000 Commit: Alon Bar-Lev gentoo org> CommitDate: Fri Oct 21 08:13:59 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db239b8d dev-libs/nettle: version bump Bug: 597660 Package-Manager: portage-2.3.0 dev-libs/nettle/Manifest | 1 + dev-libs/nettle/nettle-3.3.ebuild | 63 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 64 insertions(+) diff --git a/dev-libs/nettle/Manifest b/dev-libs/nettle/Manifest index accec1d..48b600a 100644 --- a/dev-libs/nettle/Manifest +++ b/dev-libs/nettle/Manifest @@ -1 +1,2 @@ DIST nettle-3.2.tar.gz 1879604 SHA256 ea4283def236413edab5a4cf9cf32adf540c8df1b9b67641cfc2302fca849d97 SHA512 9f2c802e8b683d1c2fd8d16ab33b2a1efda33a1bf33196be39031a2d0677f2e78d67221a718997780e157aa72973da7d9d549429e706fcfcdff97ee3bbef615a WHIRLPOOL 0353f04760137eef292848b4d8060c40cf2959596aff6f39a1d1bd123e42bc0ecb6f01679f16797204eedb01123c09ae7745121241f6a32cc205bf1c8c6efc12 +DIST nettle-3.3.tar.gz 1887927 SHA256 46942627d5d0ca11720fec18d81fc38f7ef837ea4197c1f630e71ce0d470b11e SHA512 271981d89766f151af3cdc4e5fc43c438222f0f6f44475bad114f4209955b5235fced6526c7abca001cca223e8cfcd2a6bf389b160b305a499e7acf52425ec70 WHIRLPOOL 716df66adaa96019101916a351f1f87f82f0df12269aa0c8a1f3e762f9150ddf09752a817e3479a523f0e76a4d0fe074a3ca403d7df568b63c028d61ec395e80 diff --git a/dev-libs/nettle/nettle-3.3.ebuild b/dev-libs/nettle/nettle-3.3.ebuild new file mode 100644 index 00000000..98a2a4e --- /dev/null +++ b/dev-libs/nettle/nettle-3.3.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit autotools eutils multilib-build multilib-minimal multilib toolchain-funcs + +DESCRIPTION="Low-level cryptographic library" +HOMEPAGE="http://www.lysator.liu.se/~nisse/nettle/" +SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" + +LICENSE="|| ( LGPL-3 LGPL-2.1 )" +SLOT="0/6" # subslot = libnettle soname version +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" +IUSE="doc +gmp neon static-libs test cpu_flags_x86_aes" + +DEPEND="gmp? ( >=dev-libs/gmp-5.0:0=[${MULTILIB_USEDEP}] )" +RDEPEND="${DEPEND} + abi_x86_32? ( + !<=app-emulation/emul-linux-x86-baselibs-20131008-r17 + !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] + )" + +MULTILIB_WRAPPED_HEADERS=( + /usr/include/nettle/nettle-stdint.h + /usr/include/nettle/version.h +) + +src_prepare() { + default + + sed -e '/CFLAGS=/s: -ggdb3::' \ + -e 's/solaris\*)/sunldsolaris*)/' \ + -i configure.ac || die + + # conditionally build tests and examples required by tests + use test || sed -i '/SUBDIRS/s/testsuite examples//' Makefile.in || die + + eautoreconf +} + +multilib_src_configure() { + # --disable-openssl bug #427526 + ECONF_SOURCE="${S}" econf \ + --libdir="${EPREFIX}"/usr/$(get_libdir) \ + --disable-openssl \ + --disable-fat \ + $(use_enable gmp public-key) \ + $(use_enable static-libs static) \ + $(tc-is-static-only && echo --disable-shared) \ + $(use_enable doc documentation) \ + $(use_enable neon arm-neon) \ + $(use_enable cpu_flags_x86_aes x86-aesni) +} + +multilib_src_install_all() { + einstalldocs + if use doc ; then + dohtml nettle.html + dodoc nettle.pdf + fi +}