summaryrefslogtreecommitdiff
path: root/dev-util
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-02-14 01:55:21 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-02-14 01:55:21 +0000
commit5c1e419582680cfb61e0ae777c693704f3a731e1 (patch)
tree93222dbb37294b92dda9cdc49eb6916f0aee55bb /dev-util
parent8d8d5594277708985dde6b4829f02ce45408e78e (diff)
gentoo auto-resync : 14:02:2023 - 01:55:20
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/Manifest.gzbin68411 -> 68401 bytes
-rw-r--r--dev-util/perf/Manifest3
-rw-r--r--dev-util/perf/perf-6.1.11.ebuild265
-rw-r--r--dev-util/rustup/Manifest2
-rw-r--r--dev-util/rustup/rustup-1.25.1-r1.ebuild403
5 files changed, 268 insertions, 405 deletions
diff --git a/dev-util/Manifest.gz b/dev-util/Manifest.gz
index 44a7b3735d00..dccd87aa1923 100644
--- a/dev-util/Manifest.gz
+++ b/dev-util/Manifest.gz
Binary files differ
diff --git a/dev-util/perf/Manifest b/dev-util/perf/Manifest
index 365b568a54f6..d75e57e02776 100644
--- a/dev-util/perf/Manifest
+++ b/dev-util/perf/Manifest
@@ -2,7 +2,10 @@ AUX perf-5.18-clang.patch 1858 BLAKE2B 04c8306f29f2fbb273f622ff046162a2e41eac9e5
AUX perf-6.0-clang.patch 1862 BLAKE2B e88655e51cb785b80cd44fefb73bb7668bf6d57205e478b106a0d0fbbee4e7089850c2328e796530347c354eb8e7e46e947c18e03ded488bede41de5f74f0b8e SHA512 0e92ba2e878b2b20f6d7c30ba5fde43388378c7f8e752a7c07dd65abc66e576be8f74cf9c06abb79713cc8c1cab37c9cd678f4e5bba8bb99ed1020317f278eb2
DIST linux-5.19.tar.xz 131581464 BLAKE2B 4db03a6830a3b3bbf0837e1912182a443d9a4aa8af20a12e6ec814ed708038452d3c0ccee1258cca671c464d76461536363a8adc56e9d098c9a44ae3484a297a SHA512 00313b2f9b82d2dc3fb8294007cf7d7599d254b717ed2de23c81fa7a1bbcbc2798ad286cb94e2f7f5bd54132d1d764facd90d30f79dbcc6616cc7f926adc2623
DIST linux-6.0.tar.xz 133886176 BLAKE2B c09a9c877ac0fac83dc31d2d04d96f0a3331d4ed78e3ad4edfd4dc077e1c11d0c49f419fdac4008b5c93d1b09c2b724e12ef0b38371ad0962908abf85dfa95fa SHA512 bac41a7aeb6e809616cee2f13dcd1c45e829dfd1ccf60aee1dc4c46b1e28532f4485c7d819a32940de84fdfbf89db80a4e919bce8a74b2948c5a01551771b714
+DIST linux-6.1.tar.xz 134728520 BLAKE2B ae60257860b2bd1bd708d183f0443afc60ebbd2b3d535c45e44c2e541bd0928530a3b62de6385dd4e4726ebbedcc0a871d4f3ffb4105b9f1f6d8ed7467f5688e SHA512 6ed2a73c2699d0810e54753715635736fc370288ad5ce95c594f2379959b0e418665cd71bc512a0273fe226fe90074d8b10d14c209080a6466498417a4fdda68
+DIST patch-6.1.11.xz 717696 BLAKE2B 57033764612efc0a173f501036ccd6cc4fb1ddb452f40d3d81cfea7c3d918174a6b242490fbb8b0c66eb91c4e6503b820b0e77ba12c3beeea95b492b662f3466 SHA512 3ea57aa49805a2ed9521b11237e70e2df68cff5c3215e5e047ec292daaa1caace6747219fbec6cdef84b099d607bc59ac7f9a7e72189fc269945586ee16ab899
DIST perf-5.19-binutils-2.39-patches.tar.xz 5612 BLAKE2B ec3aeadc3e2508f33dddbb419f434885b39b8220d294f3845f0bc96282923ff46dca126a04c732b8286752e56087ba5b2c5ad9526884f6d0b8b6df5665121e5e SHA512 af676e5a600e227d85f89a5ee0cfacfe1845aa56c27ef9da3ebaf578362d7e741375d30565759123b33b86d36bc9981c8c4cda113af32745cc59cf4a9275e73b
EBUILD perf-5.19.ebuild 7955 BLAKE2B b3a22b72e6deddb2f293e6346e639429791e5706cee770bdec14825ff921b803640e0f6c7c966f762c45dfb0489cf5d5eaa9c2ac6924f4ed508fa1876b4e775c SHA512 bfcafafbc770caab5e0bc8f0d007381567429ba32c9225cdcd4ab3d73623a69d21a62e1ebe15230004b4d2a19165d45c3e277347d49359fbc2c3497aae22d60b
EBUILD perf-6.0.ebuild 7370 BLAKE2B c59350ded7bf82d34bc05040272a8f10b467261215aaac17423281817d06a591bf64b32295b3835b3b0cc711cecd17e445eaf5975b21e46d31941d04adec8212 SHA512 8ec8941663620c49060c5534bcb37d6e82728a5869e83512035ca0211af1e3d1b735356fe48b5cd224928ac32491107e02db8a43a76e2f2450b107dee236db64
+EBUILD perf-6.1.11.ebuild 7374 BLAKE2B 4a5401aeadca11a8abdf5deab3c962a2db195288563f42136fd6cb594a94527df04541f8224b19de63e610dc389d84ab489f1c785a4704ccdabac2b04827e79c SHA512 8a5187ce7eb4f22442981dd6082230df7e94994034a9e0171c85fc3a29f6278555b8e9abde23650f3eec9b8d019c266a9089e30f800ca08c40a4bf2c8e85f845
MISC metadata.xml 1381 BLAKE2B 99d6c9db46b79ad7abd993c123f826dbe3f5e7c33fea98139a7fc694fe4d81e67887873e9edb390d63e65ca351033a8bd62d799fac946e2334188c2a4b776328 SHA512 a952ee2f4173bd2957038614c6ebaa44ff20bcf57f83f8fc5eabbaced667a7254a3e326e0fca541f1ce10bcc4e1d0df0b46600268bf38baf39bb2dda2bb3e41d
diff --git a/dev-util/perf/perf-6.1.11.ebuild b/dev-util/perf/perf-6.1.11.ebuild
new file mode 100644
index 000000000000..bff4ba7118b7
--- /dev/null
+++ b/dev-util/perf/perf-6.1.11.ebuild
@@ -0,0 +1,265 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{9..11} )
+inherit bash-completion-r1 estack llvm toolchain-funcs python-r1 linux-info
+
+DESCRIPTION="Userland tools for Linux Performance Counters"
+HOMEPAGE="https://perf.wiki.kernel.org/"
+
+LINUX_V="${PV:0:1}.x"
+if [[ ${PV} == *_rc* ]] ; then
+ LINUX_VER=$(ver_cut 1-2).$(($(ver_cut 3)-1))
+ PATCH_VERSION=$(ver_cut 1-3)
+ LINUX_PATCH=patch-${PV//_/-}.xz
+ SRC_URI="https://www.kernel.org/pub/linux/kernel/v${LINUX_V}/testing/${LINUX_PATCH}
+ https://www.kernel.org/pub/linux/kernel/v${LINUX_V}/testing/v${PATCH_VERSION}/${LINUX_PATCH}"
+elif [[ ${PV} == *.*.* ]] ; then
+ # stable-release series
+ LINUX_VER=$(ver_cut 1-2)
+ LINUX_PATCH=patch-${PV}.xz
+ SRC_URI="https://www.kernel.org/pub/linux/kernel/v${LINUX_V}/${LINUX_PATCH}"
+else
+ LINUX_VER=${PV}
+ SRC_URI=""
+fi
+
+LINUX_SOURCES="linux-${LINUX_VER}.tar.xz"
+SRC_URI+=" https://www.kernel.org/pub/linux/kernel/v${LINUX_V}/${LINUX_SOURCES}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux"
+IUSE="audit babeltrace clang crypt debug +doc gtk java libpfm lzma numa perl python slang systemtap unwind zlib zstd"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+BDEPEND="
+ ${LINUX_PATCH+dev-util/patchutils}
+ sys-devel/bison
+ sys-devel/flex
+ virtual/pkgconfig
+ doc? (
+ app-text/asciidoc
+ app-text/sgml-common
+ app-text/xmlto
+ sys-process/time
+ )
+ ${PYTHON_DEPS}
+"
+
+RDEPEND="audit? ( sys-process/audit )
+ babeltrace? ( dev-util/babeltrace )
+ crypt? ( virtual/libcrypt:= )
+ clang? (
+ sys-devel/clang:=
+ sys-devel/llvm:=
+ )
+ gtk? ( x11-libs/gtk+:2 )
+ java? ( virtual/jre:* )
+ libpfm? ( dev-libs/libpfm )
+ lzma? ( app-arch/xz-utils )
+ numa? ( sys-process/numactl )
+ perl? ( dev-lang/perl:= )
+ python? ( ${PYTHON_DEPS} )
+ slang? ( sys-libs/slang )
+ systemtap? ( dev-util/systemtap )
+ unwind? ( sys-libs/libunwind )
+ zlib? ( sys-libs/zlib )
+ zstd? ( app-arch/zstd )
+ dev-libs/elfutils
+ sys-libs/binutils-libs:="
+
+DEPEND="${RDEPEND}
+ >=sys-kernel/linux-headers-5.10
+ java? ( virtual/jdk )
+"
+
+S_K="${WORKDIR}/linux-${LINUX_VER}"
+S="${S_K}/tools/perf"
+
+CONFIG_CHECK="~PERF_EVENTS ~KALLSYMS"
+
+QA_FLAGS_IGNORED=(
+ 'usr/bin/perf-read-vdso32' # not linked with anything except for libc
+ 'usr/libexec/perf-core/dlfilters/.*' # plugins
+)
+
+pkg_pretend() {
+ if ! use doc ; then
+ ewarn "Without the doc USE flag you won't get any documentation nor man pages."
+ ewarn "And without man pages, you won't get any --help output for perf and its"
+ ewarn "sub-tools."
+ fi
+}
+
+pkg_setup() {
+ use clang && llvm_pkg_setup
+ # We enable python unconditionally as libbpf always generates
+ # API headers using python script
+ python_setup
+}
+
+# src_unpack and src_prepare are copied to dev-util/bpftool since
+# it's building from the same tarball, please keep it in sync with bpftool
+src_unpack() {
+ local paths=(
+ tools/arch tools/build tools/include tools/lib tools/perf tools/scripts
+ scripts include lib "arch/*/lib"
+ )
+
+ # We expect the tar implementation to support the -j option (both
+ # GNU tar and libarchive's tar support that).
+ echo ">>> Unpacking ${LINUX_SOURCES} (${paths[*]}) to ${PWD}"
+ tar --wildcards -xpf "${DISTDIR}"/${LINUX_SOURCES} \
+ "${paths[@]/#/linux-${LINUX_VER}/}" || die
+
+ if [[ -n ${LINUX_PATCH} ]] ; then
+ eshopts_push -o noglob
+ ebegin "Filtering partial source patch"
+ filterdiff -p1 ${paths[@]/#/-i } -z "${DISTDIR}"/${LINUX_PATCH} \
+ > ${P}.patch
+ eend $? || die "filterdiff failed"
+ eshopts_pop
+ fi
+
+ local a
+ for a in ${A}; do
+ [[ ${a} == ${LINUX_SOURCES} ]] && continue
+ [[ ${a} == ${LINUX_PATCH} ]] && continue
+ unpack ${a}
+ done
+}
+
+src_prepare() {
+ default
+ if [[ -n ${LINUX_PATCH} ]] ; then
+ pushd "${S_K}" >/dev/null || die
+ eapply "${WORKDIR}"/${P}.patch
+ popd || die
+ fi
+
+ pushd "${S_K}" >/dev/null || die
+ eapply "${FILESDIR}"/perf-6.0-clang.patch
+ popd || die
+
+ # Drop some upstream too-developer-oriented flags and fix the
+ # Makefile in general
+ sed -i \
+ -e "s@\$(sysconfdir_SQ)/bash_completion.d@$(get_bashcompdir)@" \
+ "${S}"/Makefile.perf || die
+ # A few places still use -Werror w/out $(WERROR) protection.
+ sed -i -e 's@-Werror@@' \
+ "${S}"/Makefile.perf "${S_K}"/tools/lib/bpf/Makefile \
+ "${S_K}"/tools/lib/perf/Makefile || die
+
+ # Avoid the call to make kernelversion
+ sed -i -e '/PERF-VERSION-GEN/d' Makefile.perf || die
+ echo "#define PERF_VERSION \"${PV}\"" > PERF-VERSION-FILE
+
+ # The code likes to compile local assembly files which lack ELF markings.
+ find -name '*.S' -exec sed -i '$a.section .note.GNU-stack,"",%progbits' {} +
+}
+
+puse() { usex $1 "" no; }
+perf_make() {
+ # The arch parsing is a bit funky. The perf tools package is integrated
+ # into the kernel, so it wants an ARCH that looks like the kernel arch,
+ # but it also wants to know about the split value -- i386/x86_64 vs just
+ # x86. We can get that by telling the func to use an older linux version.
+ # It's kind of a hack, but not that bad ...
+
+ # LIBDIR sets a search path of perf-gtk.so. Bug 515954
+
+ local arch=$(tc-arch-kernel)
+ local java_dir
+ use java && java_dir="${EPREFIX}/etc/java-config-2/current-system-vm"
+ # FIXME: NO_CORESIGHT
+ emake V=1 VF=1 \
+ HOSTCC="$(tc-getBUILD_CC)" HOSTLD="$(tc-getBUILD_LD)" \
+ CC="$(tc-getCC)" CXX="$(tc-getCXX)" AR="$(tc-getAR)" LD="$(tc-getLD)" NM="$(tc-getNM)" \
+ PKG_CONFIG="$(tc-getPKG_CONFIG)" \
+ prefix="${EPREFIX}/usr" bindir_relative="bin" \
+ tipdir="share/doc/${PF}" \
+ EXTRA_CFLAGS="${CFLAGS}" \
+ EXTRA_LDFLAGS="${LDFLAGS}" \
+ ARCH="${arch}" \
+ JDIR="${java_dir}" \
+ LIBCLANGLLVM=$(usex clang 1 "") \
+ LIBPFM4=$(usex libpfm 1 "") \
+ NO_AUXTRACE="" \
+ NO_BACKTRACE="" \
+ NO_CORESIGHT=1 \
+ NO_DEMANGLE= \
+ GTK2=$(usex gtk 1 "") \
+ feature-gtk2-infobar=$(usex gtk 1 "") \
+ NO_JVMTI=$(puse java) \
+ NO_LIBAUDIT=$(puse audit) \
+ NO_LIBBABELTRACE=$(puse babeltrace) \
+ NO_LIBBIONIC=1 \
+ NO_LIBBPF= \
+ NO_LIBCRYPTO=$(puse crypt) \
+ NO_LIBDW_DWARF_UNWIND= \
+ NO_LIBELF= \
+ NO_LIBNUMA=$(puse numa) \
+ NO_LIBPERL=$(puse perl) \
+ NO_LIBPYTHON=$(puse python) \
+ NO_LIBUNWIND=$(puse unwind) \
+ NO_LIBZSTD=$(puse zstd) \
+ NO_SDT=$(puse systemtap) \
+ NO_SLANG=$(puse slang) \
+ NO_LZMA=$(puse lzma) \
+ NO_ZLIB=$(puse zlib) \
+ WERROR=0 \
+ LIBDIR="/usr/libexec/perf-core" \
+ libdir="${EPREFIX}/usr/$(get_libdir)" \
+ plugindir="${EPREFIX}/usr/$(get_libdir)/perf/plugins" \
+ "$@"
+}
+
+src_compile() {
+ # test-clang.bin not build with g++
+ if use clang; then
+ make -C "${S_K}/tools/build/feature" V=1 CXX=${CHOST}-clang++ test-clang.bin || die
+ fi
+ perf_make -f Makefile.perf
+ use doc && perf_make -C Documentation man
+}
+
+src_test() {
+ :
+}
+
+src_install() {
+ _install_python_ext() {
+ perf_make -f Makefile.perf install-python_ext DESTDIR="${D}"
+ }
+
+ perf_make -f Makefile.perf install DESTDIR="${D}"
+
+ if use python; then
+ python_foreach_impl _install_python_ext
+ fi
+
+ if use gtk; then
+ local libdir
+ libdir="$(get_libdir)"
+ # on some arches it ends up in lib even on 64bit, ppc64 for instance.
+ [[ -f "${ED}"/usr/lib/libperf-gtk.so ]] && libdir="lib"
+ mv "${ED}"/usr/${libdir}/libperf-gtk.so \
+ "${ED}"/usr/libexec/perf-core || die
+ fi
+
+ dodoc CREDITS
+
+ dodoc *txt Documentation/*.txt
+
+ # perf needs this decompressed to print out tips for users
+ docompress -x /usr/share/doc/${PF}/tips.txt
+
+ if use doc ; then
+ doman Documentation/*.1
+ fi
+}
diff --git a/dev-util/rustup/Manifest b/dev-util/rustup/Manifest
index 398344d43e41..2a079b37f266 100644
--- a/dev-util/rustup/Manifest
+++ b/dev-util/rustup/Manifest
@@ -194,7 +194,6 @@ DIST rustls-0.20.6.crate 259289 BLAKE2B 36359bc14e87853752fe55a327bcd15a26cdb053
DIST rustls-native-certs-0.6.2.crate 22089 BLAKE2B f933315b493902c19b208894df2525e714f33bf3e1dbd4499770c7197abc4ee82e663cc3ac63e403b0b74ec1dd7d52f22773b9af8e10c4dbf29274f4e642deb3 SHA512 04c7a39cd62d1845c4430ae63fc739ed21e2cb43ec49ff77fb18867b1e8a16c4a03146583a25242c8b44b44090b38b45a550b2852824b975c3466a1740349968
DIST rustls-pemfile-0.3.0.crate 14487 BLAKE2B 8f7150f409f8708aaabfb8f41ef57f075cf6c135a5d4eaa3aa2851d7fb413114e861f0b6a53474faf73a22b560f36fdf52ee17ecf5809ab6563297b6c0cd5bd8 SHA512 62c35aaae1685b5b274cb7de8a12770a1564b0862da9544f4445b1402b0a494619714fb9bb50909c7fdfe32ee5f8bdcfbea237b2fde843e5af9ea1393c206b50
DIST rustls-pemfile-1.0.0.crate 14559 BLAKE2B 8285b8ee627f9b6760df9ff27dd4983f993ddc7f24248801b80305df6edc9e2f9ed682327dc1752f6547cb93304b8ccb67e50aded61927b855e3f624fd3e40d7 SHA512 5d4c5e720bbf2c1aa4e0141d51fa2e804415167b1dd588d94e9c1e1332b9138a15391b190535605f1518868b7727322078bd6a5bbff6c850c868832bc5270e20
-DIST rustup-1.25.1.tar.gz 747100 BLAKE2B 9c0b5cfef9643fd0bcf4e5554c7e596b5564cbf0bd9e01d5ff6765072a64fc59ac8037616c523ff190d5cfdf68394073852b9d48f6ca05a61ae9b8fdee35fab7 SHA512 a77cb34ba0c2e7577c8acbd474197aabaa84e3b64b3c42f1d0c328df55c6accbe412aba9a787f0ea2f0654f085475455c9c488b2b6de34ad8889a2716d1e8d0c
DIST rustup-1.25.2.tar.gz 747638 BLAKE2B 981e9c7091ed6597bd364fb489cdd80d56d977ea9200b4f01389a4e963356b5e26782358979da442ede2d10af75536f84659e7fcfc13af8a0a9b58377b799aa7 SHA512 77268322224816c84c1a17f125cce10e0bfddae857f1e71885d9999f1415c567ee508f93367dd6adca62a92092c2869957206d4c707d20da461e2866fdc74e67
DIST rustversion-1.0.6.crate 18380 BLAKE2B 2969bb40849dbd2f0d3f4a190629e53204cc5ef9065be6aec7a4504470e1dba6cde7172a3075a1bade421b30b88947cef6b29c0ab5aea8601695f72a7acc45d1 SHA512 fa9efca7e49eff6c510d062d02fc73d15341b1fe16d24dada86108202a4295d2e0519aecf3f1701540cd4d49a513c05e74d3d27e21e5eb3cb1aba46c70a992cc
DIST ryu-1.0.10.crate 48485 BLAKE2B cbc0ab4e0b2031f4ca3a34914bd61395d14706d42e2414757aa23a67530d549382d61b630159c92a169d1dd3315951b0071ff18349d2b090ae262de536aa29e2 SHA512 1bd0af71a20715251dd42596df6e7677e44f712bbb40b0d9544109c1b2478a7bd2c9393535f0d4f3bfe2d1b75b3a2b899044051715a7da7d165d6d586e0775f2
@@ -306,7 +305,6 @@ DIST zeroize_derive-1.3.2.crate 10299 BLAKE2B 39cd21629ae91a3a80ec283c8a988be355
DIST zstd-0.11.2+zstd.1.5.2.crate 28987 BLAKE2B e04fe25ec6661819efeca08698c207922c38447459aa291961d3512d7c30016c51ddf49a8dadac0b7b2bf677b6a89d22670ec1e214607b476584a7e1b2dbf36d SHA512 d3f053c4acbdb45f3dadc9590db56095c761f0ff8899d22461f664701de766dde2fac2960a4477cd05d0a9c7ec200caa02ff891eb1f04630734996e0c38d10dd
DIST zstd-safe-5.0.2+zstd.1.5.2.crate 17273 BLAKE2B 74dc561046f9bc595c58b62bc6ff291325bc23fd06a1249148426bb853271393eab5121d2e1e29e433eff562c9eab72c1be265f3fe3bf14cc35d4a741db03c38 SHA512 03a6f07ada211fd6c364f03d06acff705fa5b08129aa09c29ad310f05b233553f8ea697e504470d4c104bd947f5d4102328c4df0df5e1da6d8e537f51451a014
DIST zstd-sys-2.0.1+zstd.1.5.2.crate 715552 BLAKE2B 497901ccaff7f92aa607797970c6beaaa3fcbeb08a48a2dffdfd465af999291e65024dfb7fc844802e5befa0e67dbe225310f72e6292bdcd22596b2614665d8e SHA512 a54ff4159640d31f898cbd374b9117d1e7ee4b54c5b4a8e1ed6286d9e954341e077088c52161e086ef0f28dfec13e03f64013712fa9bc59d471191cffd8e0e1e
-EBUILD rustup-1.25.1-r1.ebuild 7841 BLAKE2B 598f9c61e13879229c545e28dc7f5a2fe2d32975cb62ccaa5ec84dbfedcfdd73e03e9827d39f070302a1e4a0c71b07c00de3aff3c757d63c7fa1d1e76c7f516a SHA512 6d44ef4994b6c2f9c5275241422f9bbbd88c6faaef6742d2bb3d98691a89929f19f1e15873ea511f6d12bc1cfb1e4fea01cec1a0e3c06e371da34b1a9e1869b7
EBUILD rustup-1.25.2.ebuild 7841 BLAKE2B 598f9c61e13879229c545e28dc7f5a2fe2d32975cb62ccaa5ec84dbfedcfdd73e03e9827d39f070302a1e4a0c71b07c00de3aff3c757d63c7fa1d1e76c7f516a SHA512 6d44ef4994b6c2f9c5275241422f9bbbd88c6faaef6742d2bb3d98691a89929f19f1e15873ea511f6d12bc1cfb1e4fea01cec1a0e3c06e371da34b1a9e1869b7
EBUILD rustup-9999.ebuild 2235 BLAKE2B c0562dab0e7a5ed4e7b9466dcefe3f85f826460376e4594a8cc1d4930bc93456cee6f00ba8b6f56d84948c9acaefbee787578a7553878b4631066c289de2fe36 SHA512 d9a8326520dff7c24d7cfb265c55f034da00f6c280562d14c5c1dda6b88e1fd7f22f4b602676a324845492676f095edb9a169eeea347f0fe80a1ad6dbd16470f
MISC metadata.xml 438 BLAKE2B cb3b086cc3bc460eba991afe79f2f489f675dc61f5fc7f33796963f91be9766379453ef5dd3f621991e21d1c1b477c9787e8ee6619a1f3c25890aab5935de1b6 SHA512 0affb079963bfe587f9afc6266c582e7fc8b8f6f143f749c1b131a326437b1181b6b5399eaba98c270263e679ae5261bdf56e0e0aa15858522937e0d438fd7d6
diff --git a/dev-util/rustup/rustup-1.25.1-r1.ebuild b/dev-util/rustup/rustup-1.25.1-r1.ebuild
deleted file mode 100644
index 9f97e7fcf2aa..000000000000
--- a/dev-util/rustup/rustup-1.25.1-r1.ebuild
+++ /dev/null
@@ -1,403 +0,0 @@
-# Copyright 2020-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-CRATES="
- adler-1.0.2
- aead-0.3.2
- aes-0.6.0
- aes-soft-0.6.4
- aesni-0.10.0
- aho-corasick-0.7.18
- ansi_term-0.12.1
- anyhow-1.0.57
- ascii-canvas-3.0.0
- async-compression-0.3.14
- atty-0.2.14
- autocfg-0.1.8
- autocfg-1.1.0
- base64-0.13.0
- bit-set-0.5.2
- bit-vec-0.6.3
- bitflags-1.3.2
- bitvec-0.20.4
- block-buffer-0.9.0
- block-buffer-0.10.2
- block-modes-0.7.0
- block-padding-0.2.1
- blowfish-0.7.0
- bstr-0.2.17
- buffered-reader-1.1.2
- bumpalo-3.10.0
- byteorder-1.4.3
- bytes-1.1.0
- cast5-0.9.0
- cc-1.0.73
- cfg-if-0.1.10
- cfg-if-1.0.0
- chrono-0.4.19
- cipher-0.2.5
- clap-2.34.0
- cmac-0.5.1
- const-oid-0.5.2
- core-foundation-0.9.3
- core-foundation-sys-0.8.3
- cpufeatures-0.2.2
- crc32fast-1.3.2
- crossbeam-channel-0.5.4
- crossbeam-deque-0.8.1
- crossbeam-epoch-0.9.8
- crossbeam-utils-0.8.8
- crunchy-0.2.2
- crypto-common-0.1.3
- crypto-mac-0.10.1
- crypto-mac-0.11.1
- ctr-0.6.0
- curl-0.4.43
- curl-sys-0.4.55+curl-7.83.1
- curve25519-dalek-3.2.1
- dbl-0.3.2
- der-0.3.5
- des-0.6.0
- diff-0.1.12
- digest-0.9.0
- digest-0.10.3
- dirs-next-2.0.0
- dirs-sys-next-0.1.2
- dyn-clone-1.0.5
- eax-0.3.0
- ecdsa-0.11.1
- ed25519-1.5.2
- ed25519-dalek-1.0.1
- effective-limits-0.5.4
- either-1.6.1
- elliptic-curve-0.9.12
- ena-0.14.0
- encoding_rs-0.8.31
- enum-map-2.3.0
- enum-map-derive-0.9.0
- env_proxy-0.4.1
- fastrand-1.7.0
- ff-0.9.0
- filetime-0.2.16
- fixedbitset-0.4.1
- flate2-1.0.24
- fnv-1.0.7
- foreign-types-0.3.2
- foreign-types-shared-0.1.1
- form_urlencoded-1.0.1
- funty-1.1.0
- futures-channel-0.3.21
- futures-core-0.3.21
- futures-io-0.3.21
- futures-sink-0.3.21
- futures-task-0.3.21
- futures-util-0.3.21
- generic-array-0.14.5
- getrandom-0.1.16
- getrandom-0.2.6
- git-testament-0.2.1
- git-testament-derive-0.1.13
- group-0.9.0
- h2-0.3.13
- hashbrown-0.11.2
- hermit-abi-0.1.19
- hmac-0.11.0
- http-0.2.7
- http-body-0.4.5
- httparse-1.7.1
- httpdate-1.0.2
- hyper-0.14.19
- hyper-rustls-0.23.0
- hyper-tls-0.5.0
- idea-0.3.0
- idna-0.2.3
- indexmap-1.8.2
- instant-0.1.12
- ipnet-2.5.0
- itertools-0.10.3
- itoa-1.0.2
- jobserver-0.1.24
- js-sys-0.3.57
- lalrpop-0.19.8
- lalrpop-util-0.19.8
- lazy_static-1.4.0
- libc-0.2.126
- libm-0.2.2
- libz-sys-1.1.8
- lock_api-0.4.7
- log-0.4.17
- lzma-sys-0.1.17
- matches-0.1.9
- md-5-0.9.1
- memchr-2.5.0
- memoffset-0.6.5
- memsec-0.6.2
- mime-0.3.16
- miniz_oxide-0.5.3
- mio-0.8.3
- native-tls-0.2.10
- new_debug_unreachable-1.0.4
- no-std-compat-0.4.1
- num-bigint-0.2.6
- num-bigint-dig-0.6.1
- num-integer-0.1.45
- num-iter-0.1.43
- num-traits-0.2.15
- num_cpus-1.13.1
- num_threads-0.1.6
- once_cell-1.12.0
- opaque-debug-0.3.0
- opener-0.5.0
- openssl-0.10.40
- openssl-macros-0.1.0
- openssl-probe-0.1.5
- openssl-src-111.20.0+1.1.1o
- openssl-sys-0.9.74
- p256-0.8.1
- parking_lot-0.12.1
- parking_lot_core-0.9.3
- pem-0.8.3
- percent-encoding-2.1.0
- petgraph-0.6.2
- phf_shared-0.10.0
- pin-project-lite-0.2.9
- pin-utils-0.1.0
- pkcs8-0.6.1
- pkg-config-0.3.25
- ppv-lite86-0.2.16
- precomputed-hash-0.1.1
- proc-macro2-1.0.39
- pulldown-cmark-0.8.0
- quote-1.0.18
- radium-0.6.2
- rand-0.7.3
- rand-0.8.5
- rand_chacha-0.2.2
- rand_chacha-0.3.1
- rand_core-0.5.1
- rand_core-0.6.3
- rand_hc-0.2.0
- rayon-1.5.3
- rayon-core-1.9.3
- redox_syscall-0.2.13
- redox_users-0.4.3
- regex-1.5.6
- regex-automata-0.1.10
- regex-syntax-0.6.26
- remove_dir_all-0.5.3
- remove_dir_all-0.7.0
- reqwest-0.11.10
- retry-1.3.1
- ring-0.16.20
- ripemd160-0.9.1
- rs_tracing-1.0.1
- rsa-0.3.0
- rustls-0.20.6
- rustls-native-certs-0.6.2
- rustls-pemfile-0.3.0
- rustls-pemfile-1.0.0
- rustversion-1.0.6
- ryu-1.0.10
- same-file-1.0.6
- schannel-0.1.20
- scopeguard-1.1.0
- sct-0.7.0
- security-framework-2.6.1
- security-framework-sys-2.6.1
- semver-1.0.9
- sequoia-openpgp-1.9.0
- serde-1.0.137
- serde_derive-1.0.137
- serde_json-1.0.81
- serde_urlencoded-0.7.1
- sha-1-0.9.8
- sha1collisiondetection-0.2.5
- sha2-0.9.9
- sha2-0.10.2
- sharded-slab-0.1.4
- signature-1.3.2
- simple_asn1-0.4.1
- siphasher-0.3.10
- slab-0.4.6
- smallvec-1.8.0
- socket2-0.4.4
- spin-0.5.2
- spki-0.3.0
- string_cache-0.8.4
- strsim-0.8.0
- strsim-0.10.0
- subtle-2.4.1
- syn-1.0.96
- synstructure-0.12.6
- sys-info-0.9.1
- tap-1.0.1
- tar-0.4.38
- tempfile-3.3.0
- term-0.5.1
- term-0.7.0
- textwrap-0.11.0
- thiserror-1.0.31
- thiserror-impl-1.0.31
- threadpool-1.8.1
- time-0.1.43
- time-0.3.9
- time-macros-0.2.4
- tiny-keccak-2.0.2
- tinyvec-1.6.0
- tinyvec_macros-0.1.0
- tokio-1.19.0
- tokio-native-tls-0.3.0
- tokio-rustls-0.23.4
- tokio-socks-0.5.1
- tokio-util-0.6.10
- tokio-util-0.7.2
- toml-0.5.9
- tower-service-0.3.1
- tracing-0.1.34
- tracing-attributes-0.1.21
- tracing-core-0.1.26
- try-lock-0.2.3
- twofish-0.5.0
- typenum-1.15.0
- unicase-2.6.0
- unicode-bidi-0.3.8
- unicode-ident-1.0.0
- unicode-normalization-0.1.19
- unicode-width-0.1.9
- unicode-xid-0.2.3
- untrusted-0.7.1
- url-2.2.2
- vcpkg-0.2.15
- vec_map-0.8.2
- version_check-0.9.4
- wait-timeout-0.2.0
- walkdir-2.3.2
- want-0.3.0
- wasi-0.9.0+wasi-snapshot-preview1
- wasi-0.10.2+wasi-snapshot-preview1
- wasi-0.11.0+wasi-snapshot-preview1
- wasm-bindgen-0.2.80
- wasm-bindgen-backend-0.2.80
- wasm-bindgen-futures-0.4.30
- wasm-bindgen-macro-0.2.80
- wasm-bindgen-macro-support-0.2.80
- wasm-bindgen-shared-0.2.80
- web-sys-0.3.57
- webpki-0.22.0
- winapi-0.3.9
- winapi-i686-pc-windows-gnu-0.4.0
- winapi-util-0.1.5
- winapi-x86_64-pc-windows-gnu-0.4.0
- windows-sys-0.36.1
- windows_aarch64_msvc-0.36.1
- windows_i686_gnu-0.36.1
- windows_i686_msvc-0.36.1
- windows_x86_64_gnu-0.36.1
- windows_x86_64_msvc-0.36.1
- winreg-0.8.0
- winreg-0.10.1
- wyz-0.2.0
- x25519-dalek-1.2.0
- xattr-0.2.3
- xxhash-rust-0.8.5
- xz2-0.1.6
- zeroize-1.3.0
- zeroize_derive-1.3.2
- zstd-0.11.2+zstd.1.5.2
- zstd-safe-5.0.2+zstd.1.5.2
- zstd-sys-2.0.1+zstd.1.5.2
-"
-
-inherit bash-completion-r1 cargo prefix
-
-DESCRIPTION="Rust toolchain installer"
-HOMEPAGE="https://rust-lang.github.io/rustup/"
-
-if [[ ${PV} == "9999" ]] ; then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/rust-lang/${PN}.git"
-else
- declare -A GIT_CRATES=(
- [home]="https://github.com/rbtcollins/home;a243ee2fbee6022c57d56f5aa79aefe194eabe53"
- )
- SRC_URI="https://github.com/rust-lang/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz
- $(cargo_crate_uris)
- "
- KEYWORDS="~amd64 ~arm64 ~ppc64"
-fi
-
-LICENSE="Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD Boost-1.0 CC0-1.0 MIT Unlicense ZLIB"
-SLOT="0"
-IUSE=""
-
-DEPEND="
- app-arch/xz-utils
- net-misc/curl:=[http2,ssl]
- dev-libs/openssl:0=
-"
-RDEPEND="${DEPEND}"
-BDEPEND="virtual/rust"
-
-QA_FLAGS_IGNORED="usr/bin/.*"
-
-# uses network
-RESTRICT="test"
-
-src_unpack() {
- if [[ "${PV}" == *9999* ]]; then
- git-r3_src_unpack
- cargo_live_src_unpack
- else
- cargo_src_unpack
- fi
-}
-
-src_configure() {
- # modeled after ci/run.bash upstream
- # reqwest-rustls-tls requires ring crate, which is not very portable.
- local myfeatures=(
- no-self-update
- curl-backend
- reqwest-backend
- reqwest-default-tls
- )
- case ${ARCH} in
- ppc*|mips*|riscv*|s390*)
- ;;
- *) myfeatures+=( reqwest-rustls-tls )
- ;;
- esac
- cargo_src_configure --no-default-features
-}
-
-src_compile() {
- export OPENSSL_NO_VENDOR=true
- cargo_src_compile
-}
-
-src_install() {
- cargo_src_install
- einstalldocs
- newbin "$(prefixify_ro "${FILESDIR}"/symlink_rustup.sh)" rustup-init-gentoo
-
- ln -s "${ED}/usr/bin/rustup-init" rustup || die
- ./rustup completions bash rustup > "${T}/rustup" || die
- ./rustup completions zsh rustup > "${T}/_rustup" || die
-
- dobashcomp "${T}/rustup"
-
- insinto /usr/share/zsh/site-functions
- doins "${T}/_rustup"
-}
-
-pkg_postinst() {
- elog "No rustup toolchains installed by default"
- elog "eselect activated system rust toolchain can be added to rustup by running"
- elog "helper script installed as ${EPREFIX}/usr/bin/rustup-init-gentoo"
- elog "it will create symlinks to system-installed rustup in home directory"
- elog "and rustup updates will be managed by portage"
- elog "please delete current rustup binaries from ~/.cargo/bin/ (if any)"
- elog "before running rustup-init-gentoo"
-}