Automatic conversion of the NetBSD pkgsrc CVS module, use with care
Find a file
adam daf67db4b6 mysql57: updated to 5.7.37
Changes in MySQL 5.7.37

Audit Log Notes

Previously, each event logged by MySQL Enterprise Audit included the SQL statement literal text. To provide an alternative (because it is possible that statements contain sensitive information), the audit log filtering language now supports logging a statement's digest rather than its literal text. For example, instead of logging this statement:

SELECT * FROM orders WHERE some_sensitive_column=1234567
The audit log plugin can log this digest:

SELECT * FROM `orders` WHERE `some_sensitive_column` = ?
This is similar to what is already logged for prepared statements, for which parameter markers appear rather than actual data values.

To perform digest logging, use audit filter definitions that replace the statement literal text by its corresponding digest, as discussed in Replacement of Event Field Values.

Because text replacement occurs at an early auditing stage (during filtering), the choice of whether to log statement literal text or digest values applies regardless of log format written later (that is, whether the audit log plugin produces XML or JSON output).

Compilation Notes

Binary packages that include curl rather than linking to the system curl library have been upgraded to use curl 7.80.0.

SQL Function and Operator Notes

Queries making use of the MBRContains() function did not employ all available spatial indexes.

The FORMAT() function returned a formatted number without showing the thousands separator and grouping between separators when either the es_ES or es_MX locale was specified.

Packaging Notes

The GnuPG build key used to sign MySQL downloadable packages has been updated. The previous GnuPG build key is set to expire on 2022-02-16. For information about verifying the integrity and authenticity of MySQL downloadable packages using GnuPG signature checking, or to obtain a copy of our public GnuPG build key, see Signature Checking Using GnuPG.

Due to the GnuPG key update, systems configured to use repo.mysql.com may report a signature verification error when upgrading to MySQL 5.7.37 and higher or to MySQL 8.0.28 and higher using apt or yum. Use one of the following methods to resolve this issue:

Manually reinstall the MySQL APT or YUM repository setup package from https://dev.mysql.com/downloads/.

Download the MySQL GnuPG public key and add it your system GPG keyring.

For MySQL APT repository instructions, see Appendix A: Adding and Configuring the MySQL APT Repository Manually.

For MySQL YUM repository instructions, see Upgrading MySQL with the MySQL Yum Repository.


Bugs Fixed

InnoDB: The buf_validate() function in the InnoDB sources was optimized, improving performance on debug builds.

Thanks to Hobert Lu for the contribution.

Partitioning: Creating a table with nondeterministic functions in generated column expressions should not be possible, but this was not enforced in all cases; a series of one or more ALTER TABLE statements could be employed to arrive at a partitioned table with one or more such generated columns. When attempting to execute the CREATE TABLE statement obtained by running SHOW CREATE TABLE against this table, MySQL rejected the statement with a misleading error message referring to the partitioning expression rather than to the problematic column, despite the fact that the partitioning expression itself was legal.

This was caused by the result of a check for any unsafe expressions defined for a generated column (in the internal variable thd->safe_to_cache_query), which was later checked again without being cleared while parsing the partition expression, leading to an error even when the partition expression did not refer to the problematic generated column expression. Now in such cases, we reset thd->safe_to_cache_query before parsing the partition function.

The issue of allowing the use of certain nondeterminstic functions (AES_ENCRYPT(), AES_DECRYPT(), RANDOM_BYTES()) in generated columns is handled separately.

Partitioning: A query using an index other than the primary key of a partitioned table sometimes resulted in excessive CPU load.

Replication: When the PAD_CHAR_TO_FULL_LENGTH SQL mode was enabled on a replica server, trailing spaces could be added to a replication channel’s name in the replication metadata repository tables, resulting in errors in replication operations that identified the channel using that data. The issue has now been fixed in MySQL 8.0 by using VARCHAR for character columns, and in MySQL 5.7 by disabling the SQL mode when reading from those tables. Thanks to Brian Yue for the contribution.

MySQL 5.7 did not handle the thread_stack variable in the same manner as MySQL 5.6 or MySQL 8.0.

It was possible in some cases to create a generated column of type SERIAL, which is not allowed.

See Numeric Data Type Syntax, and CREATE TABLE and Generated Columns, for more information

Statements which commit a transaction implicitly or explicitly are not allowed inside a trigger or a stored function. Both CREATE TRIGGER and CREATE FUNCTION should report an error (ER_COMMIT_NOT_ALLOWED_IN_SF_OR_TRG) in this case, but did not correctly handle DROP TABLESPACE.

The MySQL session used for online keyring migration was not closed gracefully after the migration was complete, resulting in an “Aborted connection” note being printed to the error log.

SHOW PROCESSLIST could read freed memory when accessing the query string belonging to a connection that was in the process of deleting a prepared statement.

Privileges were not checked correctly for ALTER USER ... IDENTIFIED WITH ... BY.
2022-01-21 11:23:50 +00:00
archivers py-zstandard: updated to 0.17.0 2022-01-19 06:04:35 +00:00
audio schismtracker: update to 20211116 2022-01-19 21:05:28 +00:00
benchmarks google-benchmark: update to 1.6.1. 2022-01-16 23:09:35 +00:00
biology py-cutadapt: updated to 3.5 2022-01-17 09:03:10 +00:00
bootstrap bootstrap: On SCO System V variants, we need either mksh or bash. 2021-12-28 10:13:01 +00:00
cad *: remove workaround patches for python 3.6 2022-01-14 11:49:41 +00:00
chat irssi: fix building on Solaris 10 2022-01-19 22:15:43 +00:00
comms add comms/syncterm 2022-01-16 13:11:07 +00:00
converters Bump packages that depends on GHC 2022-01-18 02:48:01 +00:00
cross Remove the global BUILD_DEPENDS on tex-alphalph as it's option-specific and 2022-01-19 03:50:32 +00:00
databases mysql57: updated to 5.7.37 2022-01-21 11:23:50 +00:00
devel Update to 1.991 2022-01-21 02:12:17 +00:00
distfiles
doc doc: Updated x11/lxqt-globalkeys to 1.0.1 2022-01-21 07:26:58 +00:00
editors Update to 1.17 2022-01-21 02:27:04 +00:00
emulators mednafen: update to 1.29.0 2022-01-19 21:56:43 +00:00
filesystems *: python2 egg files are back, add them to the PLISTs 2022-01-14 17:51:50 +00:00
finance Bump packages that depends on GHC 2022-01-18 02:48:01 +00:00
fonts SDL2_ttf: update to 2.0.18. 2022-01-16 22:45:24 +00:00
games *: revbump for gdal-lib update 2022-01-18 17:42:25 +00:00
geography geography/py-gdal: Clean up how PKGREVISION is set 2022-01-19 15:40:55 +00:00
graphics ristretto: update to 0.12.2 2022-01-20 01:03:55 +00:00
ham *: revbump for spdlog 2022-01-18 15:23:24 +00:00
inputmethod *: python2 egg files are back, add them to the PLISTs 2022-01-14 17:51:50 +00:00
lang python3*: Add REPLACE_SH, from pekdon via IRC. 2022-01-21 10:43:51 +00:00
licenses licenses: Do not use UTF-8 encoding. ASCII is sufficient 2021-11-16 17:13:58 +00:00
mail *: fix for python 3.x 2022-01-19 17:50:45 +00:00
math disable package registry in eigen3 to not populate fake homedir 2022-01-19 09:52:09 +00:00
mbone mbone: Replace RMD160 checksums with BLAKE2s checksums 2021-10-26 10:57:00 +00:00
meta-pkgs meta-pkgs/lxqt: Revbump for lxqt-globalkeys 2022-01-21 07:28:03 +00:00
misc misc/calibre: update major version, to 5.34.0. 2022-01-20 19:03:07 +00:00
mk Emit a warning when PKGSRC_MKPIE==yes but PKGSRC_COMPILER==clang 2022-01-19 16:06:43 +00:00
multimedia ruby-gnome: update to 3.5.1. 2022-01-17 15:17:14 +00:00
net Update to 41. From the changelog: 2022-01-20 20:30:34 +00:00
news *: python2 egg files are back, add them to the PLISTs 2022-01-14 17:51:50 +00:00
packages
parallel *: bump PKGREVISION for egg.mk users 2022-01-04 20:53:26 +00:00
pkgtools pkgtools/pkglint: update to 21.4.2 2022-01-16 19:14:51 +00:00
print *: fix for python 3.x 2022-01-19 17:50:45 +00:00
regress *: bump PKGREVISION for egg.mk users 2022-01-04 20:53:26 +00:00
security skey: fix building on Solaris 10 2022-01-19 22:10:16 +00:00
shells shells/nushell: update to 0.43.0 2022-01-19 10:52:30 +00:00
sysutils sysutils/htop: Update to 3.1.2 2022-01-20 22:48:41 +00:00
templates templates: disable search bar until the results are better 2021-04-21 11:14:11 +00:00
textproc ugrep: updated to 3.6.0 2022-01-20 20:16:08 +00:00
time *: fix for python 3.x 2022-01-19 17:50:45 +00:00
wm Bump packages that depends on GHC 2022-01-18 02:48:01 +00:00
www grafana: update to 8.3.4 2022-01-20 22:22:31 +00:00
x11 x11/lxqt-globalkeys: update to 1.0.1 2022-01-21 07:26:31 +00:00
_NetBSD-pkgdb
Makefile
pkglocate
README.md README.md: Add trailing slash to the URI 2021-10-21 12:18:01 +00:00

pkgsrc

pkgsrc is a framework for building software for a variety of UNIX-like systems.

It produces binary packages, which can be managed with tools such as pkgin. pkgsrc is highly configurable, supporting building packages for an arbitrary installation prefix (the default is /usr/pkg), allowing multiple branches to coexist on one machine, a build options framework, and a compiler transformation framework, among other advanced features. Unprivileged use and installation is also supported.

pkgsrc is the default package manager for NetBSD and SmartOS. It's also supported as a first-class option in OmniOS CE and Oasis Linux.

Bootstrapping

To use pkgsrc on operating systems other than NetBSD, you first need to bootstrap:

cd pkgsrc/bootstrap
./bootstrap

Note that this is only for the most simple case, using pkgsrc's defaults.

Please consult bootstrap/README and bootstrap/README.OS for detailed information about bootstrapping.

Building packages

cd pkgsrc/category/package-name
$PREFIX/bin/bmake install

Where $PREFIX is where you've chosen to install packages (typically /usr/pkg)

On NetBSD, bmake is simply the built-in make tool.

To build packages in bulk, tools such as pkgtools/pbulk and pkgtools/pkg_comp can be used.

Community / Troubleshooting

Latest sources

To fetch the main CVS repository:

cvs -d anoncvs@anoncvs.NetBSD.org:/cvsroot checkout -P pkgsrc

To work in the Git mirror, which is updated every few hours from CVS:

git clone https://github.com/NetBSD/pkgsrc.git