ffi-libarchive-binary 0.3.2.rc1-x64-mingw-ucrt → 0.3.4-x64-mingw-ucrt

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: '008190958e845236eeb9b18a3cde8ea00828d05b54e4ef12f0ed9a52538324ea'
4
- data.tar.gz: 19737c19217ee88c1ce83002620c8e67d69386537a2ce17a394e5df49c1e1113
3
+ metadata.gz: ce91bb500da9a7f3ce9ecc4af3bb1c11567fbc6b81dbe535b79728c749e05c18
4
+ data.tar.gz: 8eada3f9eced1edca9bdf13e8f4822fd89c04ab94de05f0f4754bae485acfec2
5
5
  SHA512:
6
- metadata.gz: 5e7184a834052a4aeeb0a8d9c78b60228df65849a5a2350b4a80334a3b110ee261b5bc270d4ee59f9ec583c185a2a7a0507e24c56085f929d74f46dea66497a2
7
- data.tar.gz: c0cdddd0f47aeff5a729658a8b454c6b4aad4d10d99087862f578f65cafb4362d86149605087eaa161a6b6f3c2eb26c50f3b9df71ddd5b20711708f4e3723b75
6
+ metadata.gz: 4caf6eca2a70270f48ff79fd259050e95d1f7aaa0a5a155e18382411c1f24939c25d973b348c7f1d5e8ed1afbe74ec0b18ef90e3313c2a4113a5024172185b43
7
+ data.tar.gz: 30ec2240e5f8d0b7313d6e233cef873fb1be07eca1bdf7e63f916e3260673fcc827259c06595c1ce8ace6c59a9f752d6f27c1b1473e8c04af923c036f0ec0f4b
data/.rubocop.yml CHANGED
@@ -4,6 +4,7 @@ inherit_from:
4
4
  AllCops:
5
5
  TargetRubyVersion: 2.7
6
6
  SuggestExtensions: false
7
+ NewCops: enable
7
8
  Exclude:
8
9
  - 'ffi-libarchive-binary.gemspec'
9
10
  - 'tmp/**/*'
@@ -12,22 +12,13 @@ require_relative "xz_recipe"
12
12
  module LibarchiveBinary
13
13
  class LibarchiveRecipe < MiniPortileCMake
14
14
  ROOT = Pathname.new(File.expand_path("../..", __dir__))
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
- #
24
15
  def initialize
25
- super("libarchive", "3.6.2")
16
+ super("libarchive", "3.7.7")
26
17
  @printed = {}
27
18
 
28
19
  @files << {
29
- url: "https://www.libarchive.org/downloads/libarchive-3.6.2.tar.gz",
30
- sha256: "ba6d02f15ba04aba9c23fd5f236bb234eab9d5209e95d1c4df85c44d5f19b9b3",
20
+ url: "https://www.libarchive.org/downloads/libarchive-3.7.7.tar.gz",
21
+ sha256: "4cc540a3e9a1eebdefa1045d2e4184831100667e6d7d5b315bb1cbc951f8ddff",
31
22
  }
32
23
 
33
24
  @target = ROOT.join(@target).to_s
@@ -17,13 +17,9 @@ module LibarchiveBinary
17
17
  ROOT = Pathname.new(File.expand_path("../..", __dir__))
18
18
 
19
19
  def initialize
20
- super("openssl", "1.1.1n")
21
-
22
- @files << {
23
- url: "https://www.openssl.org/source/openssl-1.1.1n.tar.gz",
24
- sha256: "40dceb51a4f6a5275bde0e6bf20ef4b91bfc32ed57c0552e2e8e15463372b17a",
25
- }
20
+ super("openssl", MiniPortile::windows? ? "1.1.1w" : "3.3.2")
26
21
 
22
+ @files << source_archive
27
23
  @target = ROOT.join(@target).to_s
28
24
  end
29
25
 
@@ -53,5 +49,15 @@ module LibarchiveBinary
53
49
 
54
50
  FileUtils.touch(checkpoint)
55
51
  end
52
+
53
+ def source_archive
54
+ if MiniPortile::windows?
55
+ { url: "https://github.com/openssl/openssl/releases/download/OpenSSL_1_1_1w/openssl-1.1.1w.tar.gz",
56
+ sha256: "cf3098950cb4d853ad95c0841f1f9c6d3dc102dccfcacd521d93925208b76ac8" }
57
+ else
58
+ { url: "https://github.com/openssl/openssl/releases/download/openssl-3.3.2/openssl-3.3.2.tar.gz",
59
+ sha256: "2e8a40b01979afe8be0bbfb3de5dc1c6709fedb46d6c89c10da114ab5fc3d281" }
60
+ end
61
+ end
56
62
  end
57
63
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module LibarchiveBinary
4
- VERSION = "0.3.2.rc1"
4
+ VERSION = "0.3.4"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ffi-libarchive-binary
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2.rc1
4
+ version: 0.3.4
5
5
  platform: x64-mingw-ucrt
6
6
  authors:
7
7
  - Ribose Inc.
@@ -158,9 +158,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
158
158
  version: 2.7.0
159
159
  required_rubygems_version: !ruby/object:Gem::Requirement
160
160
  requirements:
161
- - - ">"
161
+ - - ">="
162
162
  - !ruby/object:Gem::Version
163
- version: 1.3.1
163
+ version: '0'
164
164
  requirements: []
165
165
  rubygems_version: 3.3.27
166
166
  signing_key: