From: tranzystorek-io <tranzystorek-io@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] rust-cargo-audit: rename to cargo-audit
Date: Sat, 08 Jul 2023 11:35:15 +0200 [thread overview]
Message-ID: <20230708093515.k2LbIl3KfACHJP5WvCIbn4DTKbmljlp8L7d5mK-KykA@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-43283@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 1276 bytes --]
There is an updated 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: 2970 bytes --]
From 2b1935c1c6ed1c28fc22b7091f986b40c13b4118 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
---
srcpkgs/cargo-audit/template | 26 ++++++++++++++++++++++++++
srcpkgs/rust-cargo-audit | 1 +
srcpkgs/rust-cargo-audit/template | 23 -----------------------
3 files changed, 27 insertions(+), 23 deletions(-)
create mode 100644 srcpkgs/cargo-audit/template
create mode 120000 srcpkgs/rust-cargo-audit
delete mode 100644 srcpkgs/rust-cargo-audit/template
diff --git a/srcpkgs/cargo-audit/template b/srcpkgs/cargo-audit/template
new file mode 100644
index 000000000000..de0962ce0c2e
--- /dev/null
+++ b/srcpkgs/cargo-audit/template
@@ -0,0 +1,26 @@
+# Template file for 'cargo-audit'
+pkgname=cargo-audit
+version=0.17.5
+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"
+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://github.com/rustsec/rustsec/archive/refs/tags/cargo-audit/v${version}.tar.gz"
+checksum=7fe9998fe5ec6c45c44cc05a07d266f4ef5cdebfdb71a8445dcb337df5778b57
+
+post_install() {
+ 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
diff --git a/srcpkgs/rust-cargo-audit/template b/srcpkgs/rust-cargo-audit/template
deleted file mode 100644
index a6cbc08a63dd..000000000000
--- a/srcpkgs/rust-cargo-audit/template
+++ /dev/null
@@ -1,23 +0,0 @@
-# Template file for 'rust-cargo-audit'
-pkgname=rust-cargo-audit
-version=0.17.5
-revision=1
-build_style=cargo
-hostmakedepends="pkg-config"
-makedepends="openssl-devel libssh2-devel zlib-devel"
-short_desc="Audit Cargo.lock for crates with security vulnerabilities"
-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
-
-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
-}
next prev parent reply other threads:[~2023-07-08 9:35 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-05 8:17 [PR PATCH] " tranzystorek-io
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 ` tranzystorek-io [this message]
2023-07-16 17:19 ` [PR PATCH] [Updated] " 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=20230708093515.k2LbIl3KfACHJP5WvCIbn4DTKbmljlp8L7d5mK-KykA@z \
--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).