ffi-libarchive-binary 0.3.0 → 0.3.2.rc1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 763e2d18ae12d500bb88f28d06ae8ceaaf9132603e39110f9745147b3b82512b
4
- data.tar.gz: 80118001b5009982438372c556eb0ce9216e692b6d4eb2b9ee4398b169878c38
3
+ metadata.gz: 2443cd463406871fed642da0b764dac1833230c1e9a932a3da8097384dc20db6
4
+ data.tar.gz: 8206dbd6b978642cb623be39e2078bee5a8d384efd2f196fea56bc31cbb438af
5
5
  SHA512:
6
- metadata.gz: 00e0cd38bf50be09921ed600c1b52a22e5ee3c08176bce316af80692ed00ace10ba81ca8b6c532cfd05f8232b31ff7053cc1d7c5f8bd4617e9d453b4cf46907f
7
- data.tar.gz: 46c377899d77464f35a65ee622f157e00b6c83235c9ca0d74173bb25036ef1681b172bdb010dd08787177c3d1c31ee506da97bf53bc575ebf0a8c1dc8698a221
6
+ metadata.gz: 623d51eb66ba4fab66a29fad9f155faa91bfe53a6fa945fa4e3c2a4de8e2b6cb935fd229757c2c06b855d837cb0aebc9bd908aa264808675cc455e3e3fb9ceb9
7
+ data.tar.gz: 7bc66d0f948b65c0018b1fee4f58b3cb3bc53e58b2fb01769de0015f99e5c05f1d85caf7956443192d9b4c720c338f5a6b912ec40d0a8db7a6192c2038c5056c
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.rc1"
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.rc1
5
5
  platform: ruby
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
@@ -172,9 +172,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
172
172
  version: 2.7.0
173
173
  required_rubygems_version: !ruby/object:Gem::Requirement
174
174
  requirements:
175
- - - ">="
175
+ - - ">"
176
176
  - !ruby/object:Gem::Version
177
- version: '0'
177
+ version: 1.3.1
178
178
  requirements: []
179
179
  rubygems_version: 3.1.6
180
180
  signing_key: