Граф коммитов

37 Коммитов

Автор SHA1 Сообщение Дата
Dan Sketcher 657f48d08c
Update lib versions (#138)
Update `libgpg-error` to 1.37, `libassuan` to 2.5.3, `gpgme` to 1.13.1
2020-02-18 21:35:35 +10:00
Dirkjan Bussink 4ae61d0acb Disable running tests when configuring gpgme (#125)
This disables more tests when building gpgme. This adds a significant
amount of installation time and it also currently prevents this gem from
being installed on MacOS.

On MacOS, it fails with a message like the following:

Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

With this change, installing the gpgme gem succeeds.
2018-11-22 22:59:22 +10:00
Casey Tucker a39c7268ab oops! removing old SHA 2018-11-20 12:56:26 +01:00
Casey Tucker 8f08b6df36 updates gpgme 1.12.0, assuan 2.5.1, error 1.32
The motivation behind this PR is to use the latest versions of gpgme,
libassuan, and libgpg-error. This change will be useful to those
running ruby within Docker, where gpgme 1.9 has very poor performance
due to inefficiently attempting to close as many file descriptors as
RLIMIT_NOFILE on every spawn. This has been resolved in gpgme 1.12 by
checking directory entries in /proc/self/fd to determine how many file
descriptors to attempt to close.
2018-11-20 12:56:26 +01:00
Daiki Ueno a261dc9aff Don't build language bindings
Fixes issue #93.
2017-07-14 11:24:30 +02:00
Daiki Ueno 70723177fb Update tarballs 2017-07-02 04:39:24 +02:00
Dmytro Shteflyuk cef92dbae9 Switch to HTTPS + checksum validation for GPG libraries
Downloading files from FTP without checksum validation is insecure and open a potential security hole in the system. Instead, we will download library sources via HTTPS and then validate file signatures locally. This will make sure files are not modified in flight, and also will make sure that if somebody managed to replace files on the server – we will fail fast and stop compiling the potentially malicious code.
2017-06-20 13:54:28 +02:00
Daiki Ueno 2e2c57a6eb Update tarballs 2016-11-25 16:54:35 +01:00
Daiki Ueno ccc1a4e833 Update tarballs 2016-09-26 13:11:12 +02:00
Tao Guo e69b108cc8 Switch to use mini_portile2 for building native libraries
One of the major enhancements in mini_portile2 is to take `configure_options` literally without running in subshell, see: e77b909388.

The compatibility fix has been made at: 661739705e. Unfortunately this breaks build with mini_portile < 0.7 when `ENV['CFLAGS']` is present.

A gemspec dependency update seems to be necessary. But instead of depending any 0.7.0.rc* release, let's go straight into v2.
2016-01-11 23:48:54 +11:00
Daiki Ueno ff6eabc4bf Update tarballs 2015-12-15 17:26:54 +09:00
Daiki Ueno 661739705e Fix build failure with mini_portile > 0.7
Avoid double-escaping shell arguments (Issue#67).
2015-12-15 17:22:14 +09:00
Daiki Ueno bd7b96527e Fix the last commit, reverting libassuan version 2015-08-26 21:03:22 +09:00
Daiki Ueno 091ee0fcf5 Update tarballs
This should fix errors on chrooted environment,
reported in issue#26.
2015-08-26 19:11:00 +09:00
Daiki Ueno d60493e97e Update tarballs
This should fix building with GCC 5.
Reported by @ignisf in issue#65.
2015-07-24 10:39:44 +09:00
Daiki Ueno 0c3470e029 Update tarballs 2014-12-31 10:26:56 +09:00
Daiki Ueno d7d898d343 build: Update libassuan and gpgme version 2014-09-08 14:40:11 +09:00
Daiki Ueno 325e772ff5 build: Replace -lLIB with LIB.a for locally built libraries
LIBPATH in the generated Makefile may contain -L$(archlibdir) before
the ports' lib directories.  Disable path searching by resolving absolute
paths of locally built libraries.

Fixes issue #50.
2014-09-08 12:28:42 +09:00
Daiki Ueno de52a5bed0 Disable gpgsm test to work around a build error on Travis CI 2014-06-26 17:38:29 +09:00
Daiki Ueno b417667e80 Update libgpg-error and gpgme versions 2014-06-26 12:24:43 +09:00
Tamir Duberstein dd963003cb Just use the built-in `message`. Fixes #37 2014-03-13 16:25:36 -07:00
Daiki Ueno 102c09f42e Fix build with ruby 1.8 2014-03-13 12:40:28 +09:00
Daiki Ueno 7be4c55a43 Fix commit 982baa15a7 2014-03-13 12:33:17 +09:00
Daiki Ueno 982baa15a7 build: Port --clean option from Nokogiri's extconf.rb 2014-03-13 12:13:36 +09:00
Daiki Ueno 27110c4b01 Fix build with ruby 1.8.7 2014-03-06 13:55:00 +09:00
Daiki Ueno 0fc849d97c Re-add the warning when libraries are locally built 2014-03-05 17:28:16 +09:00
Daiki Ueno 5c092db025 Rewrite the local library building with mini_portile 2014-03-05 17:13:11 +09:00
Daiki Ueno 1e98e9a8dd Support --use-system-libraries option (Issue#21)
Based on Nokogiri.  Thanks Robin Bowes for the suggestion.
2014-03-05 13:51:36 +09:00
Daiki Ueno f4818aa82b extconf: point to new tarballs 2013-08-28 18:51:05 +09:00
Daiki Ueno 90185b4bd1 Update included libraries 2013-08-14 21:00:34 +02:00
Daiki Ueno 5b3fbb771f Update included libraries 2013-03-05 18:14:01 +09:00
Terence Daniel Honles 5f099c3444 force lib dir to be exactly "lib" rather than variations (i.e. lib64) 2013-02-22 11:31:35 -08:00
Petteri Räty 3973124d3d Fix linking order
The gcc linker searches and processes libraries and object files in the order
they are specified so building could fail when libassun functions could
not be found.
2012-03-16 13:12:54 +02:00
Daiki Ueno c530736220 Remove trailing slash from PREFIX. 2011-10-03 11:50:25 +09:00
Daiki Ueno 638887772d Fix rake compile.
Place generated/object files under tmp/ instead of ext/.
2011-10-03 10:08:22 +09:00
Ben Burkert a4dac367a1 Improved test and compilations task. 2011-09-29 20:23:20 +02:00
Ben Burkert da7e3d55b0 Move C extension into the ext dir.
* Some versions of GNU install will error out if the install dir is the
  same as the build dir.
(cherry picked from commit bbf5f9ca0c3ae8fbe56ec2dd42def1d66d1c8ea2)
2011-08-24 21:07:24 +02:00