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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9F28E1581D3 for ; Fri, 24 May 2024 23:35:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 786C3E2A9F; Fri, 24 May 2024 23:35:47 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1BF05E2A8F for ; Fri, 24 May 2024 23:35:47 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 63362341C4B for ; Fri, 24 May 2024 23:35:46 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6BD401B4A for ; Fri, 24 May 2024 23:35:43 +0000 (UTC) From: "Conrad Kostecki" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Conrad Kostecki" Message-ID: <1716593714.bad09792330fe48b3a266ca8927dc30154b7ee82.conikost@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/libteam/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-misc/libteam/Manifest net-misc/libteam/libteam-1.32.ebuild X-VCS-Directories: net-misc/libteam/ X-VCS-Committer: conikost X-VCS-Committer-Name: Conrad Kostecki X-VCS-Revision: bad09792330fe48b3a266ca8927dc30154b7ee82 X-VCS-Branch: master Date: Fri, 24 May 2024 23:35:43 +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: 4e164f96-033a-4ff5-9420-c6a41f7f4544 X-Archives-Hash: 786bdb4b500bed67487d54791ed16fb0 commit: bad09792330fe48b3a266ca8927dc30154b7ee82 Author: Michael Mair-Keimberger levelnine at> AuthorDate: Sat May 18 09:31:07 2024 +0000 Commit: Conrad Kostecki gentoo org> CommitDate: Fri May 24 23:35:14 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bad09792 net-misc/libteam: add 1.32 Signed-off-by: Michael Mair-Keimberger levelnine.at> Bug: https://bugs.gentoo.org/891627 Closes: https://github.com/gentoo/gentoo/pull/36730 Signed-off-by: Conrad Kostecki gentoo.org> net-misc/libteam/Manifest | 1 + net-misc/libteam/libteam-1.32.ebuild | 62 ++++++++++++++++++++++++++++++++++++ 2 files changed, 63 insertions(+) diff --git a/net-misc/libteam/Manifest b/net-misc/libteam/Manifest index deed140279eb..1eaa8b55b645 100644 --- a/net-misc/libteam/Manifest +++ b/net-misc/libteam/Manifest @@ -1,2 +1,3 @@ DIST libteam-1.23.tar.gz 173445 BLAKE2B 143e43cb092ac9aab8b152101c4c91c995436a6b02cf85fb710fa095a0bbd46fe70666149cfa9d86135b5496dd0287296e55d68f511aa5965c1d4f22f61ded57 SHA512 f78ceca4606b93e75fafdd97aa3cc44153fc42d31209f216c3da9c71abf38a2e4a690c71b8631ae09e02d7285d6bbd8292983fdc69eb921b0537a75558bc89f5 DIST libteam-1.31.tar.gz 176331 BLAKE2B 77aae059b37a018e5503642138aa469f0769d305ec2043642fb1d84ff1d05f6eb90083946ca113cf3f9c21a09a17b3fbda327b714eb96743a10e99b89d5d5c83 SHA512 1382cc3b0a2d0211f33e506e8a6fd8a1847398fa5bba56abfc959da70bcc8417cf1dba9e26a777da5729eb237f51a66b3f9cfa33fb830ed684aa076f4c8cec9e +DIST libteam-1.32.tar.gz 177184 BLAKE2B dd3e988d52a373c3c006e749ffee35b12f7b26f0cd154479769b4426d97a23509a52d0b50430ef4220bce4ef6ee73c827b3eeb3fe28537f40f65c45fcacb18b6 SHA512 38a0926f22733000dedb5669e8ba29bd9bce61b00dbdc713220eee520e10ce6eb979b02408f785463cd7b61ff3e57a78b43ed6baffb305e63a0fab0883493507 diff --git a/net-misc/libteam/libteam-1.32.ebuild b/net-misc/libteam/libteam-1.32.ebuild new file mode 100644 index 000000000000..23c3186d0a44 --- /dev/null +++ b/net-misc/libteam/libteam-1.32.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools linux-info + +if [[ ${PV} == *9999 ]] ; then + EGIT_REPO_URI="https://github.com/jpirko/${PN}.git" + inherit git-r3 +else + SRC_URI="https://github.com/jpirko/libteam/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" +fi + +DESCRIPTION="Library and tools set for controlling team network device" +HOMEPAGE="https://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" + +src_prepare() { + default + eautoreconf +} + +src_configure() { + econf \ + $(use_enable debug) \ + $(use_enable syslog logging) \ + $(use_enable dbus) \ + $(use_enable zmq) +} + +src_install() { + default + + find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die + + insinto /etc/dbus-1/system.d + doins teamd/dbus/teamd.conf + + if use examples; then + docinto examples + dodoc teamd/example_configs/* + fi +}