summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
Diffstat (limited to 'databases')
-rw-r--r--databases/ruby-mysql/Makefile29
-rw-r--r--databases/ruby-mysql/PLIST27
-rw-r--r--databases/ruby-mysql/distinfo8
3 files changed, 28 insertions, 36 deletions
diff --git a/databases/ruby-mysql/Makefile b/databases/ruby-mysql/Makefile
index 153df85a89e..3cdb091bad4 100644
--- a/databases/ruby-mysql/Makefile
+++ b/databases/ruby-mysql/Makefile
@@ -1,32 +1,17 @@
-# $NetBSD: Makefile,v 1.40 2021/06/23 20:33:09 nia Exp $
+# $NetBSD: Makefile,v 1.41 2022/09/01 15:29:29 taca Exp $
#
-DISTNAME= ruby-mysql-2.9.14
-PKGNAME= ${RUBY_PKGPREFIX}-mysql-2.9.14
-PKGREVISION= 1
-CATEGORIES= databases ruby
-MASTER_SITES= ${MASTER_SITE_GITHUB:=tmtm/}
-GITHUB_PROJECT= ruby-mysql
-GITHUB_TAG= ${PKGVERSION_NOREV}
+DISTNAME= ruby-mysql-3.0.1
+PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME:S/ruby-//}
+CATEGORIES= databases
MAINTAINER= neumann@s-direktnet.de
-HOMEPAGE= http://www.tmtm.org/en/mysql/ruby/
+HOMEPAGE= https://github.com/tmtm/ruby-mysql
COMMENT= Ruby extension for MySQL
LICENSE= gnu-gpl-v2 OR ruby-license
-USE_RUBY_SETUP= yes
-USE_RUBY_SETUP_PKG= yes
+USE_LANGUAGES= # empty
-INSTALLATION_DIRS= ${RUBY_DOC}/mysql ${RUBY_EG}/mysql
-
-DOCS= README.rdoc
-
-ppost-install:
-.for f in ${DOCS}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/${RUBY_DOC}/mysql
-.endfor
- ${INSTALL_SCRIPT} ${WRKSRC}/test.rb ${DESTDIR}${PREFIX}/${RUBY_EG}/mysql
-
-.include "../../lang/ruby/modules.mk"
+.include "../../lang/ruby/gem.mk"
.include "../../mk/mysql.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/databases/ruby-mysql/PLIST b/databases/ruby-mysql/PLIST
index dcc373121a4..c750b4bf194 100644
--- a/databases/ruby-mysql/PLIST
+++ b/databases/ruby-mysql/PLIST
@@ -1,10 +1,17 @@
-@comment $NetBSD: PLIST,v 1.8 2015/05/19 13:32:38 ryoon Exp $
-${RUBY_VENDORLIB}/mysql.rb
-${RUBY_VENDORLIB}/mysql/charset.rb
-${RUBY_VENDORLIB}/mysql/constants.rb
-${RUBY_VENDORLIB}/mysql/error.rb
-${RUBY_VENDORLIB}/mysql/packet.rb
-${RUBY_VENDORLIB}/mysql/protocol.rb
-${RUBY_VENDORARCHLIB}/ext.${RUBY_DLEXT}
-@pkgdir share/examples/${RUBY_NAME}/mysql
-@pkgdir share/doc/${RUBY_NAME}/mysql
+@comment $NetBSD: PLIST,v 1.9 2022/09/01 15:29:29 taca Exp $
+${GEM_HOME}/cache/${GEM_NAME}.gem
+${GEM_LIBDIR}/CHANGELOG.md
+${GEM_LIBDIR}/README.md
+${GEM_LIBDIR}/lib/mysql.rb
+${GEM_LIBDIR}/lib/mysql/authenticator.rb
+${GEM_LIBDIR}/lib/mysql/authenticator/caching_sha2_password.rb
+${GEM_LIBDIR}/lib/mysql/authenticator/mysql_native_password.rb
+${GEM_LIBDIR}/lib/mysql/authenticator/sha256_password.rb
+${GEM_LIBDIR}/lib/mysql/charset.rb
+${GEM_LIBDIR}/lib/mysql/constants.rb
+${GEM_LIBDIR}/lib/mysql/error.rb
+${GEM_LIBDIR}/lib/mysql/packet.rb
+${GEM_LIBDIR}/lib/mysql/protocol.rb
+${GEM_LIBDIR}/test/test_mysql.rb
+${GEM_LIBDIR}/test/test_mysql_packet.rb
+${GEM_HOME}/specifications/${GEM_NAME}.gemspec
diff --git a/databases/ruby-mysql/distinfo b/databases/ruby-mysql/distinfo
index 1bc666bc13d..8a8f74d30e0 100644
--- a/databases/ruby-mysql/distinfo
+++ b/databases/ruby-mysql/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.19 2021/10/26 10:10:03 nia Exp $
+$NetBSD: distinfo,v 1.20 2022/09/01 15:29:29 taca Exp $
-BLAKE2s (ruby-mysql-2.9.14.tar.gz) = 82a0d00236c02b04fee60b62cdb65b996051e9123ba44e8172a0e95cc14f4e36
-SHA512 (ruby-mysql-2.9.14.tar.gz) = 7aaea3f40a37645c6b2e38b8bd0efa42e520dd7e3c1f9a907f772cfd7661a16045ce81c935f3ccc995d0c809e5df614bff3808d54a41fcf02ea8e936ea54f349
-Size (ruby-mysql-2.9.14.tar.gz) = 58759 bytes
+BLAKE2s (ruby-mysql-3.0.1.gem) = 05d97895110a0daa8eb2744b116ac01d75e74a25da4dd76507fde9eaf528fc26
+SHA512 (ruby-mysql-3.0.1.gem) = 75d39845f3cd1276632491d04130fe14663f7dddad34bc6c0d294144776a7651c87944ea5bdb3f3408a53222387db5dce3264a2caf779e44942d610c3f7fd915
+Size (ruby-mysql-3.0.1.gem) = 47616 bytes