Skip to content

Commit 1d6becf

Browse files
committed
paru: rebuild for libalpm.so.16
This simply updates the alpm.rs crates to archlinux/alpm.rs@b010ec7 and the pacmanconf crate to 3.1.0 . This particular commit was chosen because the only remaining commit only bumps the major version of included crates. Cargo would then still resolve to the old versions of alpm.rs crates for the aur-depends dependency. AFAIK there's no other way to stop the aur-depends crate from pulling the old versions of alpm.rs without patching aur-depends as well.
1 parent 1d3ea9a commit 1d6becf

3 files changed

Lines changed: 1951 additions & 11 deletions

File tree

archlinuxcn/paru/paru-fix-panic-when-listing-aur.patch renamed to archlinuxcn/paru/0001-Don-t-rely-on-transparent-decompression-in-list_aur.patch

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
From 8e317fa211d3fa81eaaa939fe7eb9c916f6bc527 Mon Sep 17 00:00:00 2001
1+
From bdcd445e38d308feb45a2632a186dae058adfe6f Mon Sep 17 00:00:00 2001
22
From: Edwin Peer <espeer@gmail.com>
33
Date: Mon, 24 Nov 2025 21:04:54 -0800
4-
Subject: [PATCH] Don't rely on transparent decompression in list_aur
4+
Subject: [PATCH 1/2] Don't rely on transparent decompression in list_aur
55

66
The current AUR package list code relies on the reqwest client library
77
to transparently decompress the packages.gz file. This only works if
@@ -28,7 +28,7 @@ Signed-off-by: Edwin Peer <espeer@gmail.com>
2828
5 files changed, 25 insertions(+), 4 deletions(-)
2929

3030
diff --git a/Cargo.lock b/Cargo.lock
31-
index beba6693..37ab1515 100644
31+
index 9ef9d2a..69028cc 100644
3232
--- a/Cargo.lock
3333
+++ b/Cargo.lock
3434
@@ -1509,6 +1509,7 @@ dependencies = [
@@ -40,7 +40,7 @@ index beba6693..37ab1515 100644
4040
"globset",
4141
"htmlescape",
4242
diff --git a/Cargo.toml b/Cargo.toml
43-
index 26063f75..39c67c14 100644
43+
index 1002a1a..373f9de 100644
4444
--- a/Cargo.toml
4545
+++ b/Cargo.toml
4646
@@ -57,6 +57,7 @@ regex = "1.11.1"
@@ -52,7 +52,7 @@ index 26063f75..39c67c14 100644
5252
[profile.release]
5353
codegen-units = 1
5454
diff --git a/src/completion.rs b/src/completion.rs
55-
index 1745b1a7..f4eb7a07 100644
55+
index 2724e96..285ec88 100644
5656
--- a/src/completion.rs
5757
+++ b/src/completion.rs
5858
@@ -2,11 +2,12 @@ use crate::config::Config;
@@ -82,7 +82,7 @@ index 1745b1a7..f4eb7a07 100644
8282
create_dir_all(cache_dir)?;
8383
let path = cache_dir.join("packages.aur");
8484
diff --git a/src/search.rs b/src/search.rs
85-
index 5e88f515..d31ae913 100644
85+
index a66d14c..805f4d1 100644
8686
--- a/src/search.rs
8787
+++ b/src/search.rs
8888
@@ -1,3 +1,4 @@
@@ -118,7 +118,7 @@ index 5e88f515..d31ae913 100644
118118
.skip(1)
119119
.filter(|pkg| regex.is_match(pkg))
120120
diff --git a/src/sync.rs b/src/sync.rs
121-
index ca5ee41d..1740e970 100644
121+
index ca5ee41..1740e97 100644
122122
--- a/src/sync.rs
123123
+++ b/src/sync.rs
124124
@@ -2,9 +2,10 @@ use crate::config::Config;
@@ -145,3 +145,6 @@ index ca5ee41d..1740e970 100644
145145

146146
let stdout = std::io::stdout();
147147
let mut stdout = stdout.lock();
148+
--
149+
2.52.0
150+

0 commit comments

Comments
 (0)