Skip to content

Commit 4dc866b

Browse files
committed
lziprecover 1.25
autobump: add lziprecover Signed-off-by: Rui Chen <[email protected]> lziprecover: update test Signed-off-by: Rui Chen <[email protected]>
1 parent aa531c7 commit 4dc866b

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.github/autobump.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1928,6 +1928,7 @@ lychee
19281928
lynis
19291929
lz4
19301930
lzip
1931+
lziprecover
19311932
macchina
19321933
mackup
19331934
macmon

Formula/l/lziprecover.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
class Lziprecover < Formula
22
desc "Data recovery tool and decompressor for files in the lzip compressed data format"
33
homepage "https://www.nongnu.org/lzip/lziprecover.html"
4-
url "https://download-mirror.savannah.gnu.org/releases/lzip/lziprecover/lziprecover-1.24.tar.gz"
5-
sha256 "1d699cfaefe92eb2624a3652580bcafe0bbb98fe7818c25e6de823bcdd0d458f"
4+
url "https://download-mirror.savannah.gnu.org/releases/lzip/lziprecover/lziprecover-1.25.tar.gz"
5+
sha256 "4f392f9c780ae266ee3d0db166b0f1b4d3ae07076e401dc2b199dc3a0fff8b45"
66
license "GPL-2.0-or-later"
77

88
livecheck do
@@ -24,7 +24,7 @@ class Lziprecover < Formula
2424
depends_on "lzip" => :test
2525

2626
def install
27-
system "./configure", "--prefix=#{prefix}"
27+
system "./configure", *std_configure_args
2828
system "make", "install"
2929
end
3030

@@ -53,7 +53,7 @@ def install
5353
assert_match "Decoder error", shell_output("#{bin}/lziprecover -t #{path}.lz 2>&1", 2)
5454

5555
# Attempt to recover the corrupted archive
56-
system bin/"lziprecover", "-R", "#{path}.lz"
56+
system bin/"lziprecover", "-B", "#{path}.lz"
5757

5858
# Verify that recovered data is unchanged
5959
system bin/"lziprecover", "-d", "#{fixed_path}.lz"

0 commit comments

Comments
 (0)