Commit graph

8713 commits

Author SHA1 Message Date
joerg
db9f2de218 Remove unsupported PG version 2020-06-01 22:17:34 +00:00
rillig
e5b182bac5 databases/ruby-qdbm: remove unknown configure option 2020-05-31 17:15:33 +00:00
rillig
6fbeb5bbdc databases/qdbm-plus: remove unknown configure option 2020-05-31 17:09:16 +00:00
rillig
cc6ad57742 databases/qdbm-cgi: remove unknown configure option 2020-05-31 17:07:59 +00:00
rillig
e4de7e59e9 database/php-dba: remove unknown configure option 2020-05-31 16:44:18 +00:00
rillig
d6ff7e3e83 databases/pgadmin3: remove unknown configure option 2020-05-31 16:43:04 +00:00
rillig
a38dc74bbc databases/p5-qdbm: remove unknown configure option 2020-05-31 16:38:48 +00:00
rillig
70a99255c6 databases/qdbm: fix default value for GNU_CONFIGURE_PTHREAD
It had previously been yes, therefore this is the default value.
2020-05-31 16:38:00 +00:00
rillig
ff6c7fc202 databases/kyotocabinet: remove unknown configure option 2020-05-31 15:20:21 +00:00
rillig
7d1049ea80 databases/java-qdbm: remove unknown configure option 2020-05-31 15:18:30 +00:00
rillig
b61fd22a4a databases/guile-pg: remove unknown configure option 2020-05-31 14:49:13 +00:00
adam
4aaef4a7df py-tortoise-orm: apparently Python 3.6 is not supported 2020-05-31 11:38:13 +00:00
rillig
0d54933036 databases/libgda: remove unknown configure option 2020-05-28 15:15:51 +00:00
adam
d9556d1318 redis: updated to 6.0.4
Redis 6.0.4
===========

Upgrade urgency CRITICAL: this release fixes a severe replication bug.

Redis 6.0.4 fixes a critical replication bug caused by a new feature introduced
in Redis 6. The feature, called "meaningful offset" and strongly wanted by
myself (antirez) was an improvement that avoided that masters were no longer
able, during a failover where they were demoted to replicas, to partially
synchronize with the new master. In short the feature was able to avoid full
synchronizations with RDB. How did it work? By trimming the replication backlog
of the final "PING" commands the master was sending in the replication channel:
this way the replication offset would no longer go "after" the one of the
promoted replica, allowing the master to just continue in the same replication
history, receiving only a small data difference.

However after the introduction of the feature we (the Redis core team) quickly
understood there was something wrong: the apparently harmless feature had
many bugs, and the last bug we discovered, after a joined effort of multiple
people, we were not even able to fully understand after fixing it. Enough was
enough, we decided that the complexity cost of this feature was too high.
So Redis 6.0.4 removes the feature entirely, and fixes the data corruption that
it was able to cause.

However there are two facts to take in mind.

Fact 1: Setups using chained replication, that means that certain replicas
are replicating from other replicas, up to Redis 6.0.3 can experience data
corruption. For chained replication we mean that:

    +--------+          +---------+         +-------------+
    | master |--------->| replica |-------->| sub-replica |
    +--------+          +---------+         +-------------+


People using chained replication SHOULD UPGRADE ASAP away from Redis 6.0.0,
6.0.1, 6.0.2 or 6.0.3 to Redis 6.0.4.

To be clear, people NOT using this setup, but having just replicas attached
directly to the master, SHOUDL NOT BE in danger of any problem. But we
are no longer confident on 6.0.x replication implementation complexities
so we suggest to upgrade to 6.0.4 to everybody using an older 6.0.3 release.
We just so far didn't find any bug that affects Redis 6.0.3 that does not
involve chained replication.

People starting with Redis 6.0.4 are fine. People with Redis 5 are fine.
People upgrading from Redis 5 to Redis 6.0.4 are fine.
TLDR: The problem is with users of 6.0.0, 6.0.1, 6.0.2, 6.0.3.

Fact 2: Upgrading from Redis 6.0.x to Redis 6.0.4, IF AND ONLY IF you
use chained replication, requires some extra care:

1. Once you attach your new Redis 6.0.4 instance as a replica of the current
   Redis 6.0.x master, you should wait for the first full synchronization,
   then you should promote it right away, if your setup involves chained
   replication. Don't give it the time to do a new partial synchronization
   in the case the link between the master and the replica  will break in
   the mean time.

2. As an additional care, you may want to set the replication ping period
   to a very large value (for instance 1000000) using the following command:

       CONFIG SET repl-ping-replica-period 1000000

   Note that if you do "1" with care, "2" is not needed.
   However if you do it, make sure to later restore it to its default:

       CONFIG SET repl-ping-replica-period 10

So this is the main change in Redis 6. Later we'll find a different way in
order to achieve what we wanted to achieve with the Meaningful Offset feature,
but without the same complexity.

Other changes in this release:

* PSYNC2 tests improved.
* Fix a rare active defrag edge case bug leading to stagnation
* Fix Redis 6 asserting at startup in 32 bit systems.
* Redis 6 32 bit is now added back to our testing environments.
* Fix server crash for STRALGO command,
* Implement sendfile for RDB transfer.
* TLS fixes.
* Make replication more resistant by disconnecting the master if we
  detect a protocol error. Basically we no longer accept inline protocol
  from the master.
* Other improvements in the tests.
2020-05-28 12:02:44 +00:00
wiz
188111f641 *: reset MAINTAINER for fhajny on his request 2020-05-27 19:37:36 +00:00
adam
d78ffce57c py-pypika: updated to 0.37.7
0.37.7:
Bug fixes
2020-05-27 08:00:33 +00:00
adam
ad16e841a5 prometheus: updated to 2.18.1
2.18.1:
[BUGFIX] TSDB: Fixed snapshot API.

2.18.0:
[CHANGE] Federation: Only use local TSDB for federation (ignore remote read).
[CHANGE] Rules: rule_evaluations_total and rule_evaluation_failures_total have a rule_group label now.
[FEATURE] Tracing: Added experimental Jaeger support
[ENHANCEMENT] TSDB: Significantly reduce WAL size kept around after a block cut.
[ENHANCEMENT] Discovery: Add architecture meta label for EC2.
[BUGFIX] UI: Fixed wrong MinTime reported by /status.
[BUGFIX] React UI: Fixed multiselect legend on OSX.
[BUGFIX] Remote Write: Fixed blocked resharding edge case.
[BUGFIX] Remote Write: Fixed remote write not updating on relabel configs change.
2020-05-26 15:30:49 +00:00
adam
4d93d9c345 sqlite3: updated to 3.32.1
Changes in version 3.32.1:

Fix two long-standing bugs that allow malicious SQL statements to crash the process that is running SQLite. These bugs were announced by a third-party approximately 24 hours after the 3.32.0 release but are not specific to the 3.32.0 release.

Other minor compiler-warning fixes and whatnot.
2020-05-26 12:50:52 +00:00
adam
4cf5cc30c6 py-aiosqlite: switch to distutils 2020-05-26 12:41:25 +00:00
rillig
0edb2ae22f databases/py-couchdb: remove nonexistent files from REPLACE_PYTHON 2020-05-25 05:21:08 +00:00
mef
c1d3154687 (databases/ruby-activeldap) regen distinfo 2020-05-24 11:50:56 +00:00
adam
13b0ffa8e2 Re-depend on py-pypika as it has been imported 2020-05-23 20:01:55 +00:00
adam
b30b40b490 py-pypika: added version 0.37.6
PyPika is a Python API for building SQL queries. The motivation behind PyPika
is to provide a simple interface for building SQL queries without limiting the
flexibility of handwritten SQL. Designed with data analysis in mind, PyPika
leverages the builder design pattern to construct queries to avoid messy string
formatting and concatenation. It is also easily extended to take full advantage
of specific features of SQL database vendors.
2020-05-23 20:00:45 +00:00
nia
e68e44479d *: Remove references to postgres 94 2020-05-23 15:30:27 +00:00
jperkin
ccd518d9b9 py-tortoise-orm: Comment out nonexistent py-pypika. 2020-05-23 13:32:58 +00:00
nia
a7b7a3c765 *: Remove references to mysql55 2020-05-23 13:08:51 +00:00
adam
a01b88cc80 py-tortoise-orm: added version 0.16.12
Tortoise ORM is an easy-to-use asyncio ORM (Object Relational Mapper) inspired
by Django.

Tortoise ORM was build with relations in mind and admiration for the excellent
and popular Django ORM. It's engraved in it's design that you are working not
with just tables, you work with relational data.
2020-05-23 08:26:18 +00:00
adam
d37b6fc1c2 py-aiosqlite: added version 0.13.0
AsyncIO bridge to the standard sqlite3 module for Python 3.5+.
2020-05-23 08:20:53 +00:00
adam
5cac36a378 sqlite3: updated to 3.32.0
SQLite Release 3.32.0:

Added support for approximate ANALYZE using the PRAGMA analysis_limit command.
Added the bytecode virtual table.
Add the checksum VFS shim to the set of run-time loadable extensions included in the source tree.
Added the iif() SQL function.
INSERT and UPDATE statements now always apply column affinity before computing CHECK constraints. This bug fix could, in theory, cause problems for legacy databases with unorthodox CHECK constraints the require the input type for an INSERT is different from the declared column type. See ticket 86ba67afafded936 for more information.
Added the sqlite3_create_filename(), sqlite3_free_filename(), and sqlite3_database_file_object() interfaces to better support of VFS shim implementations.
Increase the default upper bound on the number of parameters from 999 to 32766.
Added code for the UINT collating sequence as an optional loadable extension.
Enhancements to the CLI:
Add options to the .import command: --csv, --ascii, --skip
The .dump command now accepts multiple LIKE-pattern arguments and outputs the union of all matching tables.
Add the .oom command in debugging builds
Add the --bom option to the .excel, .output, and .once commands.
Enhance the .filectrl command to support the --schema option.
The UINT collating sequence extension is automatically loaded
The ESCAPE clause of a LIKE operator now overrides wildcard characters, so that the behavior now matches what PostgreSQL does.
2020-05-23 07:38:00 +00:00
adam
5b005f4421 Retired mysql55 and postgresql94 packages 2020-05-23 07:25:08 +00:00
rillig
d7068eec86 databases/phppgadmin: remove nonexistent file from SUBST block 2020-05-22 19:30:16 +00:00
rillig
30912059b1 databases/phpldapadmin: remove nonexistent files from REPLACE_SH 2020-05-22 19:28:33 +00:00
rillig
fabea8af87 databases/phpmyadmin: remove nonexistent files from REPLACE_FILES.php 2020-05-22 19:26:38 +00:00
rillig
c24875c6a9 databases/mariadb55-server: clean up REPLACE_PERL 2020-05-22 19:10:03 +00:00
adam
d62c903eea revbump after updating security/nettle 2020-05-22 10:55:42 +00:00
taca
5ba9bf6c15 databases/ruby-activeldap: update to 6.0.2
Update ruby-activeldap to 6.0.2.

pkgsrc change: remove RUBY_VERSIONS_INCOMPATIBLE for ruby24.


6.0.2: 2020-05-19 {#release-6-0-2}

Improvements

* Added options to {ActiveLdap::Persistance#reload}.
  [GitHub#176][Reported by Kevin McCormack]

* jndi: Improved DN escaping. [GitHub#178][Patch by Kevin McCormack]

Thanks

* Kevin McCormack
2020-05-21 16:09:04 +00:00
taca
70e54393f8 Remove RUBY_VERSIONS_INCOMPATIBLE for ruby24. 2020-05-21 16:04:21 +00:00
taca
2e00400b9f remove ruby24 support. 2020-05-21 15:51:51 +00:00
taca
380906a280 databases/ruby-activerecord60: update to 6.0.3.1
Update ruby-activerecord60 to 6.0.3.1.


## Rails 6.0.3.1 (May 18, 2020) ##

*   No changes.
2020-05-19 17:13:24 +00:00
adam
9ec0a65ea2 net/samba4 databases/ldb: updated to 4.12.3 2.1.3
Changes 4.12.3:
* BUG 14301: Fix smbd panic on force-close share during async io.
* BUG 14343: s3: vfs_full_audit: Add missing fcntl entry in vfs_op_names[]
  array.
* BUG 14361: vfs_io_uring: Fix data corruption with Windows clients.
* BUG 14372: Fix smbd crashes when MacOS Catalina connects if iconv
  initialization fails.
* BUG 14150: Exporting from macOS Adobe Illustrator creates multiple copies.
* BUG 14256: smbd does a chdir() twice per request.
* BUG 14320: smbd mistakenly updates a file's write-time on close.
* BUG 14350: vfs_shadow_copy2: implement case canonicalisation in
  shadow_copy2_get_real_filename().
* BUG 14375: Fix Windows 7 clients problem after upgrading samba file server.
* BUG 14359: s3: Pass DCE RPC handle type to create_policy_hnd.
* BUG 14155: Fix uxsuccess test with new MIT krb5 library 1.18.
* BUG 14342: mit-kdc: Explicitly reject S4U requests.
* BUG 14352: dbwrap_watch: Set rec->value_valid while returning nested
  share_mode_do_locked().
* BUG 14345: lib:util: Fix smbclient -l basename dir.
* BUG 14336: s3:libads: Fix ads_get_upn().
* BUG 14348: ctdb: Fix a memleak.
* BUG 14366: Malicous SMB1 server can crash libsmbclient.
* BUG 14330: ldb: Bump version to 2.1.3, LMDB databases can grow without
  bounds
* BUG 14361: vfs_io_uring: Fix data corruption with Windows clients.
* BUG 14344: s3/librpc/crypto: Fix double free with unresolved credential
  cache.
* BUG 14358: docs-xml: Fix usernames in pam_winbind manpages.
2020-05-19 16:51:43 +00:00
taca
49d5c4337b databases/ruby-activerecord52: update to 5.2.4.3
Update ruby-activerecord52 to 5.2.4.3.


## Rails 5.2.4.3 (May 18, 2020) ##

*   No changes.
2020-05-19 15:38:35 +00:00
adam
f0208694dd repmgr: updated to 5.1.0
5.1.0

repmgr: remove BDR 2.x support
repmgr: don't query upstream's data directory
repmgr: rename --recovery-conf-only to --replication-conf-only
repmgr: ensure postgresql.auto.conf is created with correct permissions
repmgr: minimize requirement to check upstream data directory location
  during "standby clone"
repmgr: warn about missing pg_rewind prerequisites when excuting
  "standby clone"
repmgr: add --upstream option to "node check"
repmgr: report error code on follow/rejoin failure due to non-available
  replication slot
repmgr: ensure "node rejoin" checks for available replication slots
repmgr: improve "standby switchover" completion checks
repmgr: add replication configuration file ownership check to
  "standby switchover"
repmgr: check the demotion candidate's registered repmgr.conf file can
  be found
repmgr: consolidate replication connection code
repmgr: check permissions for "pg_promote()" and fall back to pg_ctl
  if necessary
repmgr: in --dry-run mode, display promote command which will be used
repmgr: enable "service_promote_command" in PostgreSQL 12
repmgr: accept option -S/--superuser for "node check"
2020-05-19 12:48:12 +00:00
adam
c9ee0b9afc redis: updated to 6.0.3
Redis 6.0.3:
Upgrade urgency CRITICAL: a crash introduced in 6.0.2 is now fixed.


Redis 6.0.2:
Upgrade urgency MODERATE: many not critical bugfixes in different areas.
                          Critical fix to client side caching when
                          keys are evicted from the tracking table but
                          no notifications are sent.

The following are the most serious fix:

* XPENDING should not update consumer's seen-time
* optimize memory usage of deferred replies - fixed
* Fix CRC64 initialization outside the Redis server itself.
* stringmatchlen() should not expect null terminated strings.
* Cluster nodes availability checks improved when there is
  high Pub/Sub load on the cluster bus.
* Redis Benchmark: Fix coredump because of double free
* Tracking: send eviction messages when evicting entries.
* rax.c updated from upstream antirez/rax.
* fix redis 6.0 not freeing closed connections during loading.

New features:
dd
* Support setcpuaffinity on linux/bsd
* Client Side Caching: Add Tracking Prefix Number Stats in Server Info
* Add --user argument to redis-benchmark.c (ACL)
2020-05-19 09:20:15 +00:00
adam
025a761017 missing PLIST updates 2020-05-19 07:05:28 +00:00
gutteridge
efd4d4b803 ldb: pkgsrc toolify previous (preferred sed may not be "sed") 2020-05-19 00:21:01 +00:00
hauke
9da2f152fe Unbreak building without ldap support - the library got built and
installed, anyway, resulting in a PLIST error.

ldb's snazzy little build system has no official configuration option
for this, so we reach in and flick the switch by hand.
2020-05-18 15:39:20 +00:00
adam
7d795bd34c pytest from versioned depends 2020-05-18 10:45:44 +00:00
adam
312091dfbe py-sqlalchemy-utils: updated to 0.36.5
0.36.5:
- Added support for dictionary input in CompositeType
- Added new EnrichedDateTime and EnrichedDate types
- Using String instead of LargeBinary for impl of EncryptedType
- Added support for JSONType in EncryptedType

0.36.4:
- Added jsonb_sql function
- Drop py27 support
2020-05-18 10:45:19 +00:00
adam
4e7c262d45 py-sqlalchemy: updated to 1.3.17
1.3.17

orm

[orm] [usecase]
Added an accessor Comparator.expressions which provides access to the group of columns mapped under a multi-column ColumnProperty attribute.

[orm] [usecase]
Introduce relationship.sync_backref flag in a relationship to control if the synchronization events that mutate the in-Python attributes are added. This supersedes the previous change 5149, which warned that viewonly=True relationship target of a back_populates or backref configuration would be disallowed.

[orm] [bug]
Fixed bug where using with_polymorphic() as the target of a join via RelationshipComparator.of_type() on a mapper that already has a subquery-based with_polymorphic setting that’s equivalent to the one requested would not correctly alias the ON clause in the join.

[orm] [bug]
Fixed issue in the area of where loader options such as selectinload() interact with the baked query system, such that the caching of a query is not supposed to occur if the loader options themselves have elements such as with_polymorphic() objects in them that currently are not cache-compatible. The baked loader could sometimes not fully invalidate itself in these some of these scenarios leading to missed eager loads.

[orm] [bug]
Modified the internal “identity set” implementation, which is a set that hashes objects on their id() rather than their hash values, to not actually call the __hash__() method of the objects, which are typically user-mapped objects. Some methods were calling this method as a side effect of the implementation.

[orm] [bug]
An informative error message is raised when an ORM many-to-one comparison is attempted against an object that is not an actual mapped instance. Comparisons such as those to scalar subqueries aren’t supported; generalized comparison with subqueries is better achieved using Comparator.has().

engine

[engine] [bug]
Fixed fairly critical issue where the DBAPI connection could be returned to the connection pool while still in an un-rolled-back state. The reset agent responsible for rolling back the connection could be corrupted in the case that the transaction was “closed” without being rolled back or committed, which can occur in some scenarios when using ORM sessions and emitting .close() in a certain pattern involving savepoints. The fix ensures that the reset agent is always active.

schema

[schema] [bug]
Fixed issue where an Index that is deferred in being associated with a table, such as as when it contains a Column that is not associated with any Table yet, would fail to attach correctly if it also contained a non table-oriented expession.

[schema] [bug]
A warning is emitted when making use of the MetaData.sorted_tables attribute as well as the sort_tables() function, and the given tables cannot be correctly sorted due to a cyclic dependency between foreign key constraints. In this case, the functions will no longer sort the involved tables by foreign key, and a warning will be emitted. Other tables that are not part of the cycle will still be returned in dependency order. Previously, the sorted_table routines would return a collection that would unconditionally omit all foreign keys when a cycle was detected, and no warning was emitted.

[schema]
Add comment attribute to Column __repr__ method.

postgresql

[postgresql] [usecase]
Added support for columns or type ARRAY of Enum, JSON or JSONB in PostgreSQL. Previously a workaround was required in these use cases.

[postgresql] [usecase]
Raise an explicit CompileError when adding a table with a column of type ARRAY of Enum configured with Enum.native_enum set to False when Enum.create_constraint is not set to False

mssql

[mssql] [bug] [reflection]
Fix a regression introduced by the reflection of computed column in MSSQL when using the legacy TDS version 4.2. The dialect will try to detect the protocol version of first connect and run in compatibility mode if it cannot detect it.

[mssql] [bug] [reflection]
Fix a regression introduced by the reflection of computed column in MSSQL when using SQL server versions before 2012, which does not support the concat function.

oracle

[oracle] [bug]
Some modifications to how the cx_oracle dialect sets up per-column outputtype handlers for LOB and numeric datatypes to adjust for potential changes coming in cx_Oracle 8.

[oracle] [bug] [performance]
Changed the implementation of fetching CLOB and BLOB objects to use cx_Oracle’s native implementation which fetches CLOB/BLOB objects inline with other result columns, rather than performing a separate fetch. As always, this can be disabled by setting auto_convert_lobs to False.
As part of this change, the behavior of a CLOB that was given a blank string on INSERT now returns None on SELECT, which is now consistent with that of VARCHAR on Oracle.

firebird

[firebird] [change]
Adjusted dialect loading for firebird:// URIs so the external sqlalchemy-firebird dialect will be used if it has been installed, otherwise fall back to the (now deprecated) internal Firebird dialect.
2020-05-18 10:43:21 +00:00
rillig
42ea3dae35 databases/postgresql12-pltcl: suppress USE_TOOLS+=perl warning 2020-05-18 05:07:00 +00:00