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 E1940138335 for ; Thu, 19 Dec 2019 15:37:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2C2E8E08D9; Thu, 19 Dec 2019 15:37:25 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 D593FE08D9 for ; Thu, 19 Dec 2019 15:37:24 +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 9D0B434DA2F for ; Thu, 19 Dec 2019 15:37:23 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4EED3973 for ; Thu, 19 Dec 2019 15:37:22 +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: <1576769836.344973a66b4c0c710caf37c8a218af8b000460c5.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.3.ebuild X-VCS-Directories: net-misc/kea/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: 344973a66b4c0c710caf37c8a218af8b000460c5 X-VCS-Branch: master Date: Thu, 19 Dec 2019 15:37:22 +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: 67d49955-8f2c-4af6-984f-425dd0748550 X-Archives-Hash: 1a57a219a618f13014f6d1ef5d3ea150 commit: 344973a66b4c0c710caf37c8a218af8b000460c5 Author: Lars Wendler gentoo org> AuthorDate: Thu Dec 19 10:15:05 2019 +0000 Commit: Lars Wendler gentoo org> CommitDate: Thu Dec 19 15:37:16 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=344973a6 net-misc/kea: Bump to version 1.7.3 Package-Manager: Portage-2.3.82, Repoman-2.3.20 Signed-off-by: Lars Wendler gentoo.org> net-misc/kea/Manifest | 1 + net-misc/kea/kea-1.7.3.ebuild | 76 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 77 insertions(+) diff --git a/net-misc/kea/Manifest b/net-misc/kea/Manifest index 50dfad04fc7..8deb40c30c9 100644 --- a/net-misc/kea/Manifest +++ b/net-misc/kea/Manifest @@ -1,2 +1,3 @@ DIST kea-1.7.1.tar.gz 7203950 BLAKE2B 40684401e39a5e95dfa1b6d899fe8c6a9e3418a65d3314215b287bb9898324a52b296292c7bdd11cfdb4d1d2f7f7c15c26a3f7999269672272486240f2d7cc28 SHA512 7c8ff3fb0bb53fcccf406660ad50593afa5f03328889c03791f6ac28dd41fbbec2094071d786f03b5cac96f887b48c5cca5c1d10a8922a1027279726458522d1 DIST kea-1.7.2.tar.gz 7229506 BLAKE2B fd84bd69e4fd147b91af80bb9094476bda3a3de0253c6f1880adde33458168f2dc24b6b95ed7b4f0d65fe69b2304bfebe8359e1bd61c28c9ba070e03531ee531 SHA512 f84bed2e1dacd172c7aed8e4d6c11ec5e79f37ad2c7991963fc9c4a1761668f9f0e105ba5c4deed06264ab2ec13b1b5787350d823de12fd3782223192e3653f2 +DIST kea-1.7.3.tar.gz 7284882 BLAKE2B 9023d3f2df7a81d817b83cec9ea52d75e268d95e5337befa973cf8630b620f0454e8cf6fdfa40f02c6cc3fabf0671e2f18e974ff2412b757fad2081015fa1e21 SHA512 17720bd5f119e5fe1cea9ab3642630757fe645c662ab8efb1af0bd301786ccb950c7a7c5b147ad54a7a5aff6471fa84c6a11bf031030180e3080be02894d4812 diff --git a/net-misc/kea/kea-1.7.3.ebuild b/net-misc/kea/kea-1.7.3.ebuild new file mode 100644 index 00000000000..c915fee4402 --- /dev/null +++ b/net-misc/kea/kea-1.7.3.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs user + +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}" +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 +} + +pkg_preinst() { + enewgroup dhcp + enewuser dhcp -1 -1 /var/lib/dhcp dhcp +}