rust-bin: adopted, version 1.71.0
This commit is contained in:
parent
898c84764a
commit
a2be71af73
144
rust-bin/.footprint
Normal file
144
rust-bin/.footprint
Normal file
@ -0,0 +1,144 @@
|
||||
drwxr-xr-x root/root usr/
|
||||
drwxr-xr-x root/root usr/bin/
|
||||
-rwxr-xr-x root/root usr/bin/cargo
|
||||
-rwxr-xr-x root/root usr/bin/cargo-clippy
|
||||
-rwxr-xr-x root/root usr/bin/cargo-fmt
|
||||
-rwxr-xr-x root/root usr/bin/clippy-driver
|
||||
-rwxr-xr-x root/root usr/bin/rls
|
||||
-rwxr-xr-x root/root usr/bin/rust-analyzer
|
||||
-rwxr-xr-x root/root usr/bin/rust-demangler
|
||||
-rwxr-xr-x root/root usr/bin/rust-gdb
|
||||
-rwxr-xr-x root/root usr/bin/rust-gdbgui
|
||||
-rwxr-xr-x root/root usr/bin/rust-lldb
|
||||
-rwxr-xr-x root/root usr/bin/rustc
|
||||
-rwxr-xr-x root/root usr/bin/rustdoc
|
||||
-rwxr-xr-x root/root usr/bin/rustfmt
|
||||
drwxr-xr-x root/root usr/lib/
|
||||
-rwxr-xr-x root/root usr/lib/cargo-credential-1password
|
||||
-rw-r--r-- root/root usr/lib/libLLVM-16-rust-1.71.0-stable.so
|
||||
-rw-r--r-- root/root usr/lib/librustc_driver-8196f181ccc4f9f6.so
|
||||
-rw-r--r-- root/root usr/lib/libstd-0d91c78a7710ed2e.so
|
||||
-rw-r--r-- root/root usr/lib/libtest-deccc6ea001455e8.so
|
||||
-rwxr-xr-x root/root usr/lib/rust-analyzer-proc-macro-srv
|
||||
drwxr-xr-x root/root usr/lib/rustlib/
|
||||
-rw-r--r-- root/root usr/lib/rustlib/components
|
||||
drwxr-xr-x root/root usr/lib/rustlib/etc/
|
||||
-rw-r--r-- root/root usr/lib/rustlib/etc/gdb_load_rust_pretty_printers.py
|
||||
-rw-r--r-- root/root usr/lib/rustlib/etc/gdb_lookup.py
|
||||
-rw-r--r-- root/root usr/lib/rustlib/etc/gdb_providers.py
|
||||
-rw-r--r-- root/root usr/lib/rustlib/etc/lldb_commands
|
||||
-rw-r--r-- root/root usr/lib/rustlib/etc/lldb_lookup.py
|
||||
-rw-r--r-- root/root usr/lib/rustlib/etc/lldb_providers.py
|
||||
-rw-r--r-- root/root usr/lib/rustlib/etc/rust_types.py
|
||||
-rw-r--r-- root/root usr/lib/rustlib/manifest-cargo
|
||||
-rw-r--r-- root/root usr/lib/rustlib/manifest-clippy-preview
|
||||
-rw-r--r-- root/root usr/lib/rustlib/manifest-llvm-tools-preview
|
||||
-rw-r--r-- root/root usr/lib/rustlib/manifest-rls-preview
|
||||
-rw-r--r-- root/root usr/lib/rustlib/manifest-rust-analysis-x86_64-unknown-linux-gnu
|
||||
-rw-r--r-- root/root usr/lib/rustlib/manifest-rust-analyzer-preview
|
||||
-rw-r--r-- root/root usr/lib/rustlib/manifest-rust-demangler-preview
|
||||
-rw-r--r-- root/root usr/lib/rustlib/manifest-rust-docs
|
||||
-rw-r--r-- root/root usr/lib/rustlib/manifest-rust-docs-json-preview
|
||||
-rw-r--r-- root/root usr/lib/rustlib/manifest-rust-std-x86_64-unknown-linux-gnu
|
||||
-rw-r--r-- root/root usr/lib/rustlib/manifest-rustc
|
||||
-rw-r--r-- root/root usr/lib/rustlib/manifest-rustfmt-preview
|
||||
-rw-r--r-- root/root usr/lib/rustlib/rust-installer-version
|
||||
drwxr-xr-x root/root usr/lib/rustlib/x86_64-unknown-linux-gnu/
|
||||
drwxr-xr-x root/root usr/lib/rustlib/x86_64-unknown-linux-gnu/analysis/
|
||||
-rw-r--r-- root/root usr/lib/rustlib/x86_64-unknown-linux-gnu/analysis/removed.json
|
||||
drwxr-xr-x root/root usr/lib/rustlib/x86_64-unknown-linux-gnu/bin/
|
||||
drwxr-xr-x root/root usr/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld/
|
||||
-rwxr-xr-x root/root usr/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld/ld.lld
|
||||
-rwxr-xr-x root/root usr/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld/ld64.lld
|
||||
-rwxr-xr-x root/root usr/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld/lld-link
|
||||
-rwxr-xr-x root/root usr/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld/wasm-ld
|
||||
-rwxr-xr-x root/root usr/lib/rustlib/x86_64-unknown-linux-gnu/bin/llc
|
||||
-rwxr-xr-x root/root usr/lib/rustlib/x86_64-unknown-linux-gnu/bin/llvm-ar
|
||||
-rwxr-xr-x root/root usr/lib/rustlib/x86_64-unknown-linux-gnu/bin/llvm-as
|
||||
-rwxr-xr-x root/root usr/lib/rustlib/x86_64-unknown-linux-gnu/bin/llvm-cov
|
||||
-rwxr-xr-x root/root usr/lib/rustlib/x86_64-unknown-linux-gnu/bin/llvm-dis
|
||||
-rwxr-xr-x root/root usr/lib/rustlib/x86_64-unknown-linux-gnu/bin/llvm-nm
|
||||
-rwxr-xr-x root/root usr/lib/rustlib/x86_64-unknown-linux-gnu/bin/llvm-objcopy
|
||||
-rwxr-xr-x root/root usr/lib/rustlib/x86_64-unknown-linux-gnu/bin/llvm-objdump
|
||||
-rwxr-xr-x root/root usr/lib/rustlib/x86_64-unknown-linux-gnu/bin/llvm-profdata
|
||||
-rwxr-xr-x root/root usr/lib/rustlib/x86_64-unknown-linux-gnu/bin/llvm-readobj
|
||||
-rwxr-xr-x root/root usr/lib/rustlib/x86_64-unknown-linux-gnu/bin/llvm-size
|
||||
-rwxr-xr-x root/root usr/lib/rustlib/x86_64-unknown-linux-gnu/bin/llvm-strip
|
||||
-rwxr-xr-x root/root usr/lib/rustlib/x86_64-unknown-linux-gnu/bin/opt
|
||||
-rwxr-xr-x root/root usr/lib/rustlib/x86_64-unknown-linux-gnu/bin/rust-lld
|
||||
drwxr-xr-x root/root usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/
|
||||
-rw-r--r-- root/root usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libLLVM-16-rust-1.71.0-stable.so
|
||||
-rw-r--r-- root/root usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-69d2770595dc6161.rlib
|
||||
-rw-r--r-- root/root usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-f69e84994e245fea.rlib
|
||||
-rw-r--r-- root/root usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-65fb576691133eee.rlib
|
||||
-rw-r--r-- root/root usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-579b26075cbe9eca.rlib
|
||||
-rw-r--r-- root/root usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-2a597573799b576f.rlib
|
||||
-rw-r--r-- root/root usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-fd3918c72578db43.rlib
|
||||
-rw-r--r-- root/root usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgetopts-9a9ad13b16e0a8de.rlib
|
||||
-rw-r--r-- root/root usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-b156a020cc470e38.rlib
|
||||
-rw-r--r-- root/root usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-e9de5d8ee4e7a3dd.rlib
|
||||
-rw-r--r-- root/root usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-54c30397d4b33d3b.rlib
|
||||
-rw-r--r-- root/root usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-18d5ce8e8a320b85.rlib
|
||||
-rw-r--r-- root/root usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-fcbb01769e88af40.rlib
|
||||
-rw-r--r-- root/root usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-7dd2d47ddb5fff81.rlib
|
||||
-rw-r--r-- root/root usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_abort-f2ebd57e97f9204c.rlib
|
||||
-rw-r--r-- root/root usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-9bfeb974ba4dc4e7.rlib
|
||||
-rw-r--r-- root/root usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libproc_macro-7ede36ba902b7649.rlib
|
||||
-rw-r--r-- root/root usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libprofiler_builtins-d779538be7a6fdb6.rlib
|
||||
-rw-r--r-- root/root usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-stable_rt.asan.a
|
||||
-rw-r--r-- root/root usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-stable_rt.lsan.a
|
||||
-rw-r--r-- root/root usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-stable_rt.msan.a
|
||||
-rw-r--r-- root/root usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-stable_rt.tsan.a
|
||||
-rw-r--r-- root/root usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-84091f15e468b1ee.rlib
|
||||
-rw-r--r-- root/root usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-9023252e4f119830.rlib
|
||||
-rw-r--r-- root/root usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-3fff6412017c0b89.rlib
|
||||
-rw-r--r-- root/root usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_std-b316b1b6c9f623a5.rlib
|
||||
-rw-r--r-- root/root usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-0d91c78a7710ed2e.rlib
|
||||
-rw-r--r-- root/root usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-0d91c78a7710ed2e.so
|
||||
-rw-r--r-- root/root usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-fbde6acb28b510ca.rlib
|
||||
-rw-r--r-- root/root usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libsysroot-2a60d2c9d18bd400.rlib
|
||||
-rw-r--r-- root/root usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libtest-deccc6ea001455e8.rlib
|
||||
-rw-r--r-- root/root usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libtest-deccc6ea001455e8.so
|
||||
-rw-r--r-- root/root usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunicode_width-9f9d131f8003d63f.rlib
|
||||
-rw-r--r-- root/root usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-27b55c02caca49ea.rlib
|
||||
drwxr-xr-x root/root usr/share/
|
||||
drwxr-xr-x root/root usr/share/man/
|
||||
drwxr-xr-x root/root usr/share/man/man1/
|
||||
-rw-r--r-- root/root usr/share/man/man1/cargo-add.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/cargo-bench.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/cargo-build.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/cargo-check.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/cargo-clean.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/cargo-doc.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/cargo-fetch.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/cargo-fix.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/cargo-generate-lockfile.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/cargo-help.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/cargo-init.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/cargo-install.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/cargo-locate-project.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/cargo-login.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/cargo-logout.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/cargo-metadata.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/cargo-new.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/cargo-owner.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/cargo-package.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/cargo-pkgid.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/cargo-publish.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/cargo-remove.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/cargo-report.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/cargo-run.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/cargo-rustc.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/cargo-rustdoc.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/cargo-search.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/cargo-test.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/cargo-tree.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/cargo-uninstall.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/cargo-update.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/cargo-vendor.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/cargo-verify-project.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/cargo-version.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/cargo-yank.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/cargo.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/rustc.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/rustdoc.1.gz
|
1
rust-bin/.nostrip
Normal file
1
rust-bin/.nostrip
Normal file
@ -0,0 +1 @@
|
||||
usr/lib/.*
|
5
rust-bin/.signature
Normal file
5
rust-bin/.signature
Normal file
@ -0,0 +1,5 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF38pwYCFI9idH3pDOgUzvLUjNws71QTcPW9YNxUEy+mzmavQlTR5+Qy2ardRrSWCC86cpU7PXfIEOB4RFYgwWLws=
|
||||
SHA256 (Pkgfile) = 0808d4cd5d12a55b2eef5cb2c41f4cb604a55ded5beeea2386073a9721072035
|
||||
SHA256 (.footprint) = 14e0b13e178546b8ef578e9e689a06651e8ed35f8836ccc2510cf0b2d4582a47
|
||||
SHA256 (rust-1.71.0-x86_64-unknown-linux-gnu.tar.gz) = 43f0b7551dcb363de7360a9d8bda777fced722c60acdce9e4a6d62b50ae83997
|
26
rust-bin/Pkgfile
Normal file
26
rust-bin/Pkgfile
Normal file
@ -0,0 +1,26 @@
|
||||
# Description: the Rust language, binary version
|
||||
# URL: https://rust-lang.org/
|
||||
# Maintainer: John McQuah, jmcquah at disroot dot org
|
||||
# Depends on: llvm
|
||||
|
||||
name=rust-bin
|
||||
version=1.71.0
|
||||
release=1
|
||||
source=(https://static.rust-lang.org/dist/rust-$version-x86_64-unknown-linux-gnu.tar.gz)
|
||||
|
||||
build() {
|
||||
cd rust-$version-x86_64-unknown-linux-gnu
|
||||
./install.sh --prefix=/usr --destdir=$PKG --disable-ldconfig
|
||||
|
||||
# clean up junk files
|
||||
mv $PKG/usr/libexec/* $PKG/usr/lib
|
||||
rmdir $PKG/usr/libexec
|
||||
rm -rf $PKG/usr/share/doc
|
||||
if prt-get isinst bash-completion 2>/dev/null; then
|
||||
mv $PKG/usr/src/etc $PKG
|
||||
else
|
||||
rm -rf $PKG/usr/src
|
||||
fi
|
||||
prt-get isinst zsh || rm -rf $PKG/usr/share/zsh
|
||||
rm -f $PKG/usr/lib/rustlib/{install.log,uninstall.sh}
|
||||
}
|
18
rust-bin/README
Normal file
18
rust-bin/README
Normal file
@ -0,0 +1,18 @@
|
||||
# rust-bin README
|
||||
|
||||
This port is provided as a convenience for users who are interested in
|
||||
compiling rust code, but are otherwise discouraged by the costly
|
||||
interruption of rebuilding a toolchain every month or so. As a **consumer**
|
||||
of rust code you will enjoy mostly the same experience using this port
|
||||
as you would with opt/rust. All you need to do is put the line
|
||||
rust-bin: rust
|
||||
into your prt-get aliases file, to ensure that dependency resolution does
|
||||
not trigger building rust from source.
|
||||
|
||||
Caution: if you want to **author** a rust project, and you rely on hints
|
||||
from an IDE, the absence of binaries in the expected location /usr/libexec
|
||||
might cause problems. Feel free to move manually:
|
||||
/usr/lib/rust-analyzer-proc-macro-srv,
|
||||
/usr/lib/cargo-credential-1password,
|
||||
because chrpath cannot accomplish the libexec-dir-change that the patches
|
||||
for opt/rust would do.
|
Loading…
x
Reference in New Issue
Block a user