Commit graph

5249 commits

Author SHA1 Message Date
sno
1bc06add0f Updating package for Perl5 module BerkeleyDB from CPAN in
databases/p5-BerkeleyDB from 0.50 to 0.51.

Upstream changes:
0.51  19th March 2012
        * Rework FETCHSIZE
          [RT #75691]
2012-03-22 08:38:27 +00:00
mspo
b868d3debf add a message about percona-toolkit 2012-03-21 22:33:38 +00:00
mspo
78a9f8e347 add percona-toolkit to databases/Makefile 2012-03-21 22:17:35 +00:00
mspo
9c4920b5db percona toolkit is the new name for maatkit 2012-03-21 22:11:56 +00:00
adam
3dabf8e029 Changes 3.7.11:
* Enhance the INSERT syntax to allow multiple rows to be inserted via
  the VALUES clause.
* Enhance the CREATE VIRTUAL TABLE command to support the IF NOT EXISTS clause.
* Added the sqlite3_stricmp() interface as a counterpart to sqlite3_strnicmp().
* Added the sqlite3_db_readonly() interface.
* Added the SQLITE_FCNTL_PRAGMA file control, giving VFS implementations
  the ability to add new PRAGMA statements or to override built-in PRAGMAs.
* Queries of the form: "SELECT max(x), y FROM table" returns the value of y on
  the same row that contains the maximum x value.
* Added support for the FTS4 languageid option.
* Documented support for the FTS4 content option. This feature has actually
  been in the code since version 3.7.9 but is only now considered to be
  officially supported.
* Pending statements no longer block ROLLBACK. Instead, the pending statement
  will return SQLITE_ABORT upon next access after the ROLLBACK.
* Improvements to the handling of CSV inputs in the command-line shell
* Fix a bug introduced in version 3.7.10 that might cause a LEFT JOIN to be
  incorrectly converted into an INNER JOIN if the WHERE clause indexable terms
  connected by OR.
2012-03-20 21:00:47 +00:00
taca
5d8b627e1f Correct dependency to ruby-multi_json.
Bump PKGREVISION.
2012-03-20 10:20:22 +00:00
taca
00da66fae9 Update ruby-dm-rails to 1.2.1.
* Restrict it to Ruby on Rails 3 instead of 31.
* Exact changes are unknown.
2012-03-20 10:17:02 +00:00
taca
8e6f907a14 Update ruby-dm-active_model to 1.2.1.
Exact changes are unknown.
2012-03-20 10:15:59 +00:00
taca
b804422fae Remove dependency to ruby-fast_gettext since it is indirectly depeneded
by ruby-gettext_i18n_rails.

Bump PKGREVISION.
2012-03-20 10:13:13 +00:00
taca
4a1e81308f Remove ruby-activerecord, say good-by to Ruby on Rails 2. 2012-03-18 08:07:07 +00:00
taca
ded37ef496 Remove Ruby on Rails 2 pacakges:
databases/ruby-activerecord
	devel/ruby-activesupport
	mail/ruby-actionmailer
	www/ruby-actionpack
	www/ruby-activeresource
	www/ruby-rails
2012-03-18 08:01:11 +00:00
taca
56ce6f0c7e Remove ruby-acts-as-versioned02 package for Ruby on Rails 2. 2012-03-18 07:55:42 +00:00
taca
152905395d Remove ruby-acts-as-versioned02. 2012-03-18 07:54:29 +00:00
taca
24da5a7dde Add and enable ruby-activerecord32. 2012-03-18 06:54:16 +00:00
taca
768a62e79e Importing ruby-activerecord32 3.2.2.
## Rails 3.2.1 (January 26, 2012) ##

*   The threshold for auto EXPLAIN is ignored if there's no logger. *fxn*

*   Call `to_s` on the value passed to `table_name=`, in particular symbols
    are supported (regression). *Sergey Nartimov*

*   Fix possible race condition when two threads try to define attribute
    methods for the same class. *Jon Leighton*


## Rails 3.2.0 (January 20, 2012) ##

*   Added a `with_lock` method to ActiveRecord objects, which starts
    a transaction, locks the object (pessimistically) and yields to the block.
    The method takes one (optional) parameter and passes it to `lock!`.

    Before:

        class Order < ActiveRecord::Base
          def cancel!
            transaction do
              lock!
              # ... cancelling logic
            end
          end
        end

    After:

        class Order < ActiveRecord::Base
          def cancel!
            with_lock do
              # ... cancelling logic
            end
          end
        end

    *Olek Janiszewski*

*   'on' and 'ON' boolean columns values are type casted to true
    *Santiago Pastorino*

*   Added ability to run migrations only for given scope, which allows
    to run migrations only from one engine (for example to revert changes
    from engine that you want to remove).

    Example:
      rake db:migrate SCOPE=blog

    *Piotr Sarnacki*

*   Migrations copied from engines are now scoped with engine's name,
    for example 01_create_posts.blog.rb. *Piotr Sarnacki*

*   Implements `AR::Base.silence_auto_explain`. This method allows the user to
    selectively disable automatic EXPLAINs within a block. *fxn*

*   Implements automatic EXPLAIN logging for slow queries.

    A new configuration parameter `config.active_record.auto_explain_threshold_in_seconds`
    determines what's to be considered a slow query. Setting that to `nil` disables
    this feature. Defaults are 0.5 in development mode, and `nil` in test and production
    modes.

    As of this writing there's support for SQLite, MySQL (mysql2 adapter), and
    PostgreSQL.

    *fxn*

*   Implemented ActiveRecord::Relation#pluck method

    Method returns Array of column value from table under ActiveRecord model

        Client.pluck(:id)

    *Bogdan Gusiev*

*   Automatic closure of connections in threads is deprecated.  For example
    the following code is deprecated:

    Thread.new { Post.find(1) }.join

    It should be changed to close the database connection at the end of
    the thread:

    Thread.new {
      Post.find(1)
      Post.connection.close
    }.join

    Only people who spawn threads in their application code need to worry
    about this change.

*   Deprecated:

      * `set_table_name`
      * `set_inheritance_column`
      * `set_sequence_name`
      * `set_primary_key`
      * `set_locking_column`

    Use an assignment method instead. For example, instead of `set_table_name`, use `self.table_name=`:

         class Project < ActiveRecord::Base
           self.table_name = "project"
         end

    Or define your own `self.table_name` method:

         class Post < ActiveRecord::Base
           def self.table_name
             "special_" + super
           end
         end
         Post.table_name # => "special_posts"

    *Jon Leighton*

*   Generated association methods are created within a separate module to allow overriding and
    composition using `super`. For a class named `MyModel`, the module is named
    `MyModel::GeneratedFeatureMethods`. It is included into the model class immediately after
    the `generated_attributes_methods` module defined in ActiveModel, so association methods
    override attribute methods of the same name. *Josh Susser*

*   Implemented ActiveRecord::Relation#explain. *fxn*

*   Add ActiveRecord::Relation#uniq for generating unique queries.

    Before:

        Client.select('DISTINCT name')

    After:

        Client.select(:name).uniq

    This also allows you to revert the unqueness in a relation:

        Client.select(:name).uniq.uniq(false)

    *Jon Leighton*

*   Support index sort order in sqlite, mysql and postgres adapters. *Vlad Jebelev*

*   Allow the :class_name option for associations to take a symbol (:Client) in addition to
    a string ('Client').

    This is to avoid confusing newbies, and to be consistent with the fact that other options
    like :foreign_key already allow a symbol or a string.

    *Jon Leighton*

*   In development mode the db:drop task also drops the test database. For symmetry with
    the db:create task. *Dmitriy Kiriyenko*

*   Added ActiveRecord::Base.store for declaring simple single-column key/value stores *DHH*

        class User < ActiveRecord::Base
          store :settings, accessors: [ :color, :homepage ]
        end

        u = User.new(color: 'black', homepage: '37signals.com')
        u.color                          # Accessor stored attribute
        u.settings[:country] = 'Denmark' # Any attribute, even if not specified with an accessor


*   MySQL: case-insensitive uniqueness validation avoids calling LOWER when
    the column already uses a case-insensitive collation. Fixes #561.

    *Joseph Palermo*

*   Transactional fixtures enlist all active database connections. You can test
    models on different connections without disabling transactional fixtures.

    *Jeremy Kemper*

*   Add first_or_create, first_or_create!, first_or_initialize methods to Active Record. This is a
    better approach over the old find_or_create_by dynamic methods because it's clearer which
    arguments are used to find the record and which are used to create it:

        User.where(:first_name => "Scarlett").first_or_create!(:last_name => "Johansson")

    *Andrés Mejía*

*   Fix nested attributes bug where _destroy parameter is taken into account
    during :reject_if => :all_blank (fixes #2937)

    *Aaron Christy*

*   Add ActiveSupport::Cache::NullStore for use in development and testing.

    *Brian Durand*
2012-03-18 06:49:06 +00:00
taca
345019f0f5 Update ruby-arel to 3.0.2.
* Tweak HOMEPAGE and COMMENT.

Exact changes are unknown.
2012-03-18 05:55:03 +00:00
taca
ef7b97eace Add and enable ruby-arel22. 2012-03-18 05:53:49 +00:00
taca
c470a1337d Importing ruby-arel22 verison 2.2.3 as databases/ruby-arel22. 2012-03-18 05:53:12 +00:00
taca
fe21f83891 Update ruby-activerecord31 to 3.1.4.
Tweak COMMENT.

## Rails 3.1.4 (unreleased) ##

*   Fix a custom primary key regression *GH 3987*

    *Jon Leighton*

*   Perf fix (second try): don't load records for `has many :dependent =>
    :delete_all` *GH 3672*

    *Jon Leighton*

*   Fix accessing `proxy_association` method from an association extension
    where the calls are chained. *GH #3890*

    (E.g. `post.comments.where(bla).my_proxy_method`)

    *Jon Leighton*

*   Perf fix: MySQL primary key lookup was still slow for very large
    tables. *GH 3678*

    *Kenny J*

*   Perf fix: If a table has no primary key, don't repeatedly ask the database
    for it.

    *Julius de Bruijn*
2012-03-18 05:39:55 +00:00
taca
b71e99898b Update ruby-activerecord3 to 3.0.12.
pkgsrc change:
* Tweak COMMENT.

No changes except version.
2012-03-18 05:26:09 +00:00
taca
76386a59cb Update ruby-sequel package to 3.33.0.
=== 3.33.0 (2012-03-01)

* Add ability to force or disable transactions completely in the migrators
  using the :use_transactions option (jeremyevans)

* Add ability to turn off transactions for migrations by calling
  no_transaction inside the Sequel.migration block (jeremyevans)

* Allow specifically choosing which migrator to use via
  TimestampMigrator.apply or IntegerMigrator.apply (jeremyevans)

* Add arbitrary_servers extension to allow the use of arbitrary servers/shards
  by providing a hash of options as the server (jeremyevans)

* Add server_block extension to scope database access inside the block to a
  specific default server/shard (jeremyevans)

* Respect :collate column option on MySQL (jeremyevans) (#445)

* Use Mysql2::Client::FOUND_ROWS to get accurate number of rows matched in the
  mysql2 adapter (jeremyevans)

* Use Mysql#info to get accurate number of rows matched in the mysql adapter
  (jeremyevans)

* Make mock adapter with specific SQL dialect use appropriate defaults for
  quoting identifiers (jeremyevans)

* Make list plugin automatically set position field value on creation if not
  already set (jeremyevans)

* Add Database#integer_booleans setting on SQLite to store booleans as
  integers (jeremyevans)

* Typecast columns stored as integers/floats in the SQLite adapter (jeremyevans)

* In the instance_hooks plugin, (before|after)_*_hook instance methods now
  return self (jeremyevans)

* Handle NaN, Infinity, and -Infinity floats on PostgreSQL (kf8a, jeremyevans)
  (#444)

* Support an :sslmode option when using the postgres adapter with the pg
  driver (jeremyevans)

* Add Database#create_schema and #drop_schema to the shared postgres adapter
  (tkellen, jeremyevans) (#440)

* Add Database#supports_savepoints_in_prepared_transactions?, false on MySQL
  >=5.5.12 (jeremyevans) (#437)

* Support an identifier output method in the mysql2 adapter (jeremyevans)

* Make foreign key creation work on MySQL with InnoDB engine without
  specifying :key option (jeremyevans)

* Allow disabling use of sudo with SUDO='' when running the rake
  install/uninstall tasks (jeremyevans) (#433)
2012-03-17 14:29:27 +00:00
taca
14d0655524 Update ruby-do_sqlite3 package to 0.10.8.
## 0.10.8 2012-02-10

* Ruby 1.9.3 compatibility on Windows
* Fix issue with sqlite3_load_extension
2012-03-17 14:26:48 +00:00
taca
0088a8c50d Update ruby-do_postgres package to 0.10.8.
Exacat changes are unknown.
2012-03-17 14:26:06 +00:00
taca
14aae52c66 Update ruby-do_mysql package to 0.10.8.
## 0.10.8 2012-02-10

* Ruby 1.9.3 compatibility on Windows
2012-03-17 14:24:17 +00:00
taca
d5f59449ae Update ruby-data_objects package to 0.10.8.
## 0.10.8 2012-02-10

* Ruby 1.9.3 compatibility on Windows
* Don't display password in URI
2012-03-17 14:23:21 +00:00
taca
e67d84c10a Remove ruby-postgresql. 2012-03-17 14:19:35 +00:00
taca
6872ebe191 Remove ruby-postgresql.
There is postgresql.gem named 0.8.1 and its README.txt says:

	This is an old, deprecated version of the Ruby PostgreSQL driver
	that hasn't been maintained or supported since early 2008.

	You should install/require 'pg' instead.

So, say good-by to databases/ruby-postgresql and use databases/ruby-pg.
2012-03-17 14:18:48 +00:00
adam
de5bb85c09 Changes 2.4.9:
* ldapobject.ReconnectLDAPObject.reconnect() now does kind of
  an internal locking to pause other threads while reconnecting
  is pending.
* Changes to bind- and startTLS-related operation methods of
  class ReconnectLDAPObject for more robustness
* New constant ldap.OPT_NAMES_DICT contains mapping from
  integer to variable name for all option-related constants.
2012-03-15 19:34:13 +00:00
abs
5feda8c6a7 fix BUILDLINK_INCDIRS & BUILDLINK_LIBDIRS - thanks wiz 2012-03-15 15:27:58 +00:00
abs
767c2e2564 iodbc 3.52.7nb2 needed for conflict free life 2012-03-15 14:54:09 +00:00
abs
dc543286f1 Also put libs in iodbc subdir, patch to ensure pkgconfigdir is not affected
bump PKGREVISION. Test built soprano
2012-03-15 14:50:56 +00:00
abs
911ad6756c Update CONFLICTS to iodbc<3.52.7nb1 2012-03-15 12:58:38 +00:00
abs
c3a07118d7 Set --includedir to avoid conflict with unixodbc, adjust BUILDLINK_INCDIRS 2012-03-15 12:54:09 +00:00
obache
2cd654bab6 Bump PKGREVISION from default python to 2.7. 2012-03-15 11:53:20 +00:00
fhajny
1b9f0a1491 Fixed building with PostgreSQL>=9, works with any 8.x and 9.x version now.
Bumpe PKGREVISION.
2012-03-14 16:41:09 +00:00
fhajny
0b658d1d24 Add optional DTrace support 2012-03-14 13:22:06 +00:00
adam
63d3d2de02 Changes 2.4.30:
Fixed libldap socket polling for writes
Fixed liblutil string modifications
Fixed slapd crash when attrsOnly is true
Fixed slapd syncrepl delete handling
Fixed slapd-mdb slapadd with -q
Fixed slapd-mdb slapadd with -w
Fixed slapd-mdb slapindex with -q and -t
Fixed slapo-pcache time-to-refesh handling
Fixed slapo-syncprov loop detection
Build Environment
	Fixed POSIX make support
	Fixed slapd-mdb build on POSIX
Documentation
	Added option "-o" to ldap*(1) pages
	Fixed ldap*(1) page cleanup
	Fixed ldap_modify(3) prototypes
2012-03-13 19:57:10 +00:00
fhajny
4ca4014a1d Avoid double definition of double on SunOS. 2012-03-12 11:52:28 +00:00
sbd
cf0169d43d Use "GCC_REQD+=4.4" instead of a direct dependence on lang/gcc44. 2012-03-12 07:10:13 +00:00
markd
a7105b0163 Add the correct version of the previosu patches. 2012-03-11 20:26:57 +00:00
wiz
1f90cbd8ec Use MASTER_SITE_PGSQL from mk/fetch/sites.mk instead of having another
outdated list of mirrors.
2012-03-11 10:32:35 +00:00
markd
3559afaa54 Fix build with gcc4.6 2012-03-10 20:18:03 +00:00
fhajny
bddd01b066 Fix build on a mix of GNU/Sun tools. 2012-03-09 12:38:27 +00:00
wiz
8b5589a2ea Bump PKGREVISION for python default version change to 2.7.
py-* not affected, since it built different versions depending on the
setting already.
2012-03-09 12:33:57 +00:00
fhajny
535b8ecbc1 Make sure GNU diff is available.
Fixes PR pkg/44828.
2012-03-09 11:55:11 +00:00
fhajny
752a54355d Only include the OpenSSL BL3 if mysql-client was built with the 'ssl' option. 2012-03-09 11:48:35 +00:00
dholland
54c64744cc Move the inclusion of openldap-server/options.mk to *before* krb5.bl3.mk.
Otherwise, with non-native kerberos, bdb.buildlink3.mk is included by
heimdal's bl3.mk before BDB_ACCEPTED is set, we get the wrong answer out,
and the package fails to build.

It's a good thing heimdal doesn't also need to set BDB_ACCEPTED I guess...
2012-03-08 05:01:03 +00:00
drochner
93b85cc4e8 no need to propagate dependencies here 2012-03-07 19:31:32 +00:00
ryoon
45f8f27196 Recursive PKGREVISION bump for xulrunner, nss, and nspr. 2012-03-06 17:38:53 +00:00
adam
c5da613af3 Changes 8.4.11:
* Require execute permission on the trigger function for CREATE TRIGGER
* Convert newlines to spaces in names written in pg_dump comments
* Fix btree index corruption from insertions concurrent with vacuuming
* Allow non-existent values for some settings in ALTER USER/DATABASE SET
* Track the OID counter correctly during WAL replay, even when it wraps around
* Fix regular expression back-references with * attached
* Fix recently-introduced memory leak in processing of inet/cidr values
* Avoid double close of file handle in syslogger on Windows
* Fix I/O-conversion-related memory leaks in plpgsql
* Improve pg_dump's handling of inherited table columns
* Fix pg_restore's direct-to-database mode for INSERT-style table data
* Fix error in contrib/intarray's int[] & int[] operator
* Fix error detection in contrib/pgcrypto's encrypt_iv() and decrypt_iv()
* Fix one-byte buffer overrun in contrib/test_parser
* Use __sync_lock_test_and_set() for spinlocks on ARM, if available
* Use -fexcess-precision=standard option when building with gcc versions that
  accept it
* Allow use of threaded Python on FreeBSD
2012-03-05 14:13:19 +00:00