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 A6F3F13835B for ; Wed, 27 May 2020 12:01:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7D520E08DA; Wed, 27 May 2020 12:01:35 +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-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 59829E08DA for ; Wed, 27 May 2020 12:01:35 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 C6BF134EC7B for ; Wed, 27 May 2020 12:01:33 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CE24E21E for ; Wed, 27 May 2020 12:01:31 +0000 (UTC) From: "Lars Wendler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lars Wendler" Message-ID: <1590580888.366d759d28bbe152f6fdfe80810725909f10382c.polynomial-c@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.7.8.ebuild X-VCS-Directories: net-misc/kea/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: 366d759d28bbe152f6fdfe80810725909f10382c X-VCS-Branch: master Date: Wed, 27 May 2020 12:01:31 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: c6f5ee21-49fa-482d-a72c-68968581c9ae X-Archives-Hash: 18df9b741c23a0b9ea2085b4ccbf34e3 commit: 366d759d28bbe152f6fdfe80810725909f10382c Author: Lars Wendler gentoo org> AuthorDate: Wed May 27 12:00:26 2020 +0000 Commit: Lars Wendler gentoo org> CommitDate: Wed May 27 12:01:28 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=366d759d net-misc/kea: Bump to version 1.7.8 Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: Lars Wendler gentoo.org> net-misc/kea/Manifest | 1 + net-misc/kea/kea-1.7.8.ebuild | 73 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 74 insertions(+) diff --git a/net-misc/kea/Manifest b/net-misc/kea/Manifest index be51afab599..f52e7d53f23 100644 --- a/net-misc/kea/Manifest +++ b/net-misc/kea/Manifest @@ -1,2 +1,3 @@ DIST kea-1.7.6.tar.gz 7362882 BLAKE2B 09b508f1f3b025c4e732f67f78757b7617e82453319348bc8550d6035331cb51347233057872085e967c6ad3fca56046c21eb64da77beef23039ea61512c4fc6 SHA512 5f48dc8fa60c9e8614237b27a5eff2857854e2878397c5d9cbb388abc94f35aedecedf696582b7ba4dbcd79c38c42af6557e013d5a9db4756d6e525af279287a DIST kea-1.7.7.tar.gz 7391670 BLAKE2B 0a0cc58d74de5b0729c4e684d79e271d122ec689c623f72ae1f8b6f631bea99ec7416721f406a5dc54ec0132c090f8a7583818d0ec4e1a9507fc5c1bc13014b6 SHA512 af65a7aff9c06fe078df5ed72737b0bc537dc1cc790f0e32449b73642ee7b4b582cc30cfe37283eed66fe2617eae22d5b48c3991d0e53d83b99327ccc17f63c1 +DIST kea-1.7.8.tar.gz 7443616 BLAKE2B 88de7f0ffb0cf9b594eabf6520c6d1b16d1e94524ae12087e9cd119aa1d6396f250c2f6d77fdc8d87cf46f892f26054625be083d4e4e5bfecc498092e9146c2f SHA512 1bed7a20f0ee2198eb6c196cf6895217fecea1a8274d155d669bf30ac1aab795917e7537d279bad55c951c3c99a7cd7cf9a86594bf6f7a689d1f694823353a28 diff --git a/net-misc/kea/kea-1.7.8.ebuild b/net-misc/kea/kea-1.7.8.ebuild new file mode 100644 index 00000000000..2f6a4dc21e8 --- /dev/null +++ b/net-misc/kea/kea-1.7.8.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs + +MY_PV="${PV//_p/-P}" +MY_PV="${MY_PV/_/-}" +MY_P="${PN}-${MY_PV}" + +DESCRIPTION="High-performance production grade DHCPv4 & DHCPv6 server" +HOMEPAGE="http://www.isc.org/kea/" +if [[ ${PV} = 9999* ]] ; then + inherit autotools git-r3 + EGIT_REPO_URI="https://github.com/isc-projects/kea.git" +else + SRC_URI="ftp://ftp.isc.org/isc/kea/${MY_P}.tar.gz + ftp://ftp.isc.org/isc/kea/${MY_PV}/${MY_P}.tar.gz" + [[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \ + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="ISC BSD SSLeay GPL-2" # GPL-2 only for init script +SLOT="0" +IUSE="mysql +openssl postgres samples" + +DEPEND=" + dev-libs/boost:= + dev-cpp/gtest + dev-libs/log4cplus + mysql? ( dev-db/mysql-connector-c ) + !openssl? ( dev-libs/botan:2= ) + openssl? ( dev-libs/openssl:0= ) + postgres? ( dev-db/postgresql:* ) +" +RDEPEND="${DEPEND} + acct-group/dhcp + acct-user/dhcp" +BDEPEND="virtual/pkgconfig" + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + default + [[ ${PV} = *9999 ]] && eautoreconf + # Brand the version with Gentoo + sed -i \ + -e "/VERSION=/s:'$: Gentoo-${PR}':" \ + configure || die +} + +src_configure() { + local myeconfargs=( + --disable-static + --enable-perfdhcp + --localstatedir="${EPREFIX}/var" + --without-werror + $(use_with mysql) + $(use_with openssl) + $(use_with postgres pgsql) + $(use_enable samples install-configurations) + ) + econf "${myeconfargs[@]}" +} + +src_install() { + default + newconfd "${FILESDIR}"/${PN}-confd ${PN} + newinitd "${FILESDIR}"/${PN}-initd ${PN} + keepdir /var/{lib,run}/${PN} /var/log + find "${ED}" -type f \( -name "*.a" -o -name "*.la" \) -delete || die +}