public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-crypto-auditing] f45: Stop tracking unused patches
@ 2026-09-06 19:37 Benjamin A. Beasley
  0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-09-06 19:37 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/rust-crypto-auditing
            Branch : f45
            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=f45

            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
-

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-09-06 19:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-06 19:37 [rpms/rust-crypto-auditing] f45: Stop tracking unused patches Benjamin A. Beasley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox