gpgme 2.0.16 → 2.0.22

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
- SHA1:
3
- metadata.gz: 8e116524f7d40d7f03d5273a1b39d155abff31b2
4
- data.tar.gz: 3c2887c7995d2c96ea5edf1fbca4e91b3cfb695e
2
+ SHA256:
3
+ metadata.gz: c4dc4765cd73bfd27c0ebdfff8749106341f2dd7a6c0118a4e3307798b753e84
4
+ data.tar.gz: 6b929a3f84144a4fdcc40382129bd6ad409e9a819c956f33941a8d650000c70c
5
5
  SHA512:
6
- metadata.gz: 37278dddb406d5215deb50b702bb681ef0137648690c8f1f188550a22bf21b7856b17c0255d2cc418a1909c362befbd495d567bea961e7e7c8ddf38a9f94c212
7
- data.tar.gz: 9a2aa9aa660b99256e2fbb12e23e61b2d914179461495f9ecdb453f9ed0b60bb9129883c997c7ad32f0ea0c518823c9077785dcd570731a534e7f8528aefaa8c
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('gpgme-config')
41
- $stderr.puts("gpgme-config not found")
40
+ unless find_executable('pkg-config')
41
+ $stderr.puts("pkg-config not found")
42
42
  exit(1)
43
43
  end
44
44
 
45
- $CFLAGS += ' ' << `gpgme-config --cflags`.chomp
46
- $libs += ' ' << `gpgme-config --libs`.chomp
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.27').tap do |recipe|
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 => '4f93aac6fecb7da2b92871bb9ee33032be6a87b174f54abf8ddf0911a22d29d2'
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.4.3').tap do |recipe|
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 => '22843a3bdb256f59be49842abf24da76700354293a066d82ade8134bb5aa2b71'
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.9.0').tap do |recipe|
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 => '1b29fedb8bfad775e70eafac5b0590621683b2d9869db994568e6401f4034ceb'
110
+ :sha256 => '361d4eae47ce925dba0ea569af40e7b52c645c4ae2e65e5621bf1b6cdd8b0e9e'
110
111
  }]
111
112
  recipe.configure_options = [
112
113
  '--disable-shared',
@@ -116,7 +117,10 @@ EOS
116
117
  # GPGME 1.5.0 assumes gpgsm is present if gpgconf is found.
117
118
  # However, on some systems (e.g. Debian), they are splitted into
118
119
  # separate packages.
120
+ '--disable-gpgconf-test',
121
+ '--disable-gpg-test',
119
122
  '--disable-gpgsm-test',
123
+ '--disable-g13-test',
120
124
  # We only need the C API.
121
125
  '--disable-languages',
122
126
  "CFLAGS=-fPIC #{ENV["CFLAGS"]}",