Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
aports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TBK
aports
Commits
7560fbf3
Commit
7560fbf3
authored
7 years ago
by
Jakub Jirutka
Browse files
Options
Downloads
Patches
Plain Diff
testing/cargo: add note about downloading dependencies
parent
53de4b4d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
testing/cargo/APKBUILD
+10
-2
10 additions, 2 deletions
testing/cargo/APKBUILD
with
10 additions
and
2 deletions
testing/cargo/APKBUILD
+
10
−
2
View file @
7560fbf3
...
...
@@ -16,8 +16,16 @@ makedepends="cmake curl-dev libgit2-dev libssh2-dev libressl-dev python2 zlib-de
subpackages
=
"
$pkgname
-doc
$pkgname
-bash-completion:bashcomp:noarch
$pkgname
-zsh-completion:zshcomp:noarch"
# NOTE: Cargo is self-hosted, so you need cargo to build cargo (ugh).
# TODO: Implement some support for verifying crates fetched by cargo!
# Note: Cargo is self-hosted, so you need cargo to build cargo (ugh).
# XXX: Cargo depends on many crates (Rust packages) and currently downloads
# them itself in the build phase. This quite violates our policy. However,
# unlike some other package managers, Cargo does not download arbitrary
# packages from the Internet without any verification. The source tarball
# includes file Cargo.lock that contains complete dependency tree with exact
# version and checksum for each crate . With --locked we force cargo to
# adhere to this file and verify checksums. So it provides the same
# guarantees as abuild. That said, for now it's exception only for cargo
# package and should not be applied to other rust packages!
_cbuild
=
"
$CARCH
-unknown-linux-musl"
source
=
"
$pkgname
-
$pkgver
.tar.gz::https://github.com/rust-lang/
$pkgname
/archive/
$pkgver
.tar.gz
https://github.com/rust-lang/rust-installer/archive/
$_installer_gitrev
/rust-installer-
$_installer_gitrev
.tar.gz
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment