pgauditlogtofile 1.8.7-2
Package Information
| Description | PostgreSQL pgAudit Add-On to redirect audit logs pgAudit Log to File is an addon to pgAudit than will redirect audit log lines to an independent file, instead of using PostgreSQL server logger. This allows to have an audit file that we can easily rotate without polluting server logs with those messages. Audit logs in heavily used systems can grow very fast. This extension allows to automatically rotate the files. |
|---|---|
| Maintainer | Debian PostgreSQL Maintainers <team+postgresql@tracker.debian.org> |
| Changed By | Christoph Berg <myon@debian.org> |
| Sponsor | myon@debian.org |
| Distribution | unstable |
| Architecture | any |
| VCS | git: https://salsa.debian.org/postgresql/pgauditlogtofile.git -b master (browse) |
| Popcon Installs | 36 |
| Binary NEW | Yes (new binary packages of a source already in sid) |
| Tracker | https://tracker.debian.org/pkg/pgauditlogtofile |
| Uploaded | 2 hours ago |
New Package Report
.changes
| Distribution | unstable |
|---|---|
| Date | Thu, 26 Nov 2026 10:53:28 +0100 |
| Source | pgauditlogtofile |
| Version | 1.8.7-2 |
| Changed-By | Christoph Berg <myon@debian.org> |
| Architecture | source amd64 |
Changelog
pgauditlogtofile (1.8.7-2) unstable; urgency=medium . * Upload for PostgreSQL 19. * Copyright overhaul.
.dsc
| Priority | optional |
|---|---|
| Component | main |
| Package-List | postgresql-19-pgauditlogtofile deb database optional arch=any |
| Section | database |
debian/copyright
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: pgauditlogtofile
Source: https://github.com/fmbiete/pgauditlogtofile
Files: *
Copyright: Copyright (c) 2014 2ndQuadrant Ltd.
Copyright (c) 2020-2026 Francisco Miguel Biete Banon
Copyright (c) 1996-2021 The PostgreSQL Global Development Group
Copyright (c) 1994 The Regents of the University of California
License: PostgreSQL
Files: debian/*
Copyright: 2022-2023 Michael Banck <mbanck@debian.org>
2022-2026 Christoph Berg <myon@debian.org>
License: PostgreSQL
License: PostgreSQL
Permission to use, copy, modify, and distribute this software and its
documentation for any purpose, without fee, and without a written agreement
is hereby granted, provided that the above copyright notice and this
paragraph and the following two paragraphs appear in all copies.
.
IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY FOR
DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING
LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS
DOCUMENTATION, EVEN IF THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
.
THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS
ON AN "AS IS" BASIS, AND THE UNIVERSITY OF CALIFORNIA HAS NO OBLIGATIONS TO
PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
DFSG Assistant LLM REVIEW 0 blocker, 0 important, 2 minor
This is an LLM based review using a Debian Inference based workflow. It was not written by a member of the DFSG team and has not been checked by one. It is not a decision on the package: it may be wrong, and it may have missed things.
Reviewed 1 hour ago.
Report
DFSG NEW review for pgauditlogtofile version 1.8.7-2
Summary
- Licensing is DFSG-compliant and
debian/copyrightis accurate: Yes - Packaging is of good quality: Yes
- Issues: 0 blocker, 0 important, 2 minor
- debian/watch: version 5
- debian/copyright: machine-readable
- Scan before the review: nothing found
Licensing
debian/copyright is DEP-5 (Format 1.0) and names all four upstream holders plus the Debian changes; a stand-alone License: PostgreSQL paragraph carries the licence text (not in /usr/share/common-licenses, so required). Every one of the 37 .c/.h files carries the same PostgreSQL-licence header, LICENSE carries the University of California text whose holders are listed, and COPYING carries 2ndQuadrant's variant of the same permissive licence (identical permission grant, disclaimers naming 2NDQUADRANT instead of UC). No non-free terms, no unlicensed file, no vendored third-party code, no built file whose source is absent. The scan found every copyright holder it extracted named in the copyright file.
Packaging
Team-maintained PGXS package done the standard PostgreSQL-team way: dh with the pgxs_loop addon at compat 13, per-version binary naming and ${postgresql:Depends}/${postgresql:Breaks}, Build-Depends that all resolve in the archive (postgresql-19-pgaudit 19.0-2, postgresql-common-dev/server-dev-all/postgresql-all 297, architecture-is-64-bit via architecture-properties), postgresql-all <!nocheck> used only by the tests, autopkgtest via pg_buildext, Standards-Version 4.7.4 against Policy 4.7.4.1, sane changelog and Vcs/Homepage/metadata. Only minor defects: the two patches have no DEP-3 headers, and debian/rules clean leaves the regression runner's output behind.
Issues
minor packaging 1. debian/patches/regress and skip-unstable carry no DEP-3 header ◂
- Files:
debian/patches/regress:1,debian/patches/skip-unstable:1,debian/patches/series - Basis: checked, in the package or with a reference tool
- Evidence:
debian/patches/regressbegins directly with--- a/test/expected/extension_exists.out;debian/patches/skip-unstablebegins with the bare prose lineThese tests depend on a timestamp in the filename, they fail very often(noDescription:field), then the diff. - Problem: Neither patch states in DEP-3 form what it does, where it came from or whether it was forwarded, and
regressgives no reason for deleting the setup/teardown output from test/expected/extension_exists.out or for dropping--user=postgresfrom REGRESS_OPTS, so its purpose (matching a stale expected file and letting the tests run as the unprivileged build user) has to be guessed from the diff. This is the established patch-documentation convention (DEP-3) that sponsors ask for, not a Policy violation. - Fix: Add DEP-3 headers:
Description:, plusOrigin:/Forwarded:(andBug:if reported) to both patches, explaining the stale expected file and why--user=postgrescannot be kept; note in skip-unstable that the flaky-test fixes were or should be sent upstream.
minor packaging 2. debian/clean does not remove test/regression.out and test/regression.diffs ◂
- Files:
debian/clean:1,test/.gitignore:2-4,Makefile:24 - Basis: inferred from what was read, not seen directly
- Evidence:
debian/cleancontains onlytest/results/; the upstreamtest/.gitignorelistsresults,regression.diffsandregression.out;Makefile:24setsREGRESS_OPTS = --inputdir=test --outputdir=test .... - Problem: The regression suite is run at build time (dh's test step; changelog 1.6.2-2 records that tests are run at build time), and pg_regress writes test/regression.out on every run (test/regression.diffs on failure) into the --outputdir.
debian/rules cleantherefore does not undo every effect of the build, contrary to Policy 4.9, anddpkg-source -bon the tree after a build fails on the unrepresentable new files. - Fix: Add
test/regression.outandtest/regression.diffsto debian/clean.
Verified ◂
- debian/copyright read in full: DEP-5 Format 1.0,
Files: *naming 2ndQuadrant Ltd., Francisco Miguel Biete Banon, The PostgreSQL Global Development Group and The Regents of the University of California,Files: debian/*naming Michael Banck and Christoph Berg, and a stand-aloneLicense: PostgreSQLparagraph. - All 37 .c/.h files carry
Copyright (c) 2020-2026or2026, Francisco Miguel Biete BanonandThis code is released under the PostgreSQL licence; pgauditlogtofile.c also carriesCopyright (c) 2014, 2ndQuadrant Ltd. - COPYING is the 2ndQuadrant-named PostgreSQL licence for the 2014 pglog-derived code (same permission paragraph as debian/copyright, disclaimers naming 2NDQUADRANT); LICENSE is the University of California text. Both grant the same permissive rights the copyright file quotes, and the holders in both are named; I do not consider the differing disclaimer party an inaccurate licence statement.
- grep over the whole tree for GNU/LGPL/Apache/BSD/MIT/Mozilla/public domain/All rights reserved/non-commercial/no modification/CC-*/SPDX found only the string literal
BSD authentication failedin logtofile_shmem.c; no other licence or restriction occurs. - No built files in the tree: pgauditlogtofile.so/.bc and pgauditlogtofile--*.sql / pgauditlogtofile.control are generated by Makefile rules from pgauditlogtofile.control.in and the SQL dummy rule (generator present); no images, fonts, PDFs or archives.
- All remaining upstream files (Makefile, README.md, .gitignore, test/Dockerfile, test/Vagrantfile, test/sql, test/expected, test/sql/common) are covered by
Files: *; they carry no separate holder or licence. - Both patches apply and were read: regress truncates test/expected/extension_exists.out to the shipped extension_exists.sql and drops --user=postgres from REGRESS_OPTS; skip-unstable reduces REGRESS to extension_exists guc_defaults audit_file_mode.
- debian/control (and control.in with its PG placeholders): debhelper-compat 13, Architecture any, Standards-Version 4.7.4 (Policy here is 4.7.4.1, so current), ${misc:Depends}, ${postgresql:Depends}, ${shlibs:Depends}, Breaks ${postgresql:Breaks}, Vcs-Browser/Vcs-Git/Homepage present.
- Build/runtime dependencies checked with apt-cache: postgresql-19-pgaudit 19.0-2, postgresql-common-dev 297, postgresql-server-dev-all 297, postgresql-all 297, architecture-is-64-bit provided by architecture-properties 0.2.6+b2; postgresql-19-pgauditlogtofile is only the package under review, so its absence from the archive is expected.
postgresql-all <!nocheck>is needed only by the tests (pg_buildext installcheck during dh's test step and in autopkgtest); the build itself uses postgresql-server-dev-all and the zlib/lz4/zstd/krb5 libraries, so I found no <!nocheck> FTBFS (compat 13 skips dh_auto_test under nocheck).- debian/changelog: unstable, 1.8.7-2, dates normal, per-PostgreSQL-version rename consistent with earlier entries; debian/source/format 3.0 (quilt); debian/upstream/metadata present; debian/watch not reviewed.
- debian/tests/control (installcheck, Depends postgresql-common-dev, @, Restrictions allow-stderr) and debian/tests/installcheck read; the script loops over pg_buildext installed-versions, runs installcheck-$v with the pgaudit/logging options and prints test/regression.diffs on failure.
- uscan found the packaged version as the newest upstream release (upstream
1.8.7, packaged1.8.7).
Not confirmed ◂
- postgresql-common is not installed on the reviewing system, so I could not read pg_buildext/pg_virtualenv. If
pg_buildext installed-versionsonly counts versions with /usr/lib/postgresql/N/bin/pg_config (shipped by postgresql-server-dev-NN, which neither postgresql-common-dev nor @ pulls in), the autopkgtest loop would run no test and pass vacuously; if it counts server versions,make installcheckwould fail for lack of PGXS/pg_regress. An autopkgtest run, or adding postgresql-server-dev-all to debian/tests/control, would settle whether the test currently exercises the package.
Proposed changes ◂
None.
Uploader's response to the LLM review
Oh well.
— Christoph Berg (myon), 0 hours ago