Github messages for voidlinux
 help / color / mirror / Atom feed
From: tranzystorek-io <tranzystorek-io@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] rust-cargo-audit: rename to cargo-audit
Date: Wed, 05 Apr 2023 10:17:14 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-43283@inbox.vuxu.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 1271 bytes --]

There is a new pull request by tranzystorek-io against master on the void-packages repository

https://github.com/tranzystorek-io/void-packages cargo-audit
https://github.com/void-linux/void-packages/pull/43283

rust-cargo-audit: rename to cargo-audit
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/43283.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-cargo-audit-43283.patch --]
[-- Type: text/x-diff, Size: 2409 bytes --]

From 1d105b76a84bd847936b34eef4ae10dd1ddf1089 Mon Sep 17 00:00:00 2001
From: Marcin Puc <tranzystorek.io@protonmail.com>
Date: Wed, 5 Apr 2023 10:12:38 +0200
Subject: [PATCH] rust-cargo-audit: rename to cargo-audit

---
 .../template                                  | 21 ++++++++++++-------
 srcpkgs/rust-cargo-audit                      |  1 +
 2 files changed, 15 insertions(+), 7 deletions(-)
 rename srcpkgs/{rust-cargo-audit => cargo-audit}/template (52%)
 create mode 120000 srcpkgs/rust-cargo-audit

diff --git a/srcpkgs/rust-cargo-audit/template b/srcpkgs/cargo-audit/template
similarity index 52%
rename from srcpkgs/rust-cargo-audit/template
rename to srcpkgs/cargo-audit/template
index a6cbc08a63dd..aac25f40184c 100644
--- a/srcpkgs/rust-cargo-audit/template
+++ b/srcpkgs/cargo-audit/template
@@ -1,8 +1,9 @@
-# Template file for 'rust-cargo-audit'
-pkgname=rust-cargo-audit
+# Template file for 'cargo-audit'
+pkgname=cargo-audit
 version=0.17.5
-revision=1
+revision=2
 build_style=cargo
+make_install_args="--path cargo-audit"
 hostmakedepends="pkg-config"
 makedepends="openssl-devel libssh2-devel zlib-devel"
 short_desc="Audit Cargo.lock for crates with security vulnerabilities"
@@ -10,14 +11,20 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
 license="Apache-2.0, MIT"
 homepage="https://rustsec.org"
 changelog="https://github.com/rustsec/rustsec/raw/main/cargo-audit/CHANGELOG.md"
-distfiles="https://static.crates.io/crates/cargo-audit/cargo-audit-${version}.crate"
-checksum=9687fb6e8e2217aac2e72955ffb03d2d93b987f5f36a806787a5c64b38db0d13
+distfiles="https://github.com/rustsec/rustsec/archive/refs/tags/cargo-audit/v${version}.tar.gz"
+checksum=7fe9998fe5ec6c45c44cc05a07d266f4ef5cdebfdb71a8445dcb337df5778b57
 
 if [ "$XBPS_TARGET_WORDSIZE" = "32" -a "$XBPS_TARGET_ENDIAN" = "be" ]; then
 	broken="smartstring crate does not build on 32-bit BE architectures"
 fi
 
 post_install() {
-	vlicense LICENSE-APACHE
-	vlicense LICENSE-MIT
+	vlicense cargo-audit/LICENSE-APACHE
+	vlicense cargo-audit/LICENSE-MIT
+}
+
+rust-cargo-audit_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - transitional dummy package"
+	build_style=meta
 }
diff --git a/srcpkgs/rust-cargo-audit b/srcpkgs/rust-cargo-audit
new file mode 120000
index 000000000000..6223abff2446
--- /dev/null
+++ b/srcpkgs/rust-cargo-audit
@@ -0,0 +1 @@
+cargo-audit
\ No newline at end of file

             reply	other threads:[~2023-04-05  8:17 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-05  8:17 tranzystorek-io [this message]
2023-04-05  8:34 ` [PR PATCH] [Updated] " tranzystorek-io
2023-04-05 10:01 ` jcgruenhage
2023-04-05 18:57 ` tranzystorek-io
2023-07-05  2:06 ` github-actions
2023-07-08  9:35 ` [PR PATCH] [Updated] " tranzystorek-io
2023-07-16 17:19 ` tranzystorek-io
2023-10-15  1:46 ` github-actions
2023-10-15  4:15 ` [PR PATCH] [Closed]: " tranzystorek-io

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-43283@inbox.vuxu.org \
    --to=tranzystorek-io@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).