ffi-libarchive-binary 0.3.0-arm64-darwin → 0.3.2-arm64-darwin

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8f1939e6a1ce003c92b8aa2a834a5a9ad04eb98428348ecfe46fe596413735a9
4
- data.tar.gz: e6f275223972ca408b4c7df8e44034101a9ad998e9eabaa7a07af96be2fbea04
3
+ metadata.gz: 7c18934915c84cab979566f9b0974744bea692233027f7f6792d0f2f004e5521
4
+ data.tar.gz: b003cbf5dfcc4766c4dd42d9db214509cf2865d189d8d87937d7ab7b28af7e84
5
5
  SHA512:
6
- metadata.gz: 9d863894acf9dfc234844177d65b3075164727cf66c8e5b273086550ae4471feb3ecb4b5552a9d707c1bda67ae841b34ba07127a53057444b8f92095db7412fd
7
- data.tar.gz: 35999022dee91ab09d6552e9156450f6d15e7ea36c2e26300042d74c81a8ce7409340cb60bc1699562fcc63bfdda170ea32b655b25049d2e3d73e59a9eebaa0a
6
+ metadata.gz: 8f717d578ff3bb587c7e5a29b1aa36b6d8b63e11d529b37f684fbd46f26528a0347c12e047950c371839da9a7ba5d92e4f1ffadb8a5a4fc90c1f5dda36d5b0c6
7
+ data.tar.gz: a7d03c72b42dc79ab8c07f2c90c6f323bc5a9eb2c11fb6aec6149d1cd8f99c5c7b465028c9adb78164729eeb92d123863c422f8df8671e1c1e3a320209a2516e
data/README.adoc CHANGED
@@ -1,7 +1,7 @@
1
1
  = Binaries for ffi-libarchive
2
2
 
3
3
  image:https://img.shields.io/gem/v/ffi-libarchive-binary.svg["Gem Version", link="https://rubygems.org/gems/ffi-libarchive-binary"]
4
- image:https://github.com/fontist/ffi-libarchive-binary/actions/workflows/rspec.yml/badge.svg["Build Status", link="https://github.com/fontist/ffi-libarchive-binary/actions/workflows/rspec.yml"]
4
+ image:https://github.com/fontist/ffi-libarchive-binary/actions/workflows/test-and-release.yml/badge.svg["Build Status", link="https://github.com/fontist/ffi-libarchive-binary/actions/workflows/test-and-release.yml"]
5
5
 
6
6
  == Purpose
7
7
 
@@ -8,7 +8,7 @@ module LibarchiveBinary
8
8
  "x86_64-apple-darwin" => "Mach-O 64-bit dynamically linked shared library x86_64",
9
9
  "aarch64-linux-gnu" => "ELF 64-bit LSB shared object, ARM aarch64",
10
10
  "x86_64-linux-gnu" => "ELF 64-bit LSB shared object, x86-64",
11
- "x86_64-w64-mingw32" => "PE32+ executable (DLL) (console) x86-64, for MS Windows",
11
+ "x86_64-w64-mingw32" => "PE32+ executable",
12
12
  }.freeze
13
13
 
14
14
  ARCHS = {
@@ -12,14 +12,22 @@ require_relative "xz_recipe"
12
12
  module LibarchiveBinary
13
13
  class LibarchiveRecipe < MiniPortileCMake
14
14
  ROOT = Pathname.new(File.expand_path("../..", __dir__))
15
-
15
+ #
16
+ # libarchive 3.7.x uses new GLIBC packaging ( links to libc only and not to pthread, dl, ...)
17
+ # this does not link work on Ubuntu 20 with GLIBC 3.21
18
+ #
19
+ # Cannot build 3.7.x on Ubuntu 22 either because it creates a reference to GLIB 3.22 (min) that does
20
+ # not resolve on Ubuntu 20
21
+ #
22
+ # So without patching we are stick to 3.6.2 until Ubuntu 20 shall be supported
23
+ #
16
24
  def initialize
17
- super("libarchive", "3.6.1")
25
+ super("libarchive", "3.6.2")
18
26
  @printed = {}
19
27
 
20
28
  @files << {
21
- url: "https://www.libarchive.org/downloads/libarchive-3.6.1.tar.gz",
22
- sha256: "c676146577d989189940f1959d9e3980d28513d74eedfbc6b7f15ea45fe54ee2",
29
+ url: "https://www.libarchive.org/downloads/libarchive-3.6.2.tar.gz",
30
+ sha256: "ba6d02f15ba04aba9c23fd5f236bb234eab9d5209e95d1c4df85c44d5f19b9b3",
23
31
  }
24
32
 
25
33
  @target = ROOT.join(@target).to_s
@@ -40,12 +48,12 @@ module LibarchiveBinary
40
48
 
41
49
  def default_flags
42
50
  [
43
- "-DENABLE_OPENSSL:BOOL=ON", "-DENABLE_LIBB2:BOOL=OFF", "-DENABLE_LZ4:BOOL=OFF",
51
+ "-DENABLE_OPENSSL:BOOL=ON", "-DENABLE_LIBB2:BOOL=OFF", "-DENABLE_LZ4:BOOL=OFF",
44
52
  "-DENABLE_LZO::BOOL=OFF", "-DENABLE_LZMA:BOOL=ON", "-DENABLE_ZSTD:BOOL=OFF",
45
53
  "-DENABLE_ZLIB::BOOL=ON", "-DENABLE_BZip2:BOOL=OFF", "-DENABLE_LIBXML2:BOOL=OFF",
46
54
  "-DENABLE_EXPAT::BOOL=ON", "-DENABLE_TAR:BOOL=OFF", "-DENABLE_ICONV::BOOL=OFF",
47
55
  "-DENABLE_CPIO::BOOL=OFF", "-DENABLE_CAT:BOOL=OFF", "-DENABLE_ACL:BOOL=OFF",
48
- "-DENABLE_TEST:BOOL=OFF",
56
+ "-DENABLE_TEST:BOOL=OFF", "-DENABLE_UNZIP:BOOL=OFF",
49
57
  "-DCMAKE_INCLUDE_PATH=#{include_path}",
50
58
  "-DCMAKE_LIBRARY_PATH=#{library_path}"
51
59
  ]
@@ -7,11 +7,11 @@ module LibarchiveBinary
7
7
  ROOT = Pathname.new(File.expand_path("../..", __dir__))
8
8
 
9
9
  def initialize
10
- super("libexpat", "2.4.9")
10
+ super("libexpat", "2.6.4")
11
11
 
12
12
  @files << {
13
- url: "https://github.com/libexpat/libexpat/releases/download/R_2_4_9/expat-2.4.9.tar.gz",
14
- sha256: "4415710268555b32c4e5ab06a583bea9fec8ff89333b218b70b43d4ca10e38fa",
13
+ url: "https://github.com/libexpat/libexpat/releases/download/R_2_6_4/expat-2.6.4.tar.gz",
14
+ sha256: "fd03b7172b3bd7427a3e7a812063f74754f24542429b634e0db6511b53fb2278",
15
15
  }
16
16
 
17
17
  @target = ROOT.join(@target).to_s
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module LibarchiveBinary
4
- VERSION = "0.3.0"
4
+ VERSION = "0.3.2"
5
5
  end
@@ -8,11 +8,11 @@ module LibarchiveBinary
8
8
  ROOT = Pathname.new(File.expand_path("../..", __dir__))
9
9
 
10
10
  def initialize
11
- super("zlib", "1.2.11")
11
+ super("zlib", "1.3.1")
12
12
 
13
13
  @files << {
14
- url: "http://zlib.net/fossils/zlib-1.2.11.tar.gz",
15
- sha256: "c3e5e9fdd5004dcb542feda5ee4f0ff0744628baf8ed2dd5d66f8ca1197cb1a1",
14
+ url: "http://zlib.net/fossils/zlib-1.3.1.tar.gz",
15
+ sha256: "9a93b2b7dfdac77ceba5a558a580e74667dd6fede4585b91eefb60f03b72df23",
16
16
  }
17
17
 
18
18
  @target = ROOT.join(@target).to_s
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ffi-libarchive-binary
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.2
5
5
  platform: arm64-darwin
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-10-25 00:00:00.000000000 Z
11
+ date: 2024-12-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler