gpgme 2.0.24 → 2.0.26

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8d1c8d00babf6af92b5889c2c96abc06a9a3c7d9da0b8201012970778919ea20
4
- data.tar.gz: 841d821ead85e9e51ef7b239701acba33bb4d4129dc043af8f47ef0470ab6032
3
+ metadata.gz: 6fe08b2c986a5e8b47b37c96aec3bca4a490ae41ec56d8b596746e3392632e11
4
+ data.tar.gz: 15191272b4aefcf3df3cfec3d2bccc51eb41863036e8e746bf68a22f6c22e323
5
5
  SHA512:
6
- metadata.gz: 6610600eac90798c4904825fe94c125ddf0605ce964ba6412a182e1a1817bfc5656b1090cb478ae3da6f5d0f42554bf543b02027dc25252e3dc21961869bcd3d
7
- data.tar.gz: e9c9a21ffc43bb7cfe123a0055c79a556528c553c53fd6c5fa09cc3a91791633f8b0f1efa43a2782c8846da4cc8888934ff3bb533145b244e4a617c33c5856e2
6
+ metadata.gz: fa950f73817ce3afce83d1f0d2fb5ef9c2d1dc7a251f12376c079ef6b685f8d7b83f5242df381b1cac3632e5aa4946f8eb38947ad3d3e1b64ee24b7ddc2c6a5a
7
+ data.tar.gz: a77cf22e0fc1c41936c537a3a47a4c651ec1f8b2d7e9a8a0708d99ffc011b887b339cc57ecf82114370f3a644ce27eb6e6e4483e5277db8af03dc05d89dc854e
data/ext/gpgme/extconf.rb CHANGED
@@ -65,11 +65,11 @@ EOS
65
65
  require 'rubygems'
66
66
  require 'mini_portile2'
67
67
 
68
- libgpg_error_recipe = MiniPortile.new('libgpg-error', '1.47').tap do |recipe|
68
+ libgpg_error_recipe = MiniPortile.new('libgpg-error', '1.55').tap do |recipe|
69
69
  recipe.target = File.join(ROOT, "ports")
70
70
  recipe.files = [{
71
71
  :url => "https://www.gnupg.org/ftp/gcrypt/#{recipe.name}/#{recipe.name}-#{recipe.version}.tar.bz2",
72
- :sha256 => '9e3c670966b96ecc746c28c2c419541e3bcb787d1a73930f5e5f5e1bcbbb9bdb'
72
+ :sha256 => '95b178148863f07d45df0cea67e880a79b9ef71f5d230baddc0071128516ef78'
73
73
  }]
74
74
  recipe.configure_options = [
75
75
  '--enable-install-gpg-error-config',
@@ -86,11 +86,11 @@ EOS
86
86
  recipe.activate
87
87
  end
88
88
 
89
- libassuan_recipe = MiniPortile.new('libassuan', '2.5.6').tap do |recipe|
89
+ libassuan_recipe = MiniPortile.new('libassuan', '3.0.2').tap do |recipe|
90
90
  recipe.target = File.join(ROOT, "ports")
91
91
  recipe.files = [{
92
92
  :url => "https://www.gnupg.org/ftp/gcrypt/#{recipe.name}/#{recipe.name}-#{recipe.version}.tar.bz2",
93
- :sha256 => 'e9fd27218d5394904e4e39788f9b1742711c3e6b41689a31aa3380bd5aa4f426'
93
+ :sha256 => 'd2931cdad266e633510f9970e1a2f346055e351bb19f9b78912475b8074c36f6'
94
94
  }]
95
95
  recipe.configure_options = [
96
96
  '--disable-shared',
@@ -106,11 +106,21 @@ EOS
106
106
  recipe.activate
107
107
  end
108
108
 
109
- gpgme_recipe = MiniPortile.new('gpgme', '1.21.0').tap do |recipe|
109
+ pkg_config_paths = [
110
+ File.join(libgpg_error_recipe.lib_path, 'pkgconfig'),
111
+ File.join(libassuan_recipe.lib_path, 'pkgconfig'),
112
+ ]
113
+
114
+ # Ensure that the locally-built libraries take precedence. gpgme runs
115
+ # `gpgrt-config libassuan` and could pull in the system libassuan
116
+ # if PKG_CONFIG_PATH is not set properly.
117
+ ENV["PKG_CONFIG_PATH"] = [*pkg_config_paths, ENV["PKG_CONFIG_PATH"]].compact.join(File::PATH_SEPARATOR)
118
+
119
+ gpgme_recipe = MiniPortile.new('gpgme', '2.0.0').tap do |recipe|
110
120
  recipe.target = File.join(ROOT, "ports")
111
121
  recipe.files = [{
112
122
  :url => "https://www.gnupg.org/ftp/gcrypt/#{recipe.name}/#{recipe.name}-#{recipe.version}.tar.bz2",
113
- :sha256 => '416e174e165734d84806253f8c96bda2993fd07f258c3aad5f053a6efd463e88'
123
+ :sha256 => 'ddf161d3c41ff6a3fcbaf4be6c6e305ca4ef1cc3f1ecdfce0c8c2a167c0cc36d'
114
124
  }]
115
125
  recipe.configure_options = [
116
126
  '--disable-shared',
@@ -215,6 +225,19 @@ End
215
225
  end
216
226
 
217
227
  have_func('gpgme_op_export_keys')
228
+ have_const('GPGME_ENCRYPT_ALWAYS_TRUST', 'gpgme.h')
229
+ have_const('GPGME_ENCRYPT_NO_ENCRYPT_TO', 'gpgme.h')
230
+ have_const('GPGME_ENCRYPT_PREPARE', 'gpgme.h')
231
+ have_const('GPGME_ENCRYPT_EXPECT_SIGN', 'gpgme.h')
232
+ have_const('GPGME_ENCRYPT_NO_COMPRESS', 'gpgme.h')
233
+ have_const('GPGME_ENCRYPT_SYMMETRIC', 'gpgme.h')
234
+ have_const('GPGME_ENCRYPT_THROW_KEYIDS', 'gpgme.h')
235
+ have_const('GPGME_ENCRYPT_WRAP', 'gpgme.h')
236
+ have_const('GPGME_ENCRYPT_WANT_ADDRESS', 'gpgme.h')
237
+ have_const('GPGME_ENCRYPT_ARCHIVE', 'gpgme.h')
238
+ have_const('GPGME_ENCRYPT_FILE', 'gpgme.h')
239
+ have_const('GPGME_ENCRYPT_ADD_RECP', 'gpgme.h')
240
+ have_const('GPGME_ENCRYPT_CHG_RECP', 'gpgme.h')
218
241
 
219
242
  create_makefile ('gpgme_n')
220
243