Up to [cvs.NetBSD.org] / pkgsrc / databases / ruby-sqlite3
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
*: recursive bump for icu 79
Pullup ticket #7342 - requested by taca
databases/ruby-sqlite3: Security fix
Revisions pulled up:
- databases/ruby-sqlite3/Makefile 1.102
- databases/ruby-sqlite3/distinfo 1.63
---
Module Name: pkgsrc
Committed By: taca
Date: Wed Oct 28 15:21:13 UTC 2026
Modified Files:
pkgsrc/databases/ruby-sqlite3: Makefile distinfo
Log Message:
databases/ruby-sqlite3: update to 2.10.2
2.10.0 (2026-10-13)
Dependencies
* Vendored sqlite is updated to v3.54.0 (from v3.53.2). #750 @flavorjones
* Notable changes in this version include:
- ALTER TABLE now raises an error when adding, renaming, or dropping a
column named ROWID, _ROWID_, or OID.
- The authorizer callback is now invoked for SQL functions in the
DEFAULT clauses of CREATE TABLE statements.
- SQLite no longer supports Windows XP or earlier. On Windows, the
precompiled gem and any installation that compiles the vendored sqlite
now require Windows Vista or later.
Added
* ResultSet#each and #each_hash return an Enumerator when called without a
block. Previously they raised LocalJumpError. #656 @kch
* Introduce Database#serialize, which returns a database as a binary string,
and Database#deserialize, which replaces a database with the contents of
such a string. These wrap sqlite3_serialize() and sqlite3_deserialize().
Both methods are defined only when SQLite was compiled without
SQLITE_OMIT_DESERIALIZE, and Database#deserialize also requires that the
loaded SQLite is v3.54.0 or later. An image of a database in WAL mode
cannot be queried after deserializing; see the Database#deserialize
documentation. #685 @Maaarcocr
Fixed
* Fix Database#statement_timeout= interrupting statements almost immediately
instead of after the timeout elapsed, including re-executed prepared
statements and calls to Database#execute_batch2. #737 @palkan
@flavorjones
Improved
* On CRuby, Statement#types allocates fewer strings. Each declared type is
downcased and interned in C, instead of allocating two strings per column.
#743 @jhawthorn
Changed
* ResultSet#each and #each_hash return the result set when called with a
block. As a consequence, Database#execute and #execute2 called with a
block return the closed ResultSet instead of nil. #656 @kch
* Statement#columns and Statement#types return frozen arrays, and the
strings in Statement#types are frozen. Code that mutates them now raises
FrozenError. #743 @jhawthorn
* Statement#column_decltype and Statement#types return UTF-8 strings.
Previously they returned ASCII-8BIT strings. #743 @jhawthorn
2.10.1 (2026-10-19)
Dependencies
* Vendored sqlite is updated to v3.54.1 (from v3.54.0). This release
contains a fix for a possible heap buffer overflow on 32-bit builds,
including the precompiled x86-linux-gnu and x86-linux-musl gems. #756
@flavorjones
Improved
* Database#define_aggregator no longer creates an anonymous class for each
aggregate function it defines. Each invocation of the function still runs
on a clone of the template object. #752 @jhawthorn
2.10.2 (2026-10-26)
Security / Stability
* Raise RangeError when a SQL string, a bound String or Blob value, or a
String or Blob returned from a custom function or aggregate is longer than
INT_MAX bytes. Previously the length was truncated to 32 bits, so SQLite
could read only part of the string and drop trailing clauses from a query.
See GHSA-4fqr-96q8-xrfx for more information. #762 @flavorjones
* Fix a crash when a custom aggregate's finalize returns a value that can't
be converted to a SQLite result. The exception is now raised from the
query and the connection remains usable. #762 @flavorjones
* Fix a use-after-free when the hash returned by Database#collations is
cleared, modified or frozen. GC could free a comparator that SQLite still
called. When that hash is frozen, Database#collation still raises
FrozenError, but the new comparator stays registered and in use. #764
@flavorjones
* Fix a deadlock when a collation comparator, trace block, busy_handler
block or authorizer raises, or when an interrupt such as Thread#raise
arrives while an aggregate's handler is being created. Another thread
that used the connection blocked forever. The exception is now raised
from the query and the connection remains usable. See "Changed" below for
what SQLite does before the exception is raised. #764 @flavorjones
* Fix a crash when a custom function or aggregate uses throw. The throw now
unwinds to its catch. #764 @flavorjones
Changed
* When a callback raises or throws, SQLite now finishes its current call
before the exception is raised, instead of being unwound in the middle of
it. #764 @flavorjones
- When a trace block raises, SQLite runs the statement up to its first
row, or to completion, before the exception is raised. Previously the
statement stopped where the block raised. For example, an INSERT
whose trace block raises now inserts its row.
- The other callbacks in that SQLite call skip their Ruby code:
collation comparators return 0, functions and aggregates report an
error to SQLite, the busy handler stops retrying and the authorizer
denies.
- Database#execute_batch2 now raises the exception from a custom
function, instead of SQLite3::SQLException "Ruby Exception occurred".
- An exception from a callback that SQLite runs during Statement#reset!
or Database#close is discarded.
* The extension keeps per-fiber state in
Thread.current[:__sqlite3_callback_frames__]. A query raises FrozenError
on a Thread that was frozen before its first query. #764 @flavorjones
* When SQLite can't allocate an aggregate's context, the query raises
SQLite3::MemoryException instead of aborting the process. #764
@flavorjones
Improved
* Statement#step no longer allocates and discards an array when the
statement has no more rows. This saves one object per statement
execution. #758 @thomasklemm
* ObjectSpace.dump and heap profilers now report SQLite3::Database and
SQLite3::Statement objects under their own type names, instead of
SQLite3::Backup. #764 @flavorjones
Documentation
* Document that parameters bound by Statement#execute, #execute!,
#bind_param and #bind_params stay bound across executions, and that
Statement#clear_bindings! clears them. #751 @flavorjones
databases/ruby-sqlite3: update to 2.10.2
2.10.0 (2026-10-13)
Dependencies
* Vendored sqlite is updated to v3.54.0 (from v3.53.2). #750 @flavorjones
* Notable changes in this version include:
- ALTER TABLE now raises an error when adding, renaming, or dropping a
column named ROWID, _ROWID_, or OID.
- The authorizer callback is now invoked for SQL functions in the
DEFAULT clauses of CREATE TABLE statements.
- SQLite no longer supports Windows XP or earlier. On Windows, the
precompiled gem and any installation that compiles the vendored sqlite
now require Windows Vista or later.
Added
* ResultSet#each and #each_hash return an Enumerator when called without a
block. Previously they raised LocalJumpError. #656 @kch
* Introduce Database#serialize, which returns a database as a binary string,
and Database#deserialize, which replaces a database with the contents of
such a string. These wrap sqlite3_serialize() and sqlite3_deserialize().
Both methods are defined only when SQLite was compiled without
SQLITE_OMIT_DESERIALIZE, and Database#deserialize also requires that the
loaded SQLite is v3.54.0 or later. An image of a database in WAL mode
cannot be queried after deserializing; see the Database#deserialize
documentation. #685 @Maaarcocr
Fixed
* Fix Database#statement_timeout= interrupting statements almost immediately
instead of after the timeout elapsed, including re-executed prepared
statements and calls to Database#execute_batch2. #737 @palkan
@flavorjones
Improved
* On CRuby, Statement#types allocates fewer strings. Each declared type is
downcased and interned in C, instead of allocating two strings per column.
#743 @jhawthorn
Changed
* ResultSet#each and #each_hash return the result set when called with a
block. As a consequence, Database#execute and #execute2 called with a
block return the closed ResultSet instead of nil. #656 @kch
* Statement#columns and Statement#types return frozen arrays, and the
strings in Statement#types are frozen. Code that mutates them now raises
FrozenError. #743 @jhawthorn
* Statement#column_decltype and Statement#types return UTF-8 strings.
Previously they returned ASCII-8BIT strings. #743 @jhawthorn
2.10.1 (2026-10-19)
Dependencies
* Vendored sqlite is updated to v3.54.1 (from v3.54.0). This release
contains a fix for a possible heap buffer overflow on 32-bit builds,
including the precompiled x86-linux-gnu and x86-linux-musl gems. #756
@flavorjones
Improved
* Database#define_aggregator no longer creates an anonymous class for each
aggregate function it defines. Each invocation of the function still runs
on a clone of the template object. #752 @jhawthorn
2.10.2 (2026-10-26)
Security / Stability
* Raise RangeError when a SQL string, a bound String or Blob value, or a
String or Blob returned from a custom function or aggregate is longer than
INT_MAX bytes. Previously the length was truncated to 32 bits, so SQLite
could read only part of the string and drop trailing clauses from a query.
See GHSA-4fqr-96q8-xrfx for more information. #762 @flavorjones
* Fix a crash when a custom aggregate's finalize returns a value that can't
be converted to a SQLite result. The exception is now raised from the
query and the connection remains usable. #762 @flavorjones
* Fix a use-after-free when the hash returned by Database#collations is
cleared, modified or frozen. GC could free a comparator that SQLite still
called. When that hash is frozen, Database#collation still raises
FrozenError, but the new comparator stays registered and in use. #764
@flavorjones
* Fix a deadlock when a collation comparator, trace block, busy_handler
block or authorizer raises, or when an interrupt such as Thread#raise
arrives while an aggregate's handler is being created. Another thread
that used the connection blocked forever. The exception is now raised
from the query and the connection remains usable. See "Changed" below for
what SQLite does before the exception is raised. #764 @flavorjones
* Fix a crash when a custom function or aggregate uses throw. The throw now
unwinds to its catch. #764 @flavorjones
Changed
* When a callback raises or throws, SQLite now finishes its current call
before the exception is raised, instead of being unwound in the middle of
it. #764 @flavorjones
- When a trace block raises, SQLite runs the statement up to its first
row, or to completion, before the exception is raised. Previously the
statement stopped where the block raised. For example, an INSERT
whose trace block raises now inserts its row.
- The other callbacks in that SQLite call skip their Ruby code:
collation comparators return 0, functions and aggregates report an
error to SQLite, the busy handler stops retrying and the authorizer
denies.
- Database#execute_batch2 now raises the exception from a custom
function, instead of SQLite3::SQLException "Ruby Exception occurred".
- An exception from a callback that SQLite runs during Statement#reset!
or Database#close is discarded.
* The extension keeps per-fiber state in
Thread.current[:__sqlite3_callback_frames__]. A query raises FrozenError
on a Thread that was frozen before its first query. #764 @flavorjones
* When SQLite can't allocate an aggregate's context, the query raises
SQLite3::MemoryException instead of aborting the process. #764
@flavorjones
Improved
* Statement#step no longer allocates and discards an array when the
statement has no more rows. This saves one object per statement
execution. #758 @thomasklemm
* ObjectSpace.dump and heap profilers now report SQLite3::Database and
SQLite3::Statement objects under their own type names, instead of
SQLite3::Backup. #764 @flavorjones
Documentation
* Document that parameters bound by Statement#execute, #execute!,
#bind_param and #bind_params stay bound across executions, and that
Statement#clear_bindings! clears them. #751 @flavorjones
databases/ruby-sqlite3: update to 2.9.6 2.9.6 (2026-08-11) Security / Stability * Fix a garbage collection bug where the argument array passed to a custom aggregate function's step was not visible to the GC, so arguments could be collected mid-conversion when the aggregate takes two or more arguments, corrupting the values passed to step or crashing the process. See GHSA-mwm8-39rw-8826 for more information. #733 @jeremy Fixed * Fix a leak where custom aggregate handler instances were never released, so a connection accumulated one instance per GROUP BY group per query for its lifetime. #722 @djmb * Fix GC compaction issues with custom functions, aggregates, collations, #trace and #authorizer=. These callbacks were registered with sqlite by passing a raw Ruby object pointer as user data; keeping the object reachable prevented collection but not relocation, after which sqlite held a stale address and the next call could raise NoMethodError, return a wrong result, or segfault. Affects applications that call GC.compact or run with GC.auto_compact = true. The equivalent issue in #busy_handler was fixed in #466. #723 @djmb * Fix the private methods Database#open_v2 and #open16 silently replacing a live connection and leaking the previous connection handle when invoked via send on an open database. They now raise SQLite3::Exception. #729 @flavorjones * Fix TEXT values containing an embedded NUL byte being truncated at the first NUL when passed as arguments to functions created with Database#define_function. #730 @flavorjones * Fix an exception raised inside a Database#define_function block leaving the connection's sqlite mutex held, which deadlocked any other thread that later used the connection. The exception now propagates to the caller and the connection remains usable. #731 @flavorjones * Database.new now raises ArgumentError when the filename or VFS name contains an embedded NUL byte (or an embedded 0x0000 code unit in a UTF-16 filename), instead of silently opening a path truncated at the NUL. #732 @flavorjones Improved * When Database.new fails to open the database file, the underlying sqlite3 connection handle is now closed immediately instead of waiting for the garbage collector to clean it up. #719 @katafrakt
Pullup ticket #7135 - requested by taca
databases/ruby-sqlite3: Security fix
Revisions pulled up:
- databases/ruby-sqlite3/Makefile 1.97-1.100
- databases/ruby-sqlite3/distinfo 1.58-1.61
---
Module Name: pkgsrc
Committed By: taca
Date: Sun Apr 12 14:32:18 UTC 2026
Modified Files:
pkgsrc/databases/ruby-sqlite3: Makefile distinfo
Log Message:
databases/ruby-sqlite3: update to 2.9.2
2.9.2 (2026-03-15)
* Vendored sqlite is updated to v3.51.3 (from v3.51.2). #688 @flavorjones
---
Module Name: pkgsrc
Committed By: taca
Date: Sun Apr 19 14:02:47 UTC 2026
Modified Files:
pkgsrc/databases/ruby-sqlite3: Makefile distinfo
Log Message:
databases/ruby-sqlite3: update to 2.9.3
2.9.3 (2026-04-15)
* Vendored sqlite is updated to v3.53.0 (from v3.51.3). #696 @flavorjones
---
Module Name: pkgsrc
Committed By: taca
Date: Wed May 6 08:03:43 UTC 2026
Modified Files:
pkgsrc/databases/ruby-sqlite3: Makefile distinfo
Log Message:
databases/ruby-sqlite3: update to 2.9.4
2.9.4 (2026-05-05)
* Vendored sqlite is updated to v3.53.1 (from v3.53.0). #704 @flavorjones
---
Module Name: pkgsrc
Committed By: taca
Date: Mon Jun 8 13:15:06 UTC 2026
Modified Files:
pkgsrc/databases/ruby-sqlite3: Makefile distinfo
Log Message:
databases/ruby-sqlite3: update to 2.9.5
2.9.5 (2026-06-07)
Dependencies
* Vendored sqlite is updated to v3.53.2 (from v3.53.1). #709 @flavorjones
Security / Stability
* Fix use-after-free issue with custom functions, when the same function
name is used with multiple arities. See GHSA-28hh-pr2h-2w89 for more
information. #710 @flavorjones
* Fix use-after-free issue with aggregate functions, if a statement is used
after a soft database close. See GHSA-j7fr-3v8c-3qc3 for more
information. #711 @flavorjones
databases/ruby-sqlite3: update to 2.9.5 2.9.5 (2026-06-07) Dependencies * Vendored sqlite is updated to v3.53.2 (from v3.53.1). #709 @flavorjones Security / Stability * Fix use-after-free issue with custom functions, when the same function name is used with multiple arities. See GHSA-28hh-pr2h-2w89 for more information. #710 @flavorjones * Fix use-after-free issue with aggregate functions, if a statement is used after a soft database close. See GHSA-j7fr-3v8c-3qc3 for more information. #711 @flavorjones
databases/ruby-sqlite3: update to 2.9.4 2.9.4 (2026-05-05) * Vendored sqlite is updated to v3.53.1 (from v3.53.0). #704 @flavorjones
databases/ruby-sqlite3: update to 2.9.3 2.9.3 (2026-04-15) * Vendored sqlite is updated to v3.53.0 (from v3.51.3). #696 @flavorjones
databases/ruby-sqlite3: update to 2.9.2 2.9.2 (2026-03-15) * Vendored sqlite is updated to v3.51.3 (from v3.51.2). #688 @flavorjones
databases/ruby-sqlite3: update to 2.9.1 2.9.1 (2026-02-28) * Vendored sqlite is updated to v3.51.2 (from v3.51.1). #683 @flavorjones
databases/ruby-sqlite3: update to 2.9.0 2.9.0 (2025-12-27) Ruby * Introduce native gem packages for Ruby 4.0. @flavorjones * Drop support for Ruby 3.1. @flavorjones Added * Introduce Statement#named_params to introspect on a parameterized SQL statement. #627 #642 @captn3m0 Improved * Small improvements to docstrings and comments. @flavorjones @houyuanjie New Contributors * @captn3m0 made their first contribution in #642 * @houyuanjie made their first contribution in #671
*: recursive bump for icu 78.1
databases/ruby-sqlite3: update to 2.8.1 2.8.0 (2025-11-05) * Vendored sqlite is updated to v3.51.0 (from v3.50.4). #652 @flavorjones 2.8.1 / 2025-11-29 * Vendored sqlite is updated to v3.51.1 (from v3.51.0). #659 @flavorjones * Precompiled native gems are built with rake-compiler-dock v1.10.0 (previously v1.9.1).
databases/ruby-sqlite3: update to 2.7.4 2.7.4 (2025-09-19) * Vendored sqlite is updated to v3.50.4 (from v3.50.3). #644 @flavorjones
databases/ruby-sqlite3: update to 2.7.3 2.7.1 (2025-06-30) * Vendored sqlite is updated to v3.50.2 (from v3.50.1). #633 @flavorjones 2.7.2 (2025-07-05) * Backport a fix to the vendored SQLite to support compilation on Rocky Linux. See the SQLite forum post for more details. #634, #635 @flavorjones 2.7.3 (2025-07-18) * Vendored sqlite is updated to v3.50.3 (from v3.50.2). #638 @flavorjones
databases/ruby-sqlite3: update to 2.7.0 2.7.0 (2025-06-09) * Vendored sqlite is updated to v3.50.1 (from v3.49.1). #630 @flavorjones
*: recursive bump for icu 77 and libxml2 2.14
databases/ruby-sqlite3: update to 2.6.0 2.6.0 (2025-02-20) Dependencies * Vendored sqlite is updated to v3.49.1 (from v3.47.2). #605 @flavorjones * Updated to rake-compiler-dock v1.9.1. #610 @flavorjones Important note for Window users Loading extensions is not available on Windows when using the precompiled native gems or compiling the vendored sqlite library from source, starting with sqlite3-ruby v2.6.0. Sqlite 3.48.0 and later have dramatically changed the "autoconf amalgamation" that is vendored in this gem. Specifically, the configuration is no longer actually autoconf, but some scripts that emulate autoconf's interface and behavior. Although this mostly "just worked", we're having a problem resolving the libraries necessary for loading extensions. As a result, starting with sqlite3-ruby v2.6.0, extensions cannot be loaded on Windows when using precompiled native gems or when compiling the vendored sqlite library. If you are willing and able to help fix this, let us know at #618.
databases/ruby-sqlite3: update to 2.5.0 2.5.0 (2024-12-25) * This release introduces native gem packages that include Ruby 3.4.
databases/ruby-sqlite3: update to 2.4.1 2.4.1 (2024-12-08) Dependencies * Vendored sqlite is updated to v3.47.2 #593 @flavorjones The description from the upstream maintainers is: SQLite version 3.47.2, now available, fixes an important bug that first appeared in the 3.47.0 release. In SQLite versions 3.47.0 and 3.47.1, if you try to convert a string into a floating-point value and the first 16 significant digits of the value are exactly "1844674407370955", then the floating-point number generated might be incorrect. The problem only affects x64 and i386 CPUs, so it does not affect you if you are running on ARM. And it only affects releases 3.47.0 and 3.47.1. If you are running SQLite versions 3.47.0 or 3.47.1, then upgrading is recommended. Saving you a click, you should upgrade if you're running sqlite3-ruby v2.1.1 or later. Fixed * Prevent unnecessary "Invalid Reference" warnings from the ForkSafety module when GC runs during the "after fork" hook. #592 @flavorjones
databases/ruby-sqlite3: update to 2.4.0 2.3.0 (2024-11-20) Added * The SQLITE_DBPAGE extension is now enabled by default, which implements an eponymous-only virtual table that provides direct access to the underlying database file by interacting with the pager. See https://www.sqlite.org/dbpage.html for more information. [#578] @flavorjones * The DBSTAT extension is now enabled by default, which implements a read-only eponymous virtual table that returns information about the amount of disk space used to store the content of an SQLite database. See https://sqlite.org/dbstat.html for more information. [#580] @pawurb @flavorjones * Database#optimize which wraps the pragma optimize; statement. Also added Constants::Optimize to allow advanced users to pass a bitmask of options. See https://www.sqlite.org/pragma.html#pragma_optimize. [#572] @alexcwatt @flavorjones * SQLite3::VERSION_INFO contains a bag of metadata about the gem and the sqlite library used. SQLite3::SQLITE_PACKAGED_LIBRARIES and SQLite3::SQLITE_PRECOMPILED_LIBRARIES indicate how the gem was built. [#581] @flavorjones Fixed * Database#encoding= support for switching the database encoding to UTF-16BE, which has been broken since Database#encoding= was introduced in v1.3.12 in 2016. [#575] @miyucy * Omit mention of the pkg-config gem when failing to build from source, since it is not used. [#358] @flavorjones 2.3.1 (2024-11-25) Dependencies * Vendored sqlite is updated to v3.47.1 [#589] @flavorjones 2.4.0 (2024-12-03) Added * Database#load_extension now accepts any object that responds to #to_path, in addition to String filesystem paths. [#586] @flavorjones * Database.new now accepts an extensions: parameter, which is an array of SQLite extensions that will be loaded during initialization. The array may contain String filesystem paths and objects that respond to #to_path. [#586] @flavorjones
*: recursive bump for icu 76 shlib major version bump
databases/ruby-sqlite3: update to 2.2.0 2.2.0 (2024-10-30) Added * URI filenames are now allowed. This allows the injection of some behavior via recognized query parameters. See https://www.sqlite.org/uri.html for more information. [#571] @flavorjones Improved * SQL Syntax errors during Database#prepare will raise a verbose exception with a multiline message indicating with a "^" exactly where in the statement the error occurred. [#554] @fractaledmind @flavorjones
*: revbump for icu downgrade
*: recursive bump for icu 76.1 shlib bump
databases/ruby-sqlite3: update to 2.1.1 2.1.1 (2024-10-22) Dependencies * Vendored sqlite is updated to v3.47.0 [#570] @flavorjones
databases/ruby-sqlite3: update to 2.1.0
2.1.0 (2024-09-24)
Ruby
* This release drops support for Ruby 3.0. [#563] @flavorjones
Fork safety improvements
Sqlite itself is not fork-safe. Specifically, writing in a child process to
a database connection that was created in the parent process may corrupt the
database file. To mitigate this risk, sqlite3-ruby has implemented the
following changes:
* All open writable database connections carried across a fork() will
immediately be closed in the child process to mitigate the risk of
corrupting the database file.
* These connections will be incompletely closed ("discarded") which will
result in a one-time memory leak in the child process.
If it's at all possible, we strongly recommend that you close writable
database connections in the parent before forking. If absolutely necessary
(and you know what you're doing), you may suppress the fork safety warnings
by calling SQLite3::ForkSafety.suppress_warnings!.
See the README's "Fork Safety" section and adr/2024-09-fork-safety.md for
more information. [#558, #565, #566] @flavorjones
Improved
* Use sqlite3_close_v2 to close databases in a deferred manner if there are
unclosed prepared statements. Previously closing a database while
statements were open resulted in a BusyException. See
https://www.sqlite.org/c3ref/close.html for more context. [#557]
@flavorjones
* When setting a Database busy_handler, fire the write barrier to prevent
potential crashes during the GC mark phase. [#556] @jhawthorn
Documentation
* The FAQ.md has been updated to fix some inaccuracies. [#562] @rickhull
databases/ruby-sqlite3: update to 2.0.4 2.0.3 (2024-07-29) Improved * Database#quote avoids allocating strings where reusing frozen strings is preferable. #548 @casperisfine 2.0.4 (2024-08-13) Dependencies * Vendored sqlite is updated to v3.46.1 @flavorjones
revbump after icu and protobuf updates
databases/ruby-sqlite3: update to 2.0.2 2.0.2 (2024-05-23) Dependencies * Vendored sqlite is updated to v3.46.0 @flavorjones
databases/ruby-sqlite3: update to 1.7.3 1.7.3 (2024-03-15) Dependencies * Vendored sqlite is updated to v3.45.2. @flavorjones
databases/ruby-sqlite3: update to 1.7.2 1.7.1 (2024-01-24) Dependencies * Vendored sqlite is update to v3.45.0. @flavorjones 1.7.2 (2024-01-30) Dependencies Vendored sqlite is updated to v3.45.1. @flavorjones
databases/ruby-sqlite3: update to 1.7.0 1.7.0 (2023-12-27) Ruby This release introduces native gem support for Ruby 3.3. This release ends native gem support for Ruby 2.7, for which upstream support ended 2023-03-31. Ruby 2.7 is still generally supported, but will not be shipped in the native gems. This release ends support for Ruby 1.9.3, 2.0, 2.1, 2.2, 2.3, 2.4, 2.5, and 2.6. Improved * SQLite3::Statement, Database, and Backup objects have been converted to use the TypedData API. See https://bugs.ruby-lang.org/issues/19998 for more context. [#432] @casperisfine
databases/ruby-sqlite3: update to 1.6.9 1.6.9 (2023-11-26) Dependencies * Vendored sqlite is update to v3.44.2. @flavorjones Added * Database.new now accepts a :default_transaction_mode option (defaulting to :deferred), and Database#transaction no longer requires a transaction mode to be specified. This should allow higher-level adapters to more easily choose a transaction mode for a database connection. [#426] @masamitsu-murase
databases/ruby-sqlite3: update to 1.6.8 1.6.8 (2023-11-01) Dependencies * Vendored sqlite is updated to v3.44.0. @flavorjones * rake-compiler-dock updated to v1.3.1 for precompiled native gems. @flavorjones Added * SQLite3::Database.open now returns the block result. Previously this returned the Database object. [#415] @toy * Documentation improvement in lib/sqlite3/database.rb. [#421] @szTheory
*: recursive bump for icu 74.1
databases/ruby-sqlite3: update to 1.6.7 1.6.7 / 2023-10-10 Dependencies Vendored sqlite is updated to v3.43.2. Upstream release notes: * Fix a couple of obscure UAF errors and an obscure memory leak. * Omit the use of the sprintf() function from the standard library in the CLI, as this now generates warnings on some platforms. * Avoid conversion of a double into unsigned long long integer, as some platforms do not do such conversions correctly. Added * Compile packaged sqlite3 with additional flags to explicitly enable FTS5, and set synchronous mode to normal when in WAL mode. [#408] (@flavorjones)
databases/ruby-sqlite3: update to 1.6.6 1.6.6 (2023-09-12) Dependencies Vendored sqlite is updated to v3.43.1. Upstream release notes: * Fix a regression in the way that the sum(), avg(), and total() aggregate functions handle infinities. * Fix a bug in the json_array_length() function that occurs when the argument comes directly from json_remove(). * Fix the omit-unused-subquery-columns optimization (introduced in in version 3.42.0) so that it works correctly if the subquery is a compound where one arm is DISTINCT and the other is not. * Other minor fixes.
databases/ruby-sqlite3: update to 1.6.5 pkgsrc change: surely remove sqlite3 archive file. 1.6.5 (2023-09-08) Packaging * Allow setting compiler flags for the sqlite library via a --with-sqlite-cflags argument to extconf.rb. See INSTALLATION.md for more information. [#401, #402] (@flavorjones)
databases/ruby-sqlite3: update to 1.6.4 1.6.4 (2023-08-26) Dependencies * Vendored sqlite is updated to v3.43.0.
databases/ruby-sqlite3: update to 1.6.3 1.6.3 (2023-05-16) Dependencies * Vendored sqlite is updated to [v3.42.0](https://sqlite.org/releaselog/3_42_0.html). From the release announcement: > This is a regular enhancement release. The main new features are: > * SQLite will now parse and understand JSON5, though it is careful to > generate only pure, canonical JSON. > * The secure-delete option has been added to the FTS5 extension.
revbump after textproc/icu update
databases/ruby-sqlite3: update to 1.6.2 1.6.2 (2023-03-27) Dependencies * Vendored sqlite is updated from v3.41.0 to v3.41.2. Packaging * Allow compilation against system libraries without the presence of mini_portile2, primarily for the convenience of linux distro repackagers. [#381] (Thank you, @voxik!)
databases/ruby-sqlite3: update to 1.6.1 1.6.1 (2023-02-22) Dependencies * Vendored sqlite is updated to v3.41.0.
databases/ruby-sqlite3: update to 1.6.0 1.6.0 (2023-01-13) Ruby This release introduces native gem support for Ruby 3.2. This release ends native gem support for Ruby 2.6, for which upstream support ended 2022-04-12. Dependencies * Vendored sqlite3 is updated to v3.40.1.
massive revision bump after textproc/icu update
databases/ruby-sqlite3: update to 1.5.4 1.5.4 (2022-11-18) Dependencies * Vendored sqlite is updated to v3.40.0.
databases/ruby-sqlite3: update to 1.5.3 1.5.3 (2022-10-11) Fixed * Fixed installation of the "ruby" platform gem when building from source on Fedora. In v1.5.0..v1.5.2, installation failed on some systems due to the behavior of Fedora's pkg-config implementation. [#355]
databases/ruby-sqlite3: update to 1.5.2 1.5.2 (2022-10-01) Packaging This version correctly vendors the tarball for sqlite v3.39.4 in the vanilla "ruby" platform gem package, so that users will not require network access at installation. v1.5.0 and v1.5.1 mistakenly packaged the tarball for sqlite v3.38.5 in the vanilla "ruby" platform gem, resulting in downloading the intended tarball over the network at installation time (or, if the network was not available, failure to install). Note that the precompiled native gems were not affected by this issue. [#352] 1.5.1 (2022-09-29) Dependencies * Vendored sqlite is updated to v3.39.4. Security The vendored version of sqlite, v3.39.4, should be considered to be a security release. From the release notes: Version 3.39.4 is a minimal patch against the prior release that addresses issues found since the prior release. In particular, a potential vulnerability in the FTS3 extension has been fixed, so this should be considered a security update. In order to exploit the vulnerability, an attacker must have full SQL access and must be able to construct a corrupt database with over 2GB of FTS3 content. The problem arises from a 32-bit signed integer overflow. For more information please see GHSA-mgvv-5mxp-xq67.
databases/ruby-sqlite3: really bump PKGREVISION
databases/ruby-sqlite3: add dependency Add dependency to misc/ruby-mini_portile2. Bump PKGREVISION.
databases/ruby-sqlite3: update to 1.5.0 Here is quote from release note. 1.5.0 (2022-09-08) Added * SQLite3::SQLITE_LOADED_VERSION contains the version string of the sqlite3 library that is dynamically loaded (compare to SQLite3::SQLITE_VERSION which is the version at compile-time). Fixed * SQLite3::Database#load_extensions now raises a TypeError unless a String is passed as the file path. Previously it was possible to pass a non-string and cause a segfault. [#339]
databases/ruby-sqlite3: update to 1.4.4 1.4.4 (2022-06-14) Fixes * Compilation no longer fails against SQLite3 versions < 3.29.0. This issue was introduced in v1.4.3. [#324] (Thank you, @r6e!) 1.4.3 (2022-05-25) Enhancements * Disable non-standard support for double-quoted string literals via the :strict option. [#317] (Thank you, @casperisfine!) * Column type names are now explicitly downcased on platforms where they may have been in shoutcaps. [#315] (Thank you, @petergoldstein!) * Support File or Pathname arguments to Database.new. [#283] (Thank you, @yb66!) * Support building on MSVC. [#285] (Thank you, @jmarrec!)
revbump for textproc/icu update
revbump for icu and libffi
revbump for textproc/icu
*: Recursive revbump from textproc/icu-68.1
Revbump for icu
Recursive revision bump after textproc/icu update
databases/ruby-sqlite3: update to 1.4.2 Update ruby-sqlite3 to 1.4.2. === 1.4.2 * Travis: Drop unused setting "sudo: false" * The taint mechanism will be deprecated in Ruby 2.7 * Fix Ruby 2.7 rb_check_safe_obj warnings * Update travis config
databases/ruby-sqlite3: update to 1.4.1 Changes from commit log: * Don't mandate dl functions for the extention build.
Recursive revbump from textproc/icu
databases/ruby-sqlite3: update to 1.4.0 === 1.4.0 * Enhancements * Better aggregator support * Bugfixes * Various
revbump after updating textproc/icu
Recursive revbump from textproc/icu-62.1
revbump after icu update
Revbump after textproc/icu update
revbump for requiring ICU 59.x
Revbump after icu update
Update ruby-sqlite3 to 1.3.13. * Fix flags declaration in case of no OPEN_V2. And other fixes for Windows.
Recursive revbump from textproc/icu 58.1
Update ruby-sqlite3 to 1.3.12. === 1.3.12 * Bugfixes: * OS X install will default to homebrew if available. Fixes #195
Recursive revbump from textproc/icu 57.1
Update ruby-sqlite3 to 1.3.11. === 1.3.11 / 2015-10-10 * Enhancements: * Windows: build against SQLite 3.8.11.1 * Internal: * Use rake-compiler-dock to build Windows binaries. Pull #159 [larskanis] * Expand Ruby versions being tested for Travis and AppVeyor
Recursive revbump from textproc/icu
Revbump after updating textproc/icu
Update ruby-sqlite3 to 1.3.10. 1.3.10 / 2014-10-30 Enhancements: * Windows: build against SQLite 3.8.7.1. Closes #134, #135 [Hubro]
Revbump after updating libwebp and icu
recursive bump from icu shlib major bump.
Update ruby-sqlite3 to 1.3.9. pkgsrc change: add GEM_EXTSDIR support. === 1.3.9 / 2014-02-25 * Bugfixes: * Reset exception message. Closes #80 * Reduce warnings due unused pointers. Closes #89 * Add BSD-3 license reference to gemspec. Refs #99 and #106
Set USE_GCC_RUNTIME=yes for packages which build shared libraries but do not use libtool to do so. This is required to correctly depend upon a gcc runtime package (e.g. gcc47-libs) when using USE_PKGSRC_GCC_RUNTIME.
Revbump after updating textproc/icu
Massive revbump after updating graphics/ilmbase, graphics/openexr, textproc/icu.
Revbump after graphics/jpeg and textproc/icu
Update ruby-sqlite3 to 1.3.7. === 1.3.7 * Bugfixes * Closing a bad statement twice will not segv. * Internal * Unset environment variables that could affect cross compilation.
Update ruby-sqlite3 package to 1.3.6.
=== 1.3.6 / 2012-04-16
* Enhancements
* Windows: build against SQLite 3.7.11
* Added SQLite3::ResultSet#each_hash for fetching each row as a hash.
* Added SQLite3::ResultSet#next_hash for fetching one row as a hash.
* Bugfixes
* Support both UTF-16LE and UTF-16BE encoding modes on PPC. Closes #63
* Protect parameters to custom functions from being garbage collected too
soon. Fixes #60. Thanks hirataya!
* Fix backwards compatibility with 1.2.5 with bind vars and `query` method.
Fixes #35.
* Fix double definition error caused by defining sqlite3_int64/uint64.
* Fix suspicious version regexp.
* Deprecations
* ArrayWithTypesAndFields#types is deprecated and the class will be removed
in version 2.0.0. Please use the `types` method on the ResultSet class
that created this object.
* ArrayWithTypesAndFields#fields is deprecated and the class will be removed
in version 2.0.0. Please use the `columns` method on the ResultSet class
that created this object.
* The ArrayWithTypesAndFields class will be removed in 2.0.0
* The ArrayWithTypes class will be removed in 2.0.0
* HashWithTypesAndFields#types is deprecated and the class will be removed
in version 2.0.0. Please use the `types` method on the ResultSet class
that created this object.
* HashWithTypesAndFields#fields is deprecated and the class will be removed
in version 2.0.0. Please use the `columns` method on the ResultSet class
that created this object.
Recursive bump from icu shlib major bumped to 49.
Update databases/ruby-sqlite3 package to 1.3.5.
=== 1.3.5 / 2011-12-03 - ZOMG Holidays are here Edition!
* Enhancements
* Windows: build against SQLite 3.7.9
* Static: enable SQLITE_ENABLE_COLUMN_METADATA
* Added Statement#clear_bindings! to set bindings back to nil
* Bugfixes
* Fixed a segv on Database.new. Fixes #34 (thanks nobu!)
* Database error is not reset, so don't check it in Statement#reset!
* Remove conditional around Bignum statement bindings.
Fixes #52. Fixes #56. Thank you Evgeny Myasishchev.
* Internal
* Use proper endianness when testing database connection with UTF-16.
Fixes #40. Fixes #51
* Use -fPIC for static compilation when host is x86_64.
=== 1.3.4 / 2011-07-25
* Enhancements:
* Windows: build against SQLite 3.7.7.1
* Windows: build static binaries that do not depend on sqlite3.dll be
installed anymore
* Bugfixes
* Backup API is conditionaly required so that older libsqlite3 can be used.
Thanks Hongli Lai.
* Fixed segmentation fault when nil is passed to SQLite3::Statement.new
* Fix extconf's hardcoded path that affected installation on certain systems.
recursive bump from textproc/icu shlib major bump.
Update ruby-sqlite3 package to 1.3.3. === 1.3.3 / unreleased * Bugfixes * Abort on installation if sqlite3_backup_init is missing. Fixes #19 * Gem has been renamed to 'sqlite3'. Please use `gem install sqlite3`
Pullup ticket #3361 - requested by taca
archivers/ruby-libarchive: dependence update
comms/ruby-termios: dependence update
converters/ruby-uconv: dependence update
databases/ruby-do_sqlite3: dependence update
databases/ruby-ldap: dependence update
databases/ruby-mysql: dependence update
databases/ruby-odbc: dependence update
databases/ruby-pg: dependence update
databases/ruby-postgresql: dependence update
databases/ruby-qdbm: dependence update
databases/ruby-sqlite: dependence update
databases/ruby-sqlite3: dependence update
databases/ruby-tokyocabinet: dependence update
devel/ruby-SDL: dependence update
devel/ruby-debug-base: dependence update
devel/ruby-eet: dependence update
devel/ruby-eventmachine: dependence update
devel/ruby-ffi: dependence update
devel/ruby-gnome2-atk: dependence update
devel/ruby-gnome2-bonobo: dependence update
devel/ruby-gnome2-bonoboui: dependence update
devel/ruby-gnome2-gconf: dependence update
devel/ruby-gnome2-gio: dependence update
devel/ruby-gnome2-glib: dependence update
devel/ruby-gnome2-libglade: dependence update
devel/ruby-gnome2-pango: dependence update
devel/ruby-linecache: dependence update
devel/ruby-memcache: dependence update
devel/ruby-ncurses: dependence update
devel/ruby-priority-queue: dependence update
devel/ruby-racc: dependence update
devel/ruby-rbtree: dependence update
devel/ruby-rcov: dependence update
devel/ruby-rcsparse: dependence update
devel/ruby-subversion: dependence update
devel/ruby-thrift: dependence update
graphics/ruby-RMagick: dependence update
graphics/ruby-clutter-cairo: dependence update
graphics/ruby-clutter-core: dependence update
graphics/ruby-clutter-gtk: dependence update
graphics/ruby-gd: dependence update
graphics/ruby-gnome2-gdkpixbuf: dependence update
graphics/ruby-gnome2-gnomecanvas: dependence update
graphics/ruby-gnome2-goocanvas: dependence update
graphics/ruby-gnome2-gtkglext: dependence update
graphics/ruby-gnome2-libart: dependence update
graphics/ruby-gnome2-rsvg: dependence update
graphics/ruby-imlib2: dependence update
graphics/ruby-opengl: dependence update
graphics/ruby-rcairo: dependence update
inputmethod/ruby-zinnia: dependence update
lang/ruby: dependence update
lang/ruby18-base: security update
lang/ruby19-base: security update
mail/ruby-tmail: dependence update
math/ruby-rb-gsl: dependence update
multimedia/ruby-clutter-gst: dependence update
multimedia/ruby-gnome2-gstreamer: dependence update
multimedia/ruby-ming: dependence update
print/ruby-gnome2-gnomeprint: dependence update
print/ruby-gnome2-gnomeprintui: dependence update
print/ruby-gnome2-poppler: dependence update
security/ruby-password: dependence update
security/ruby-tcpwrap: dependence update
sysutils/ruby-quota: dependence update
textproc/ruby-bluecloth: dependence update
textproc/ruby-cabocha: dependence update
textproc/ruby-eruby: dependence update
textproc/ruby-ferret: dependence update
textproc/ruby-hpricot: dependence update
textproc/ruby-itex2MML: dependence update
textproc/ruby-json: dependence update
textproc/ruby-libxml: dependence update
textproc/ruby-mecab: dependence update
textproc/ruby-native-hyperestraier: dependence update
textproc/ruby-nokogiri: dependence update
textproc/ruby-oniguruma: dependence update
textproc/ruby-redcloth: dependence update
textproc/ruby-sary: dependence update
textproc/ruby-xmlparser: dependence update
textproc/ruby-xslt: dependence update
textproc/ruby-yamcha: dependence update
www/mongrel: dependence update
www/ruby-clearsilver: dependence update
www/ruby-fcgi: dependence update
www/ruby-gnome2-gtkhtml2: dependence update
www/ruby-gnome2-gtkmozembed: dependence update
www/ruby-patron: dependence update
www/thin: dependence update
x11/ruby-gnome2-gnome: dependence update
x11/ruby-gnome2-gtk: dependence update
x11/ruby-gnome2-gtksourceview: dependence update
x11/ruby-gnome2-gtksourceview2: dependence update
x11/ruby-gnome2-panelapplet: dependence update
x11/ruby-gnome2-vte: dependence update
Revisions pulled up:
- archivers/ruby-libarchive/Makefile 1.2
- comms/ruby-termios/Makefile 1.23
- converters/ruby-uconv/Makefile 1.19
- databases/ruby-do_sqlite3/Makefile 1.2
- databases/ruby-ldap/Makefile 1.7
- databases/ruby-mysql/Makefile 1.34 via patch
- databases/ruby-odbc/Makefile 1.10 via patch
- databases/ruby-pg/Makefile 1.6
- databases/ruby-postgresql/Makefile 1.37
- databases/ruby-qdbm/Makefile 1.12
- databases/ruby-sqlite/Makefile 1.3
- databases/ruby-sqlite3/Makefile 1.15
- databases/ruby-tokyocabinet/Makefile 1.24
- devel/ruby-SDL/Makefile 1.9 via patch
- devel/ruby-debug-base/Makefile 1.7
- devel/ruby-eet/Makefile 1.8
- devel/ruby-eventmachine/Makefile 1.7
- devel/ruby-ffi/Makefile 1.3
- devel/ruby-gnome2-atk/Makefile 1.8
- devel/ruby-gnome2-bonobo/Makefile patch
- devel/ruby-gnome2-bonoboui/Makefile patch
- devel/ruby-gnome2-gconf/Makefile patch
- devel/ruby-gnome2-gio/Makefile 1.3 via patch
- devel/ruby-gnome2-glib/Makefile 1.11
- devel/ruby-gnome2-libglade/Makefile patch
- devel/ruby-gnome2-pango/Makefile 1.18 via patch
- devel/ruby-linecache/Makefile 1.5
- devel/ruby-memcache/Makefile 1.4
- devel/ruby-ncurses/Makefile 1.9
- devel/ruby-priority-queue/Makefile 1.6
- devel/ruby-racc/Makefile 1.18
- devel/ruby-rbtree/Makefile 1.6
- devel/ruby-rcov/Makefile 1.5
- devel/ruby-rcsparse/Makefile 1.10
- devel/ruby-subversion/Makefile 1.28
- devel/ruby-thrift/Makefile 1.4 via patch
- graphics/ruby-RMagick/Makefile 1.76 via patch
- graphics/ruby-clutter-cairo/Makefile 1.8 via patch
- graphics/ruby-clutter-core/Makefile 1.11 via patch
- graphics/ruby-clutter-gtk/Makefile 1.8 via patch
- graphics/ruby-gd/Makefile 1.34 via patch
- graphics/ruby-gnome2-gdkpixbuf/Makefile 1.20 via patch
- graphics/ruby-gnome2-gnomecanvas/Makefile patch
- graphics/ruby-gnome2-goocanvas/Makefile 1.12 via patch
- graphics/ruby-gnome2-gtkglext/Makefile patch
- graphics/ruby-gnome2-libart/Makefile patch
- graphics/ruby-gnome2-rsvg/Makefile 1.21 va patch
- graphics/ruby-imlib2/Makefile 1.24 va patch
- graphics/ruby-opengl/Makefile 1.31
- graphics/ruby-rcairo/Makefile 1.22 via patch
- inputmethod/ruby-zinnia/Makefile 1.3
- lang/ruby/buildlink3.mk 1.13
- lang/ruby/rubyversion.mk 1.58-1.59
- lang/ruby18-base/distinfo 1.47
- lang/ruby19-base/DEINSTALL 1.2
- lang/ruby19-base/Makefile 1.7
- lang/ruby19-base/PLIST 1.4
- lang/ruby19-base/distinfo 1.4
- lang/ruby19-base/patches/patch-string.c 1.1
- mail/ruby-tmail/Makefile 1.19
- math/ruby-rb-gsl/Makefile 1.9
- multimedia/ruby-clutter-gst/Makefile 1.9 via patch
- multimedia/ruby-gnome2-gstreamer/Makefile 1.7
- multimedia/ruby-ming/Makefile 1.15 via patch
- print/ruby-gnome2-gnomeprint/Makefile patch
- print/ruby-gnome2-gnomeprintui/Makefile patch
- print/ruby-gnome2-poppler/Makefile 1.19 via patch
- security/ruby-password/Makefile 1.5
- security/ruby-tcpwrap/Makefile 1.18
- sysutils/ruby-quota/Makefile 1.21
- textproc/ruby-bluecloth/Makefile 1.5
- textproc/ruby-cabocha/Makefile 1.3
- textproc/ruby-eruby/Makefile 1.26
- textproc/ruby-ferret/Makefile 1.6
- textproc/ruby-hpricot/Makefile 1.8
- textproc/ruby-itex2MML/Makefile 1.7
- textproc/ruby-json/Makefile 1.9
- textproc/ruby-libxml/Makefile 1.7
- textproc/ruby-mecab/Makefile 1.6
- textproc/ruby-native-hyperestraier/Makefile 1.6
- textproc/ruby-nokogiri/Makefile 1.4
- textproc/ruby-oniguruma/Makefile 1.6
- textproc/ruby-redcloth/Makefile 1.14
- textproc/ruby-sary/Makefile 1.7
- textproc/ruby-xmlparser/Makefile 1.15
- textproc/ruby-xslt/Makefile 1.7
- textproc/ruby-yamcha/Makefile 1.3
- www/mongrel/Makefile 1.13 via patch
- www/ruby-clearsilver/Makefile 1.15
- www/ruby-fcgi/Makefile 1.15
- www/ruby-gnome2-gtkhtml2/Makefile patch
- www/ruby-gnome2-gtkmozembed/Makefile 1.17 via patch
- www/ruby-patron/Makefile 1.5
- www/thin/Makefile 1.8 via patch
- x11/ruby-gnome2-gtk/Makefile 1.25 via patch
- x11/ruby-gnome2-gtksourceview/Makefile patch via 1.12
- x11/ruby-gnome2-gtksourceview2/Makefile patch
- x11/ruby-gnome2-panelapplet/Makefile patch
- x11/ruby-gnome2-vte/Makefile 1.16 via patch
---
Module Name: pkgsrc
Module Name: pkgsrc
Committed By: taca
Date: Mon Feb 21 14:31:06 UTC 2011
Modified Files:
pkgsrc/lang/ruby: rubyversion.mk
Log Message:
* Start upate of ruby18 and ruby19 packags.
* Remove redundant GEM_HOME definition from PLIST.
---
Module Name: pkgsrc
Module Name: pkgsrc
Committed By: taca
Date: Mon Feb 21 14:35:38 UTC 2011
Modified Files:
pkgsrc/lang/ruby18-base: distinfo
Log Message:
Update ruby18-base package to 1.8.7.334 (Ruby 1.8.7p334).
* The FileUtils Vulnerability
http://www.ruby-lang.org/en/news/2011/02/18/fileutils-is-vulnerable-to-symlink-race-attacks/
* The $SAFE Vulnerability
Fri Feb 18 21:18:55 2011 Shugo Maeda <shugo@ruby-lang.org>
* test/ruby/test_exception.rb (TestException::test_to_s_taintness_propagation):
Test for below.
Fri Feb 18 21:18:55 2011 URABE Shyouhei <shyouhei@ruby-lang.org>
* error.c (exc_to_s): untainted strings can be tainted via
Exception#to_s, which enables attackers to overwrite sane strings.
Reported by: Yusuke Endoh <mame at tsg.ne.jp>.
* error.c (name_err_to_s): ditto.
Fri Feb 18 21:17:22 2011 Shugo Maeda <shugo@ruby-lang.org>
* lib/fileutils.rb (FileUtils::remove_entry_secure): there is a
race condition in the case where the given path is a directory,
and some other user can move that directory, and create a
symlink while this method is executing.
Reported by: Nicholas Jefferson <nicholas at pythonic.com.au>
Fri Feb 18 19:46:46 2011 NAKAMURA Usaku <usa@ruby-lang.org>
* win32/win32.c (init_stdhandle): backport mistake of r29382.
some code are needless in ruby 1.8.
[ruby-core:34579]
Fri Feb 18 19:22:17 2011 URABE Shyouhei <shyouhei@ruby-lang.org>
* configure.in: revert revision r29854. This revision introduced
binary incompatibilities on some circumstances. The bug that
revision was fixing gets reopened by this reversion.
[ruby-dev:43152] cf. [Bug #2553]
---
Module Name: pkgsrc
Module Name: pkgsrc
Committed By: taca
Date: Mon Feb 21 14:44:11 UTC 2011
Modified Files:
pkgsrc/lang/ruby19-base: DEINSTALL Makefile PLIST distinfo
Added Files:
pkgsrc/lang/ruby19-base/patches: patch-string.c
Log Message:
Update ruby19-base package to 1.9.2pl180 (Ruby 1.9.2 p180).
* The FileUtils Vulnerability
http://www.ruby-lang.org/en/news/2011/02/18/fileutils-is-vulnerable-to-symlink-race-attacks/
* Add a patch r30779 from repository; a bug of utf-8 string handling.
For more detail changes of Ruby 1.9.2pl180, please refer:
http://svn.ruby-lang.org/repos/ruby/tags/v1_9_2_180/ChangeLog
---
Module Name: pkgsrc
Module Name: pkgsrc
Committed By: taca
Date: Mon Feb 21 15:00:34 UTC 2011
Modified Files:
pkgsrc/lang/ruby: buildlink3.mk rubyversion.mk
Log Message:
Introduce RUBY_ABI_VERSION and use it BUILDLINK_ABI_DEPENDS.
There are ABI incompatibility amaong Ruby 1.8.7 patchlevel 302, 330 and 334,
So it would be handle if such problem in future.
---
Module Name: pkgsrc
Module Name: pkgsrc
Committed By: taca
Date: Mon Feb 21 16:01:24 UTC 2011
Modified Files:
pkgsrc/archivers/ruby-libarchive: Makefile
pkgsrc/comms/ruby-termios: Makefile
pkgsrc/converters/ruby-uconv: Makefile
pkgsrc/databases/ruby-do_sqlite3: Makefile
pkgsrc/databases/ruby-ldap: Makefile
pkgsrc/databases/ruby-mysql: Makefile
pkgsrc/databases/ruby-odbc: Makefile
pkgsrc/databases/ruby-pg: Makefile
pkgsrc/databases/ruby-postgresql: Makefile
pkgsrc/databases/ruby-qdbm: Makefile
pkgsrc/databases/ruby-sqlite: Makefile
pkgsrc/databases/ruby-sqlite3: Makefile
pkgsrc/databases/ruby-tokyocabinet: Makefile
pkgsrc/devel/ruby-SDL: Makefile
pkgsrc/devel/ruby-debug-base: Makefile
pkgsrc/devel/ruby-eet: Makefile
pkgsrc/devel/ruby-eventmachine: Makefile
pkgsrc/devel/ruby-ffi: Makefile
pkgsrc/devel/ruby-gnome2-atk: Makefile
pkgsrc/devel/ruby-gnome2-gio: Makefile
pkgsrc/devel/ruby-gnome2-glib: Makefile
pkgsrc/devel/ruby-gnome2-pango: Makefile
pkgsrc/devel/ruby-linecache: Makefile
pkgsrc/devel/ruby-memcache: Makefile
pkgsrc/devel/ruby-ncurses: Makefile
pkgsrc/devel/ruby-priority-queue: Makefile
pkgsrc/devel/ruby-racc: Makefile
pkgsrc/devel/ruby-rbtree: Makefile
pkgsrc/devel/ruby-rcov: Makefile
pkgsrc/devel/ruby-rcsparse: Makefile
pkgsrc/devel/ruby-subversion: Makefile
pkgsrc/devel/ruby-thrift: Makefile
pkgsrc/graphics/ruby-RMagick: Makefile
pkgsrc/graphics/ruby-clutter-cairo: Makefile
pkgsrc/graphics/ruby-clutter-core: Makefile
pkgsrc/graphics/ruby-clutter-gtk: Makefile
pkgsrc/graphics/ruby-gd: Makefile
pkgsrc/graphics/ruby-gnome2-gdkpixbuf: Makefile
pkgsrc/graphics/ruby-gnome2-goocanvas: Makefile
pkgsrc/graphics/ruby-gnome2-rsvg: Makefile
pkgsrc/graphics/ruby-imlib2: Makefile
pkgsrc/graphics/ruby-opengl: Makefile
pkgsrc/graphics/ruby-rcairo: Makefile
pkgsrc/inputmethod/ruby-zinnia: Makefile
pkgsrc/mail/ruby-tmail: Makefile
pkgsrc/math/ruby-rb-gsl: Makefile
pkgsrc/multimedia/ruby-clutter-gst: Makefile
pkgsrc/multimedia/ruby-gnome2-gstreamer: Makefile
pkgsrc/multimedia/ruby-ming: Makefile
pkgsrc/print/ruby-gnome2-poppler: Makefile
pkgsrc/security/ruby-password: Makefile
pkgsrc/security/ruby-tcpwrap: Makefile
pkgsrc/sysutils/ruby-quota: Makefile
pkgsrc/textproc/ruby-bluecloth: Makefile
pkgsrc/textproc/ruby-cabocha: Makefile
pkgsrc/textproc/ruby-eruby: Makefile
pkgsrc/textproc/ruby-ferret: Makefile
pkgsrc/textproc/ruby-hpricot: Makefile
pkgsrc/textproc/ruby-itex2MML: Makefile
pkgsrc/textproc/ruby-json: Makefile
pkgsrc/textproc/ruby-libxml: Makefile
pkgsrc/textproc/ruby-mecab: Makefile
pkgsrc/textproc/ruby-native-hyperestraier: Makefile
pkgsrc/textproc/ruby-nokogiri: Makefile
pkgsrc/textproc/ruby-oniguruma: Makefile
pkgsrc/textproc/ruby-redcloth: Makefile
pkgsrc/textproc/ruby-sary: Makefile
pkgsrc/textproc/ruby-xmlparser: Makefile
pkgsrc/textproc/ruby-xslt: Makefile
pkgsrc/textproc/ruby-yamcha: Makefile
pkgsrc/www/mongrel: Makefile
pkgsrc/www/ruby-clearsilver: Makefile
pkgsrc/www/ruby-fcgi: Makefile
pkgsrc/www/ruby-gnome2-gtkmozembed: Makefile
pkgsrc/www/ruby-patron: Makefile
pkgsrc/www/thin: Makefile
pkgsrc/x11/ruby-gnome2-gtk: Makefile
pkgsrc/x11/ruby-gnome2-gtksourceview2: Makefile
pkgsrc/x11/ruby-gnome2-vte: Makefile
Log Message:
Bump PKGREVISION due to ABI change of ruby18-base.
Bump PKGREVISION due to ABI change of ruby18-base.
Update ruby-sqlite3 package to 1.3.2.
=== 1.3.2 / 2010-10-30 / RubyConf Uruguay Edition!
* Enhancements:
* Windows: build against 3.7.3 version of SQLite3
* SQLite3::Database can now be open as readonly
db = SQLite3::Database.new('my.db', :readonly => true)
* Added SQLite3::SQLITE_VERSION and SQLite3::SQLITE_VERSION_NUMBER [nurse]
* Bugfixes
* type_translation= works along with Database#execute and a block
* defined functions are kept in a hash to prevent GC. #7
* Removed GCC specific flags from extconf.
* DEPRECATIONS
* SQLite3::Database#type_translation= will be deprecated in the future with
no replacement.
* SQlite3::Version will be deprecated in 2.0.0 with SQLite3::VERSION as the
replacement.
* Use lang/ruby/gem.mk instead of misc/rubygems/rubygem.mk. * Update HOMEPAGE. * Add LICENSE. * Remove default value of GEM_BUILD.
Update ruby-sqlite3 to 1.3.1. === 1.3.1 / 2010-07-09 * Enhancements * Custom collations may be defined using SQLite3::Database#collation * Bugfixes * Statements returning 0 columns are automatically stepped. [RF #28308] * SQLite3::Database#encoding works on 1.8 and 1.9
Update ruby-sqlite3 to 1.3.0.
Changes:
### 1.3.0 / 2010-06-06
* Enhancements
* Complete rewrite of C-based adapter from SWIG to hand-crafted one
[tenderlove]
See API_CHANGES document for details.
This closes: Bug #27300, Bug #27241, Patch #16020
* Improved UTF, Unicode, M17N, all that handling and proper BLOB
handling [tenderlove, nurse]
* Added support for type translations [tenderlove]
@db.translator.add_translator('sometime') do |type, thing|
'output' # this will be returned as value for that column
end
* Experimental
* Added API to access and load extensions. [kashif]
These functions maps directly into SQLite3 own enable_load_extension()
and load_extension() C-API functions. See SQLite3::Database API
documentation for details.
This closes: Patches #9178
* Bugfixes
* Corrected gem dependencies (runtime and development)
* Fixed threaded tests [Alexey Borzenkov]
* Removed GitHub gemspec
* Fixed "No definition for" warnings from RDoc
* Generate zip and tgz files for releases
* Added Luis Lavena as gem Author (maintainer)
* Prevent mkmf interfere with Mighty Snow Leopard
* Allow extension compilation search for common lib paths [kashif]
(lookup /usr/local, /opt/local and /usr)
* Corrected extension compilation under MSVC [romuloceccon]
* Define load_extension functionality based on availability [tenderlove]
* Deprecation notices for Database#query. Fixes RF #28192
Update ruby-sqlite3 package to 1.2.5. * Add LICENSE. === 1.2.5 / 25 Jul 2009 * Check for illegal nil before executing SQL [Erik Veenstra] * Switch to Hoe for gem task management and packaging. * Advertise rake-compiler as development dependency. * Build gem binaries for Windows. * Improved Ruby 1.9 support compatibility. * Taint returned values. Patch #20325. === 1.2.4.1 (internal) / 5 Jul 2009 * Check for illegal nil before executing SQL [Erik Veenstra] * Switch to Hoe for gem task management and packaging. * Advertise rake-compiler as development dependency. * Build gem binaries for Windows. * Improved Ruby 1.9 support compatibility.
Update ruby-sqlite3 package to 1.2.4. Release Name: 1.2.4 Notes: This release only updates the generated C file to reflect the compatibility changes that were made to the SWIG file. Binary builds (e.g., Windows) are not affected, and need no update. In general, you will not need this update unless you are using a version of Ruby prior to 1.8.6. Release Name: 1.2.3 Notes: Mostly, this release just fixes the permissions issue on *nix platforms on the database.rb and translator.rb files. It also has a few optimizations and compatibility fixes. Changes: === 1.2.3 / 26 Aug 2008 * Fix incorrect permissions on database.rb and translator.rb [Various] * Avoid using Object#extend for greater speedups [Erik Veenstra] * Ruby 1.9 compatibility tweaks for Array#zip [jimmy88@gmail.com] * Fix linking against Ruby 1.8.5 [Rob Holland <rob@inversepath.com>]
Update ruby-sqlite3 package to 1.2.2. Changes: === 1.2.2 / 31 May 2008 * Make the table_info method adjust the returned default value for the rows so that the sqlite3 change in 3.3.8 and greater can be handled transparently [Jamis Buck <jamis@37signals.com>] * Ruby 1.9 compatibility tweaks [Roman Le Negrate <roman2k@free.fr>] * Various performance enhancements [thanks Erik Veenstra] * Correct busy_handler documentation [Rob Holland <rob@inversepath.com>] * Use int_bind64 on Fixnum values larger than a 32bit C int can take. [Rob Holland <rob@inversepath.com>] * Work around a quirk in SQLite's error reporting by calling sqlite3_reset to produce a more informative error code upon a failure from sqlite3_step. [Rob Holland <rob@inversepath.com>] * Various documentation, test, and style tweaks [Rob Holland <rob@inversepath.com>] * Be more granular with time/data translation [Rob Holland <rob@inversepath.com>] * Use Date directly for parsing rather than going via Time [Rob Holland <rob@inversepath.com>] * Check for the rt library and fdatasync so we link against that when needed [Rob Holland <rob@inversepath.com>] * Rename data structures to avoid collision on win32. based on patch by: Luis Lavena [Rob Holland <rob@inversepath.com>] * Add test for defaults [Daniel Rodr?guez Troiti?o] * Correctly unquote double-quoted pragma defaults [?ukasz Dargiewicz <lukasz.dargiewicz@gmail.com>]
Drop maintainership. These packages was switched to gem version, I'm not in the area.
Install as a gem using the pkgsrc rubygem.mk framework instead of directly into site_ruby.
Add DESTDIR support.
Update ruby-sqlite3 to 1.2.1. Release Name: 1.2.1 Notes: Only a single change in this release: sqlite3 3.3.8 and higher have changed the format of the 'dflt_value' column for the table_info pragma. This caused breakage in apps that depend on that pragma, like Ruby on Rails. This release makes the Database#table_info helper check the libversion, and adjust the dflt_value column accordingly. If you want the new format and not the old, you can invoke the table_info pragma directly, instead of using the helper. Release Name: 1.2.0 Notes: * Fixed bug that caused crashes when type translation was asked to translate the type of a typeless column (like count(*), etc.) * Added pre-built sqlite3_api_wrap.c to remove the dependency on SWIG. * db.transaction should now catch all exceptions (bug #3981) * Removed lots of warnings when running in -w mode * Fixed problems with callbacks (thanks Sylvan Joyeux!) * Named bind parameters may now be specified as symbols, or as strings. You can also leave off the leading colon when specifying them as a string. * DL (pure-ruby) driver is now deprecated. * Bignum values may be bound in a prepared statement. * Get a more detailed error message when the connection cannot be established. * Reset the statement when binding new variables to a prepared statement.
Change my mail address to @NetBSD.org.
Merge (almost replace) this package with ruby-sqlite3 in pkgsrc-wip packgaed by OBATA Akio, because the latter is more complete. Bump PKGREVISION.
Import ruby-sqlite3. This module allows Ruby programs to interface with the SQLite database engine.
Initial revision