BSD Ports

databases/p5-DBD-Pg 3.21.1 MidnightBSD

Provides access to PostgreSQL databases through the DBI

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
Last update
Commit
e6ce42373a
License
artistic, gpl
Categories
databases, perl5

Description

DBD::Pg is an extension to Perl which allows access to PostgreSQL databases. It is built on top of the standard DBI extension and implements some of the methods that DBI defines.

In the other systems

SystemPortVersion
MidnightBSDdatabases/p5-DBD-Pg3.21.1
FreeBSDdatabases/p5-DBD-Pg3.21.2
OpenBSDdatabases/p5-DBD-Pg3.17.0
DragonFlydatabases/p5-DBD-Pg3.18.0
HardenedBSDdatabases/p5-DBD-Pg3.21.2
GhostBSDdatabases/p5-DBD-Pg3.21.2
OPNsensedatabases/p5-DBD-Pg3.20.2

Install

Binary package:

mport install p5-DBD-Pg

From mports:

cd /usr/mports/databases/p5-DBD-Pg && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-DBD-Pg>0:databases/p5-DBD-Pg

Dependencies

As this port's Makefile names them.

Build 1

Runtime 1

Build dependencies 1
Run dependencies 1

Configuration

No options to configure.

USES
perl5 pgsql
Service scripts
none

Files

pkg-plist 5
  • %%SITE_ARCH%%/Bundle/DBD/Pg.pm
  • %%SITE_ARCH%%/DBD/Pg.pm
  • %%SITE_ARCH%%/auto/DBD/Pg/Pg.so
  • %%PERL5_MAN3%%/Bundle::DBD::Pg.3.gz
  • %%PERL5_MAN3%%/DBD::Pg.3.gz
distinfo 1
FileSizeSHA256
DBD-Pg-3.21.1.tar.gz317973f3fe2b2d74424a4360c86f49a59b7ed23af0db1e47ef7388a6b70706a9ce4db6
Master sites 1
  • CPAN

Commit history 2

DateCommitCreditsLog message
e6ce42373a Lucas Holt databases/p5-DBD-Pg: update to 3.21.1 (#773)
Updates `databases/p5-DBD-Pg` from 3.20.2 to 3.21.1. ## Security context Upstream 3.21.1 fixes **CVE-2026-78183**, a heap out-of-bounds write in `quote_float()`. For the special literals `NaN`, `Inf`, `+Inf`, `-Inf`, `Infinity`, `+Infinity` and `-Infinity`, the function emitted the literal wrapped in single quotes plus NUL (`length + 3` bytes) while allocating only `length + 1` — a two-byte overflow, reachable via `$dbh->quote($val, DBI::SQL_NUMERIC)`. **mports was never vulnerable.** The bug was introduced in 3.21.0 by the quote.c rewrite, and the tree was on 3.20.2, which predates it. No other port bundles a copy — all consumers (`comms/atslog`, `databases/pgtop`, `databases/postgresqltuner`, `mail/sympa`, `mail/spamassassin`, …
787dcc0cd6 Lucas Holt all p5 ports: fix CPAN author fetch paths
Add CPAN author subdirectories for 42 distributions whose generic module paths no longer resolve. AI-Assisted-by: Codex <[email protected]> Signed-off-by: Lucas Holt <[email protected]>