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 (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 30BA3158042 for ; Mon, 4 Nov 2024 18:07:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 06F59E07A5; Mon, 4 Nov 2024 18:07:29 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DF677E07A5 for ; Mon, 4 Nov 2024 18:07:28 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id BF728343014 for ; Mon, 4 Nov 2024 18:07:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2156E1B55 for ; Mon, 4 Nov 2024 18:07:26 +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: <1730743642.39eae44a89e19bdb4b8c7145ccbc89298a050697.candrews@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/mptcpd/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-misc/mptcpd/Manifest net-misc/mptcpd/mptcpd-0.13.ebuild X-VCS-Directories: net-misc/mptcpd/ X-VCS-Committer: candrews X-VCS-Committer-Name: Craig Andrews X-VCS-Revision: 39eae44a89e19bdb4b8c7145ccbc89298a050697 X-VCS-Branch: master Date: Mon, 4 Nov 2024 18:07:26 +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: bc29cccd-76c8-4926-ac1e-a049ca15e37f X-Archives-Hash: 2c63d08f34d2cf3e1c678780ccc162c2 commit: 39eae44a89e19bdb4b8c7145ccbc89298a050697 Author: Craig Andrews gentoo org> AuthorDate: Mon Nov 4 18:07:15 2024 +0000 Commit: Craig Andrews gentoo org> CommitDate: Mon Nov 4 18:07:22 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39eae44a net-misc/mptcpd: add 0.13 Signed-off-by: Craig Andrews gentoo.org> net-misc/mptcpd/Manifest | 1 + net-misc/mptcpd/mptcpd-0.13.ebuild | 74 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 75 insertions(+) diff --git a/net-misc/mptcpd/Manifest b/net-misc/mptcpd/Manifest index 9e3a3c34ad03..c6911cc55ac2 100644 --- a/net-misc/mptcpd/Manifest +++ b/net-misc/mptcpd/Manifest @@ -1 +1,2 @@ DIST mptcpd-0.12.tar.gz 690687 BLAKE2B 35c0b66268a04312f1d174348c40abc81d95f190860672740f4dd9ab472f1ecb4a6604b65a4ecf5084c9b98c1c1d50b3b0a7d5a714fa7e5568200a90909eb088 SHA512 313ce6f3905192fc614d419d498bfd814632730a50e3119039f076b4cec32360424f237a18cfec8c80a52ea6555a6e21949669ccb85e3178bd83748a2de66f73 +DIST mptcpd-0.13.tar.gz 688567 BLAKE2B e9783820b5e7908e5dcfa755ddf8eca3f16ae1f5adf44f8562c887ca1656a784bf69e02469bd7748a4f54665d45b27cba049b3643474fe7b737de5d09d4e2bc6 SHA512 5dd53c9e1c92a3242ad84d93642116e77acb24c997219c98fe30a4c6d80b283de8878bcc84a6ac4eaf51ff6dd32cff5ed2a40a869c8304faa835f3b300dbca37 diff --git a/net-misc/mptcpd/mptcpd-0.13.ebuild b/net-misc/mptcpd/mptcpd-0.13.ebuild new file mode 100644 index 000000000000..2e3281cc8262 --- /dev/null +++ b/net-misc/mptcpd/mptcpd-0.13.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools linux-info systemd + +DESCRIPTION="Daemon that performs multipath TCP path management related operations." +HOMEPAGE="https://github.com/intel/mptcpd/" + +LICENSE="GPL-2" +SLOT="0/${PV}" +IUSE="debug doc" + +RDEPEND=" + >=dev-libs/ell-0.45.0 + elibc_musl? ( sys-libs/argp-standalone ) + " +DEPEND=" + ${RDEPEND} + >=sys-kernel/linux-headers-5.6 + " +BDEPEND=" + doc? ( + app-text/doxygen + virtual/pandoc + ) + virtual/pkgconfig + " + +if [[ ${PV} == 9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/intel/mptcpd.git" +else + SRC_URI="https://github.com/intel/mptcpd/releases/download/v${PV}/${P}.tar.gz" + KEYWORDS="~amd64" +fi + +CONFIG_CHECK="MPTCP" + +PATCHES=( + "${FILESDIR}"/${PN}-0.9-no-werror.patch +) + +src_prepare() { + default + + # For Werror patch + eautoreconf +} + +src_configure() { + local myeconfargs=( + --with-kernel=upstream + --with-systemdsystemunitdir="$(systemd_get_systemunitdir)" + $(use_enable debug) + ) + + econf "${myeconfargs[@]}" +} + +src_compile() { + emake + use doc && emake doxygen-doc +} + +src_test() { + emake check +} + +src_install() { + default + find "${ED}" -name '*.la' -delete || die +}