public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Benjamin A. Beasley <code@musicinmybrain.net>
To: git-commits@fedoraproject.org
Subject: [rpms/rust-crypto-auditing] rawhide: Stop tracking unused patches
Date: Sun, 06 Sep 2026 19:33:10 GMT	[thread overview]
Message-ID: <178872319089.1.7736864823391034625.rpms-rust-crypto-auditing-79f2a11ae871@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/rust-crypto-auditing
            Branch : rawhide
            Commit : 79f2a11ae871051d61cc4cc1c025a3e3024f049d
            Author : Benjamin A. Beasley <code@musicinmybrain.net>
            Date   : 2026-08-31T17:07:23+01:00
            Stats  : +0/-72 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/rust-crypto-auditing/c/79f2a11ae871051d61cc4cc1c025a3e3024f049d?branch=rawhide

            Log:
            Stop tracking unused patches

[skip changelog]

---
diff --git a/0001-Avoid-deprecated-CargoCallbacks-constant.patch b/0001-Avoid-deprecated-CargoCallbacks-constant.patch
deleted file mode 100644
index 1afea71..0000000
--- a/0001-Avoid-deprecated-CargoCallbacks-constant.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-From 431b0c9d6358c281ecce53a7a6e935f4d1d0506f Mon Sep 17 00:00:00 2001
-From: "Benjamin A. Beasley" <code@musicinmybrain.net>
-Date: Tue, 14 Oct 2025 10:56:38 +0100
-Subject: [PATCH] Avoid deprecated CargoCallbacks constant
-
-Use `CargoCallbacks::new()` instead.
----
- build.rs | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/build.rs b/build.rs
-index 4519735..e0f6f4a 100644
---- a/build.rs
-+++ b/build.rs
-@@ -12,7 +12,7 @@ fn main() {
-         .header(HDR)
-         // Tell cargo to invalidate the built crate whenever any of the
-         // included header files changed.
--        .parse_callbacks(Box::new(bindgen::CargoCallbacks))
-+        .parse_callbacks(Box::new(bindgen::CargoCallbacks::new()))
-         .constified_enum_module("audit_event_type_t")
-         .constified_enum_module("audit_data_type_t")
-         // Finish the builder and generate the bindings.
--- 
-2.51.0
-

diff --git a/rust-crypto-auditing-0.2.4-types32.patch b/rust-crypto-auditing-0.2.4-types32.patch
deleted file mode 100644
index ebf1dbe..0000000
--- a/rust-crypto-auditing-0.2.4-types32.patch
+++ /dev/null
@@ -1,46 +0,0 @@
-From 8744b2245ca9f524b1769cc7341851bbbf4ba71f Mon Sep 17 00:00:00 2001
-From: Daiki Ueno <dueno@redhat.com>
-Date: Wed, 3 Dec 2025 14:20:57 +0900
-Subject: [PATCH] Fix typing on 32-bit architecture
-
-Signed-off-by: Daiki Ueno <dueno@redhat.com>
----
- crypto-auditing/src/types.rs | 12 +++++++-----
- 1 file changed, 7 insertions(+), 5 deletions(-)
-
-diff --git a/crypto-auditing/src/types.rs b/crypto-auditing/src/types.rs
-index b838a8d..e6365f3 100644
---- a/crypto-auditing/src/types.rs
-+++ b/crypto-auditing/src/types.rs
-@@ -114,13 +114,15 @@ impl EventGroup {
-     /// Deserializes an event group from bytes
-     pub fn from_bytes(bytes: &[u8]) -> Result<Self, Box<dyn std::error::Error>> {
-         let header = bytes.as_ptr() as *mut audit_event_header_st;
--        let context = unsafe { format_context((*header).pid_tgid, (*header).context) };
--        let ktime = unsafe { Duration::from_nanos((*header).ktime) };
-+        let context =
-+            unsafe { format_context((*header).pid_tgid.into(), (*header).context.into()) };
-+        let ktime = unsafe { Duration::from_nanos((*header).ktime.into()) };
-         let event = match unsafe { (*header).type_ } {
-             audit_event_type_t::AUDIT_EVENT_NEW_CONTEXT => {
-                 let raw_new_context = bytes.as_ptr() as *mut audit_new_context_event_st;
--                let parent =
--                    unsafe { format_context((*header).pid_tgid, (*raw_new_context).parent) };
-+                let parent = unsafe {
-+                    format_context((*header).pid_tgid.into(), (*raw_new_context).parent.into())
-+                };
-                 let origin = unsafe {
-                     (&(*raw_new_context).origin)[..(*raw_new_context).origin_size as usize].to_vec()
-                 };
-@@ -143,7 +145,7 @@ impl EventGroup {
-                             end: ktime,
-                             events: vec![Event::Data {
-                                 key: key.to_str()?.to_string(),
--                                value: EventData::Word((*raw_word_data).value),
-+                                value: EventData::Word((*raw_word_data).value.into()),
-                             }],
-                         }
-                     }
--- 
-2.52.0
-

                 reply	other threads:[~2026-09-06 19:33 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=178872319089.1.7736864823391034625.rpms-rust-crypto-auditing-79f2a11ae871@fedoraproject.org \
    --to=code@musicinmybrain.net \
    --cc=git-commits@fedoraproject.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