gpgme 2.0.19 → 2.0.22
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/ext/gpgme/extconf.rb +11 -10
- data/ext/gpgme/gpgme_n.c +457 -454
- data/lib/gpgme/crypto.rb +1 -1
- data/lib/gpgme/ctx.rb +1 -0
- data/lib/gpgme/engine.rb +1 -1
- data/lib/gpgme/version.rb +1 -1
- 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
- data/test/crypto_test.rb +2 -16
- data/test/ctx_test.rb +0 -74
- metadata +16 -20
- data/ports/archives/gpgme-1.12.0.tar.bz2 +0 -0
- data/ports/archives/gpgme-1.9.0.tar.bz2 +0 -0
- data/ports/archives/libassuan-2.4.3.tar.bz2 +0 -0
- data/ports/archives/libassuan-2.5.1.tar.bz2 +0 -0
- data/ports/archives/libgpg-error-1.27.tar.bz2 +0 -0
- data/ports/archives/libgpg-error-1.32.tar.bz2 +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: c4dc4765cd73bfd27c0ebdfff8749106341f2dd7a6c0118a4e3307798b753e84
|
4
|
+
data.tar.gz: 6b929a3f84144a4fdcc40382129bd6ad409e9a819c956f33941a8d650000c70c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 387806727ae8b6d8da14fc23ce7c9a24c58373b52f79b4bce8ca1f7de2337e715c488c7af65e30ac8e6e73a18c8d31589b00f80c682f0dcbcce1f4d234cc58a3
|
7
|
+
data.tar.gz: bbfa653feac228f87c430fa61524625d373ff6dd0a33d5c824c50d94db59233ab6161d8ac1b6e475db21ce9908f22b45bce17fff5c6cba92f9bb959b49b297b8
|
data/ext/gpgme/extconf.rb
CHANGED
@@ -37,13 +37,13 @@ if arg_config('--clean')
|
|
37
37
|
end
|
38
38
|
|
39
39
|
if arg_config('--use-system-libraries', ENV['RUBY_GPGME_USE_SYSTEM_LIBRARIES'])
|
40
|
-
unless find_executable('
|
41
|
-
$stderr.puts("
|
40
|
+
unless find_executable('pkg-config')
|
41
|
+
$stderr.puts("pkg-config not found")
|
42
42
|
exit(1)
|
43
43
|
end
|
44
44
|
|
45
|
-
$CFLAGS += ' ' << `
|
46
|
-
$libs += ' ' << `
|
45
|
+
$CFLAGS += ' ' << `pkg-config --cflags gpgme`.chomp
|
46
|
+
$libs += ' ' << `pkg-config --libs gpgme`.chomp
|
47
47
|
else
|
48
48
|
message <<-'EOS'
|
49
49
|
************************************************************************
|
@@ -62,13 +62,14 @@ EOS
|
|
62
62
|
require 'rubygems'
|
63
63
|
require 'mini_portile2'
|
64
64
|
|
65
|
-
libgpg_error_recipe = MiniPortile.new('libgpg-error', '1.
|
65
|
+
libgpg_error_recipe = MiniPortile.new('libgpg-error', '1.46').tap do |recipe|
|
66
66
|
recipe.target = File.join(ROOT, "ports")
|
67
67
|
recipe.files = [{
|
68
68
|
:url => "https://www.gnupg.org/ftp/gcrypt/#{recipe.name}/#{recipe.name}-#{recipe.version}.tar.bz2",
|
69
|
-
:sha256 => '
|
69
|
+
:sha256 => 'b7e11a64246bbe5ef37748de43b245abd72cfcd53c9ae5e7fc5ca59f1c81268d'
|
70
70
|
}]
|
71
71
|
recipe.configure_options = [
|
72
|
+
'--enable-install-gpg-error-config',
|
72
73
|
'--disable-shared',
|
73
74
|
'--enable-static',
|
74
75
|
'--disable-nls',
|
@@ -82,11 +83,11 @@ EOS
|
|
82
83
|
recipe.activate
|
83
84
|
end
|
84
85
|
|
85
|
-
libassuan_recipe = MiniPortile.new('libassuan', '2.5.
|
86
|
+
libassuan_recipe = MiniPortile.new('libassuan', '2.5.5').tap do |recipe|
|
86
87
|
recipe.target = File.join(ROOT, "ports")
|
87
88
|
recipe.files = [{
|
88
89
|
:url => "https://www.gnupg.org/ftp/gcrypt/#{recipe.name}/#{recipe.name}-#{recipe.version}.tar.bz2",
|
89
|
-
:sha256 => '
|
90
|
+
:sha256 => '8e8c2fcc982f9ca67dcbb1d95e2dc746b1739a4668bc20b3a3c5be632edb34e4'
|
90
91
|
}]
|
91
92
|
recipe.configure_options = [
|
92
93
|
'--disable-shared',
|
@@ -102,11 +103,11 @@ EOS
|
|
102
103
|
recipe.activate
|
103
104
|
end
|
104
105
|
|
105
|
-
gpgme_recipe = MiniPortile.new('gpgme', '1.
|
106
|
+
gpgme_recipe = MiniPortile.new('gpgme', '1.18.0').tap do |recipe|
|
106
107
|
recipe.target = File.join(ROOT, "ports")
|
107
108
|
recipe.files = [{
|
108
109
|
:url => "https://www.gnupg.org/ftp/gcrypt/#{recipe.name}/#{recipe.name}-#{recipe.version}.tar.bz2",
|
109
|
-
:sha256 => '
|
110
|
+
:sha256 => '361d4eae47ce925dba0ea569af40e7b52c645c4ae2e65e5621bf1b6cdd8b0e9e'
|
110
111
|
}]
|
111
112
|
recipe.configure_options = [
|
112
113
|
'--disable-shared',
|