Commit graph

5734 commits

Author SHA1 Message Date
taca
95eadf809a Update ruby-pg to 0.15.0.
== v0.15.0 [2013-03-03] Michael Granger <ged@FaerieMUD.org>

Bugfixes:

- Fix segfault in PG::Result#field_values when called with non String value.
- Fix encoding of messages delivered by notice callbacks.
- Fix text encoding for Connection#wait_for_notify and Connection#notifies.
- Fix 'Bad file descriptor' problems under Windows: wrong behaviour of
  #wait_for_notify() and timeout handling of #block on Ruby 1.9.

Documentation fixes:

- conn#socket() can not be used with IO.for_fd() on Windows.

Enhancements:

- Tested under Ruby 2.0.0p0.
- Add single row mode of PostgreSQL 9.2.
- Set fallback_application_name to programm name $0. Thanks to Will Leinweber
  for the patch.
- Release Ruby's GVL while calls to blocking libpq functions to allow better
  concurrency in threaded applications.
- Refactor different variants of waiting for the connection socket.
- Make use of rb_thread_fd_select() on Ruby 1.9 and avoid deprecated
  rb_thread_select().
- Add an example of how to insert array data using a prepared statement (#145).
- Add continous integration tests on travis-ci.org.
- Add PG::Result#each_row for iterative over result sets by row. Thanks to
  Aaron Patterson for the patch.
- Add a PG::Connection#socket_io method for fetching a (non-autoclosing) IO
  object for the connection's socket.

Specs:

- Fix various specs to run on older PostgreSQL and Ruby versions.
- Avoid fork() in specs to allow usage on Windows and JRuby.
2013-06-16 14:38:10 +00:00
taca
e6bdeb23d4 Update ruby-dm-core to 1.2.1.
o Relax dep on addressable.
o Fix Property#typecast to pass-through values that cannot be handled.
2013-06-16 14:34:53 +00:00
taca
c5a0f3b223 Update Ruby DataObjects to 0.10.13.
## 0.10.13 2013-05-27

* Create binaries for Ruby 2.0 on Windows
* Fix segfault in do_postgres
* Fix compilation of do_oracle for Ruby 2.0
2013-06-16 14:29:07 +00:00
adam
d311c71b1f Changes 0.7.10:
This is a bugfix release, sending out a series of fixes that have accumulated as version 0.8.0's release is imminent.
Fixes in this version include issues related to the Oracle, SQL Server, MySQL, and Google App Engine dialects, as well as a few schema related and ORM related fixes.
2013-06-16 05:36:13 +00:00
jaapb
85ed62c259 - Updated package to latest version, 2.0.4. Changes include:
2012-12-02: Added new functions

              * sleep
              * clear_bindings

            Really old operating system distributions may have had problems
            linking these functions, but it seems that reasonably recent
            ones support them.

2012-11-19: Added missing .mldylib file for shared library support.
2013-06-15 19:18:00 +00:00
wiz
4422946013 Update to 1.2.12. No changelog found. 2013-06-14 21:18:22 +00:00
dholland
5c43c52e25 Fix patch that's been rejecting since the package was updated. I don't
know if the patch is still needed, but I'm assuming it is.
2013-06-14 19:47:04 +00:00
dholland
363f068a86 Patch the input file, not the generated output. 2013-06-14 18:30:43 +00:00
taca
c70627de7a Update ruby-sequel to 3.48.0.
Changes are too many to write here, please refer CHANGELOG or release notes.
2013-06-14 16:51:39 +00:00
mspo
ab1aed1b32 remove TODO, I fixed the redis startup file and the CVE were fixed a few versions ago 2013-06-14 02:06:52 +00:00
mspo
3efef03235 unless a config file is given in rc.conf, default to bind localhost and run daemonized 2013-06-13 18:26:02 +00:00
mspo
ecc4632d71 add redis to databases/ Makefile 2013-06-13 17:43:03 +00:00
mspo
450f792ed4 Import redis from wip!
Redis is a persistent key-value database with built-in net interface
2013-06-13 17:41:34 +00:00
obache
2ef38b3fbb Update ruby-ldap to 0.9.13.
0.9.13
-----

* Prevent SyntaxError raised under Ruby 2.0.0 by line 107 regex
  (invalid multibyte escape)
2013-06-13 13:02:38 +00:00
wiz
9089582a65 Fix bug in man page noted by perl-5.18's pod2man. 2013-06-12 12:38:20 +00:00
wiz
220e245fa7 Remove GNU_CONFIGURE_LIBDIR.
Rationale: undocumented, easily replaced with "CONFIGURE_ARGS+=--libdir="
and only used by 10 packages.
2013-06-12 12:35:35 +00:00
taca
5206c07688 Update ruby-odbc to 0.99995.
pkgsrc change: no need to patch gemspec any more.

Wed Mar 13 2013 version 0.99995 released

	* added ODBC::Database.use_sql_column_name= flag to switch
	  usage of SQLColAttributes(SQL_COLUMN_LABEL) to
	  SQLColAttributes(SQL_COLUMN_NAME) on per connection basis
2013-06-11 15:02:28 +00:00
wiz
e0b49a2fed Bump PKGREVISION for libXft changes for NetBSD native X support on
NetBSD 6, requested by tron.
2013-06-06 12:53:40 +00:00
tron
a36fb86593 Try to fix the fallout caused by the fix for PR pkg/47882. Part 3:
Recursively bump package revisions again after the "freetype2" and
"fontconfig" handling was fixed.
2013-06-04 22:15:37 +00:00
adam
98c76677fc Changes 5.6.12:
* mysql_upgrade now verifies that the server version matches the version against which it was compiled, and exits if there is a mismatch. In addiion, a --version-check option permits specifying whether to enable version checking (the default), or disable checking if given as --skip-version-checking.
* Bugs Fixed
2013-06-04 18:17:25 +00:00
adam
91e3f80142 Changes 5.5.32:
* mysql_upgrade now verifies that the server version matches the version against which it was compiled, and exits if there is a mismatch. In addiion, a --version-check option permits specifying whether to enable version checking (the default), or disable checking if given as --skip-version-checking.
* Bugs Fixed
2013-06-04 13:31:21 +00:00
wiz
c83ffb8583 Bump freetype2 and fontconfig dependencies to current pkgsrc versions,
to address issues with NetBSD-6(and earlier)'s fontconfig not being
new enough for pango.

While doing that, also bump freetype2 dependency to current pkgsrc
version.

Suggested by tron in PR 47882
2013-06-03 10:04:30 +00:00
wiz
98c3768c3a Bump all packages for perl-5.18, that
a) refer 'perl' in their Makefile, or
b) have a directory name of p5-*, or
c) have any dependency on any p5-* package

Like last time, where this caused no complaints.
2013-05-31 12:39:35 +00:00
joerg
aeaa532297 Use C++11 headers directly if in C++11 mode or when using libc++. 2013-05-30 15:36:29 +00:00
rodent
d177810e80 Roll distinfo back to previous version. Patch removed as this issue has
been fixed upstream.
2013-05-30 04:00:31 +00:00
rodent
47dc4533b4 Regenerating patchsum. 2013-05-30 03:41:08 +00:00
rodent
8bc1f1cde7 Updated to latest release, 2.0beta1. Now based on Qt4.6. No ChangeLog in
distfile. pkgsrc changes: Added LICENSE. Fixed typo in COMMENT. Added
patch to make this work with Qt>4.6. Use qt4-{libs,tools} instead of Qt3.
2013-05-26 12:14:56 +00:00
joerg
bb711ed8d0 Ignore the missing return values from the multiple layers of macros. 2013-05-23 18:39:09 +00:00
joerg
27085f61cb Use wider type to make sure that find() errors can be detected.
Don't use iterator(0). Bump revision.
2013-05-23 18:38:36 +00:00
hiramatsu
6f5700b668 Update p5-DBD-SQLite2 to 0.36.
Changes from previous:
----------------------
0.36 2013-04-08 rurban
    - Fix mingw32 off_t redefinition. [cpan #84492]
      Use a private sql_off_t typedef for the sqlite internal off_t type.
    - cygwin is now a OS_UNIX, not OS_WIN.

0.35 2013-04-01 rurban
    - Fix SEGV when fetchrow() is called again after it has returned an
      empty list ie. the query has completed. [cpan #16451]
    - Add testcases for [cpan #26775] and [cpan #28448]
    - Fixed [cpan #26775]: Remove () in names with DISTINCT(t.name)
    - Honor -g in $Config{optimize}
    - Add META and POD tests, and META info for EUMM

0.34 2013-04-01 rurban
    - Fix SEGV in t/ak-dbd.t with asan, concurrent _sqlite2_fetch_row  [cpan #55636]
    - Add return value for dbd_bind_ph() - bind_param with handle
    - Add declaration for sqlite2_busy_timeout()
    - Fix clang -Wparentheses and -Wint-conversion warnings
2013-05-22 03:27:37 +00:00
fhajny
18d614451f Do not poison build flags with mysql-client bl3 dirs. 2013-05-20 19:33:54 +00:00
adam
1ef812f377 Changes 3.7.17:
Add support for memory-mapped I/O.
Add the sqlite3_strglob() convenience interface.
Assigned the integer at offset 68 in the database header as the Application ID for when SQLite is used as an application file-format. Added the PRAGMA application_id command to query and set the Application ID.
Report rollback recovery in the error log as SQLITE_NOTICE_RECOVER_ROLLBACK. Change the error log code for WAL recover from SQLITE_OK to SQLITE_NOTICE_RECOVER_WAL.
Report the risky uses of unlinked database files and database filename aliasing as SQLITE_WARNING messages in the error log.
Added the SQLITE_TRACE_SIZE_LIMIT compile-time option.
Increase the default value of SQLITE_MAX_SCHEMA_RETRY to 50 and make sure that it is honored in every place that a schema change might force a statement retry.
Add a new test harness called "mptester" used to verify correct operation when multiple processes are using the same database file at the same time.
Enhance the extension loading mechanism to be more flexible (while still maintaining backwards compatibility) in two ways:
If the default entry point "sqlite3_extension_init" is not present in the loadable extension, also try an entry point "sqlite3_X_init" where "X" is based on the shared library filename. This allows every extension to have a different entry point, which allows them to be statically linked with no code changes.
The shared library filename passed to sqlite3_load_extension() may omit the filename suffix, and an appropriate architecture-dependent suffix (".so", ".dylib", or ".dll") will be added automatically.
Added many new loadable extensions to the source tree, including amatch, closure, fuzzer, ieee754, nextchar, regexp, spellfix, and wholenumber. See header comments on each extension source file for further information about what that extension does.
Enhance FTS3 to avoid using excess stack space when there are a huge number of terms on the right-hand side of the MATCH operator. A side-effect of this change is that the MATCH operator can only accommodate 12 NEAR operators at a time.
Enhance the fts4aux virtual table so that it can be a TEMP table.
Added the fts3tokenize virtual table to the full-text search logic.
Query planner enhancement: Use the transitive property of constraints to move constraints into the outer loops of a join whenever possible, thereby reducing the amount of work that needs to occur in inner loops.
Discontinue the use of posix_fallocate() on unix, as it does not work on all filesystems.
Improved tracing and debugging facilities in the Windows VFS.
Bug fix: Fix a potential database corruption bug in shared cache mode when one database connection is closed while another is in the middle of a write transaction.
Bug fix: Only consider AS names from the result set as candidates for resolving identifiers in the WHERE clause if there are no other matches. In the ORDER BY clause, AS names take priority over any column names.
Bug fix: Do not allow a virtual table to cancel the ORDER BY clause unless all outer loops are guaranteed to return no more than one row result.
Bug fix: Do not suppress the ORDER BY clause on a virtual table query if an IN constraint is used.
Bug fix: The command-line shell gives an exit code of 0 when terminated using the ".quit" command.
Bug fix: Make sure PRAGMA statements appear in sqlite3_trace() output.
Bug fix: When a compound query that uses an ORDER BY clause with a COLLATE operator, make sure that the sorting occurs according to the specified collation and that the comparisons associate with the compound query use the native collation.
Bug fix: Makes sure the authorizer callback gets a valid pointer to the string "ROWID" for the column-name parameter when doing an UPDATE that changes the rowid.
Bug fix: Do not move WHERE clause terms inside OR expressions that are contained within an ON clause of a LEFT JOIN.
Bug fix: Make sure an error is always reported when attempting to preform an operation that requires a collating sequence that is missing.
2013-05-20 19:17:15 +00:00
wen
dd349868ca Update to 1.627
Upstream changes:
Changes in DBI 1.627 - 16th May 2013

    Fixed VERSION regression in DBI::SQL::Nano [Tim Bunce]
Changes in DBI 1.626 - 15th May 2013

    Fixed pod text/link was reversed in a few cases RT#85168
        [H.Merijn Brand]

    Handle aliasing of STORE'd attributes in DBI::DBD::SqlEngine
        [Jens Rehsack]

    Updated repository URI to git [Jens Rehsack]

    Fixed skip() count arg in t/48dbi_dbd_sqlengine.t [Tim Bunce]
2013-05-20 15:09:33 +00:00
fhajny
8bff963e9b Explicitly set WITH_EMBEDDED_SERVER=OFF, because the default OFF doesn't
seem to be respected.
2013-05-20 15:03:51 +00:00
fhajny
ae0b9a7c2f Rely on mysql{55,56}-client's bl3 to restrict the dependency of server
on client. Fixes situations where a binary mysql55-server package picks up
mysql56-client as the best dependency because of the missing upper limit.

Bump PKGREVISION.
2013-05-20 14:59:59 +00:00
fhajny
aedd59374c Remove 83 from PGSQL_VERSIONS_ACCEPTED, as it's no longer available. 2013-05-10 12:55:48 +00:00
fhajny
ef90dd7e76 Fix interpretter skip path 2013-05-10 12:54:50 +00:00
riastradh
7d66ba6b30 Pre-answer openldap autoconf run-tests for NetBSD cross-builds. 2013-05-10 06:51:26 +00:00
adam
1ab43a036f Massive revbump after updating graphics/ilmbase, graphics/openexr, textproc/icu. 2013-05-09 07:39:04 +00:00
hiramatsu
3941191bb5 Update p5-DBD-CSV to 0.38.
Changes from previous:
----------------------
    * Fixed RT#80078, resulting in getline calls on undef (Benjamin Booth)
    * Require latest DBI and SQL::Statement
    * Updated copyright to 2013
    * Fixes for DBI-1.623 (Jens Rehsack)
2013-05-06 18:06:05 +00:00
wen
a1fa428201 Update to 0.53
Upstream changes:
0.53  2013-03-20T06:04:34Z
      - Fixed some documentation typos, thanks to Mike O'Regan (Issue #22).
      - Fixed issue where an connection failure caused an unhelpful error
        (Issue #26).
2013-05-06 16:08:19 +00:00
joerg
2a1b570ca6 Add more test() changes for the server. 2013-05-06 14:41:07 +00:00
wiz
f0d40dd06a Update to 2.5:
What's new in psycopg 2.5
-------------------------

New features:

- Added :ref:`JSON adaptation <adapt-json>`.
- Added :ref:`support for PostgreSQL 9.2 range types <adapt-range>`.
- `connection` and `cursor` objects can be used in ``with`` statements
  as context managers as specified by recent |DBAPI|_ extension.
- Added `~psycopg2.extensions.Diagnostics` object to get extended info
  from a database error.  Many thanks to Matthew Woodcraft for the
  implementation (🎫`#149`).
- Added `connection.cursor_factory` attribute to customize the default
  object returned by `~connection.cursor()`.
- Added support for backward scrollable cursors. Thanks to Jon Nelson
  for the initial patch (🎫`#108`).
- Added a simple way to :ref:`customize casting of composite types
  <adapt-composite>` into Python objects other than namedtuples.
  Many thanks to Ronan Dunklau and Tobias Oberstein for the feature
  development.
- `connection.reset()` implemented using :sql:`DISCARD ALL` on server
  versions supporting it.

Bug fixes:

- Properly cleanup memory of broken connections (🎫`#148`).
- Fixed bad interaction of ``setup.py`` with other dependencies in
  Distribute projects on Python 3 (🎫`#153`).

Other changes:

- Added support for Python 3.3.
- Dropped support for Python 2.4. Please use Psycopg 2.4.x if you need it.
- `~psycopg2.errorcodes` map updated to PostgreSQL 9.2.
- Dropped Zope adapter from source repository. ZPsycopgDA now has its own
  project at <http://github.com/psycopg/ZPsycopgDA>.
2013-05-04 23:52:45 +00:00
adam
d37eac99ef Added slapi support as an option 2013-05-04 18:16:37 +00:00
gdt
e845c97404 Update to 0.46.
- 0.46 | 2013-03-14

  - bugfix: handle connection options w/o "backup" env var

	Previously, ‘pg-conndefaults’ expected every option to have a
	backup env var (e.g., option ‘#:host’ and env var ‘PGHOST’).
	For later versions of PostgreSQL which no longer maintain this
	1:1 correspondance, Guile-PG would segfault.

	Now, in such cases, the value associated w/ the key ‘#:envvar’
	in the alist returned by ‘pg-conndefaults’ is ‘#f’.

  - planned retirement
    - procedure ‘(database postgres) pg-getline’
    - procedure ‘(database postgres) pg-getlineasync’
    - procedure ‘(database postgres) pg-putline’
    - procedure ‘(database postgres) pg-endcopy’

	These procedures are obsoleted by ‘pg-get-copy-data’ and
	‘pg-put-copy-data’.  They WILL BE REMOVED by 2013-12-31.

	Actually, the first two were originally -- in Guile-PG 0.41
	(2011-09-29) -- planned to be removed by 2012-12-31.
	Support has been extended for solidarity w/ the latter two.

  - bootstrap tools upgraded
    - GNU Texinfo 5.1

Copyright (C) 2002-2013 Thien-Thi Nguyen

Copying and distribution of this file, with or without modification,
are permitted provided the copyright notice and this notice are preserved.
2013-05-03 15:23:35 +00:00
wen
bbb30341b7 Update to 0.08250
Update DEPENDS

Upstream changes:
0.08250 2013-04-29 22:00 (UTC)
    * New Features / Changes
        - Rewrite from scratch the result constructor codepath - many bugfixes
          and performance improvements (the current codebase is now capable of
          outperforming both DBIx::DataModel and Rose::DB::Object on some
          workloads). Some notable benefits:
          - Multiple has_many prefetch
          - Partial prefetch - you now can select only columns you are
            interested in, while preserving the collapse functionality
            (collapse is now exposed as a first-class API attribute)
          - Prefetch of resultsets with arbitrary order
            (RT#54949, RT#74024, RT#74584)
          - Prefetch no longer inserts right-side table order_by clauses
            (massively helps the deficient MySQL optimizer)
          - Prefetch with limit on right-side ordered resultsets now works
            correctly (via aggregated grouping)
          - No longer order the insides of a complex prefetch subquery,
            unless required to satisfy a limit
          - Stop erroneously considering order_by criteria from a join under
            distinct => 1 (the distinct should apply to the main source only)
        - Massively optimize codepath around ->cursor(), over 10x speedup
          on some iterating workloads.
        - Support standalone \[ $sql, $value ] in literal SQL with bind
          specifications: \[ '? + ?', 42, 69 ] is now equivalent to
          \[ '? + ?', [ {} => 42 ], [ {} => 69 ] ]
        - Changing the result_class of a ResultSet in progress is now
          explicitly forbidden. The behavior was undefined before, and
          would result in wildly differing outcomes depending on $rs
          attributes.
        - Deprecate returning of prefetched 'filter' rels as part of
          get_columns() and get_inflated_columns() data
        - Invoking get_inflated_columns() no longer fires get_columns() but
          instead retrieves data from individual non-inflatable columns via
          get_column()
        - Emit a warning on incorrect use of nullable columns within a
          primary key
        - Limited checks are performed on whether columns without declared
          is_nullable => 1 metadata do in fact sometimes fetch NULLs from
          the database (the check is currently very limited and is performed
          only on resultset collapse when the alternative is rather worse)

    * Fixes
        - Fix _dbi_attrs_for_bind() being called befor DBI has been loaded
          (regression in 0.08210)
        - Fix update/delete operations on resultsets *joining* the updated
          table failing on MySQL. Resolves oversights in the fixes for
          RT#81378 and RT#81897
        - Fix open cursors silently resetting when inherited across a fork
          or a thread
        - Properly support "MySQL-style" left-side group_by with prefetch
        - Fix $grouped_rs->get_column($col)->func($func) producing incorrect
          SQL (RT#81127)
        - Stop Sybase ASE storage from generating invalid SQL in subselects
          when a limit without offset is encountered
        - Even more robust behavior of GenericSubQuery limit dialect
        - Make sure deployment_statements() and cursor_class() are called on
          a resolved storage subclass

    * Misc
        - Fix tests failing due to unspecified resultset retrieval order
          (test suite now will pass with newest SQLite libs)

0.08210 2013-04-04 15:30 (UTC)
    * New Features / Changes
        - Officially deprecate the 'cols' and 'include_columns' resultset
          attributes
        - Remove ::Storage::DBI::sth() deprecated in 0.08191

    * Fixes
        - Work around a *critical* bug with potential for data loss in
          DBD::SQLite - RT#79576
        - Audit and correct potential bugs associated with braindead reuse
          of $1 on unsuccessful matches
        - Fix incorrect warning/exception originator reported by carp*() and
          throw_exception()

0.08209 2013-03-01 12:56 (UTC)
    * New Features / Changes
        - Debugging aid - warn on invalid result objects created by what
          seems like an invalid inheritance hierarchy

    * Fixes
        - Fix another embarrassing regression preventing correct refining of
          the search criteria on a prefetched relation (broken in 0.08205)
        - Fix incorrect callsite reporting by DBIC::Carp

0.08208 2013-02-20 09:56 (UTC)
    * New Features / Changes
        - A bunch of nonsensically named arguments to the SQL::Translator
          parser have been marked as deprecated (while still fully
          supported)

    * Fixes
        - Fix duplicated selected columns when calling 'count' when a same
          aggregate function is used more than once in a 'having' clause
          (RT#83305)
        - Prevent SQL::Translator::Producer::YAML from seeing the $dbh
          in a potentially connected $schema instance (RT#75394)

    * Misc
        - Fixup our distbuilding process to stop creating world-writable
          tarball contents (implicitly fixes RT#83084)
        - Added strict and warnings tests for all lib and test files

0.08206 2013-02-08
    * Fixes
        - Fix dbh_do() failing to properly reconnect (regression in 0.08205)
        - Extra sanity check of a fresh DBI handle ($dbh). Fixes
          connection coderefs returning garbage (seen in the wild)

    * Misc
        - Only allow known globals in SQL::Translator leak allowance
        - General cleanup of error message texts - quote names/identifiers
          for easier reading
        - Stop t/52leaks.t from failing when AUTOMATED_TESTING=1
2013-05-02 07:22:11 +00:00
wen
33b1610a2d Update to 1.625
UPstream changes:
Changes in DBI 1.625 (svn r15595) 28th March 2013

  Fixed heap-use-after-free during global destruction RT#75614
    thanks to Reini Urban.
Changes in DBI 1.624 (svn r15576) 22nd March 2013

  Fixed Gofer for hash randomization in perl 5.17.10+ RT#84146

  Clarify docs for can() re RT#83207
2013-05-02 03:26:57 +00:00
fhajny
91084b527d Ignore interpretters in optional tools. 2013-05-01 10:25:30 +00:00
joerg
63aae33b7d Don't define a macro called test. Expect GCC4-like compilers to provide
__func__.
2013-04-29 21:16:56 +00:00
fhajny
4878820908 Update Cassandra to 1.2.4.
Too many changes upstream, see changelog at:

https://github.com/apache/cassandra/blob/cassandra-1.2.4/CHANGES.txt

pkgsrc changes:
 - simplified config file handling
 - removed pre-install time user/group creation
 - proper data and log dir handling
2013-04-29 11:16:39 +00:00