ffi-libarchive-binary 0.2.1-arm64-darwin → 0.2.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 +4 -4
- data/README.adoc +12 -0
- data/Rakefile +6 -0
- data/lib/ffi-libarchive-binary/libarchive_recipe.rb +23 -6
- data/lib/ffi-libarchive-binary/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fd56f4d8669091e1f8403bc8c72e670bcfdd7519
|
4
|
+
data.tar.gz: 5f66e651077c6c36b1b6911b576d1238b72c26d2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 33f1389daf362441f79ffe99be7745f7015efdef71a6eaee31c0e217f8cf9897bd5cdf701e2e68303d636b63502f230c9afde4762dee3afaeddc5023d855fb61
|
7
|
+
data.tar.gz: ce0d4571ea464e83f21d46c053dede7e0adf89e1d828995fbefbcb92643672cc3bf2eab12d656c093419622d83d0874e50d8a3fa168f30cd3cc4be6f61348dd1
|
data/README.adoc
CHANGED
@@ -1,5 +1,8 @@
|
|
1
1
|
= Binaries for ffi-libarchive
|
2
2
|
|
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"]
|
5
|
+
|
3
6
|
== Purpose
|
4
7
|
|
5
8
|
Contains pre-compiled and install-time-compiled binaries for ffi-libarchive.
|
@@ -49,6 +52,15 @@ reader.close
|
|
49
52
|
----
|
50
53
|
|
51
54
|
|
55
|
+
== Dependencies
|
56
|
+
|
57
|
+
* zlib
|
58
|
+
* Expat
|
59
|
+
* OpenSSL (for Linux only)
|
60
|
+
|
61
|
+
These dependencies are generally present on all systems.
|
62
|
+
|
63
|
+
|
52
64
|
== Development
|
53
65
|
|
54
66
|
We are following Sandi Metz's Rules for this gem, you can read the
|
data/Rakefile
CHANGED
@@ -52,6 +52,12 @@ task :compile, [:host] do |_t, args|
|
|
52
52
|
recipe.cook_if_not
|
53
53
|
end
|
54
54
|
|
55
|
+
desc "Recompile binary"
|
56
|
+
task :recompile do
|
57
|
+
recipe = LibarchiveBinary::LibarchiveRecipe.new
|
58
|
+
recipe.cook
|
59
|
+
end
|
60
|
+
|
55
61
|
CLOBBER.include("pkg")
|
56
62
|
CLEAN.include("ports",
|
57
63
|
"tmp",
|
@@ -19,20 +19,37 @@ module LibarchiveBinary
|
|
19
19
|
def configure_defaults
|
20
20
|
[
|
21
21
|
"--host=#{@host}",
|
22
|
-
"--disable-
|
23
|
-
"--
|
22
|
+
"--disable-bsdtar",
|
23
|
+
"--disable-bsdcat",
|
24
|
+
"--disable-bsdcpio",
|
25
|
+
"--without-bz2lib",
|
26
|
+
"--without-libb2",
|
27
|
+
"--without-iconv",
|
28
|
+
"--without-lz4",
|
29
|
+
"--without-zstd",
|
30
|
+
"--without-lzma",
|
31
|
+
"--without-cng",
|
32
|
+
"--without-xml2",
|
33
|
+
"--with-expat",
|
34
|
+
"--with-openssl",
|
35
|
+
"--disable-acl",
|
24
36
|
]
|
25
37
|
end
|
26
38
|
|
27
39
|
def cook_if_not
|
28
|
-
|
29
|
-
|
30
|
-
|
40
|
+
cook unless File.exist?(checkpoint)
|
41
|
+
end
|
42
|
+
|
43
|
+
def cook
|
44
|
+
super
|
31
45
|
|
32
|
-
cook
|
33
46
|
FileUtils.touch(checkpoint)
|
34
47
|
end
|
35
48
|
|
49
|
+
def checkpoint
|
50
|
+
File.join(@target, "#{self.name}-#{self.version}-#{self.host}.installed")
|
51
|
+
end
|
52
|
+
|
36
53
|
def patch
|
37
54
|
super
|
38
55
|
|
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.2.
|
4
|
+
version: 0.2.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: 2021-
|
11
|
+
date: 2021-04-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ffi-libarchive
|