diff --git a/databases/ruby-mysql2/Makefile b/databases/ruby-mysql2/Makefile index acda267599c..9eac6abf016 100644 --- a/databases/ruby-mysql2/Makefile +++ b/databases/ruby-mysql2/Makefile @@ -1,8 +1,8 @@ -# $OpenBSD: Makefile,v 1.21 2015/04/16 20:34:29 jeremy Exp $ +# $OpenBSD: Makefile,v 1.22 2016/05/05 22:46:27 jeremy Exp $ COMMENT= modern, simple and very fast MySQL library for Ruby -DISTNAME= mysql2-0.3.18 +DISTNAME= mysql2-0.4.4 CATEGORIES= databases HOMEPAGE= https://github.com/brianmario/mysql2 diff --git a/databases/ruby-mysql2/distinfo b/databases/ruby-mysql2/distinfo index 29ef1eb675d..2b0fa106466 100644 --- a/databases/ruby-mysql2/distinfo +++ b/databases/ruby-mysql2/distinfo @@ -1,2 +1,2 @@ -SHA256 (mysql2-0.3.18.gem) = 01R3qvGl/FCFEa9cUhZ1uIeCda0K+cEuHPIitQ4oVzU= -SIZE (mysql2-0.3.18.gem) = 50688 +SHA256 (mysql2-0.4.4.gem) = Kt9y3lhYHdsXq+lS9ceEPuDK80Ve0gyC+cQVg846o+w= +SIZE (mysql2-0.4.4.gem) = 73728 diff --git a/databases/ruby-mysql2/patches/patch-ext_mysql2_extconf_rb b/databases/ruby-mysql2/patches/patch-ext_mysql2_extconf_rb deleted file mode 100644 index f7f1e10e98f..00000000000 --- a/databases/ruby-mysql2/patches/patch-ext_mysql2_extconf_rb +++ /dev/null @@ -1,18 +0,0 @@ -$OpenBSD: patch-ext_mysql2_extconf_rb,v 1.2 2013/10/26 23:48:40 jeremy Exp $ ---- ext/mysql2/extconf.rb.orig Wed Dec 31 16:00:00 1969 -+++ ext/mysql2/extconf.rb Tue Jul 16 08:47:55 2013 -@@ -44,11 +44,11 @@ elsif mc = (with_config('mysql-config') || Dir[GLOB].f - ver = `#{mc} --version`.chomp.to_f - cflags = `#{mc} --cflags`.chomp - exit 1 if $? != 0 -- libs = `#{mc} --libs_r`.chomp -+ #libs = `#{mc} --libs_r`.chomp - # MySQL 5.5 and above already have re-entrant code in libmysqlclient (no _r). -- if ver >= 5.5 || libs.empty? -+ #if ver >= 5.5 || libs.empty? - libs = `#{mc} --libs`.chomp -- end -+ #end - exit 1 if $? != 0 - $CPPFLAGS += ' ' + cflags - $libs = libs + " " + $libs diff --git a/databases/ruby-mysql2/pkg/PLIST b/databases/ruby-mysql2/pkg/PLIST index c066f5fe3ec..a3ae8ddc823 100644 --- a/databases/ruby-mysql2/pkg/PLIST +++ b/databases/ruby-mysql2/pkg/PLIST @@ -1,6 +1,8 @@ -@comment $OpenBSD: PLIST,v 1.8 2015/04/16 20:34:29 jeremy Exp $ +@comment $OpenBSD: PLIST,v 1.9 2016/05/05 22:46:27 jeremy Exp $ ${GEM_LIB}/cache/${DISTNAME}.gem ${GEM_LIB}/gems/${DISTNAME}/ +${GEM_LIB}/gems/${DISTNAME}/CHANGELOG.md +${GEM_LIB}/gems/${DISTNAME}/LICENSE ${GEM_LIB}/gems/${DISTNAME}/README.md ${GEM_LIB}/gems/${DISTNAME}/examples/ ${GEM_LIB}/gems/${DISTNAME}/examples/eventmachine.rb @@ -12,8 +14,10 @@ ${GEM_LIB}/gems/${DISTNAME}/lib/mysql2/client.rb ${GEM_LIB}/gems/${DISTNAME}/lib/mysql2/console.rb ${GEM_LIB}/gems/${DISTNAME}/lib/mysql2/em.rb ${GEM_LIB}/gems/${DISTNAME}/lib/mysql2/error.rb +${GEM_LIB}/gems/${DISTNAME}/lib/mysql2/field.rb ${GEM_LIB}/gems/${DISTNAME}/lib/mysql2/mysql2.so ${GEM_LIB}/gems/${DISTNAME}/lib/mysql2/result.rb +${GEM_LIB}/gems/${DISTNAME}/lib/mysql2/statement.rb ${GEM_LIB}/gems/${DISTNAME}/lib/mysql2/version.rb ${GEM_LIB}/gems/${DISTNAME}/spec/ ${GEM_LIB}/gems/${DISTNAME}/spec/configuration.yml.example @@ -24,8 +28,23 @@ ${GEM_LIB}/gems/${DISTNAME}/spec/mysql2/ ${GEM_LIB}/gems/${DISTNAME}/spec/mysql2/client_spec.rb ${GEM_LIB}/gems/${DISTNAME}/spec/mysql2/error_spec.rb ${GEM_LIB}/gems/${DISTNAME}/spec/mysql2/result_spec.rb +${GEM_LIB}/gems/${DISTNAME}/spec/mysql2/statement_spec.rb ${GEM_LIB}/gems/${DISTNAME}/spec/rcov.opts ${GEM_LIB}/gems/${DISTNAME}/spec/spec_helper.rb +${GEM_LIB}/gems/${DISTNAME}/spec/ssl/ +${GEM_LIB}/gems/${DISTNAME}/spec/ssl/ca-cert.pem +${GEM_LIB}/gems/${DISTNAME}/spec/ssl/ca-key.pem +${GEM_LIB}/gems/${DISTNAME}/spec/ssl/ca.cnf +${GEM_LIB}/gems/${DISTNAME}/spec/ssl/cert.cnf +${GEM_LIB}/gems/${DISTNAME}/spec/ssl/client-cert.pem +${GEM_LIB}/gems/${DISTNAME}/spec/ssl/client-key.pem +${GEM_LIB}/gems/${DISTNAME}/spec/ssl/client-req.pem +${GEM_LIB}/gems/${DISTNAME}/spec/ssl/gen_certs.sh +${GEM_LIB}/gems/${DISTNAME}/spec/ssl/pkcs8-client-key.pem +${GEM_LIB}/gems/${DISTNAME}/spec/ssl/pkcs8-server-key.pem +${GEM_LIB}/gems/${DISTNAME}/spec/ssl/server-cert.pem +${GEM_LIB}/gems/${DISTNAME}/spec/ssl/server-key.pem +${GEM_LIB}/gems/${DISTNAME}/spec/ssl/server-req.pem ${GEM_LIB}/gems/${DISTNAME}/spec/test_data ${GEM_LIB}/gems/${DISTNAME}/support/ ${GEM_LIB}/gems/${DISTNAME}/support/libmysql.def