This updates to the latest release of mysql2, bringing about a years
worth of updates.  Release notes are available at
https://github.com/brianmario/mysql2/releases

Tested on i386, compiles on amd64.  Will be committing in a couple
days unless I hear objections.

Thanks,
Jeremy

Index: Makefile
===================================================================
RCS file: /cvs/ports/databases/ruby-mysql2/Makefile,v
retrieving revision 1.21
diff -u -p -r1.21 Makefile
--- Makefile    16 Apr 2015 20:34:29 -0000      1.21
+++ Makefile    2 May 2016 19:56:24 -0000
@@ -2,7 +2,7 @@
 
 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
Index: distinfo
===================================================================
RCS file: /cvs/ports/databases/ruby-mysql2/distinfo,v
retrieving revision 1.8
diff -u -p -r1.8 distinfo
--- distinfo    16 Apr 2015 20:34:29 -0000      1.8
+++ distinfo    2 May 2016 20:36:45 -0000
@@ -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
Index: patches/patch-ext_mysql2_extconf_rb
===================================================================
RCS file: patches/patch-ext_mysql2_extconf_rb
diff -N patches/patch-ext_mysql2_extconf_rb
--- patches/patch-ext_mysql2_extconf_rb 26 Oct 2013 23:48:40 -0000      1.2
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -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
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/databases/ruby-mysql2/pkg/PLIST,v
retrieving revision 1.8
diff -u -p -r1.8 PLIST
--- pkg/PLIST   16 Apr 2015 20:34:29 -0000      1.8
+++ pkg/PLIST   3 May 2016 19:39:28 -0000
@@ -1,6 +1,8 @@
 @comment $OpenBSD: PLIST,v 1.8 2015/04/16 20:34:29 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/c
 ${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

Reply via email to