gpgme 2.0.22 → 2.0.23
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/gpgme/extconf.rb +14 -11
- data/ext/gpgme/gpgme_n.c +2 -1
- data/lib/gpgme/version.rb +1 -1
- data/ports/archives/gpgme-1.21.0.tar.bz2 +0 -0
- data/ports/archives/libassuan-2.5.6.tar.bz2 +0 -0
- data/ports/archives/libgpg-error-1.47.tar.bz2 +0 -0
- metadata +6 -6
- data/ports/archives/gpgme-1.18.0.tar.bz2 +0 -0
- data/ports/archives/libassuan-2.5.5.tar.bz2 +0 -0
- data/ports/archives/libgpg-error-1.46.tar.bz2 +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4d6acceab7f41eb6f3921f566fc2bf394658cd2a0a42e84024e3dda8ce19c9a6
|
4
|
+
data.tar.gz: a2e3adb3405cecfa249173693a12a552ed5b13eaeb09c5b4ef45c7fca8af2699
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7ec1990d20648deeaed5c10d1eff1737b96a3b8f9d7dbb7001c21efb8f78ead507429d7e34d1219db2556f0f2fd584bb18362a42fadeaca47fc340153a304261
|
7
|
+
data.tar.gz: ccd721826ffe1077351628f083ece7894fe03c4a754f53eddab814dc4c1642a314dddfeb7157fc0117d9b5ea8f1fc2aad7aba447d377eb755201c625825f92a8
|
data/ext/gpgme/extconf.rb
CHANGED
@@ -37,13 +37,16 @@ if arg_config('--clean')
|
|
37
37
|
end
|
38
38
|
|
39
39
|
if arg_config('--use-system-libraries', ENV['RUBY_GPGME_USE_SYSTEM_LIBRARIES'])
|
40
|
-
|
41
|
-
$
|
40
|
+
if find_executable('pkg-config') && system('pkg-config gpgme --exists')
|
41
|
+
$CFLAGS += ' ' << `pkg-config --cflags gpgme`.chomp
|
42
|
+
$libs += ' ' << `pkg-config --libs gpgme`.chomp
|
43
|
+
elsif find_executable('gpgme-config')
|
44
|
+
$CFLAGS += ' ' << `gpgme-config --cflags`.chomp
|
45
|
+
$libs += ' ' << `gpgme-config --libs`.chomp
|
46
|
+
else
|
47
|
+
$stderr.puts("pkg-config with gpgme.pc and gpgme-config not found")
|
42
48
|
exit(1)
|
43
49
|
end
|
44
|
-
|
45
|
-
$CFLAGS += ' ' << `pkg-config --cflags gpgme`.chomp
|
46
|
-
$libs += ' ' << `pkg-config --libs gpgme`.chomp
|
47
50
|
else
|
48
51
|
message <<-'EOS'
|
49
52
|
************************************************************************
|
@@ -62,11 +65,11 @@ EOS
|
|
62
65
|
require 'rubygems'
|
63
66
|
require 'mini_portile2'
|
64
67
|
|
65
|
-
libgpg_error_recipe = MiniPortile.new('libgpg-error', '1.
|
68
|
+
libgpg_error_recipe = MiniPortile.new('libgpg-error', '1.47').tap do |recipe|
|
66
69
|
recipe.target = File.join(ROOT, "ports")
|
67
70
|
recipe.files = [{
|
68
71
|
:url => "https://www.gnupg.org/ftp/gcrypt/#{recipe.name}/#{recipe.name}-#{recipe.version}.tar.bz2",
|
69
|
-
:sha256 => '
|
72
|
+
:sha256 => '9e3c670966b96ecc746c28c2c419541e3bcb787d1a73930f5e5f5e1bcbbb9bdb'
|
70
73
|
}]
|
71
74
|
recipe.configure_options = [
|
72
75
|
'--enable-install-gpg-error-config',
|
@@ -83,11 +86,11 @@ EOS
|
|
83
86
|
recipe.activate
|
84
87
|
end
|
85
88
|
|
86
|
-
libassuan_recipe = MiniPortile.new('libassuan', '2.5.
|
89
|
+
libassuan_recipe = MiniPortile.new('libassuan', '2.5.6').tap do |recipe|
|
87
90
|
recipe.target = File.join(ROOT, "ports")
|
88
91
|
recipe.files = [{
|
89
92
|
:url => "https://www.gnupg.org/ftp/gcrypt/#{recipe.name}/#{recipe.name}-#{recipe.version}.tar.bz2",
|
90
|
-
:sha256 => '
|
93
|
+
:sha256 => 'e9fd27218d5394904e4e39788f9b1742711c3e6b41689a31aa3380bd5aa4f426'
|
91
94
|
}]
|
92
95
|
recipe.configure_options = [
|
93
96
|
'--disable-shared',
|
@@ -103,11 +106,11 @@ EOS
|
|
103
106
|
recipe.activate
|
104
107
|
end
|
105
108
|
|
106
|
-
gpgme_recipe = MiniPortile.new('gpgme', '1.
|
109
|
+
gpgme_recipe = MiniPortile.new('gpgme', '1.21.0').tap do |recipe|
|
107
110
|
recipe.target = File.join(ROOT, "ports")
|
108
111
|
recipe.files = [{
|
109
112
|
:url => "https://www.gnupg.org/ftp/gcrypt/#{recipe.name}/#{recipe.name}-#{recipe.version}.tar.bz2",
|
110
|
-
:sha256 => '
|
113
|
+
:sha256 => '416e174e165734d84806253f8c96bda2993fd07f258c3aad5f053a6efd463e88'
|
111
114
|
}]
|
112
115
|
recipe.configure_options = [
|
113
116
|
'--disable-shared',
|
data/ext/gpgme/gpgme_n.c
CHANGED
@@ -876,6 +876,7 @@ rb_s_gpgme_op_keylist_start (VALUE dummy, VALUE vctx, VALUE vpattern,
|
|
876
876
|
return LONG2NUM(err);
|
877
877
|
}
|
878
878
|
|
879
|
+
// https://github.com/rwinlib/gpgme/blob/v1.16.0/include/gpgme.h#L2013-L2015
|
879
880
|
static VALUE
|
880
881
|
rb_s_gpgme_op_keylist_ext_start (VALUE dummy, VALUE vctx, VALUE vpattern,
|
881
882
|
VALUE vsecret_only)
|
@@ -2423,7 +2424,7 @@ Init_gpgme_n (void)
|
|
2423
2424
|
rb_define_module_function (mGPGME, "gpgme_op_keylist_start",
|
2424
2425
|
rb_s_gpgme_op_keylist_start, 3);
|
2425
2426
|
rb_define_module_function (mGPGME, "gpgme_op_keylist_ext_start",
|
2426
|
-
rb_s_gpgme_op_keylist_ext_start,
|
2427
|
+
rb_s_gpgme_op_keylist_ext_start, 3);
|
2427
2428
|
rb_define_module_function (mGPGME, "gpgme_op_keylist_next",
|
2428
2429
|
rb_s_gpgme_op_keylist_next, 2);
|
2429
2430
|
rb_define_module_function (mGPGME, "gpgme_op_keylist_end",
|
data/lib/gpgme/version.rb
CHANGED
Binary file
|
Binary file
|
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gpgme
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.23
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daiki Ueno
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2023-08-16 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: mini_portile2
|
@@ -131,9 +131,9 @@ files:
|
|
131
131
|
- lib/gpgme/sub_key.rb
|
132
132
|
- lib/gpgme/user_id.rb
|
133
133
|
- lib/gpgme/version.rb
|
134
|
-
- ports/archives/gpgme-1.
|
135
|
-
- ports/archives/libassuan-2.5.
|
136
|
-
- ports/archives/libgpg-error-1.
|
134
|
+
- ports/archives/gpgme-1.21.0.tar.bz2
|
135
|
+
- ports/archives/libassuan-2.5.6.tar.bz2
|
136
|
+
- ports/archives/libgpg-error-1.47.tar.bz2
|
137
137
|
- test/crypto_test.rb
|
138
138
|
- test/ctx_test.rb
|
139
139
|
- test/data_test.rb
|
@@ -167,7 +167,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
167
167
|
- !ruby/object:Gem::Version
|
168
168
|
version: '0'
|
169
169
|
requirements: []
|
170
|
-
rubygems_version: 3.
|
170
|
+
rubygems_version: 3.4.10
|
171
171
|
signing_key:
|
172
172
|
specification_version: 4
|
173
173
|
summary: Ruby binding of GPGME.
|
Binary file
|
Binary file
|
Binary file
|