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 0FFB9139085 for ; Wed, 21 Dec 2016 14:39:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 87C9221C072; Wed, 21 Dec 2016 14:39:01 +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 5992721C072 for ; Wed, 21 Dec 2016 14:39:01 +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 2ED87341142 for ; Wed, 21 Dec 2016 14:39:00 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BA9B324E2 for ; Wed, 21 Dec 2016 14:38:58 +0000 (UTC) From: "Marc Schiffbauer" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Marc Schiffbauer" Message-ID: <1482331124.c72b137e5b06bfa196b2a195674848a272ca5e91.mschiff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/ldns/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-libs/ldns/Manifest net-libs/ldns/ldns-1.7.0.ebuild X-VCS-Directories: net-libs/ldns/ X-VCS-Committer: mschiff X-VCS-Committer-Name: Marc Schiffbauer X-VCS-Revision: c72b137e5b06bfa196b2a195674848a272ca5e91 X-VCS-Branch: master Date: Wed, 21 Dec 2016 14:38:58 +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: d5f9bc7c-5d04-46c9-9c93-f0930b3cbf17 X-Archives-Hash: 03b89e0e6bb79687c571a405508d0106 commit: c72b137e5b06bfa196b2a195674848a272ca5e91 Author: Marc Schiffbauer gentoo org> AuthorDate: Wed Dec 21 10:19:30 2016 +0000 Commit: Marc Schiffbauer gentoo org> CommitDate: Wed Dec 21 14:38:44 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c72b137e net-libs/ldns: bump version Package-Manager: Portage-2.3.3, Repoman-2.3.1 net-libs/ldns/Manifest | 1 + net-libs/ldns/ldns-1.7.0.ebuild | 106 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 107 insertions(+) diff --git a/net-libs/ldns/Manifest b/net-libs/ldns/Manifest index e2ae753..c444cb3 100644 --- a/net-libs/ldns/Manifest +++ b/net-libs/ldns/Manifest @@ -1 +1,2 @@ DIST ldns-1.6.17.tar.gz 1315403 SHA256 8b88e059452118e8949a2752a55ce59bc71fa5bc414103e17f5b6b06f9bcc8cd SHA512 5de42b4b8622591db51efb0956735deee9cd5e0bee12249a03b65c5b45d7c51bf9c2edb310ef9d7431af49aef77d968bfa2455a7dedfa80cde3d433436c83785 WHIRLPOOL 08c8a13df3dbeccd5dc5ceeb52730a61ab231e70a85524e826f9275bbcde6e09d6e2fc5234303a6bceb431d2b91f510140ce61a2b59d77afbb2759a0627c7cb7 +DIST ldns-1.7.0.tar.gz 1304424 SHA256 c19f5b1b4fb374cfe34f4845ea11b1e0551ddc67803bd6ddd5d2a20f0997a6cc SHA512 8a4e48bcc2a244b92447a9830b60efbb656fb7955f3559ef2eb6f8e724c4c0208776350c44ccf7dcf1ffe0b7b9d9ccc4cbddc5bc16e8888db494ab4d0bce3bd8 WHIRLPOOL 4450b94dd3e2586230f1691b626947cad7ac2031e343d1e522343570d5b713cfd4bacd52e91713139a88c2fe2406f5f42594d2da0a0474c807f47fd2e98726b1 diff --git a/net-libs/ldns/ldns-1.7.0.ebuild b/net-libs/ldns/ldns-1.7.0.ebuild new file mode 100644 index 00000000..9bec20a --- /dev/null +++ b/net-libs/ldns/ldns-1.7.0.ebuild @@ -0,0 +1,106 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +PYTHON_COMPAT=( python2_7 ) + +inherit eutils multilib-minimal python-single-r1 + +DESCRIPTION="a library with the aim to simplify DNS programming in C" +HOMEPAGE="http://www.nlnetlabs.nl/projects/ldns/" +SRC_URI="http://www.nlnetlabs.nl/downloads/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="+dane doc +ecdsa gost libressl python +ssl static-libs vim-syntax" + +# configure will die if ecdsa is enabled and ssl is not +REQUIRED_USE="ecdsa? ( ssl ) + python? ( ${PYTHON_REQUIRED_USE} )" + +RDEPEND=" + python? ( ${PYTHON_DEPS} ) + dane? ( + !libressl? ( >=dev-libs/openssl-1.0.1e:0[${MULTILIB_USEDEP}] ) + libressl? ( dev-libs/libressl[${MULTILIB_USEDEP}] ) + ) + ecdsa? ( + !libressl? ( >=dev-libs/openssl-1.0.1e:0[-bindist,${MULTILIB_USEDEP}] ) + libressl? ( dev-libs/libressl[${MULTILIB_USEDEP}] ) + ) + gost? ( + !libressl? ( >=dev-libs/openssl-1.0.1e:0[${MULTILIB_USEDEP}] ) + libressl? ( dev-libs/libressl[${MULTILIB_USEDEP}] ) + ) + ssl? ( + !libressl? ( >=dev-libs/openssl-1.0.1e:0[${MULTILIB_USEDEP}] ) + libressl? ( dev-libs/libressl[${MULTILIB_USEDEP}] ) + ) +" +DEPEND="${RDEPEND} + python? ( dev-lang/swig ) + doc? ( app-doc/doxygen ) +" + +RESTRICT="test" # 1.6.9 has no test directory + +MULTILIB_CHOST_TOOLS=( + /usr/bin/ldns-config +) + +pkg_setup() { + use python && python-single-r1_pkg_setup +} + +multilib_src_configure() { + ECONF_SOURCE=${S} \ + econf \ + $(use_enable static-libs static) \ + $(use_enable ssl sha2) \ + $(use_enable gost) \ + $(use_enable ecdsa) \ + $(use_enable dane) \ + $(use_with ssl ssl "${EPREFIX}"/usr) \ + $(multilib_native_use_with python pyldns) \ + $(multilib_native_use_with python pyldnsx) \ + --without-drill \ + --without-examples \ + --disable-dane-ta-usage \ + --disable-rpath + + # >=openssl-1.1.0 required for dane-ta +} + +multilib_src_compile() { + default + + if multilib_is_native_abi && use doc ; then + emake doxygen + fi +} + +multilib_src_install() { + default + + if multilib_is_native_abi && use doc ; then + dohtml -r doc/html/. + fi +} + +multilib_src_install_all() { + dodoc Changelog README* + + prune_libtool_files --modules + use python && python_optimize + + if use vim-syntax ; then + insinto /usr/share/vim/vimfiles/ftdetect + doins libdns.vim + fi + + einfo + elog "Install net-dns/ldns-utils if you want drill and examples" + einfo +}