summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgy Yakovlev <gyakovlev@gentoo.org>2019-05-16 17:13:45 -0700
committerGeorgy Yakovlev <gyakovlev@gentoo.org>2019-05-16 17:13:45 -0700
commit9f1e1780a767315efe548dc84769b31c6aea08e6 (patch)
treece89dbb504cfe16ddadd79cc32082180f265e92c /dev-lang/rust-bin
parentvirtual/cargo: drop vulnerable (diff)
downloadgentoo-9f1e1780a767315efe548dc84769b31c6aea08e6.tar.gz
gentoo-9f1e1780a767315efe548dc84769b31c6aea08e6.tar.bz2
gentoo-9f1e1780a767315efe548dc84769b31c6aea08e6.zip
dev-lang/rust-bin: drop vulnerable
Bug: https://bugs.gentoo.org/685970 Package-Manager: Portage-2.3.66, Repoman-2.3.12 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'dev-lang/rust-bin')
-rw-r--r--dev-lang/rust-bin/Manifest26
-rw-r--r--dev-lang/rust-bin/rust-bin-1.34.0-r1.ebuild160
-rw-r--r--dev-lang/rust-bin/rust-bin-1.34.1.ebuild171
3 files changed, 0 insertions, 357 deletions
diff --git a/dev-lang/rust-bin/Manifest b/dev-lang/rust-bin/Manifest
index fc164016e78f..dc3f55e91e53 100644
--- a/dev-lang/rust-bin/Manifest
+++ b/dev-lang/rust-bin/Manifest
@@ -69,32 +69,6 @@ DIST rust-1.33.0-powerpc64-unknown-linux-gnu.tar.xz 126030216 BLAKE2B b1d1b996b8
DIST rust-1.33.0-powerpc64le-unknown-linux-gnu.tar.xz 130922680 BLAKE2B db63d859631703e845efac57074e0f33f80a3b52b2e9dc8707b81892eee8fc922fa5a7d4b7b1f45fb5f19ea4d7f6fde9212f1c6e99e7e4c30dbc02aa87b0df7e SHA512 393c808e93792cf2b126d6111834932a55cbf18339942ac0d20fc4a3692b0ac08c21a3c8fd393795f7aafecac5a2c5d7c9415c18017a7453f759f746045f5144
DIST rust-1.33.0-s390x-unknown-linux-gnu.tar.xz 134441220 BLAKE2B e6f0a6e54e4e1fde10f54f66615d44442b7cb5eb5bda43d55ee791328c7ecd61505b3d84719df82b7c5c7ae473b7041512f2cf346281518d7d78d0e22112fa05 SHA512 755a0203e2c143386cb3729faada4d2c38b254dfa7e6eeb722ec9847d6319a1d3d289c7b77a2bc478d79dbbabfcd826d8b015acd29fbdf5acb591feae1876205
DIST rust-1.33.0-x86_64-unknown-linux-gnu.tar.xz 155298128 BLAKE2B af5bc628bc054bd354d5af78e53cd2ffbfbdf2c2d3a3e58eeb593f148c54024fa5905aa53a69c514d6d41e48688697e1ce8adb866817c77cdf541399f6e7956f SHA512 b7f3087f34e99517cd729f5ff1f8cce3f3254cb36c734d5b90d878293e4406934c2f597bf7e2941e9257046f62c9274eb4769a64dabfbc5f0bbf2a1703f7fef8
-DIST rust-1.34.0-aarch64-unknown-linux-gnu.tar.xz 120855004 BLAKE2B cdd8a4d4504577eab17aeefefba08253312061f2c6092026a98a3190f3003f5bccb741e9fbcdcea29dd38b494b9f0ea6412afb345ef2488c95ddbb6e58b60daa SHA512 de477af06ec3e7260d9071d9f18a84463125492f1f98df0b4422743fbd1db0dc0ee488bce93738ee394169af4eeb94be84dd19fab1c7fc6eda79431a26d2d24c
-DIST rust-1.34.0-arm-unknown-linux-gnueabi.tar.xz 122526516 BLAKE2B 396eb99c20fba62a15093a82e7d2df3d03d91cc97b9601294b0dc0866c2c8a251bd555ce86597db4d68de94055aaecf01efdf011cf4af2a1f35f00ffacb7c3ce SHA512 afd953d6109781f510532f7e2e8344842b07171e1fc2f56a3be50a77bba79820e0dc7bcde4419f1f218ee3f1628284b3c42e63b3dc8ee7fad86c751d419f623a
-DIST rust-1.34.0-arm-unknown-linux-gnueabihf.tar.xz 122918872 BLAKE2B 9cc2878f69e32c39af32928662a5351d4ff810fd4d6a9dde5e73737cbc4284e6f813687fee4c6ad9bb0e87b912b06b289e7b06eff4ba87f1b6bf802800effa14 SHA512 8ae0a5ba27f983b4fc33e1c928451c5dca0ee04b96448a1f18448605b91f5433da1ccd964c6650f19248b89ade5e92631a78550d609a169a370beaf6d01233a9
-DIST rust-1.34.0-armv7-unknown-linux-gnueabihf.tar.xz 124648648 BLAKE2B 409f4a991672bbd130913ba63920abf687cb7bde43f1458284e23b31531d4339d0cd935515edd5da1f2d49059860d3932ca2bd5f017b9df77f5075f742518575 SHA512 923b2e81c6e388ee293a5550c06181ec0ae91b61055716e226c445b7036e758c1b8e988c125baadf0501e17f7ede0eb46ad43ec55038d36a9443e92fc297dcb0
-DIST rust-1.34.0-i686-unknown-linux-gnu.tar.xz 169552532 BLAKE2B 15ac40601d2434da1f3f37a20417804678317a2f23f0494a2c0dacdd2a41fa7b2a385f0744a8cfcd730c4bf4ed77cdb6f5343f4ccdbd30da6a5d58a0328a0282 SHA512 b0a8c022e3ba2df82827a02c9647c18649c8aa0e6cf830957883bee1013cb11dc36e8e26cef4531068d3a14af0f854256cc273732033b36c8f696392b918fcb5
-DIST rust-1.34.0-mips-unknown-linux-gnu.tar.xz 113552848 BLAKE2B fc2eac31b4e2d106fbc5bd7528cc8d05452aa5e95943edea7e0802e2e05e4246d26a22c79ad3d55cbf940459f0e6c8cd98022ecf3fd964e7d027b0edfcd67122 SHA512 c9dc9043aba2882b426dcf330701ff9912a0417c7b80b5f4cafea2d1934f68eb15a1bf0aaf8cbaf728bc56ff32a8250ed47bd123b8f784184b5e59442160eb3c
-DIST rust-1.34.0-mips64-unknown-linux-gnuabi64.tar.xz 119139144 BLAKE2B 9da97e096105aa0c5d94b0357fd27af209484bb393333c77fc66501b39ae94dd96044828848cd1f1bb5b588f4bd8fa984389d3dccfc3cd077e0fa24245d66bd6 SHA512 f1dc0e81ea0387f8689d5b2168690c5e85a03b5a04a14ba6c7ff28d90c2a0b8d7698f7585754870940d547ea006c1ab18127197a36548e1fc4f8ff08f5529302
-DIST rust-1.34.0-mipsel-unknown-linux-gnu.tar.xz 115847776 BLAKE2B 79a2023ea85e6e8fdad4d1d6b4a48fe724850db0f1ee5c7ae1303242a59e3ef5c383f5ed9c4959b04766bacf9c56b4d8f1d4c87580558d44790a3c94dbdeddc5 SHA512 07e7da6467771b455ed94b83451a45cc582cb86cd57949dbdef4beb38eaa01f7e9f0799d49864c014891a5ace39fc09d909585058f6c46f0799bc1c6f9734f2f
-DIST rust-1.34.0-powerpc-unknown-linux-gnu.tar.xz 116836732 BLAKE2B ed6cb4c0974b9f40726d3331973fbc632427a9bfb35cabdffe5b81fff3ed71cc55f7fcbbfda9a579cfa646637242e40a7c9c38fd36cf69f5ec125b4df494c370 SHA512 d9f89a0f90eaf9898f6d46deb84327cdda15b3d92599e8c27c11708115bebc0914076576cced6628f69ae2035a50f78eb2a5e695e1028cec900cc7b0f26a29b4
-DIST rust-1.34.0-powerpc64-unknown-linux-gnu.tar.xz 125810152 BLAKE2B 6ae7fd1e78638dc807c6633b567f11372e7c6f8cf8f9fc381d39c39d8f43bf714609298566cd92fee1db6eb1d4da3ca607deed90d6509546cbdf4dbd12dd291a SHA512 f1c044a8be65075f40f9358e9d4258cee19a14c2de42b6c161b325f65529dd9bcedb0f3078de624c0b572b85f5bbd1be93dc2049eadf658815d60b8d6835a689
-DIST rust-1.34.0-powerpc64le-unknown-linux-gnu.tar.xz 129639888 BLAKE2B eeb3e27d677f5dd816ca8395e66bb063d3f0a82af9ed1a123f9bcb1124441e740a8e8511c848f10533398a0008b6b1668a1f4bbcecdacd1772eca02a89164456 SHA512 2bf9aa71af041c45e29ad8d10d96088e4fb04dac70bd278f9896b25b63c4c673bca954aaf3a139ef13100e252871d0a1fb4c69d5b88b1ac3fe8657642580e802
-DIST rust-1.34.0-s390x-unknown-linux-gnu.tar.xz 134441480 BLAKE2B 423071ec0799f0b0608b71b7d3e65e6797474f4769adb22756b467187dcbe95cb8f377f3574571d9d45a890372fac037e66b4ff23691ae28e545b8e451ec23f9 SHA512 14f46e08f0251ed302ad71c20b5797cd73063b0396fb6654b8d5ee9e27d59f9477a4819a1ae8e04ebd8b25006e92f43a0ef9b2fc53e5029b621746a256153f3c
-DIST rust-1.34.0-x86_64-unknown-linux-gnu.tar.xz 157382624 BLAKE2B 0e87efe48dfe5a9b588ea86378057a31c84b08f5f1bc0740c197962d8cae320b0418c42efdf7573dd22fbfd829f29f2a1d1a8c942d65051c14c2fe25cfe15071 SHA512 2ad2a9a2871be53498876db6146e6bff12c4f63a0cb3f71cfdc62602cf7be91ef3a9f6a2ba8f426d68e5ed31ae53c5d28fe4ca898e4774227bb98b770b0a36c4
-DIST rust-1.34.1-aarch64-unknown-linux-gnu.tar.xz 120842956 BLAKE2B 12593640903692fa651ef392accb7e438225d4b29886964244afe1e7d62d7a255a065baa931109b87f0aab3caa6394d67075abd77c27f1343c500dac831014c5 SHA512 9c0b09faad1b19f3d758657ce37dbcc94a1fe76857648d90f51dbebdbe169183eb86a267d920b4bc88f7cd8c057d77bcafc2060082eee27a18c6e965098f21e0
-DIST rust-1.34.1-arm-unknown-linux-gnueabi.tar.xz 122498772 BLAKE2B 05da544b995c371ba189ac89b2ccfe172c0700cf487d30a456ae3ce63f68ec8cd56ec0f339acc8742910c14bf135c9615224dbdd1e593fd41ba8457ae148ffa4 SHA512 edf56e72e88484226c4a97e3741b2074cc720e134d093d31d4e7df93ab15aa4700a4daad718fb8bd4073f41f7de6950b6ff901704a7b15e8d966dfa03625c89a
-DIST rust-1.34.1-arm-unknown-linux-gnueabihf.tar.xz 122856028 BLAKE2B 916355132d3a9f7a2f3845f03a48d2dbcae5cfac03af510c0453eb51f65f83c4cb3acc93e32deed96d534b048de595e13168b6d83da03ccf1d575083408be524 SHA512 42edef7faeb76e31449193348445c89f1958380c14c31b9b5ecfaa32cb6b32ede46edf9a450993a475152bc3b9e342d2432513bd0e80196964ddb2cd8ec80400
-DIST rust-1.34.1-armv7-unknown-linux-gnueabihf.tar.xz 124571496 BLAKE2B b5282d706352e39dd986afd68565a0eb35b029f3b513e5c3e4e07dc4fc36a351536e4976c65db532acd9db4d07ea24ec5bb65238571e5bf17f0d9589c889aec5 SHA512 5955acdfba0f330903fdb3e2b550db246c91dedc1a42a56818c918e1ce656217d0a6117a1493e444ba35187a5bb4ecb78a8ace76aff1741aa7fcedef97741068
-DIST rust-1.34.1-i686-unknown-linux-gnu.tar.xz 169612152 BLAKE2B de955ed364060f5458f2c65a51c8b9e75f881bf1e3a1d5f53847205684ef8ac856d459f2f7552f746100fc8f9f8732a5b44cdddb5425f23f6754ba874834d106 SHA512 a68a69107d21f3cf9a5541a85d96cbe64aba6fa0f433690643edcb837c029276d14e72b0b7500257e57aeee476d516bd0eb09fe1d558118a67bb9c986b218ca1
-DIST rust-1.34.1-mips-unknown-linux-gnu.tar.xz 113489824 BLAKE2B caf2a320cb579b65da17383749ecb35ed3f8a3774b2ceab3cd9ed84d4d6b2462c4c69dbc8d95a8de653ccb8b3fe2ee52044a955bad073cfb627b6a00378c235a SHA512 9e6a50541cacb7242c99b63094f6150b466ddfc1306b5912b3dfd46b11babc87e2cbd97c8c8ea7be3df6f40ae10f79ca169476408c83730cedd1260d2e096809
-DIST rust-1.34.1-mips64-unknown-linux-gnuabi64.tar.xz 119091428 BLAKE2B 2075aafbcbde8c27c232446165ed7d1cde0fdd3d00df3ba82ec768cd0e4ce88ec2f7498600482c49c74a4e9e383fe5ca9ab00f6d18307518c284adbb73415920 SHA512 b8f9762ed07a83291d04263acd277a466f65d8a05fe34381e608368aa3c94a41e942ed724694814db52a36d19f6ba0c8902238266d6c981cd2b0eb6b10308821
-DIST rust-1.34.1-mipsel-unknown-linux-gnu.tar.xz 115830252 BLAKE2B 62213b476a806acaab54849fc463cfdd363ae74fd054fe2084063c40ce132bb17eda20182fb1971763b0c77de877bfd8225d87f954c4d6f7d9af5be18a723d44 SHA512 bbc8c0eb907caf3efa6e0e6b4d8a77121c95024367f5e8b42c32e67b5c19394044d98fa96492d35b0f83472316a99824c6291a6839baf44ba271afd5e41200a5
-DIST rust-1.34.1-powerpc-unknown-linux-gnu.tar.xz 116813560 BLAKE2B 52060b202cb504d06e9d3b34e1c2ce22ccc7faed5d259b7d671ea05b73dae3313738090ffddffebf1b5e4cb59585ef8ff266ca07ae39429a40a412406e2e7b47 SHA512 67cfb13bb0d2b05729cfb1fc3d243a28ead878fe1b766c6f94f2f24555c595719e504aefd0e3c69bafc1dc64f27471c9055ec4cb00a2009e9a747d3af496b05a
-DIST rust-1.34.1-powerpc64-unknown-linux-gnu.tar.xz 125707228 BLAKE2B 51261982774dcb4f644ba1e6f401406e22871bbc9d92584ccbb941929a045bb5bf2ef34b4c8c30fe401fa11939208379e8aea48e89badd85cc8529f2051df32e SHA512 d26208042f31624acc38846973d4e2f5b6d8eb00b5661083e42bfe3a0e960fa9b1fafe5d7cd803acb9ef82082d2ee818043dddf52e6d0df0eac44e022f5086e6
-DIST rust-1.34.1-powerpc64le-unknown-linux-gnu.tar.xz 129553036 BLAKE2B 5a069bdb4ee78ee9791c4d38d5fa999b5503f7969fdf1c97ec71fca00c659dfc83a27749549f14c3cf37288c9ad5e809eb3ece7b7cd436b9dd6086f837c31bfe SHA512 539d76729b96fc7047f785f167926e6673f3ff02e06fdd78c23b4b29228b60f8151b3b1455a83e3b7f81ec3d428e3980f3607e07c505e62e84cf1afe5b0c03b4
-DIST rust-1.34.1-s390x-unknown-linux-gnu.tar.xz 134397572 BLAKE2B e51487209fca4dd894abca3b6a1c595ca00ef6c6248dd9ebfc3899ab1d40b2c24d1841579acf251350b28ae57db9648dba7bb19b2d523771e63c91447d2373c5 SHA512 20ef3fe57537d09d7f230e57db59fa2030fd6378e911dc2cfec47849c6a551d48e7d54824770aa00751f953f895a7718832a687b3be5f632d8c95c2e5fed0861
-DIST rust-1.34.1-x86_64-unknown-linux-gnu.tar.xz 157366684 BLAKE2B c55f03046d7aa98372b8642152391536f8bce4f7e39a1d1292e44b0f434e8278fe7353362f35c966dad7a985849b5ab94977b7320e8b15f54a0b360d9ae8ff54 SHA512 88226cc1c4492fec35ed32433d9f1a2a2b284d5803d37111ff3d1ee63b2f0500722ea1b9a771cd80853dbc5b9a0ad382baeb362d7edf82ef49a093ae780470ee
DIST rust-1.34.2-aarch64-unknown-linux-gnu.tar.xz 120868188 BLAKE2B d843cce81338b2b3765c973f06dca83161fefed129efefe94efad663b5ddef54aa092bf5977ba7bca74519b008796e60486cf8b193ec2a2dead3add66295d41f SHA512 7103362b8840d094661a16053d8f07eba413c369bf3a2b686313875aa97c30b35697fceefbfc90dffd5cfd4de946e7f848f2b791736443639b30bb75709b7122
DIST rust-1.34.2-arm-unknown-linux-gnueabi.tar.xz 122563056 BLAKE2B 05e73de7d58723affef3f272e646245a97b17373cc960d5e1be0365919ad3879e08bd9012126e41235b97a758bb57fa4e67fcd11e2f29322af9ab039fc3e2dfd SHA512 d6c055e8ba0fd494797a55d2a6df1eec2a6361c0b081e4b7cb06e42a03a644e4de49c7b17dc8cb6484f3271517f2bd50935bc72ead486531b5b370a1c576b12a
DIST rust-1.34.2-arm-unknown-linux-gnueabihf.tar.xz 122858592 BLAKE2B aebe65fb64044c342f525749eb5d67217f459712aa72d49497062af461901a6e92d21b00e05439bd0753228b876f521198a8b005b116b5121ec3dd812df4bec8 SHA512 5cc2612988182b68d9b220d6d7620fc0b064a9d347825d4677959b7e43820647ff25651427db3a5c72401ab8d0c14e2976921d71ddbe0a5b540cf045241cd727
diff --git a/dev-lang/rust-bin/rust-bin-1.34.0-r1.ebuild b/dev-lang/rust-bin/rust-bin-1.34.0-r1.ebuild
deleted file mode 100644
index ca8ec5ef8c12..000000000000
--- a/dev-lang/rust-bin/rust-bin-1.34.0-r1.ebuild
+++ /dev/null
@@ -1,160 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit eutils bash-completion-r1 rust-toolchain toolchain-funcs
-
-MY_P="rust-${PV}"
-
-DESCRIPTION="Systems programming language from Mozilla"
-HOMEPAGE="https://www.rust-lang.org/"
-SRC_URI="$(rust_all_arch_uris ${MY_P})"
-
-LICENSE="|| ( MIT Apache-2.0 ) BSD-1 BSD-2 BSD-4 UoI-NCSA"
-SLOT="stable"
-KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
-IUSE="clippy cpu_flags_x86_sse2 doc libressl rustfmt"
-
-DEPEND=""
-RDEPEND=">=app-eselect/eselect-rust-20190311
- sys-libs/zlib
- !libressl? ( dev-libs/openssl:0= )
- libressl? ( dev-libs/libressl:0= )
- net-libs/libssh2
- net-misc/curl[ssl]
- !dev-lang/rust:0
- !dev-util/cargo
- rustfmt? ( !dev-util/rustfmt )"
-REQUIRED_USE="x86? ( cpu_flags_x86_sse2 )"
-
-QA_PREBUILT="
- opt/${P}/bin/*-${PV}
- opt/${P}/lib/*.so
- opt/${P}/lib/rustlib/*/bin/*
- opt/${P}/lib/rustlib/*/lib/*.so
- opt/${P}/lib/rustlib/*/lib/*.rlib*
-"
-
-pkg_pretend () {
- if [[ "$(tc-is-softfloat)" != "no" ]] && [[ ${CHOST} == armv7* ]]; then
- die "${CHOST} is not supported by upstream Rust. You must use a hard float version."
- fi
-}
-
-src_unpack() {
- default
- mv "${WORKDIR}/${MY_P}-$(rust_abi)" "${S}" || die
-}
-
-src_install() {
- local std=$(grep 'std' ./components)
- local components="rustc,cargo,${std}"
- use doc && components="${components},rust-docs"
- use clippy && components="${components},clippy-preview"
- use rustfmt && components="${components},rustfmt-preview"
- ./install.sh \
- --components="${components}" \
- --disable-verify \
- --prefix="${D}/opt/${P}" \
- --mandir="${D}/usr/share/${P}/man" \
- --disable-ldconfig \
- || die
-
- local rustc=rustc-bin-${PV}
- local rustdoc=rustdoc-bin-${PV}
- local rustgdb=rust-gdb-bin-${PV}
- local rustgdbgui=rust-gdbgui-bin-${PV}
- local rustlldb=rust-lldb-bin-${PV}
-
- mv "${D}/opt/${P}/bin/rustc" "${D}/opt/${P}/bin/${rustc}" || die
- mv "${D}/opt/${P}/bin/rustdoc" "${D}/opt/${P}/bin/${rustdoc}" || die
- mv "${D}/opt/${P}/bin/rust-gdb" "${D}/opt/${P}/bin/${rustgdb}" || die
- mv "${D}/opt/${P}/bin/rust-gdbgui" "${D}/opt/${P}/bin/${rustgdbgui}" || die
- mv "${D}/opt/${P}/bin/rust-lldb" "${D}/opt/${P}/bin/${rustlldb}" || die
-
- dosym "../../opt/${P}/bin/${rustc}" "/usr/bin/${rustc}"
- dosym "../../opt/${P}/bin/${rustdoc}" "/usr/bin/${rustdoc}"
- dosym "../../opt/${P}/bin/${rustgdb}" "/usr/bin/${rustgdb}"
- dosym "../../opt/${P}/bin/${rustgdbgui}" "/usr/bin/${rustgdbgui}"
- dosym "../../opt/${P}/bin/${rustlldb}" "/usr/bin/${rustlldb}"
-
- local cargo=cargo-bin-${PV}
- # ugly hack for https://bugs.gentoo.org/679806
- if use ppc64; then
- mv "${D}/opt/${P}/bin/cargo" "${D}/opt/${P}/bin/${cargo}".bin || die
- sed -i 's/getentropy/gEtEnTrOpY/g' "${D}/opt/${P}/bin/${cargo}".bin || die
- cat <<- 'EOF' > "${D}/opt/${P}/bin/${cargo}"
- #!/bin/sh
- OPENSSL_ppccap=0 $(realpath $0).bin "${@}"
- EOF
- fperms +x "/opt/${P}/bin/${cargo}"
- else
- mv "${D}/opt/${P}/bin/cargo" "${D}/opt/${P}/bin/${cargo}" || die
- fi
- dosym "../../opt/${P}/bin/${cargo}" "/usr/bin/${cargo}"
- if use clippy; then
- local clippy_driver=clippy-driver-bin-${PV}
- local cargo_clippy=cargo-clippy-bin-${PV}
- mv "${D}/opt/${P}/bin/clippy-driver" "${D}/opt/${P}/bin/${clippy_driver}" || die
- mv "${D}/opt/${P}/bin/cargo-clippy" "${D}/opt/${P}/bin/${cargo_clippy}" || die
- dosym "../../opt/${P}/bin/${clippy_driver}" "/usr/bin/${clippy_driver}"
- dosym "../../opt/${P}/bin/${cargo_clippy}" "/usr/bin/${cargo_clippy}"
- fi
- if use rustfmt; then
- local rustfmt=rustfmt-bin-${PV}
- local cargo_fmt=cargo-fmt-bin-${PV}
- mv "${D}/opt/${P}/bin/rustfmt" "${D}/opt/${P}/bin/${rustfmt}" || die
- mv "${D}/opt/${P}/bin/cargo-fmt" "${D}/opt/${P}/bin/${cargo_fmt}" || die
- dosym "../../opt/${P}/bin/${rustfmt}" "/usr/bin/${rustfmt}"
- dosym "../../opt/${P}/bin/${cargo_fmt}" "/usr/bin/${cargo_fmt}"
- fi
-
- cat <<-EOF > "${T}"/50${P}
- LDPATH="/opt/${P}/lib"
- MANPATH="/usr/share/${P}/man"
- EOF
- doenvd "${T}"/50${P}
-
- cat <<-EOF > "${T}/provider-${P}"
- /usr/bin/rustdoc
- /usr/bin/rust-gdb
- /usr/bin/rust-gdbgui
- /usr/bin/rust-lldb
- EOF
- echo /usr/bin/cargo >> "${T}/provider-${P}"
- if use clippy; then
- echo /usr/bin/clippy-driver >> "${T}/provider-${P}"
- echo /usr/bin/cargo-clippy >> "${T}/provider-${P}"
- fi
- if use rustfmt; then
- echo /usr/bin/rustfmt >> "${T}/provider-${P}"
- echo /usr/bin/cargo-fmt >> "${T}/provider-${P}"
- fi
- dodir /etc/env.d/rust
- insinto /etc/env.d/rust
- doins "${T}/provider-${P}"
-}
-
-pkg_postinst() {
- eselect rust update --if-unset
-
- elog "Rust installs a helper script for calling GDB now,"
- elog "for your convenience it is installed under /usr/bin/rust-gdb-bin-${PV},"
-
- if has_version app-editors/emacs || has_version app-editors/emacs-vcs; then
- elog "install app-emacs/rust-mode to get emacs support for rust."
- fi
-
- if has_version app-editors/gvim || has_version app-editors/vim; then
- elog "install app-vim/rust-vim to get vim support for rust."
- fi
-
- if has_version 'app-shells/zsh'; then
- elog "install app-shells/rust-zshcomp to get zsh completion for rust."
- fi
-}
-
-pkg_postrm() {
- eselect rust unset --if-invalid
-}
diff --git a/dev-lang/rust-bin/rust-bin-1.34.1.ebuild b/dev-lang/rust-bin/rust-bin-1.34.1.ebuild
deleted file mode 100644
index 3d0796628f61..000000000000
--- a/dev-lang/rust-bin/rust-bin-1.34.1.ebuild
+++ /dev/null
@@ -1,171 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit eutils bash-completion-r1 rust-toolchain toolchain-funcs
-
-MY_P="rust-${PV}"
-
-DESCRIPTION="Systems programming language from Mozilla"
-HOMEPAGE="https://www.rust-lang.org/"
-SRC_URI="$(rust_all_arch_uris ${MY_P})"
-
-LICENSE="|| ( MIT Apache-2.0 ) BSD-1 BSD-2 BSD-4 UoI-NCSA"
-SLOT="stable"
-KEYWORDS="amd64 ~arm64 ~ppc64 x86"
-IUSE="clippy cpu_flags_x86_sse2 doc libressl rustfmt"
-
-DEPEND=""
-RDEPEND=">=app-eselect/eselect-rust-20190311
- sys-libs/zlib
- !libressl? ( dev-libs/openssl:0= )
- libressl? ( dev-libs/libressl:0= )
- net-libs/libssh2
- net-misc/curl[ssl]
- !dev-lang/rust:0
- !dev-util/cargo
- rustfmt? ( !dev-util/rustfmt )"
-REQUIRED_USE="x86? ( cpu_flags_x86_sse2 )"
-
-QA_PREBUILT="
- opt/${P}/bin/*-${PV}
- opt/${P}/lib/*.so
- opt/${P}/lib/rustlib/*/bin/*
- opt/${P}/lib/rustlib/*/lib/*.so
- opt/${P}/lib/rustlib/*/lib/*.rlib*
-"
-
-pkg_pretend () {
- if [[ "$(tc-is-softfloat)" != "no" ]] && [[ ${CHOST} == armv7* ]]; then
- die "${CHOST} is not supported by upstream Rust. You must use a hard float version."
- fi
-}
-
-src_unpack() {
- default
- mv "${WORKDIR}/${MY_P}-$(rust_abi)" "${S}" || die
-}
-
-src_install() {
- local std=$(grep 'std' ./components)
- local components="rustc,cargo,${std}"
- use doc && components="${components},rust-docs"
- use clippy && components="${components},clippy-preview"
- use rustfmt && components="${components},rustfmt-preview"
- ./install.sh \
- --components="${components}" \
- --disable-verify \
- --prefix="${D}/opt/${P}" \
- --mandir="${D}/usr/share/${P}/man" \
- --disable-ldconfig \
- || die
-
- local rustc=rustc-bin-${PV}
- local rustdoc=rustdoc-bin-${PV}
- local rustgdb=rust-gdb-bin-${PV}
- local rustgdbgui=rust-gdbgui-bin-${PV}
- local rustlldb=rust-lldb-bin-${PV}
-
- mv "${D}/opt/${P}/bin/rustc" "${D}/opt/${P}/bin/${rustc}" || die
- mv "${D}/opt/${P}/bin/rustdoc" "${D}/opt/${P}/bin/${rustdoc}" || die
- mv "${D}/opt/${P}/bin/rust-gdb" "${D}/opt/${P}/bin/${rustgdb}" || die
- mv "${D}/opt/${P}/bin/rust-gdbgui" "${D}/opt/${P}/bin/${rustgdbgui}" || die
- mv "${D}/opt/${P}/bin/rust-lldb" "${D}/opt/${P}/bin/${rustlldb}" || die
-
- dosym "${rustc}" "/opt/${P}/bin/rustc"
- dosym "${rustdoc}" "/opt/${P}/bin/rustdoc"
- dosym "${rustgdb}" "/opt/${P}/bin/rust-gdb"
- dosym "${rustgdbgui}" "/opt/${P}/bin/rust-gdbgui"
- dosym "${rustlldb}" "/opt/${P}/bin/rust-lldb"
-
- dosym "../../opt/${P}/bin/${rustc}" "/usr/bin/${rustc}"
- dosym "../../opt/${P}/bin/${rustdoc}" "/usr/bin/${rustdoc}"
- dosym "../../opt/${P}/bin/${rustgdb}" "/usr/bin/${rustgdb}"
- dosym "../../opt/${P}/bin/${rustgdbgui}" "/usr/bin/${rustgdbgui}"
- dosym "../../opt/${P}/bin/${rustlldb}" "/usr/bin/${rustlldb}"
-
- local cargo=cargo-bin-${PV}
- # ugly hack for https://bugs.gentoo.org/679806
- if use ppc64; then
- mv "${D}/opt/${P}/bin/cargo" "${D}/opt/${P}/bin/${cargo}".bin || die
- sed -i 's/getentropy/gEtEnTrOpY/g' "${D}/opt/${P}/bin/${cargo}".bin || die
- cat <<- 'EOF' > "${D}/opt/${P}/bin/${cargo}"
- #!/bin/sh
- OPENSSL_ppccap=0 $(realpath $0).bin "${@}"
- EOF
- fperms +x "/opt/${P}/bin/${cargo}"
- else
- mv "${D}/opt/${P}/bin/cargo" "${D}/opt/${P}/bin/${cargo}" || die
- fi
- dosym "${cargo}" "/opt/${P}/bin/cargo"
- dosym "../../opt/${P}/bin/${cargo}" "/usr/bin/${cargo}"
- if use clippy; then
- local clippy_driver=clippy-driver-bin-${PV}
- local cargo_clippy=cargo-clippy-bin-${PV}
- mv "${D}/opt/${P}/bin/clippy-driver" "${D}/opt/${P}/bin/${clippy_driver}" || die
- mv "${D}/opt/${P}/bin/cargo-clippy" "${D}/opt/${P}/bin/${cargo_clippy}" || die
- dosym "${clippy_driver}" "/opt/${P}/bin/clippy-driver"
- dosym "${cargo_clippy}" "/opt/${P}/bin/cargo-clippy"
- dosym "../../opt/${P}/bin/${clippy_driver}" "/usr/bin/${clippy_driver}"
- dosym "../../opt/${P}/bin/${cargo_clippy}" "/usr/bin/${cargo_clippy}"
- fi
- if use rustfmt; then
- local rustfmt=rustfmt-bin-${PV}
- local cargo_fmt=cargo-fmt-bin-${PV}
- mv "${D}/opt/${P}/bin/rustfmt" "${D}/opt/${P}/bin/${rustfmt}" || die
- mv "${D}/opt/${P}/bin/cargo-fmt" "${D}/opt/${P}/bin/${cargo_fmt}" || die
- dosym "${rustfmt}" "/opt/${P}/bin/rustfmt"
- dosym "${cargo_fmt}" "/opt/${P}/bin/cargo-fmt"
- dosym "../../opt/${P}/bin/${rustfmt}" "/usr/bin/${rustfmt}"
- dosym "../../opt/${P}/bin/${cargo_fmt}" "/usr/bin/${cargo_fmt}"
- fi
-
- cat <<-EOF > "${T}"/50${P}
- LDPATH="/opt/${P}/lib"
- MANPATH="/usr/share/${P}/man"
- EOF
- doenvd "${T}"/50${P}
-
- cat <<-EOF > "${T}/provider-${P}"
- /usr/bin/rustdoc
- /usr/bin/rust-gdb
- /usr/bin/rust-gdbgui
- /usr/bin/rust-lldb
- EOF
- echo /usr/bin/cargo >> "${T}/provider-${P}"
- if use clippy; then
- echo /usr/bin/clippy-driver >> "${T}/provider-${P}"
- echo /usr/bin/cargo-clippy >> "${T}/provider-${P}"
- fi
- if use rustfmt; then
- echo /usr/bin/rustfmt >> "${T}/provider-${P}"
- echo /usr/bin/cargo-fmt >> "${T}/provider-${P}"
- fi
- dodir /etc/env.d/rust
- insinto /etc/env.d/rust
- doins "${T}/provider-${P}"
-}
-
-pkg_postinst() {
- eselect rust update --if-unset
-
- elog "Rust installs a helper script for calling GDB now,"
- elog "for your convenience it is installed under /usr/bin/rust-gdb-bin-${PV},"
-
- if has_version app-editors/emacs || has_version app-editors/emacs-vcs; then
- elog "install app-emacs/rust-mode to get emacs support for rust."
- fi
-
- if has_version app-editors/gvim || has_version app-editors/vim; then
- elog "install app-vim/rust-vim to get vim support for rust."
- fi
-
- if has_version 'app-shells/zsh'; then
- elog "install app-shells/rust-zshcomp to get zsh completion for rust."
- fi
-}
-
-pkg_postrm() {
- eselect rust unset --if-invalid
-}