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 49A8F138334 for ; Thu, 8 Aug 2019 21:22:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 59EF4E0784; Thu, 8 Aug 2019 21:22:11 +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 3F89BE0784 for ; Thu, 8 Aug 2019 21:22:11 +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 9F7DB3496D4 for ; Thu, 8 Aug 2019 21:22:08 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id ADBC074D for ; Thu, 8 Aug 2019 21:22:05 +0000 (UTC) From: "Craig Andrews" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Craig Andrews" Message-ID: <1565299320.2d8c5247997c484c984ac18d2bad5a75ef47de45.candrews@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/libteam/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-misc/libteam/libteam-9999.ebuild X-VCS-Directories: net-misc/libteam/ X-VCS-Committer: candrews X-VCS-Committer-Name: Craig Andrews X-VCS-Revision: 2d8c5247997c484c984ac18d2bad5a75ef47de45 X-VCS-Branch: master Date: Thu, 8 Aug 2019 21:22:05 +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: 285bee57-95b5-4911-8cd1-0783fea49316 X-Archives-Hash: 9b53d4979d05a1338312b02d712bbcb3 commit: 2d8c5247997c484c984ac18d2bad5a75ef47de45 Author: Craig Andrews gentoo org> AuthorDate: Thu Aug 8 21:21:16 2019 +0000 Commit: Craig Andrews gentoo org> CommitDate: Thu Aug 8 21:22:00 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d8c5247 net-misc/libteam: Add -9999 live version Package-Manager: Portage-2.3.71, Repoman-2.3.17 Signed-off-by: Craig Andrews gentoo.org> net-misc/libteam/libteam-9999.ebuild | 62 ++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) diff --git a/net-misc/libteam/libteam-9999.ebuild b/net-misc/libteam/libteam-9999.ebuild new file mode 100644 index 00000000000..44894e0e9a6 --- /dev/null +++ b/net-misc/libteam/libteam-9999.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools linux-info + +if [[ ${PV} == *9999 ]] ; then + EGIT_REPO_URI="https://github.com/pirko/${PN}.git" + inherit git-r3 +else + SRC_URI="https://github.com/jpirko/libteam/archive/v${PV}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" +fi + +DESCRIPTION="Library and tools set for controlling team network device" +HOMEPAGE="http://libteam.org" + +LICENSE="LGPL-2.1+" +SLOT="0" +IUSE="dbus debug examples static-libs +syslog zmq" + +DEPEND=">=dev-libs/jansson-2.4 + dev-libs/libdaemon + >=dev-libs/libnl-3.2.19[utils] + dbus? ( sys-apps/dbus ) + zmq? ( >=net-libs/zeromq-3.2.0 ) + " + +RDEPEND="${DEPEND} + syslog? ( virtual/logger )" + +CONFIG_CHECK="~NET_TEAM ~NET_TEAM_MODE_ROUNDROBIN ~NET_TEAM_MODE_ACTIVEBACKUP ~NET_TEAM_MODE_BROADCAST ~NET_TEAM_MODE_RANDOM ~NET_TEAM_MODE_LOADBALANCE" +ERROR_NET_TEAM="NET_TEAM is not enabled in this kernel! +Only >=3.3.0 kernel version support in team mode" + +DOCS=( README ) + +src_prepare(){ + default + eautoreconf +} + +src_configure() { + econf \ + $(use_enable debug) \ + $(use_enable syslog logging) \ + $(use_enable dbus) \ + $(use_enable zmq) +} + +src_install() { + default + + insinto /etc/dbus-1/system.d + doins teamd/dbus/teamd.conf + + if use examples; then + docinto examples + dodoc teamd/example_configs/* + fi +}