Automatic conversion of the NetBSD pkgsrc CVS module, use with care
Find a file
adam ede9df6c73 postgresql: updated to 13.4, 12.8, 11.13, 10.18, 9.6.23
PostgreSQL 13.4, 12.8, 11.13, 10.18, 9.6.23

Security Issues

CVE-2021-3677: Memory disclosure in certain queries

Versions Affected: 11 - 13.

A purpose-crafted query can read arbitrary bytes of server memory. In the default configuration, any authenticated database user can complete this attack at will. The attack does not require the ability to create objects. If server settings include max_worker_processes=0, the known versions of this attack are infeasible. However, undiscovered variants of the attack may be independent of that setting.

Bug Fixes and Improvements

This update also fixes over 75 bugs that were reported in the last several months. Some of these issues affect only version 13, but many affect all supported versions.

Some of these fixes include:

Completely disable TLS/SSL renegotiation. This was previously disabled, but the server would still execute a client-initiated renegotiation request.
Restore the Portal-level snapshot after COMMIT or ROLLBACK within a procedure. This change fixes cases where an attempt to fetch a toasted value immediately after COMMIT/ROLLBACK would fail with errors like "no known snapshots" or "missing chunk number 0 for toast value".
Avoid misbehavior when persisting the output of a cursor that's reading a volatile query.
Reject cases where a query in WITH rewrites to just NOTIFY, which would cause a crash.
Several corner-case fixes for numeric types.
ALTER EXTENSION now locks the extension when adding or removing a member object.
The "enabled" status is now copied when a partitioned table's triggers are cloned to a new partition.
Avoid alias conflicts in queries generated for REFRESH MATERIALIZED VIEW CONCURRENTLY. This command failed on materialized views containing columns with certain names, notably mv and newdata.
Disallow whole-row variables in GENERATED expressions.
Several fixes for DROP OWNED BY behavior in relation to row-level security (RLS) policies.
Re-allow old-style Windows locale names in CREATE COLLATION commands.
walsenders now show their latest replication command in pg_stat_activity, instead of just showing the latest SQL command.
pg_settings.pending_restart now shows as true when a pertinent entry in postgresql.conf is removed.
On 64-bit Windows, allow the effective value of work_mem * hash_mem_multiplier to exceed 2GB.
Update minimum recovery point when WAL replay of a transaction abort record causes file truncation.
Advance oldest-required-WAL-segment horizon properly after a replication slot is invalidated. This fixes an issue where the server's WAL storage could run out of space.
Improve progress reporting for the sort phase of a parallel B-tree index build.
Fix assorted crash cases in logical replication of partitioned-table updates and when firing AFTER triggers of partitioned tables.
Prevent infinite loops in SP-GiST index insertion.
Ensure that SP-GiST index insertion can be terminated by a query cancel request.
In psql and other client programs, avoid overrunning the ends of strings when dealing with invalidly-encoded data.
Fix pg_dump to correctly handle triggers on partitioned tables whose enabled status is different from their parent triggers' status.
Avoid "invalid creation date in header" warnings when running pg_restore on a file created in a different time zone.
pg_upgrade now carries forward the old installation's oldestXID value and no longer forces an anti-wraparound VACUUM."
Extend pg_upgrade to detect and warn about extensions that should be upgraded.
Fix contrib/postgres_fdw to better work with generated columns, so long as a generated column in a foreign table represents a generated column in the remote table.
2021-08-13 11:54:43 +00:00
archivers archivers/ruby-zip: update to 2.3.2 2021-08-12 14:56:35 +00:00
audio alsa-lib: Fix building of audio/alsa-utils 2021-08-10 20:39:51 +00:00
benchmarks benchmarks/hyperfine: simplify Makefile 2021-08-05 08:50:35 +00:00
biology py-numpy: "Python version >= 3.7 required." 2021-06-29 08:41:59 +00:00
bootstrap Spaces to tabs (NFCI). 2021-07-13 12:43:58 +00:00
cad kicad-*: update to 5.1.10 2021-07-30 22:47:18 +00:00
chat Revbump all Go packages after go116 update 2021-08-11 19:35:03 +00:00
comms asterisk16: Update to 16.19.0 2021-08-09 13:13:14 +00:00
converters py-charset-normalizer: added version 2.0.3 2021-07-30 04:14:49 +00:00
cross cross/ppc-morphos-gcc-10/Makefile: Fix comment 2021-07-25 17:31:10 +00:00
databases postgresql: updated to 13.4, 12.8, 11.13, 10.18, 9.6.23 2021-08-13 11:54:43 +00:00
devel Add git-cliff 2021-08-13 04:35:00 +00:00
distfiles
doc doc: Added devel/git-cliff version 0.1.0 2021-08-13 04:35:32 +00:00
editors nano: update to 5.8 2021-08-11 20:21:55 +00:00
emulators sameboy: update to 0.14.5 2021-08-10 12:20:41 +00:00
filesystems fuse-djmount: retire; does not build with external nor internal libupnp; last release 2006-08-07 2021-06-15 09:05:40 +00:00
finance finance/rates: simplify Makefile 2021-08-03 09:00:37 +00:00
fonts fonts/montserrat: update to 7.222 2021-08-13 04:30:25 +00:00
games Update gnome-sudoku to 40.2 2021-08-10 15:41:50 +00:00
geography gpsd: Cope with Apple thinking different about shlib extensions 2021-08-08 23:14:46 +00:00
graphics opencv-contrib-face: update distinfo to match opencv 2021-08-12 07:13:36 +00:00
ham *: Recursive revbump from audio/pulseaudio-15.0 2021-07-30 12:26:37 +00:00
inputmethod ibus-python: remove reference to Linux in DESCR 2021-06-23 20:25:13 +00:00
lang lang/pear: update to 1.10.13 2021-08-12 14:30:27 +00:00
licenses Add SMath Studio as math/smath-studio. 2021-06-29 14:28:12 +00:00
mail Revbump all Go packages after go116 update 2021-08-11 19:35:03 +00:00
math Update to 4.1.1 2021-08-11 09:38:37 +00:00
mbone *: recursive bump for perl 5.34 2021-05-24 19:49:01 +00:00
meta-pkgs meta-pkgs/bulk-*: update for new pkgsrc defaults 2021-08-09 11:09:03 +00:00
misc libmateweather: update to 1.24.1 2021-08-06 00:05:49 +00:00
mk mk: Add MariaDB 10.6 bits. 2021-08-04 16:08:43 +00:00
multimedia lightspark: update to 0.8.5 2021-08-11 20:52:18 +00:00
net Revbump all Go packages after go116 update 2021-08-11 19:35:03 +00:00
news sfeed_curses: Update to 1.0 2021-08-08 10:52:19 +00:00
packages
parallel opencl-clang: update to 12.0.0 2021-08-11 20:49:25 +00:00
pkgtools pkgtools/pkglint: update to 21.2.3 2021-08-12 05:29:41 +00:00
print print/jpeg-to-pdf: update to 0.2.3 2021-08-10 05:35:28 +00:00
regress *: recursive bump for perl 5.34 2021-05-24 19:49:01 +00:00
security putty: remove patch that was removed from distinfo during 0.76 update 2021-08-12 07:14:27 +00:00
shells Revbump all Go packages after go116 update 2021-08-11 19:35:03 +00:00
sysutils u-boot-rockpro64-ayufan: fix pasto 2021-08-12 07:38:47 +00:00
templates templates: disable search bar until the results are better 2021-04-21 11:14:11 +00:00
textproc Revbump all Go packages after go116 update 2021-08-11 19:35:03 +00:00
time py-ciso8601: updated to 2.2.0 2021-08-09 13:07:40 +00:00
wm afterstep: remove patch that was removed from distinfo during 2.2.12 update 2021-08-12 07:15:32 +00:00
www lynx: Address CVE-2021-38165 2021-08-12 04:20:11 +00:00
x11 sakura: update to 3.8.3 2021-08-10 12:11:34 +00:00
_NetBSD-pkgdb _NetBSD-pkgdb: Use $@ insted of $* 2020-12-29 17:56:14 +00:00
Makefile
pkglocate
README.md use libera.chat's hosted kiwiirc 2021-05-29 13:14:10 +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