diff options
author | Craig Andrews <candrews@gentoo.org> | 2022-06-27 09:55:55 -0400 |
---|---|---|
committer | Craig Andrews <candrews@gentoo.org> | 2022-06-27 09:55:55 -0400 |
commit | 24d778904f56e9bc95f4c62335d18b2fc722c824 (patch) | |
tree | 04c0a2ecc64e22a7242e8d10379d243147a2f3e5 /net-misc/mptcpd | |
parent | mail-client/roundcube: 1.5.3 version bump (diff) | |
download | gentoo-24d778904f56e9bc95f4c62335d18b2fc722c824.tar.gz gentoo-24d778904f56e9bc95f4c62335d18b2fc722c824.tar.bz2 gentoo-24d778904f56e9bc95f4c62335d18b2fc722c824.zip |
net-misc/mptcpd: 0.10 version bump
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Craig Andrews <candrews@gentoo.org>
Diffstat (limited to 'net-misc/mptcpd')
-rw-r--r-- | net-misc/mptcpd/Manifest | 1 | ||||
-rw-r--r-- | net-misc/mptcpd/mptcpd-0.10.ebuild | 65 | ||||
-rw-r--r-- | net-misc/mptcpd/mptcpd-9999.ebuild | 7 |
3 files changed, 73 insertions, 0 deletions
diff --git a/net-misc/mptcpd/Manifest b/net-misc/mptcpd/Manifest index bc4e09614710..c4bbaec5f13e 100644 --- a/net-misc/mptcpd/Manifest +++ b/net-misc/mptcpd/Manifest @@ -1 +1,2 @@ +DIST mptcpd-0.10.tar.gz 671508 BLAKE2B de29050b5394b4011bf2bc25ce7ca33c42da8332e10d89c849047508886080e43e0e4f734e77437f8b0122336b47aa4f6442c07461e4552183cf10b08dfb6d81 SHA512 758dd9c84446abab7a26e6e7fa19fedb6ab4a8dbb8d6e2535f3eae5b9b423becaec9a18aea214498b424d110227af7eafb630b91b963eb5be2da0da936fd3a93 DIST mptcpd-0.9.tar.gz 654063 BLAKE2B fd9e8bf5cec517c934b9d38a736a128d087b54b5e4db90816a8cf8c242195fec8e3c4cd28d2f6e5a93326cac311a6b29048313c722004cea39e19448dc467976 SHA512 4fd292304d6270351b865e86cc401c1f5cc9043606b171e852bd37b2472c5f80061d760be68e5cd965caccb2f25c03d9ceea6232a5a587016c81f85e68ca8882 diff --git a/net-misc/mptcpd/mptcpd-0.10.ebuild b/net-misc/mptcpd/mptcpd-0.10.ebuild new file mode 100644 index 000000000000..756cb805d063 --- /dev/null +++ b/net-misc/mptcpd/mptcpd-0.10.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2022 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-doc/doxygen + app-text/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" + +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 +} diff --git a/net-misc/mptcpd/mptcpd-9999.ebuild b/net-misc/mptcpd/mptcpd-9999.ebuild index 8265562c6a0c..f678fe599d7a 100644 --- a/net-misc/mptcpd/mptcpd-9999.ebuild +++ b/net-misc/mptcpd/mptcpd-9999.ebuild @@ -27,6 +27,9 @@ BDEPEND=" ) virtual/pkgconfig " +PATCHES=( + "${FILESDIR}/${P}-loopback-monitoring.patch" +) if [[ ${PV} == 9999* ]]; then inherit git-r3 @@ -38,6 +41,10 @@ fi CONFIG_CHECK="MPTCP" +PATCHES=( + "${FILESDIR}"/${PN}-0.9-no-werror.patch +) + src_prepare() { default |