Commit Graph

21538 Commits

Author SHA1 Message Date
Sunpoet Po-Chuan Hsieh ca5efe6a4f Cosmetic change 2019-08-10 22:49:48 +00:00
Sunpoet Po-Chuan Hsieh 94c58af55b Cosmetic change 2019-08-10 22:49:43 +00:00
Sunpoet Po-Chuan Hsieh 03d83d6568 Cosmetic change 2019-08-10 22:49:38 +00:00
Sunpoet Po-Chuan Hsieh 2b5c9f70c9 Cosmetic change 2019-08-10 22:49:33 +00:00
Matthew Seaman bbea07bdbc Update to 8.3.2
ChangeLog:	https://github.com/citusdata/citus/blob/master/CHANGELOG.md
2019-08-10 07:56:38 +00:00
Thomas Zander c1ef40f72c Update to upstream version 19.11.5.28
PR:		238822
Submitted by:	proler@gmail.com (maintainer)
2019-08-09 10:22:43 +00:00
Palle Girgensohn eead63201f Add postgresql12 to the ports tree 2019-08-08 15:33:54 +00:00
Palle Girgensohn 2ffb94e078 iThe PostgreSQL Global Development Group has released an update to all
supported versions of our database system, including 11.5, 10.10,
9.6.15, 9.5.19, and 9.4.24, as well as the third beta of PostgreSQL 12.
This release fixes two security issues in the PostgreSQL server, two
security issues found in one of the PostgreSQL Windows installers, and
over 40 bugs reported since the previous release.

Users should install these updates as soon as possible.

A Note on the PostgreSQL 12 Beta
================================

In the spirit of the open source PostgreSQL community, we strongly
encourage you to test the new features of PostgreSQL 12 in your database
systems to help us eliminate any bugs or other issues that may exist.
While we do not advise you to run PostgreSQL 12 Beta 3 in your
production environments, we encourage you to find ways to run your
typical application workloads against this beta release.

Your testing and feedback will help the community ensure that the
PostgreSQL 12 release upholds our standards of providing a stable,
reliable release of the world's most advanced open source relational
database.

Security Issues
===============

Two security vulnerabilities have been closed by this release:

* CVE-2019-10208: `TYPE` in `pg_temp` executes arbitrary SQL during
`SECURITY DEFINER` execution

Versions Affected: 9.4 - 11

Given a suitable `SECURITY DEFINER` function, an attacker can execute
arbitrary SQL under the identity of the function owner.  An attack
requires `EXECUTE` permission on the function, which must itself contain
a function call having inexact argument type match.  For example,
`length('foo'::varchar)` and `length('foo')` are inexact, while
`length('foo'::text)` is exact.  As part of exploiting this
vulnerability, the attacker uses `CREATE DOMAIN` to create a type in a
`pg_temp` schema. The attack pattern and fix are similar to that for
CVE-2007-2138.

Writing `SECURITY DEFINER` functions continues to require following the
considerations noted in the documentation:

https://www.postgresql.org/docs/devel/sql-createfunction.html#SQL-CREATEFUNCTION-SECURITY

The PostgreSQL project thanks Tom Lane for reporting this problem.

* CVE-2019-10209: Memory disclosure in cross-type comparison for hashed
subplan

Versions Affected: 11

In a database containing hypothetical, user-defined hash equality operators, an attacker could read arbitrary bytes of server memory. For an attack to become possible, a superuser would need to create unusual operators. It is possible for operators not purpose-crafted for attack to have the properties that enable an attack, but we are not aware of specific examples.

The PostgreSQL project thanks Andreas Seltenreich for reporting this problem.
2019-08-08 15:33:02 +00:00
Tobias C. Berner 944100afbd databaes/libiodbc: update to 3.52.13
Release Notes [1]
    * Added extra validation for SQLAllocHandle (SQL_HANDLE_DESC, ...)
    * Added GCC __attribute__ for checking format string
    * Added missing define SQL_CONVERT_GUID
    * Fixed issue using heap after free in SQLConnect_internal
    * Fixed issue with global mutex in SQLError, SQLGetDiagRec, and SQLGetDiagField
    * Fixed SQLSetStmtAttr to cache the correct values for SQL_ATTR_ROW_ARRAY_SIZE and SQL_ATTR_ROW_BIND_TYPE
    * Fixed format specifiers and some casts to fix trace output
    * Fixed missing check for section in SQLGetPrivateProfileString
    * Fixed non-void function needs to return a value
    * Fixed issue in Mac Cocoa code
    * Fixed iODBC apps/frameworks CFBundleGetInfoString attribute
    * Fixes an issue where build fails on Alpine
    * Fixed package versioning
    * Fixed small memory leaks

[1] http://www.iodbc.org/dataspace/doc/iodbc/wiki/iodbcWiki/ChangeNotes#2019-07-23%20-%20iODBC%20Stable%20Version%203.52.13%20Released
2019-08-07 18:08:42 +00:00
Tobias Kortkamp 44032981d0 databases/sequeler: Update to v0.7.2
Changes:	https://github.com/Alecaddd/sequeler/releases/tag/v0.7.2
2019-08-06 10:53:07 +00:00
Xin LI d5f408361d Update to 0.9.24. 2019-08-06 08:26:25 +00:00
Mahdi Mokhtari 4b382c759b databases/mysq56-{client, server}: Update to latest release 5.7.27
This update includes security fixes on issues that are
mentioned on upstream critical patch report.
Further info:
https://www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html#AppendixMSQL

PR:		239271
Submitted by:	Greg Veldman <freebsd@gregv.net>
Reported by:	Markus Kohlmeyer <rootservice@gmail.com>
Sponsored by:	Platform.sh
2019-08-05 23:37:31 +00:00
Mahdi Mokhtari d79cf0c9d0 databases/mysq56-{client, server}: Update to 5.6.45
This update includes security fixes which are
mentioned on upstream critical patch report.
Further info:
https://www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html#AppendixMSQL

PR:		239571
Reported by:	serg@tmn.ru
Sponsored by:	Platform.sh
2019-08-05 23:21:26 +00:00
Jason Helfman b7471abcb1 - update to 1.5.0
- while here pet portlint
2019-08-05 23:21:03 +00:00
Rene Ladan 860a89e29f Return jgh's ports to the various pools after his commit bit was safekept.
Hat:		portmgr-secretary
2019-08-05 20:07:06 +00:00
Yuri Victorovich 2439819ae3 devel/double-conversion: Update 3.0.0 -> 3.1.5-11
Maintainer reset due to the extended timeout, as per policy.
Take maintainership.

7 ports are bumped.

PR:		239367
Approved by:	waitman@waitman.net (maintainer's timeout; ~6months on a PR#235789 for the same port)
2019-08-04 17:15:40 +00:00
Sunpoet Po-Chuan Hsieh f0a6349b52 Update to 6.2.2
Changes:	https://github.com/facebook/rocksdb/releases
2019-08-04 16:10:04 +00:00
Sunpoet Po-Chuan Hsieh 8a1608680b Remove outdated post-patch: 2019-08-04 16:09:59 +00:00
Antoine Brodin aeb16e20a1 Mark BROKEN: unfetchable 2019-08-04 09:19:02 +00:00
Kevin Bowling b75efedcde databases/timescaledb: Update to 1.4.1
Changelog https://github.com/timescale/timescaledb/releases/tag/1.4.1

Approved by:	timur (mentor)
Sponsored by:	BBOX.io
Differential Revision:	https://reviews.freebsd.org/D21157
2019-08-04 09:18:11 +00:00
Tobias Kortkamp f0dd53ffba databases/postgresql-tds_fdw: Update to 2.0.0-alpha.3
This adds support for PostgreSQL 11.

Changes:	https://github.com/tds-fdw/tds_fdw/releases/tag/v2.0.0-alpha.3
PR:		239514
2019-08-04 07:57:06 +00:00
Yuri Victorovich 3f56bd4461 databases/pspg: Update 1.6.5 -> 1.6.8
PR:		239444
Submitted by:	Dmitri Goutnik <dg@syrec.org> (maintainer)
2019-08-03 23:12:10 +00:00
Sunpoet Po-Chuan Hsieh 95cd270725 Update version requirement of *_DEPENDS
- Add TEST_DEPENDS
- Add NO_ARCH
2019-08-03 20:55:25 +00:00
Sunpoet Po-Chuan Hsieh 513c9d44c7 Update to 2.034000
- Fix *_DEPENDS
- Remove Perl core module

Changes:	https://metacpan.org/changes/distribution/DBIx-Class-Helpers
2019-08-03 20:55:20 +00:00
Torsten Zuehlsdorff 20b94380dc Update PHP 7.3 from 7.3.7 to 7.3.8
Changelog:

    Core:
        Added syslog.filter=raw option.
        Fixed bug #78212 (Segfault in built-in webserver).
    Date:
        Fixed bug #69044 (discrepency between time and microtime).
        Updated timelib to 2018.02.
    EXIF:
        Fixed bug #78256 (heap-buffer-overflow on exif_process_user_comment). (CVE-2019-11042)
        Fixed bug #78222 (heap-buffer-overflow on exif_scan_thumbnail). (CVE-2019-11041)
    FTP:
        Fixed bug #78039 (FTP with SSL memory leak).
    Libxml:
        Fixed bug #78279 (libxml_disable_entity_loader settings is shared between requests (cgi-fcgi)).
    LiteSpeed:
        Updated to LiteSpeed SAPI V7.4.3 (increased response header count limit from 100 to 1000, added crash handler to cleanly shutdown PHP request, added CloudLinux mod_lsapi mode).
        Fixed bug #76058 (After "POST data can't be buffered", using php://input makes huge tmp files).
    Openssl:
        Fixed bug #78231 (Segmentation fault upon stream_socket_accept of exported socket-to-stream).
    Opcache:
        Fixed bug #78341 (Failure to detect smart branch in DFA pass).
        Fixed bug #78189 (file cache strips last character of uname hash).
        Fixed bug #78202 (Opcache stats for cache hits are capped at 32bit NUM).
        Fixed bug #78271 (Invalid result of if-else).
        Fixed bug #78291 (opcache_get_configuration doesn't list all directives).
    PCRE:
        Fixed bug #78338 (Array cross-border reading in PCRE).
        Fixed bug #78197 (PCRE2 version check in configure fails for "##.##-xxx" version strings).
    PDO_Sqlite:
        Fixed bug #78192 (SegFault when reuse statement after schema has changed).
    Phar:
        Fixed bug #77919 (Potential UAF in Phar RSHUTDOWN).
    Phpdbg:
        Fixed bug #78297 (Include unexistent file memory leak).
    SQLite:
        Upgraded to SQLite 3.28.0.
    Standard:
        Fixed bug #78241 (touch() does not handle dates after 2038 in PHP 64-bit).
        Fixed bug #78269 (password_hash uses weak options for argon2).

Changelog taken from: https://www.php.net/ChangeLog-7.php#7.3.8

MFH:		2019Q3
2019-08-03 18:29:39 +00:00
Torsten Zuehlsdorff fb0a15a002 Update PHP 7.2 from 7.2.20 to 7.2.21
Changelog:

    Date:
        Fixed bug #69044 (discrepency between time and microtime).
    EXIF:
        Fixed bug #78256 (heap-buffer-overflow on exif_process_user_comment). (CVE-2019-11042)
        Fixed bug #78222 (heap-buffer-overflow on exif_scan_thumbnail). (CVE-2019-11041)
    Fileinfo:
        Fixed bug #78183 (finfo_file shows wrong mime-type for .tga file).
    FTP:
        Fixed bug #77124 (FTP with SSL memory leak).
    Libxml:
        Fixed bug #78279 (libxml_disable_entity_loader settings is shared between requests (cgi-fcgi)).
    LiteSpeed:
        Updated to LiteSpeed SAPI V7.4.3 (increased response header count limit from 100 to 1000, added crash handler to cleanly shutdown PHP request, added CloudLinux mod_lsapi mode).
        Fixed bug #76058 (After "POST data can't be buffered", using php://input makes huge tmp files).
    Openssl:
        Fixed bug #78231 (Segmentation fault upon stream_socket_accept of exported socket-to-stream).
    OPcache:
        Fixed bug #78189 (file cache strips last character of uname hash).
        Fixed bug #78202 (Opcache stats for cache hits are capped at 32bit NUM).
        Fixed bug #78291 (opcache_get_configuration doesn't list all directives).
    Phar:
        Fixed bug #77919 (Potential UAF in Phar RSHUTDOWN).
    Phpdbg:
        Fixed bug #78297 (Include unexistent file memory leak).
    PDO_Sqlite:
        Fixed bug #78192 (SegFault when reuse statement after schema has changed).
    SQLite:
        Upgraded to SQLite 3.28.0.
    Standard:
        Fixed bug #78241 (touch() does not handle dates after 2038 in PHP 64-bit).
        Fixed bug #78269 (password_hash uses weak options for argon2).
    XMLRPC:
        Fixed bug #78173 (XML-RPC mutates immutable objects during encoding).

Changelog taken from: https://www.php.net/ChangeLog-7.php#7.2.21

MFH:		2019Q3
2019-08-03 18:28:12 +00:00
Torsten Zuehlsdorff 4aaa9d5586 Update PHP 7.1 from 7.1.30 to 7.1.31
Changelog:

    SQLite:
        Upgraded to SQLite 3.28.0.
    EXIF:
        Fixed bug #78256 (heap-buffer-overflow on exif_process_user_comment). (CVE-2019-11042)
        Fixed bug #78222 (heap-buffer-overflow on exif_scan_thumbnail). (CVE-2019-11041)
    Phar:
        Fixed bug #77919 (Potential UAF in Phar RSHUTDOWN).

Changelog taken from: https://www.php.net/ChangeLog-7.php#7.1.31

MFH:		2019Q3
2019-08-03 18:26:07 +00:00
Tobias Kortkamp 5ca9f73e94 databases/postgresql-plv8js: Fix supported PostgreSQL version range
It does not build with PostgreSQL 11.  Updating the port is not
trivial due to our outdated lang/v8 port.

PR:		239514
2019-08-03 11:54:57 +00:00
Tobias Kortkamp 6256522c14 databases/postgresql-mysql_fdw: Update to 2.5.1
This fixes the build with PostgreSQL 10 and 11

Changes:	https://github.com/EnterpriseDB/mysql_fdw/releases

PR:		239514
2019-08-03 11:31:48 +00:00
Tobias Kortkamp c1e211ebf7 databases/pg_reorg: Fixup r507940 and declare compatible PostgreSQL versions correctly 2019-08-03 10:49:00 +00:00
Muhammad Moinur Rahman 1f8179187f databases/mroonga: Update version 9.03=>9.05
- Unbreak for MYSQL 5.7 and 8.*
2019-08-03 10:29:57 +00:00
Tobias Kortkamp e0b6cd97d0 databases/sequeler: Update to v0.7.1
Changes:	https://github.com/Alecaddd/sequeler/releases/tag/v0.7.1
2019-08-03 10:14:02 +00:00
Tobias Kortkamp d82f96fa68 databases/pgagent: Unbreak build with PostgreSQL 11+
CMake Error at cmake/FindPG.cmake:74 (LIST):
  LIST index: 2 out of range (-2, 1)

http://package18.nyi.freebsd.org/data/120amd64-default-PR239514/2019-07-29_20h41m52s/logs/pgagent-3.4.0_4.log

PR:		239514
2019-08-03 09:20:32 +00:00
Tobias Kortkamp 3b46864922 databases/pg_reorg: Do not build on newer PostgreSQL versions
It fails to build with PostgreSQL 11:

pgut/pgut.c:389:47: error: too few arguments to function call, expected 4, have 3
        return simple_prompt("Password: ", 100, false);
               ~~~~~~~~~~~~~                         ^
/usr/local/include/postgresql/server/port.h:193:1: note: 'simple_prompt' declared here
extern void simple_prompt(const char *prompt, char *destination, size_t destlen,
^
1 error generated.

http://package18.nyi.freebsd.org/data/120amd64-default-PR239514/2019-07-29_20h41m52s/logs/pg_reorg-1.1.11_2.log

And after fixing that one:

reorg.c:230:55: warning: incompatible pointer types passing 'bool [1]' to parameter of type 'const char *' [-Wincompatible-pointer-types]
                execute_plan(SPI_OK_SELECT, plan_peek, values_peek, nulls_peek);
                                                                    ^~~~~~~~~~
./pgut/pgut-spi.h:28:84: note: passing argument to parameter 'nulls' here
extern void execute_plan(int expected, SPIPlanPtr plan, Datum *values, const char *nulls);
                                                                                   ^
reorg.c:256:58: warning: incompatible pointer types passing 'bool *' to parameter of type 'const char *' [-Wincompatible-pointer-types]
                                execute_plan(SPI_OK_INSERT, plan_insert, &values[2], &nulls[2]);
                                                                                     ^~~~~~~~~
[...]
reorg.c:573:34: error: use of undeclared identifier 'BTREE_AM_OID'
                        opclass = OpclassnameGetOpcid(BTREE_AM_OID, opcname);
                                                      ^
reorg.c:590:57: error: member reference type 'FormData_pg_attribute' (aka 'struct FormData_pg_attribute') is not a pointer; did you mean to use '.'?
                                opcintype = RelationGetDescr(indexRel)->attrs[nattr]->atttypid;
                                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
etc.

PR:		239514
2019-08-03 09:02:38 +00:00
Tobias Kortkamp cadce4f060 databases/ip4r: Update to 2.4.1
This fixes the build with newer PostgreSQL versions.

Drop the IDXPATCH option.  The patch no longer applies.  Unfortunately
it was never upstreamed, its purpose is not clear, and the port no
longer has a maintainer to ask about this.

Changes:	https://github.com/RhodiumToad/ip4r/blob/2.4.1/README.ip4r
PR:		239514
2019-08-03 08:23:00 +00:00
Tobias Kortkamp 267dfeb0fa databases/tablelog: Unbreak build with PostgreSQL >= 11.0
table_log.c:76:29: error: member reference type 'FormData_pg_attribute' (aka 'struct FormData_pg_attribute') is not a pointer; did you mean to use '.'?
    if (!tupleDesc->attrs[i]->attisdropped) {
         ~~~~~~~~~~~~~~~~~~~^~
                            .
table_log.c:303:59: error: member reference type 'FormData_pg_attribute' (aka 'struct FormData_pg_attribute') is not a pointer; did you mean to use '.'?
      if (trigdata->tg_relation->rd_att->attrs[col_nr - 1]->attisdropped) {
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
                                                          .
table_log.c:348:59: error: member reference type 'FormData_pg_attribute' (aka 'struct FormData_pg_attribute') is not a pointer; did you mean to use '.'?
      if (trigdata->tg_relation->rd_att->attrs[col_nr - 1]->attisdropped) {
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
                                                          .
table_log.c:375:59: error: member reference type 'FormData_pg_attribute' (aka 'struct FormData_pg_attribute') is not a pointer; did you mean to use '.'?
      if (trigdata->tg_relation->rd_att->attrs[col_nr - 1]->attisdropped) {
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
                                                          .
4 errors generated.

http://package18.nyi.freebsd.org/data/120amd64-default-PR239514/2019-07-29_20h41m52s/logs/tablelog-0.4.4_3.log

While here

- Mark it as deprecated.  The last release was in 2007 and upstream
  has been inactive since then.
- Fix WWW

PR:		239514
Reported by:	antoine (via exp-run)
2019-08-03 07:43:34 +00:00
Jan Beich f18538b989 devel/libevent2: update to 2.1.11
Changes:	https://github.com/libevent/libevent/releases/tag/release-2.1.11-stable
ABI:		https://abi-laboratory.pro/tracker/timeline/libevent/
PR:		239599
Reported by:	GitHub (watch releases)
Approved by:	zeising (maintainer)
MFH:		2019Q3 (maybe security, partially restores 2.1.8 ABI)
Differential Revision:	https://reviews.freebsd.org/D21133
2019-08-02 13:30:40 +00:00
Matthew Seaman baab6eb041 Update to 2.9
ChangeLog: https://github.com/2ndquadrant-it/barman/blob/master/ChangeLog

Notably this update introduces support for the new recovery/standby
handling in postgresql-12, plust a number of other fixes and
improvements.
2019-08-02 06:26:40 +00:00
Muhammad Moinur Rahman 1cb5fc573d databases/py-mysql-connector-python: Update version 8.0.16=>8.0.17 2019-08-01 19:11:59 +00:00
Sunpoet Po-Chuan Hsieh a0936bd297 Update to 1.4.12
Changes:	https://trac.xapian.org/wiki/ReleaseOverview/1.4.12
2019-08-01 16:15:56 +00:00
Sunpoet Po-Chuan Hsieh 55b9771309 Update to 1.4.12
Changes:	https://trac.xapian.org/wiki/ReleaseOverview/1.4.12
2019-08-01 16:15:51 +00:00
Sunpoet Po-Chuan Hsieh 65bb157407 Update to 1.4.12
Changes:	https://trac.xapian.org/wiki/ReleaseOverview/1.4.12
2019-08-01 16:15:46 +00:00
Sunpoet Po-Chuan Hsieh be053523dc Update to 1.4.12
Changes:	https://trac.xapian.org/wiki/ReleaseOverview/1.4.12
2019-08-01 16:15:40 +00:00
Sunpoet Po-Chuan Hsieh 830b471a27 Update to 1.4.12
Changes:	https://trac.xapian.org/wiki/ReleaseOverview/1.4.12
2019-08-01 16:15:35 +00:00
Sunpoet Po-Chuan Hsieh cf8e25da1c Update to 1.4.12.0
Changes:	https://trac.xapian.org/wiki/ReleaseOverview/1.4.12
2019-08-01 16:15:30 +00:00
Sunpoet Po-Chuan Hsieh 0a21061dfe Update to 1.4.12
Changes:	https://trac.xapian.org/wiki/ReleaseOverview/1.4.12
2019-08-01 16:15:24 +00:00
Sunpoet Po-Chuan Hsieh 8da3552b05 Update to 1.7.3
Changes:	https://github.com/okbob/plpgsql_check/releases
2019-08-01 16:15:19 +00:00
Muhammad Moinur Rahman 629837cfd1 databases/pgroonga: Update version 2.2.0=>2.2.1 2019-08-01 10:44:21 +00:00
Bernard Spil a2c62fa4da databases/mariadb101-server: Security update to 10.1.41
MFH:		2019Q3
Security:	198e6220-ac8b-11e9-a1c7-b499baebfeaf
2019-08-01 07:19:27 +00:00
Bernard Spil 4de6bafabb databases/mariadb55-server: Security update to 5.5.65
MFH:		2019Q3
Security:	198e6220-ac8b-11e9-a1c7-b499baebfeaf
2019-08-01 07:18:25 +00:00