diff options
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/Manifest.gz | bin | 65103 -> 65094 bytes | |||
-rw-r--r-- | dev-util/bcc/Manifest | 2 | ||||
-rw-r--r-- | dev-util/bcc/bcc-0.30.0.ebuild | 141 | ||||
-rw-r--r-- | dev-util/pkgcheck/Manifest | 2 | ||||
-rw-r--r-- | dev-util/pkgcheck/pkgcheck-9999.ebuild | 2 | ||||
-rw-r--r-- | dev-util/xdelta/Manifest | 2 | ||||
-rw-r--r-- | dev-util/xdelta/files/xdelta-1.1.4-gzip.patch | 59 | ||||
-rw-r--r-- | dev-util/xdelta/xdelta-1.1.4-r4.ebuild | 43 |
8 files changed, 249 insertions, 2 deletions
diff --git a/dev-util/Manifest.gz b/dev-util/Manifest.gz Binary files differindex 2c386f508ac6..5f07e8873bf5 100644 --- a/dev-util/Manifest.gz +++ b/dev-util/Manifest.gz diff --git a/dev-util/bcc/Manifest b/dev-util/bcc/Manifest index 2bc157d428b7..27fd1f36e43f 100644 --- a/dev-util/bcc/Manifest +++ b/dev-util/bcc/Manifest @@ -4,7 +4,9 @@ AUX bcc-0.25.0-cmakelists.patch 358 BLAKE2B 0159aa6e483bd5fab0bc920e8416a94a4380 AUX bcc-0.9.0-no-luajit-automagic-dep.patch 463 BLAKE2B 286ed298055cbdb22d9c3f3f064c77da685cf75cc8c0ab0cad4d4b473f0eac0b1533ca8eb7e6159108d184d16db7a264b0ea9d30ccdc3d988d88bab28be7310d SHA512 6e5c20de22547410ffa566cb8226a47ee0e8c91183bc5b70eb22637a08fe55cfc96fde169ef3ab8d6e8d7c9e356c35e61b164b3ad675835d3ea8d5239a448979 DIST bcc-0.28.0.tar.gz 6148954 BLAKE2B cfd3c8d63128e050512462449ff7d467f8f809c239ac01ae8e75365e89116ec351641a68682d23472aa3b4e265547bb20ca5572084c532a40ccd3131edf255a2 SHA512 792ce93dba64b1f87390b2602dcaeba04ac8b2863652b06eb9a907b93bc6137a944b856cc6fa9c7a38671c89814740967561ca4f3b29c267babca7dc5e78aa02 DIST bcc-0.29.1.tar.gz 6778304 BLAKE2B 23df483df59ef7d66117b15628299a32155136aa5254edbf76f7507a972f3ebcba1d4b2aa83c41e8f061eeeb96812f522c34fed27e9a37e5f4ad3478c7cde88f SHA512 9e60130ea602e19e6c6f88a8c17023cea5daf4c5bcc7af8816e9f5c662341136eb449a3fdf870ffad215495ac3bf895115c0d968d92ce79ebe2899b3e2464d24 +DIST bcc-0.30.0.tar.gz 6797246 BLAKE2B 517f4fcce8bcaf4c8c17075f9a906b452ee14a0c46fa500c301521fe46d854fcf4f632e741b34168dfeb819d9b0d64b967e716fa6222ba7dcaeddb03570985e6 SHA512 70478ca8c18e7f106c462513ca9af46f49b4ebcca6380a9393208fca88f83895a7396f918bf5d01dce1bc4a876bccb9b95aa56d426e55d384cf11c9baaa6a89b EBUILD bcc-0.28.0-r1.ebuild 3077 BLAKE2B 705569eaa9955df0c937fb91e16bf0581efa07f75c320998b0e77965be0d44862c79a858eb1a8741ecc80aede9f628896d60a39562dabb850eeb3d7a59422597 SHA512 6b41066299ee4b0e38688aad3a471df90aef356320e478d150ee5d0e5ea35fdeff601fa68f91f0b14c3b876aac43afd86e6a4269b8eff6cd39b4ecd6acdfa939 EBUILD bcc-0.29.1-r1.ebuild 3076 BLAKE2B 336b061630c512e338f92f29cd2cb83b8445436fcd31ae75008f38a989481725b589d185173ced2ba1e86d75017827a8d4619cd53ff59e45280cab67cb733d6d SHA512 544bf5ec686458b51a2e9dbc18ffb10e08d33c1626cee2698c395fa51b283a0e069fefb94dbb1f15a61406fd515a419024811a8f0de7adef4448281752cc09cc EBUILD bcc-0.29.1-r2.ebuild 3214 BLAKE2B 2bd87d02bf6a10f467971dd38ce76d83705664026d8b716c36b3ad03f5fa9263aaeef5df0653a661420620b16831c12cc8fce62148469d666d938fa16ed3316b SHA512 a836d324e5a5da246facc5d35546c719e23b0ed0eb1588252e49a146a4b62e83925ef18d7c6a6ceba2327c58fda471f02a615c560978a43c20816b1f3cfcb8a5 +EBUILD bcc-0.30.0.ebuild 3214 BLAKE2B 2bd87d02bf6a10f467971dd38ce76d83705664026d8b716c36b3ad03f5fa9263aaeef5df0653a661420620b16831c12cc8fce62148469d666d938fa16ed3316b SHA512 a836d324e5a5da246facc5d35546c719e23b0ed0eb1588252e49a146a4b62e83925ef18d7c6a6ceba2327c58fda471f02a615c560978a43c20816b1f3cfcb8a5 MISC metadata.xml 419 BLAKE2B 8b46153f6ab2d6959a767f105a9e33109f705bf879bd4d6708eb4a85e310140d8f810569bf3e37f89bd5a07758de7653697214643b606dc314009e8b8db709ac SHA512 3036d51a8ff5c5adc507387aad252ab7a90c341c5f04c626158353d938992e78c6b5e344354220141979f91522e0204e388d47fd0ccf91415634f6cde646a0c3 diff --git a/dev-util/bcc/bcc-0.30.0.ebuild b/dev-util/bcc/bcc-0.30.0.ebuild new file mode 100644 index 000000000000..236331466a37 --- /dev/null +++ b/dev-util/bcc/bcc-0.30.0.ebuild @@ -0,0 +1,141 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +LUA_COMPAT=( luajit ) +PYTHON_COMPAT=( python3_{9..12} ) +LLVM_MAX_SLOT=18 + +inherit cmake linux-info llvm lua-single python-r1 toolchain-funcs + +DESCRIPTION="Tools for BPF-based Linux IO analysis, networking, monitoring, and more" +HOMEPAGE="https://iovisor.github.io/bcc/" +SRC_URI="https://github.com/iovisor/bcc/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv ~x86" +IUSE="+lua test" + +REQUIRED_USE=" + ${PYTHON_REQUIRED_USE} + lua? ( ${LUA_REQUIRED_USE} ) +" + +# tests need root access +RESTRICT="test" + +RDEPEND=" + >=dev-libs/elfutils-0.166:= + >=dev-libs/libbpf-1.2.0:=[static-libs(-)] + sys-kernel/linux-headers + <sys-devel/clang-$((${LLVM_MAX_SLOT} + 1)):= + <sys-devel/llvm-$((${LLVM_MAX_SLOT} + 1)):=[llvm_targets_BPF(+)] + ${PYTHON_DEPS} + lua? ( ${LUA_DEPS} ) +" +DEPEND=" + ${RDEPEND} + test? ( + || ( + net-misc/iputils[arping] + net-analyzer/arping + ) + net-analyzer/netperf + net-misc/iperf:* + ) +" +BDEPEND=" + app-arch/zip + virtual/pkgconfig +" + +PATCHES=( + "${FILESDIR}/bcc-0.9.0-no-luajit-automagic-dep.patch" + "${FILESDIR}/bcc-0.25.0-cmakelists.patch" + "${FILESDIR}/bcc-0.23.0-man-compress.patch" +) + +pkg_pretend() { + local CONFIG_CHECK="~BPF ~BPF_SYSCALL ~NET_CLS_BPF ~NET_ACT_BPF + ~HAVE_EBPF_JIT ~BPF_EVENTS ~DEBUG_INFO ~FUNCTION_TRACER ~KALLSYMS_ALL + ~KPROBES" + + check_extra_config +} + +pkg_setup() { + llvm_pkg_setup + python_setup +} + +src_prepare() { + local bpf_link_path + + # this avoids bundling + bpf_link_path="$(realpath --relative-to="${S}/src/cc/libbpf" /usr/include/bpf)" || die + ln -sfn "${bpf_link_path}" src/cc/libbpf/include || die + + # bug 811288 + local script scriptname + for script in $(find tools/old -type f -name "*.py" || die); do + scriptname=$(basename ${script} || die) + mv ${script} tools/old/old-${scriptname} || die + done + + cmake_src_prepare +} + +python_add_impl() { + bcc_python_impls+="${EPYTHON};" +} + +src_configure() { + local bcc_python_impls + python_foreach_impl python_add_impl + + local mycmakeargs=( + -DREVISION=${PV%%_*} + -DENABLE_LLVM_SHARED=ON + -DENABLE_NO_PIE=OFF + -DCMAKE_USE_LIBBPF_PACKAGE=ON + -DLIBBPF_INCLUDE_DIRS="$($(tc-getPKG_CONFIG) --cflags-only-I libbpf | sed 's:-I::g')" + -DKERNEL_INCLUDE_DIRS="${KERNEL_DIR}" + -DPYTHON_CMD="${bcc_python_impls%;}" + -Wno-dev + ) + if use lua && use lua_single_target_luajit; then + mycmakeargs+=( -DWITH_LUAJIT=1 ) + fi + + cmake_src_configure +} + +src_install() { + cmake_src_install + remove_egg_info() { rm -rf "${D}/$(python_get_sitedir)"/*.egg-info || die; } + python_foreach_impl remove_egg_info + + python_replicate_script $(grep -Flr '#!/usr/bin/python' "${ED}/usr/share/bcc/tools") + python_foreach_impl python_optimize + + newenvd "${FILESDIR}"/60bcc.env 60bcc.env + local -A rename_tools=( + [trace]=1 + ) + + local tool name + for tool in "${ED}"/usr/share/bcc/tools/*; do + [[ ! -x ${tool} && ! -L ${tool} || -d ${tool} ]] && continue + name=${tool##*/} + [[ -n ${rename_tools[${name}]} ]] && name=bcc-${name} + dosym -r "${tool#${ED}}" /usr/sbin/${name} + done + + docompress /usr/share/${PN}/man + + newenvd - "70${P}" <<-_EOF_ + MANPATH="${EPREFIX}/usr/share/${PN}/man" + _EOF_ +} diff --git a/dev-util/pkgcheck/Manifest b/dev-util/pkgcheck/Manifest index 37e7d7d634da..53ea2d5f8f3c 100644 --- a/dev-util/pkgcheck/Manifest +++ b/dev-util/pkgcheck/Manifest @@ -4,5 +4,5 @@ DIST pkgcheck-0.10.27.tar.gz 806381 BLAKE2B f4acf72e85003f4dfa244c843464ab40a93d DIST pkgcheck-0.10.28.tar.gz 807874 BLAKE2B 12fbbf4a4482af9e27983fe7b32c376542551fdd5512fc13325f42234f714e49944475960cb23fb525c6b7d7637189bbde8a2e288c9ee360b58595dfc8bce5d7 SHA512 fb13d01ee8d29415afcf267635b8eb4e5c16a5f4fc5c83f3d6ce99a5aadb5d2ee4b31bde9de67fad9a093f10f881604cf0f1abff6ed47c35a23ec17527d8e9f6 EBUILD pkgcheck-0.10.27-r1.ebuild 2364 BLAKE2B 44f9dfd973779b7274f3fc533505e0b2bc07e1a1324f467e4aa1cfb7f59904fe4e43c4b9a9cc30d857231604f84875069a7e355abff37e90143a271d9d37b052 SHA512 4303ba0fee8233a2b7d777fbe75b4051868fe61e884865949d9e2eb4eb1c0decb7527d312407c01a4e667a3040c755a23b0abc479539930f738fcce9e3abdaa2 EBUILD pkgcheck-0.10.28.ebuild 2279 BLAKE2B 5258247b3aadebce82ca51782a72f8e9451cb85b12d226febc1941bf39940cbfcec01a67852dd517c1cc43635cadae3e10992f076128fdadf73dbd1a3ba66b47 SHA512 7078d572936db503c3f0943f37fd29864874c2c3dc397fe1f31a7be8c808915dc507d4afa87a9953094c601b981ece3a184dcd04dc1117c21c18f5edac681170 -EBUILD pkgcheck-9999.ebuild 2210 BLAKE2B 19809c0b7bfa5890060a1fd7d2b5b8990c7bb204d5fcd40c3a13616663507b7833089d753275984d8d0dc66fd35ad9d05262bc505e1bee7967728b969db91238 SHA512 cd77d03506518a0b739798066a8b036dddb9c13af1c42296ca86a4f7f3e043aa318ef395b43113b52f904ea303f1814ed74498d52da6b12b17c980616115acda +EBUILD pkgcheck-9999.ebuild 2223 BLAKE2B 74cc479c330c45bdc55523a99a306e22f9224faaa5bbaf1500c1963515ddca920db9714160d1dd9604f67d613a19b3d37d5d2128a8671d686d33418e5245e175 SHA512 a3136bf20ac5abaf8f533ad6585b6cbe85dbab621d78e8375115372954df708c761d78a7eb2dcf75a55ff39a46adf26c048aa8ec0e7175b5a28a794d7650ddd9 MISC metadata.xml 455 BLAKE2B b544db3532ef1da966833d5edbc79988cc1fd85b6d6276476684b49d4485814d6e2d969e742d3633c8176e7f37cae6614dae1654fd1424d71475f022166f6e6a SHA512 5abd1584f486e88992bab8c51c191b4915a5854752130f8a591147ff4b2af2102fdc8ab182e7358c3e4bbb3fdc8400563a250e2dba1793d365f0edc7c5f7c33a diff --git a/dev-util/pkgcheck/pkgcheck-9999.ebuild b/dev-util/pkgcheck/pkgcheck-9999.ebuild index 1356e1a90511..316dcfddfca5 100644 --- a/dev-util/pkgcheck/pkgcheck-9999.ebuild +++ b/dev-util/pkgcheck/pkgcheck-9999.ebuild @@ -72,7 +72,7 @@ src_compile() { python_install_all() { local DOCS=( NEWS.rst ) - [[ ${PV} == *9999 ]] || doman man/* + [[ ${PV} == *9999 ]] || doman build/sphinx/man/* distutils-r1_python_install_all if use emacs ; then diff --git a/dev-util/xdelta/Manifest b/dev-util/xdelta/Manifest index b6086e475b0d..c56b40d11272 100644 --- a/dev-util/xdelta/Manifest +++ b/dev-util/xdelta/Manifest @@ -1,8 +1,10 @@ AUX xdelta-1.1.4-glib2.patch 4545 BLAKE2B ea73867aa9f09ee70c5bd6708c2cc2eeb9a8de1878168641e517744dabcb9f49ed62bbac1d9cfb1704d06acc32285741a3a4076a7f8a1e383967ef70f4ac2410 SHA512 563a99d6007228ef2e0f838cc66251918b875ce779f12fa03015dc97d14379951fd9d2a165b7562e97ad41931ac8ca0a535941cbd4605b5f67e176d1f9d31288 +AUX xdelta-1.1.4-gzip.patch 1794 BLAKE2B 61cbfb75613d8536c801871c25ab135dc1f6a62f91e4930f53e26d8a42a46893f3217f77953df07e88b04630f302b62a447746a2241e10331fd35a805991b0a5 SHA512 5507479136bd0ed894b2376fd73c482c072423039d192340b841b2fa9ec2c7d0babfd7426a8750eb4bc454cddfacdc6e9404568c3e12ccb202696b25e564e430 AUX xdelta-1.1.4-m4.patch 458 BLAKE2B 802797681fcee8a7f07babe3e4598677704ca43548e4a88b1bbfa364cede17bcdca68e2fe7dad7c5e4f01c1bcdf88ec47879ec89352b7ab0765043b2579cefe7 SHA512 f932359b311cffbe711a006a670dbeb2ebcea2386f04bcd3ce38ffd0d743f7c0aa4138b5a781942dc02c40950982b2f295b9a79935dce3666c4ae1dd7d068fd3 AUX xdelta-1.1.4-pkgconfig.patch 2551 BLAKE2B 606dd386fbfb768c931e2c08b5508f6bc3dfe96d61c3cf62b57c85f0b697612473355775008ac224192e6800a3cff447357a1e24961f86b5615f8c7cb4cc5c0f SHA512 08428227f9aa15e373f2fc81a097e3aad7df2d53d65172da9d1da3c81c52b9d646ad8d1f0f69533e4486cf72e4cf8ec106e948dc0c9a1cd1aad8732ceb4aeeb5 DIST xdelta-1.1.4.tar.gz 423529 BLAKE2B b565f82ba0504118b74127096939e5699ea312be5c6c8a345abfcf0fb01b45e759abe595b33619b2714671e2f0307d603366a1f7a6b1fb5a786378716a51df6b SHA512 eef45f7977e9a7f490b881f33ab8a948cc5eff9300ea850cc30062905c8e883c104961f075f56f7ce8e385142c35de168aef1e0b8169bda66786ea4bee33168b DIST xdelta3-3.0.11.tar.gz 683605 BLAKE2B bc33c9d6a3bb21bc52d72bba54f5e2b1058ea8d7cd7474aaf6dbdc27e165e0fbea644c584402f5bbc8ace7cd6a3aefae18588a659418f93eb041168545363bf4 SHA512 41c48e28f92ad50a737cf0acac150fe17d1132e9a652c482d751c8c4e745c6922d576a183eeabae343a1a238ed8c53353e537977628c86eb599ab3d1c01e7c52 EBUILD xdelta-1.1.4-r3.ebuild 834 BLAKE2B b99098382f637fb93858ea8573b3a0c2b9a2a0034143da1b84b1651a148424ec2fd41e5d4e81064da1e3c3912579e6401fd2f29156bcff9e7fef628ef70a9453 SHA512 5ef14b5cc39e01e62263c23be30ef6b4f591f238f717c50aefd39b02db466bfa20c06fb8cbd2e9347d64cc807ac40c690f7c84a2b037100322b6c7c4d42a183d +EBUILD xdelta-1.1.4-r4.ebuild 857 BLAKE2B febe4b6b7ed090fc8890a808c1dbb319eba2a1a1b9f309a36e3567808138bc2bbcac69ff73e85dcee76b8c0f179fdfb1eb12eca5146f61a2373a5e4c0400c884 SHA512 35ed366b2ddb463bcdf832ecf89d0e8c4fe7d0c412bc4f2d4c65c9420a19b7835741d470b6c210f6d21325ee5cb071613d50c46f391f784bf743497d9b553f89 EBUILD xdelta-3.0.11-r1.ebuild 858 BLAKE2B 18236d56533a1d0ebfe84c7e233903b8e5bce89ad8740989df774b05b388098ea3305109839fd22c915ac8dfaa9dccbb4a7d9f70fa4f8fa45d6abb4fbbd7bcdd SHA512 412923fc332082a2825164898dd9566e48893a39689a23514203e17156fac31b3116bbb344abbd25a26be04c5ecfaffeb72a07fff5a24eaba39a0b40a50357b0 MISC metadata.xml 382 BLAKE2B cc14f0abf5af25bd88162e05a791f04f324be346f1e36461af3ba9d28fef7e050746727f688a3a6229c2e69af389cbbc0c9ee0145ed57522e2090246d8d1ebf3 SHA512 0f3d418d613e9c3ad11655d54595046465dc28d452c99319efc1fc4b3e5b75bd708d6f83f29c40eab8ce83c9096b83175736cee80d1acc697e98ea4dd52651f4 diff --git a/dev-util/xdelta/files/xdelta-1.1.4-gzip.patch b/dev-util/xdelta/files/xdelta-1.1.4-gzip.patch new file mode 100644 index 000000000000..67696da730ce --- /dev/null +++ b/dev-util/xdelta/files/xdelta-1.1.4-gzip.patch @@ -0,0 +1,59 @@ +https://bugs.gentoo.org/919228 + +--- a/test/xdeltatest.c ++++ b/test/xdeltatest.c +@@ -512,7 +512,7 @@ run_command (TestProfile *tp, int zlevel, int slevel, File* from, File* to, File + if (zlevel > 0 && starts_with (tp->name, "diff")) + { + Patch *patch = read_patch (out, & sbuf); +- gzFile *rewrite = gzopen (out->name, diff_gzargs); ++ gzFile rewrite = gzopen (out->name, diff_gzargs); + + if (! rewrite) fail (); + +diff --git a/xdelta-1.1.4/xdmain.c b/../../xdelta-1.1.4.new/xdmain.c +index b1abc74..9c27195 100755 +--- a/xdmain.c ++++ b/xdmain.c +@@ -179,6 +179,7 @@ struct _XdFileHandle + guint narrow_high; + guint current_pos; + FILE* in; ++ gzFile zin; + gboolean (* in_read) (XdFileHandle* handle, void* buf, gint nbyte); + gboolean (* in_close) (XdFileHandle* handle); + gboolean in_compressed; +@@ -520,7 +521,7 @@ xd_gzwrite (XdFileHandle* fh, const void* buf, gint nbyte) + static gboolean + xd_gzread (XdFileHandle* fh, void* buf, gint nbyte) + { +- return gzread (fh->in, buf, nbyte) == nbyte; ++ return gzread (fh->zin, buf, nbyte) == nbyte; + } + + static gboolean +@@ -532,7 +533,7 @@ xd_gzclose (XdFileHandle* fh) + static gboolean + xd_gzrclose (XdFileHandle* fh) + { +- return gzclose (fh->in) == Z_OK; ++ return gzclose (fh->zin) == Z_OK; + } + + static void +@@ -1022,13 +1023,13 @@ xd_handle_narrow (XdFileHandle* fh, guint low, guint high, gboolean compressed) + } + + g_assert (fh->fd >= 0); +- fh->in = gzdopen (dup (fh->fd), "rb"); ++ fh->zin = gzdopen (dup (fh->fd), "rb"); + fh->in_read = &xd_gzread; + fh->in_close = &xd_gzrclose; + fh->in_compressed = TRUE; + fh->current_pos = 0; + +- if (! fh->in) ++ if (! fh->zin) + { + xd_error ("gzdopen failed: %s\n", g_strerror (errno)); + return -1; diff --git a/dev-util/xdelta/xdelta-1.1.4-r4.ebuild b/dev-util/xdelta/xdelta-1.1.4-r4.ebuild new file mode 100644 index 000000000000..b632f97574e6 --- /dev/null +++ b/dev-util/xdelta/xdelta-1.1.4-r4.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools toolchain-funcs + +DESCRIPTION="Computes changes between binary or text files and creates deltas" +HOMEPAGE="https://xdelta.googlecode.com/" +SRC_URI="https://${PN}.googlecode.com/files/${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" + +RDEPEND=">=dev-libs/glib-2 + >=sys-libs/zlib-1.1.4:=" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}/${P}-m4.patch" + "${FILESDIR}/${P}-glib2.patch" + "${FILESDIR}/${P}-pkgconfig.patch" + "${FILESDIR}/${P}-gzip.patch" +) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + tc-export CC + econf --disable-static +} + +src_install() { + default + + # no static archives + find "${ED}" -name '*.la' -delete || die +} |