notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
All times are UTC
Ukraine
The safest procedure: change your FreshPorts password. Anything you had set before Friday March 24 2023 09:49:20 UTC should be changed. You can read more here: SQL inejection issues fixed and FreshSource code fixes Sorry about the extra work for you.
All known SQL injection issues patched. There is no evidence it was exploited. That doesn’t mean it wasn’t. Please change your password.
non port: databases/qt5-sqldrivers-mysql/files/patch-src_plugins_sqldrivers_mysql_qsql__mysql.cpp
SVNWeb

Number of commits found: 5

Sun, 11 Jul 2021
[ 16:12 Adriaan de Groot (adridg) search for other commits by this committer ]    commit hash:e093f1162c353f3d62dce85e9e74053fc9a4743c  commit hash:e093f1162c353f3d62dce85e9e74053fc9a4743c  commit hash:e093f1162c353f3d62dce85e9e74053fc9a4743c  e093f11 
databases/qt5-sqldrivers-mysql: fix against mysql 5.7.34

In mysql 5.7.34 binding a parameter to a 0-sized buffer triggers
an assert() -- previously this was DBG_ASSERT. This triggers
crashes in databases/akonadi in particular, which binds blobs of
size 0. This patch allows akonadi with the default mysql to
start (at all) again.

The patch file previously held a Qt4-era patch which had long
ago had a better patch applied upstream (the comment in the
patch refers to that). The old stuff has been removed, leaving
only the parameter-fix.
Mon, 6 Jul 2020
[ 06:43 tcberner search for other commits by this committer ] Original commit   Revision:541318 (Only the first 10 of 211 ports in this commit are shown above. View all ports for this commit)
Update Qt5 to 5.15

This is a major upgrade of the Qt libraries [1], [2].

* People that use upgrading mechanisms with incomplete dependency handling
  (portmaster & Co) should make sure to manually remove the existing Qt
  packages to guarantee a safe upgrade. Keep in mind, that Qt does not like if
  you have an incomplete upgrade.

* This version of Qt drops support for OpenSSL 1.0 -- this means that there
  won't be any binary packages for Qt5 provided by the FreeBSD package builders
  for FreeBSD 11.x anymore -- and the same for *all* the ports depending on
  net/qt5-network [3]. If you cannot upgrade to a more recent FreeBSD
  version (12.x, 13.x), you will need to build Qt5 from ports while switching
  to an SSL implementation from ports.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
Sat, 2 Jun 2018
[ 20:22 adridg search for other commits by this committer ] Original commit   Revision:471403
Comment on patch for databases/qt5-sqldrivers-mysql

Add a note to the patch for MariaDB-compatibility on how to do it
without ifdefs, which therefore would track changes in MariaDB
definitions (if it follows the MySQL change) automatically.
Fri, 1 Jun 2018
[ 22:16 adridg search for other commits by this committer ] Original commit   Revision:471301
Fix build of the Qt SQL plugins for MySQL against MariaDB 10.

Recent MySQL code has deprecated the my_bool type, so r469165
added a check for that recent version. MariaDB pretends to be
MySQL, and has an even newer version, which nonetheless hasn't
taken over the drop-my_bool-type change. So my_bool still exists
there. Assume, for now, that MariaDB has my_bool regardless,
to fix incompatibilities reported after PR227813 was closed.

PR:		227813
Reported by:	Jashank Jeremy
Sat, 5 May 2018
[ 20:05 tcberner search for other commits by this committer ] Original commit   Revision:469165
databases/qt4-mysql-plugin & databases/qt5-sqldrivers-mysql: fix build against
mysql >= 8.0.1.

From the mysql release notes [1]:

  Incompatible Change: The my_bool type is no longer used in MySQL source code.
  Any third-party code that used this type to represent C boolean variables
should
  use the bool or int C type instead.

  Note
    The change from my_bool to bool means that the mysql.h header file now
requires
    a C++ or C99 compiler to compile.

  (Bug #25597667)

--

[1] https://dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-1.html

PR:		227813
Reported by:	mikhail.rokhin@gmail.com

Number of commits found: 5