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 F074D139694 for ; Mon, 8 May 2017 11:30:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 51FB3E0DBD; Mon, 8 May 2017 11:30:12 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 245EDE0DBD for ; Mon, 8 May 2017 11:30:12 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9D25D3416DE for ; Mon, 8 May 2017 11:30:10 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E509B2494 for ; Mon, 8 May 2017 11:30:07 +0000 (UTC) From: "Tony Vroon" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Tony Vroon" Message-ID: <1494243003.065d8dc0c4910542899a2a029c2111e174058c33.chainsaw@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/kea/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-misc/kea/Manifest net-misc/kea/kea-1.2.0.ebuild net-misc/kea/metadata.xml X-VCS-Directories: net-misc/kea/ X-VCS-Committer: chainsaw X-VCS-Committer-Name: Tony Vroon X-VCS-Revision: 065d8dc0c4910542899a2a029c2111e174058c33 X-VCS-Branch: master Date: Mon, 8 May 2017 11:30:07 +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: fe081ca2-e231-4707-8f49-0e987fd38aac X-Archives-Hash: 54459748b41a9ac6c8d5f243c37f4352 commit: 065d8dc0c4910542899a2a029c2111e174058c33 Author: Tony Vroon gentoo org> AuthorDate: Mon May 8 11:28:52 2017 +0000 Commit: Tony Vroon gentoo org> CommitDate: Mon May 8 11:30:03 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=065d8dc0 net-misc/kea: Version bump to 1.2.0; OpenSSL/Botan switching & conditional sample configuration installation by Kim B. Sindalsen in bug #581976. Package-Manager: Portage-2.3.5, Repoman-2.3.2 net-misc/kea/Manifest | 1 + net-misc/kea/kea-1.2.0.ebuild | 58 +++++++++++++++++++++++++++++++++++++++++++ net-misc/kea/metadata.xml | 6 ++++- 3 files changed, 64 insertions(+), 1 deletion(-) diff --git a/net-misc/kea/Manifest b/net-misc/kea/Manifest index 0788df86021..c55febf52d9 100644 --- a/net-misc/kea/Manifest +++ b/net-misc/kea/Manifest @@ -1 +1,2 @@ DIST kea-1.1.0.tar.gz 4934875 SHA256 c3d97aee4faa19653ffe6d37e797e2fbf632124cd0b98bb502f9b97b5a383c2d SHA512 4ccc2ac493e8ce31d8a0574acac430137965aef11c7dd98a5e11ee88a157503a6efbdbf39e89b04cf7349474051affa993dd0aa65420bd783209e0a8a1d253ea WHIRLPOOL e666a81b8e645f503acefbdc4a9ca79da12eb7028d6d03d4ca1e03debfdc642f633d6ef4910692f30edf1193a0c74bd65378fa75abed596bcdac1e29371c1553 +DIST kea-1.2.0.tar.gz 5720941 SHA256 22d15945b13600b56c37213797ca1f3ee9851e6119120aeae08033c4cc52d129 SHA512 d90571027edbce9eeb75d9ac889865dc24c2fd3ab17e44e23337ff623ca098ffd02560f01273da3c28f13734d95d5950110bc116bed527a295a9dc70addcc240 WHIRLPOOL 0a91707b70396354abebba6807f44f509d95eaa8c4a4a4766fe8cea953a7c73d36d0cbea85588ec0d88d1cce0e4bc91c1ae10de92de756295b4595ec890b2e74 diff --git a/net-misc/kea/kea-1.2.0.ebuild b/net-misc/kea/kea-1.2.0.ebuild new file mode 100644 index 00000000000..6fd49878587 --- /dev/null +++ b/net-misc/kea/kea-1.2.0.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +inherit eutils toolchain-funcs user + +MY_PV="${PV//_alpha/a}" +MY_PV="${MY_PV//_beta/b}" +MY_PV="${MY_PV//_rc/rc}" +MY_PV="${MY_PV//_p/-P}" +MY_P="${PN}-${MY_PV}" +DESCRIPTION="High-performance production grade DHCPv4 & DHCPv6 server" +HOMEPAGE="http://www.isc.org/kea/" +SRC_URI="ftp://ftp.isc.org/isc/kea/${MY_P}.tar.gz + ftp://ftp.isc.org/isc/kea/${MY_PV}/${MY_P}.tar.gz" + +LICENSE="ISC BSD SSLeay GPL-2" # GPL-2 only for init script +SLOT="0" +KEYWORDS="~amd64" +IUSE="openssl samples" + +DEPEND=" + dev-libs/boost + dev-cpp/gtest + dev-libs/log4cplus + !openssl? ( dev-libs/botan:= ) + openssl? ( dev-libs/openssl:= ) +" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + # Brand the version with Gentoo + sed -i \ + -e "/VERSION=/s:'$: Gentoo-${PR}':" \ + configure || die + default +} + +src_configure() { + econf \ + $(use_with openssl) \ + $(use_enable samples install-configurations) \ + --disable-static \ + --without-werror +} + +src_install() { + default + prune_libtool_files --all +} + +pkg_preinst() { + enewgroup dhcp + enewuser dhcp -1 -1 /var/lib/dhcp dhcp +} diff --git a/net-misc/kea/metadata.xml b/net-misc/kea/metadata.xml index 33e420089b5..0d2b93d2ea0 100644 --- a/net-misc/kea/metadata.xml +++ b/net-misc/kea/metadata.xml @@ -5,8 +5,12 @@ chainsaw@gentoo.org Tony Vroon - + base-system@gentoo.org Gentoo Base System + + Use dev-libs/openssl instead of Botan + Install sample configuration files +