diff options
author | V3n3RiX <venerix@koprulu.sector> | 2025-01-11 06:41:28 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2025-01-11 06:41:28 +0000 |
commit | f1634517e73f2faf342a366354c3e0f2edb45952 (patch) | |
tree | ae3c632ec3576f8d57b3acd5e1aba5643f0f6d9b /net-libs | |
parent | f9d8ddaae80afb8fa0924cd3f769f9b37dd373e1 (diff) |
gentoo auto-resync : 11:01:2025 - 06:41:28
Diffstat (limited to 'net-libs')
-rw-r--r-- | net-libs/Manifest.gz | bin | 30658 -> 30652 bytes | |||
-rw-r--r-- | net-libs/kdsoap-ws-discovery-client/Manifest | 2 | ||||
-rw-r--r-- | net-libs/kdsoap-ws-discovery-client/kdsoap-ws-discovery-client-0.4.0.ebuild | 2 | ||||
-rw-r--r-- | net-libs/xdp-tools/Manifest | 2 | ||||
-rw-r--r-- | net-libs/xdp-tools/xdp-tools-1.5.0.ebuild | 99 |
5 files changed, 103 insertions, 2 deletions
diff --git a/net-libs/Manifest.gz b/net-libs/Manifest.gz Binary files differindex 2912f34ddf1b..2936632162cd 100644 --- a/net-libs/Manifest.gz +++ b/net-libs/Manifest.gz diff --git a/net-libs/kdsoap-ws-discovery-client/Manifest b/net-libs/kdsoap-ws-discovery-client/Manifest index 495db2f451a8..63b0bd716fd0 100644 --- a/net-libs/kdsoap-ws-discovery-client/Manifest +++ b/net-libs/kdsoap-ws-discovery-client/Manifest @@ -1,4 +1,4 @@ AUX kdsoap-ws-discovery-client-0.2_pre20200317-no-install-docs.patch 467 BLAKE2B 1b972ba3ae3a6831d49c1c2986fae4ff75fa051964b1c39399b413d724c7c93fef6bc9e740a7e0f10860b64e228f1f18ad1f4836e887aec67d0b2addf7205892 SHA512 2370c1571dcee014b258f388a8a6401a331afc4a2ca0e3491e112ad686bc822cb780b155a1f74e4a8dbe315a65207cc22e088f2471ba621b645cc8e043829903 DIST kdsoap-ws-discovery-client-0.4.0.tar.xz 30692 BLAKE2B f8d65a23731c9f56c75bdf678842b815512d5e15a28b3e37acc4d02cf0b10ec2d11876ff751dfd93321c7d3af3e422bec563ed6abd33c514f5537dbec9e39b46 SHA512 485e0319d986743183e82dd3a7576f0fc473122867e5e820a57f63b2fa2fde0721d8a7ee30d4399c01b11b51634db452174841a887b6685db9ab33e310866dda -EBUILD kdsoap-ws-discovery-client-0.4.0.ebuild 1091 BLAKE2B 63fad979d9dcf77d14115e898b82d618f9c2a0ab4ebf5f7c4f2d0fb51f0aa96d7fe947c157b3e2b529a541df519276468be9c09de2203342b7457632f91e9619 SHA512 07dba968d0c060fd0567a977d8986dc923660fe3498d67d8137200fe9238ad4aed3d2024d5f9689cd98656177d79ed74ddc647b0bace5393806c3dfd9114bc02 +EBUILD kdsoap-ws-discovery-client-0.4.0.ebuild 1098 BLAKE2B 41b13ce900f9253b24e02a8efc9ba4068c833ac53b2d517bbf14efb2c77724f5d7a48d969975e6b9fb7563f164d633b414079bc26517b5b54b258f5a7b419708 SHA512 93db54a5e9daf805a1ac6626cb4cd649c276161f00f5dad2359fe56711c9531bed3fed0bdaefe0bd198fcbae726ea8d6f52076b49133a2e6333192d284b9e76e MISC metadata.xml 355 BLAKE2B 837ce719b98553c8995bcf17d26eb6e6adb4679690029677487e14ae2026c4ad40ca1431a7133d026de65a27a74494b6be51dfa60e1e88dd06e3c86a55276a3d SHA512 138c43e593a78fa0983dd4d5abc1a32f50a33ef34f24adc45d64eb040eb30934325af7912f070348b4bd41cb1575f76740637100915f5baf1a45fc8bdcdf1972 diff --git a/net-libs/kdsoap-ws-discovery-client/kdsoap-ws-discovery-client-0.4.0.ebuild b/net-libs/kdsoap-ws-discovery-client/kdsoap-ws-discovery-client-0.4.0.ebuild index 189b863a58f9..ee99876238e3 100644 --- a/net-libs/kdsoap-ws-discovery-client/kdsoap-ws-discovery-client-0.4.0.ebuild +++ b/net-libs/kdsoap-ws-discovery-client/kdsoap-ws-discovery-client-0.4.0.ebuild @@ -13,7 +13,7 @@ HOMEPAGE="https://invent.kde.org/libraries/kdsoap-ws-discovery-client" if [[ ${KDE_BUILD_TYPE} = release ]]; then SRC_URI="mirror://kde/stable/${PN}/${P}.tar.xz" - KEYWORDS="amd64 arm64 ~ppc64 ~riscv ~x86" + KEYWORDS="amd64 arm64 ~loong ~ppc64 ~riscv ~x86" fi LICENSE="CC0-1.0 GPL-3+" diff --git a/net-libs/xdp-tools/Manifest b/net-libs/xdp-tools/Manifest index 232ce58e988f..9c7bccd2cfdb 100644 --- a/net-libs/xdp-tools/Manifest +++ b/net-libs/xdp-tools/Manifest @@ -1,3 +1,5 @@ DIST xdp-tools-1.4.3.tar.gz 339989 BLAKE2B 836eb66a2264e9d46124a009a8b3e039da23f28f83460fb3aa724c8ca4c37952979278e3041e9acca44acd68cc94423d73f381febc107c454db7da01f583ae41 SHA512 3ba176e573d02feefc1baf81570b514bc25a61d7be3256ce530128092f07b246b8731430289cdcd874f8846122a4451f0bcd06891565dd1b48beaa10b854c646 +DIST xdp-tools-1.5.0.tar.gz 353321 BLAKE2B 41ef06c544af743a8542306af93b1d2a671e53118aa9c4230521c755868245d854ef4ed38ac47102869c18104d67808e8ede8baef45dde8811b074501fc34520 SHA512 9713280fc5d58c19f972cced614f0acdb21de0f467439af2364217ae5381963f90c9e4aba9b6de1a8fdb7fa36c1f645c42b9cd1c86a2cd60168a3b974f14c0dd EBUILD xdp-tools-1.4.3.ebuild 2299 BLAKE2B 765c4f73ce7ff9d250982d944fedb37358e11eaa1c8a53509a589cc084f68cc8a3a5066b97d30e73565b05cf2796f2c95feffb8e68b7b1596ba05214e985fb39 SHA512 de8480effd52bd4d05f4d7828568e75fd77056e53e7b5c63ead426668ca6c4a4b93331ddfe10443d571887f148eecab79262d6db81bd2c6a093b7156eb308968 +EBUILD xdp-tools-1.5.0.ebuild 2411 BLAKE2B 335c1fccdb21dc9238db7a99573053c41e88ff0a498f84ce35f3106ef71e52523c4c0b3e42329a43a5ebb729cc0b8ccb5760135efe2679e8fcbf00e942201544 SHA512 13c787c82f4a7a753b9162d0c46ab5f5c0caf2bba8300ed511aa5558ff15511ac454adccd7c9730a4a7003e0fcf24b9612f8c06944b57eee75dff6f2fd9503f3 MISC metadata.xml 731 BLAKE2B a9c958d31f9ece376e4518e213823c14474df47747205020b76da7a0a67f7ed926ec55002b586143ce84cb965a23ad1794a42862597278682ef3605fc7d07911 SHA512 78774e4bcc6e05d56fe82b0aacd46e4d23e3bd89aa5bb55900adb94648d06b3251c575d4d0b6108cdad0f2ffbabcc2973e50e804b120a73e8923cd679601384f diff --git a/net-libs/xdp-tools/xdp-tools-1.5.0.ebuild b/net-libs/xdp-tools/xdp-tools-1.5.0.ebuild new file mode 100644 index 000000000000..0ed747f71d13 --- /dev/null +++ b/net-libs/xdp-tools/xdp-tools-1.5.0.ebuild @@ -0,0 +1,99 @@ +# Copyright 2021-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit flag-o-matic linux-info toolchain-funcs + +DESCRIPTION="The libxdp library and various tools for use with XDP" +HOMEPAGE="https://github.com/xdp-project/xdp-tools" +SRC_URI="https://github.com/xdp-project/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2 LGPL-2.1 BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" +IUSE="+tools" + +DEPEND=" + dev-libs/libbpf:= + net-libs/libpcap + sys-libs/zlib + virtual/libelf +" +RDEPEND="${DEPEND}" +BDEPEND=" + dev-util/bpftool + sys-apps/grep[pcre] + llvm-core/clang:*[llvm_targets_BPF] + sys-devel/m4 +" + +# Not prebuilt -- we build them -- but they're not ordinary ELF objects either. +QA_PREBUILT="usr/lib/bpf/*.o" + +MAKEOPTS+=" V=1" + +CONFIG_CHECK="~BPF ~BPF_JIT ~BPF_SYSCALL ~HAVE_EBPF_JIT ~XDP_SOCKETS ~XDP_SOCKETS_DIAG" + +src_prepare() { + # remove -Werror: #899744 + sed -i 's/-Werror//g' lib/Makefile lib/defines.mk || die + sed -i '/-Werror/d' lib/common.mk lib/libxdp/Makefile \ + lib/libxdp/tests/Makefile lib/util/Makefile || die + + default +} + +src_configure() { + # filter LTO: #861587 + filter-lto + + # filter LDFLAGS some more: #916591 + filter-ldflags -Wl,--{icf,lto}* + + # force ld.bfd: #916591 + tc-ld-force-bfd + + export CC="$(tc-getCC)" + export PREFIX="${EPREFIX}/usr" + export LIBDIR="${PREFIX}/$(get_libdir)" + export BPF_OBJECT_DIR="${PREFIX}/lib/bpf" + export PRODUCTION=1 + export DYNAMIC_LIBXDP=1 + export FORCE_SYSTEM_LIBBPF=1 + + default +} + +src_test() { :; } + +src_install() { + default + + # To remove the scripts/testing files that are installed. + rm -r "${ED}/usr/share/xdp-tools" || die + # We can't control static archive generation yet. + rm "${ED}/usr/$(get_libdir)/libxdp.a" || die + + use tools || { rm "${ED}/usr/sbin"/* || die; } + + # These are ELF objects but BPF ones. + dostrip -x /usr/lib/bpf +} + +pkg_postinst() { + elog + elog "Many BPF utilities need access to a mounted bpffs virtual file system." + elog "Either mount it manually like this:" + elog + elog " mount bpffs /sys/fs/bpf -t bpf -o nosuid,nodev,noexec,relatime,mode=700" + elog + elog "or add the following line to your /etc/fstab to always mount it at boot time:" + elog + elog " bpffs /sys/fs/bpf bpf nosuid,nodev,noexec,relatime,mode=700 0 0" + elog + elog "You can verify that bpffs is mounted with:" + elog + elog " mount | grep /sys/fs/bpf" + elog +} |