summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2007-09-04 19:31:43 +0000
committerHans de Graaff <graaff@gentoo.org>2007-09-04 19:31:43 +0000
commit81cd4ed4116b2e1902e75b9e97bc7f401f6468f6 (patch)
tree1ce2ff2bd9424116e9a3b32593d06c8450ad02d8 /dev-ruby
parentfirst release candidate for openoffice-bin-2.3.0 (diff)
downloadhistorical-81cd4ed4116b2e1902e75b9e97bc7f401f6468f6.tar.gz
historical-81cd4ed4116b2e1902e75b9e97bc7f401f6468f6.tar.bz2
historical-81cd4ed4116b2e1902e75b9e97bc7f401f6468f6.zip
Version bump
Package-Manager: portage-2.1.2.12
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/mysql-ruby/ChangeLog11
-rw-r--r--dev-ruby/mysql-ruby/Manifest38
-rw-r--r--dev-ruby/mysql-ruby/files/digest-mysql-ruby-2.73
-rw-r--r--dev-ruby/mysql-ruby/files/digest-mysql-ruby-2.7.43
-rw-r--r--dev-ruby/mysql-ruby/files/mysql-ruby-2.7.4-test.patch65
-rw-r--r--dev-ruby/mysql-ruby/mysql-ruby-2.7.4.ebuild (renamed from dev-ruby/mysql-ruby/mysql-ruby-2.7.ebuild)24
6 files changed, 123 insertions, 21 deletions
diff --git a/dev-ruby/mysql-ruby/ChangeLog b/dev-ruby/mysql-ruby/ChangeLog
index 1334b93765e5..00d2cabc606d 100644
--- a/dev-ruby/mysql-ruby/ChangeLog
+++ b/dev-ruby/mysql-ruby/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for dev-ruby/mysql-ruby
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mysql-ruby/ChangeLog,v 1.42 2007/06/21 18:31:32 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mysql-ruby/ChangeLog,v 1.43 2007/09/04 19:31:43 graaff Exp $
+
+*mysql-ruby-2.7.4 (04 Sep 2007)
+
+ 04 Sep 2007; Hans de Graaff <graaff@gentoo.org>
+ +files/mysql-ruby-2.7.4-test.patch, -mysql-ruby-2.7.ebuild,
+ +mysql-ruby-2.7.4.ebuild:
+ Version bump, thanks to Brenden Matthews in #191201. Remove older version.
+
+ * BUG: Mysql::Stmt#execute memory leak.
21 Jun 2007; Raúl Porcel <armin76@gentoo.org> mysql-ruby-2.7.3.ebuild:
alpha stable wrt #171907
diff --git a/dev-ruby/mysql-ruby/Manifest b/dev-ruby/mysql-ruby/Manifest
index f2d674a814fe..2c026fa084cf 100644
--- a/dev-ruby/mysql-ruby/Manifest
+++ b/dev-ruby/mysql-ruby/Manifest
@@ -1,11 +1,18 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX mysql-ruby-2.7.3-test.patch 1897 RMD160 69120abb27c44b88ed6858637e0d86aa99dca42a SHA1 2b0135e6a67eab7ea31459be6a3ec9b443239aeb SHA256 f3ad9166160391e227000f0ced6f8e2875e7a79cba88dbc96881cb09bde0934e
MD5 4935d0cd14896226bbf8d6ab19053210 files/mysql-ruby-2.7.3-test.patch 1897
RMD160 69120abb27c44b88ed6858637e0d86aa99dca42a files/mysql-ruby-2.7.3-test.patch 1897
SHA256 f3ad9166160391e227000f0ced6f8e2875e7a79cba88dbc96881cb09bde0934e files/mysql-ruby-2.7.3-test.patch 1897
+AUX mysql-ruby-2.7.4-test.patch 1916 RMD160 bd79c2ab15cf410838c619ddb24043c6b67ce1fa SHA1 4837ee2ba9d63506c1429b43620c640e4bbce8e6 SHA256 c5a8b9b49db4506b59db3284fd414647c71c91065b77ca4a2635d2e7e48c5b4c
+MD5 7ceb06aca2c684bc36735381b3f96c36 files/mysql-ruby-2.7.4-test.patch 1916
+RMD160 bd79c2ab15cf410838c619ddb24043c6b67ce1fa files/mysql-ruby-2.7.4-test.patch 1916
+SHA256 c5a8b9b49db4506b59db3284fd414647c71c91065b77ca4a2635d2e7e48c5b4c files/mysql-ruby-2.7.4-test.patch 1916
DIST mysql-ruby-2.4.5.tar.gz 16420 RMD160 7c86103027341fad43655b3e72ff715de22febda SHA1 30a4c4cd33531998cccfb26e336b15efdd7d87eb SHA256 d087ff50238f91da1df9e448e81f79b67702f5de72a7e6abfab051ed8aa53e89
DIST mysql-ruby-2.7.2.tar.gz 30298 RMD160 f985a150880df4a9bfb8450ca7bc299221ff5094 SHA1 5a642b504b799dec8edf7ca80ea3875e524b92a8 SHA256 2afde7f7ad2adcc287ae6184c2665e9bcff5504bfa10ca37a87dc4c9d9e895d6
DIST mysql-ruby-2.7.3.tar.gz 30383 RMD160 8b676f44a1cb14b643dcad6d57660ddbd236d9ea SHA1 ca083c5a1749899af45e9ca5fc4d71281ba6f9f7 SHA256 abf16d48a6ece40bd5f7a08eb72538e2dcc90ccabbba43a4b4e3ffc178886851
-DIST mysql-ruby-2.7.tar.gz 29620 RMD160 c35cc5ff989f4675f6a16167b56dba14dd88fc47 SHA1 d147c22ff428073f4addefe1366a158536af531f SHA256 eedcfc9e473b7f8572f5c59d44eadbd4bfa7c4e5834f0dda484f30d3cea6dedd
+DIST mysql-ruby-2.7.4.tar.gz 31487 RMD160 ca63e1f3d45acaafbbccf727c5bc907c5eccbf49 SHA1 c3c0ba834e640cec1fb6fcbb012690c610a154e1 SHA256 4f3c1c45f1c431e81423451cff8651130a8f16fca1d529acf2cf63bf4aae6c99
EBUILD mysql-ruby-2.4.5.ebuild 598 RMD160 1a8ebf7795647f1fc86cd4e4f1aeb18ec92f1c32 SHA1 1c5fa623a98fdf6fd99bdd701667fffefcc8c6ec SHA256 cb5320931892a39d026725cc3929a5c0cfe890c897069d05d5f2c70f5f816258
MD5 f64561a9554c878f1f705dbe2a28aff7 mysql-ruby-2.4.5.ebuild 598
RMD160 1a8ebf7795647f1fc86cd4e4f1aeb18ec92f1c32 mysql-ruby-2.4.5.ebuild 598
@@ -18,14 +25,14 @@ EBUILD mysql-ruby-2.7.3.ebuild 1134 RMD160 10037adb196bd9a1033ec5dcd19f535b257e9
MD5 f10da062a1d27dd7cadab2fe71b21a70 mysql-ruby-2.7.3.ebuild 1134
RMD160 10037adb196bd9a1033ec5dcd19f535b257e9b0b mysql-ruby-2.7.3.ebuild 1134
SHA256 b89de487d531f7ec731d8c466307350db4da57fec329d1ba74c992f26e64c578 mysql-ruby-2.7.3.ebuild 1134
-EBUILD mysql-ruby-2.7.ebuild 930 RMD160 ac38c64c8eb3d537e26d2b75961f211a9096ccac SHA1 8fd7231aecd03d6c2e3a6f6f8d449e0cbd6ab9ce SHA256 2387885553eebba23197eef651a7dd702fb4e7de3bd58f2d71b20c9cf195672f
-MD5 bbbce693b5ad019059507d28683503ba mysql-ruby-2.7.ebuild 930
-RMD160 ac38c64c8eb3d537e26d2b75961f211a9096ccac mysql-ruby-2.7.ebuild 930
-SHA256 2387885553eebba23197eef651a7dd702fb4e7de3bd58f2d71b20c9cf195672f mysql-ruby-2.7.ebuild 930
-MISC ChangeLog 4702 RMD160 bc60dd63c705bbb672291fdb646773ba59ce3206 SHA1 e1c0dde5c8e9af10b980536a9c6d256491e033cf SHA256 73cff68b3ce423705ef37fb2d1790c4601d1e2c04a460def0dfd5f2996140e0c
-MD5 4b3e45fa7a3932328dd48d3f6ba3451a ChangeLog 4702
-RMD160 bc60dd63c705bbb672291fdb646773ba59ce3206 ChangeLog 4702
-SHA256 73cff68b3ce423705ef37fb2d1790c4601d1e2c04a460def0dfd5f2996140e0c ChangeLog 4702
+EBUILD mysql-ruby-2.7.4.ebuild 1132 RMD160 893de0b7b2254d6e7a42d375f8bfd3958126e0ce SHA1 11f89fe2eaed629366953b654f7dbd3bebf07d3e SHA256 ae111aaed6b7035318617239b548a6ebf1761eaf95828adf7d92bb92b8e39dca
+MD5 c21ec5c38643a3eaf78bdb61490f52aa mysql-ruby-2.7.4.ebuild 1132
+RMD160 893de0b7b2254d6e7a42d375f8bfd3958126e0ce mysql-ruby-2.7.4.ebuild 1132
+SHA256 ae111aaed6b7035318617239b548a6ebf1761eaf95828adf7d92bb92b8e39dca mysql-ruby-2.7.4.ebuild 1132
+MISC ChangeLog 4998 RMD160 99fa08757b0a9bbda34d25389b8562930cf0310e SHA1 1681d5db91a43811fb87109d6c9fe64a27f1f458 SHA256 ce4412c8c276c30cd8743c40c52e0a234167f0fe08ccda07d21ad4ee866c78c2
+MD5 61ce62c5473a51e3ea893efc2e0dcc08 ChangeLog 4998
+RMD160 99fa08757b0a9bbda34d25389b8562930cf0310e ChangeLog 4998
+SHA256 ce4412c8c276c30cd8743c40c52e0a234167f0fe08ccda07d21ad4ee866c78c2 ChangeLog 4998
MISC metadata.xml 157 RMD160 5d9e2c7ecba96ffebd936d38acedf859cdea84e1 SHA1 8ce15dcc608eeb5616aeec610dc695cbe6f93e02 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c
MD5 3eec9f3fe48b51f49dbc1f171a3b026f metadata.xml 157
RMD160 5d9e2c7ecba96ffebd936d38acedf859cdea84e1 metadata.xml 157
@@ -33,12 +40,19 @@ SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c metadata
MD5 45a3cd1e89fd44f035c9ea0be65bb245 files/digest-mysql-ruby-2.4.5 247
RMD160 6c0721b865882c5778d41979234de8ac2580d2b7 files/digest-mysql-ruby-2.4.5 247
SHA256 f4395fa77a7051289e31486b02589dfa41cce6ac75fa2cb37fcc6ed3cd327c7a files/digest-mysql-ruby-2.4.5 247
-MD5 59de4f78564b2c9d9ea75e010f04d9cd files/digest-mysql-ruby-2.7 241
-RMD160 d54143a44a61801d875faa60b7fc8d160a40a31b files/digest-mysql-ruby-2.7 241
-SHA256 ae04ff6820cb96adbb45cbb7a81d9111506fd9e56b63ca1e41e5399a824d3a4a files/digest-mysql-ruby-2.7 241
MD5 ab4afb16e841701605a87c6cc2bbbeec files/digest-mysql-ruby-2.7.2 247
RMD160 3a7aeaca4f0569fbf3e659afc259a5069d952b9f files/digest-mysql-ruby-2.7.2 247
SHA256 a32fcd235450bddf17b26f9368810a7ba1d5515ca28467069137d8e4f8ee3bf5 files/digest-mysql-ruby-2.7.2 247
MD5 0be8e2c7cd90d5520701ea24f1feb790 files/digest-mysql-ruby-2.7.3 247
RMD160 5d88e8c2dd439e64deb333e8cbdc0330dbb55d69 files/digest-mysql-ruby-2.7.3 247
SHA256 709e36ed73c757ba9fd1522cafc5df042d808cce4622a173ffa96ff146b10ee4 files/digest-mysql-ruby-2.7.3 247
+MD5 8413bcb8863d935ce96b6ed5cb2c6e6d files/digest-mysql-ruby-2.7.4 247
+RMD160 4e2c37175ed042c1739698f4b0d88be27de2b919 files/digest-mysql-ruby-2.7.4 247
+SHA256 e0a64f4ab85e34e0dd14ae1cf2c06011c2a934d5ef4da212ef8f8e78cabfa8ca files/digest-mysql-ruby-2.7.4 247
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.7 (GNU/Linux)
+
+iD8DBQFG3bKl0BM77Tkv120RAn9EAKDEHOFgOk9yxH3rkwR3VZKhXr49swCcCEq9
+gpQSEuXmQXC8/Ee10BDHoXw=
+=oddY
+-----END PGP SIGNATURE-----
diff --git a/dev-ruby/mysql-ruby/files/digest-mysql-ruby-2.7 b/dev-ruby/mysql-ruby/files/digest-mysql-ruby-2.7
deleted file mode 100644
index a0591dd18bd8..000000000000
--- a/dev-ruby/mysql-ruby/files/digest-mysql-ruby-2.7
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 c6668900e68f0d6a137612c818d5fd01 mysql-ruby-2.7.tar.gz 29620
-RMD160 c35cc5ff989f4675f6a16167b56dba14dd88fc47 mysql-ruby-2.7.tar.gz 29620
-SHA256 eedcfc9e473b7f8572f5c59d44eadbd4bfa7c4e5834f0dda484f30d3cea6dedd mysql-ruby-2.7.tar.gz 29620
diff --git a/dev-ruby/mysql-ruby/files/digest-mysql-ruby-2.7.4 b/dev-ruby/mysql-ruby/files/digest-mysql-ruby-2.7.4
new file mode 100644
index 000000000000..637726de6896
--- /dev/null
+++ b/dev-ruby/mysql-ruby/files/digest-mysql-ruby-2.7.4
@@ -0,0 +1,3 @@
+MD5 1a98d1b5cde1f7c6bb5ae8ce8d35a683 mysql-ruby-2.7.4.tar.gz 31487
+RMD160 ca63e1f3d45acaafbbccf727c5bc907c5eccbf49 mysql-ruby-2.7.4.tar.gz 31487
+SHA256 4f3c1c45f1c431e81423451cff8651130a8f16fca1d529acf2cf63bf4aae6c99 mysql-ruby-2.7.4.tar.gz 31487
diff --git a/dev-ruby/mysql-ruby/files/mysql-ruby-2.7.4-test.patch b/dev-ruby/mysql-ruby/files/mysql-ruby-2.7.4-test.patch
new file mode 100644
index 000000000000..eac38101bc53
--- /dev/null
+++ b/dev-ruby/mysql-ruby/files/mysql-ruby-2.7.4-test.patch
@@ -0,0 +1,65 @@
+diff -u mysql-ruby-2.7.4/test.rb mysql-ruby-2.7.4.new/test.rb
+--- mysql-ruby-2.7.4/test.rb 2006-12-20 05:31:52.000000000 +0000
++++ mysql-ruby-2.7.4.new/test.rb 2007-04-16 11:34:43.000000000 +0100
+@@ -1,16 +1,22 @@
+-#!/usr/local/bin/ruby
++#!/usr/bin/env ruby
+ # $Id: test.rb,v 1.24 2007-08-21 23:29:37 tommy Exp $
+
+ require "test/unit"
+-require "./mysql.o"
++require "mysql"
++
++ARGV.each do |a|
++ $argv ||= []
++ $argv << a
++end
+
+ class TC_Mysql < Test::Unit::TestCase
+ def setup()
+- @host, @user, @pass, db, port, sock, flag = ARGV
++ @host, @user, @pass, db, port, sock, flag = $argv
+ @db = db || "test"
+ @port = port.to_i
+ @sock = sock.nil? || sock.empty? ? nil : sock
+ @flag = flag.to_i
++
+ end
+ def teardown()
+ end
+@@ -95,7 +101,7 @@
+
+ class TC_Mysql2 < Test::Unit::TestCase
+ def setup()
+- @host, @user, @pass, db, port, sock, flag = ARGV
++ @host, @user, @pass, db, port, sock, flag = $argv
+ @db = db || "test"
+ @port = port.to_i
+ @sock = sock.nil? || sock.empty? ? nil : sock
+@@ -203,7 +209,7 @@
+
+ class TC_MysqlRes < Test::Unit::TestCase
+ def setup()
+- @host, @user, @pass, db, port, sock, flag = ARGV
++ @host, @user, @pass, db, port, sock, flag = $argv
+ @db = db || "test"
+ @port = port.to_i
+ @sock = sock.nil? || sock.empty? ? nil : sock
+@@ -403,7 +409,7 @@
+
+ class TC_MysqlStmt < Test::Unit::TestCase
+ def setup()
+- @host, @user, @pass, db, port, sock, flag = ARGV
++ @host, @user, @pass, db, port, sock, flag = $argv
+ @db = db || "test"
+ @port = port.to_i
+ @sock = sock.nil? || sock.empty? ? nil : sock
+@@ -433,7 +439,7 @@
+
+ class TC_MysqlStmt2 < Test::Unit::TestCase
+ def setup()
+- @host, @user, @pass, db, port, sock, flag = ARGV
++ @host, @user, @pass, db, port, sock, flag = $argv
+ @db = db || "test"
+ @port = port.to_i
+ @sock = sock.nil? || sock.empty? ? nil : sock
diff --git a/dev-ruby/mysql-ruby/mysql-ruby-2.7.ebuild b/dev-ruby/mysql-ruby/mysql-ruby-2.7.4.ebuild
index 178450f0846b..51ca9e024823 100644
--- a/dev-ruby/mysql-ruby/mysql-ruby-2.7.ebuild
+++ b/dev-ruby/mysql-ruby/mysql-ruby-2.7.4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mysql-ruby/mysql-ruby-2.7.ebuild,v 1.12 2007/01/05 16:48:20 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mysql-ruby/mysql-ruby-2.7.4.ebuild,v 1.1 2007/09/04 19:31:43 graaff Exp $
inherit ruby
@@ -10,13 +10,24 @@ SRC_URI="http://www.tmtm.org/downloads/mysql/ruby/${P}.tar.gz"
LICENSE="Ruby"
SLOT="0"
-KEYWORDS="alpha amd64 hppa ia64 mips ppc sparc x86"
+KEYWORDS="alpha amd64 hppa ia64 ~mips ppc ppc64 sparc x86"
IUSE=""
-USE_RUBY="ruby16 ruby18 ruby19"
+USE_RUBY="ruby18 ruby19"
DEPEND="virtual/ruby
virtual/mysql"
+TEST_DIR="/usr/share/${PN}/test/"
+
+src_unpack() {
+ unpack ${A}
+ if use hppa; then
+ sed -e 's/LONG_LONG/long long/' -i "${S}"/mysql.c.in
+ fi
+
+ epatch ${FILESDIR}/${P}-test.patch
+}
+
src_compile() {
ruby extconf.rb || die
emake || die
@@ -26,14 +37,17 @@ src_install() {
make DESTDIR=${D} install || die
dohtml *
+
+ insinto $TEST_DIR
+ doins test.rb
}
src_test() {
elog
elog "To test the programme you need to start mysql first."
- elog "Then extract the tarball and run"
+ elog "Then run:"
elog
- elog " % ruby test.rb hostname user password"
+ elog " % ruby ${TEST_DIR}test.rb hostname user password"
elog
elog "See /usr/share/doc/${PF}/html/README.html for detail."
elog