postgresql-semver 0.43.0-2
Package Information
| Description | Semantic version number type for PostgreSQL This library contains a single PostgreSQL extension for a data type called 'semver'. It implements the version number format described in the Semantic Versioning 2.0.0 Specification. [1] [1] https://semver.org/spec/v2.0.0.html |
|---|---|
| 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/debian/postgresql-semver.git (browse) |
| Popcon Installs | 34 |
| Binary NEW | Yes (new binary packages of a source already in sid) |
| Tracker | https://tracker.debian.org/pkg/postgresql-semver |
| Uploaded | 2 hours ago |
New Package Report
.changes
| Distribution | unstable |
|---|---|
| Date | Wed, 25 Nov 2026 17:56:08 +0100 |
| Source | postgresql-semver |
| Version | 0.43.0-2 |
| Changed-By | Christoph Berg <myon@debian.org> |
| Architecture | source amd64 |
Changelog
postgresql-semver (0.43.0-2) unstable; urgency=medium . * Upload for PostgreSQL 19. * Copyright overhaul.
.dsc
| Section | database |
|---|---|
| Priority | optional |
| Component | main |
| Package-List | postgresql-19-semver deb database optional arch=any |
debian/copyright
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: pg-semver
Upstream-Contact: David E. Wheeler <david@justatheory.com>
Source: https://github.com/theory/pg-semver
Comment:
Debian packaging was adapted from https://github.com/mgit-at/pg-semver-debian
Files:
*
Copyright:
2010-2026 The pg-semver Maintainers: David E. Wheeler, Sam Vilain, Tom Davis,
and Xavier Caron.
License: PostgreSQL
Files: debian/*
Copyright:
2016 mgIT GmbH <office@mgit.at>
2021 Felix Lechner <felix.lechner@lease-up.com>
2026 Christoph Berg <myon@debian.org>
License: Apache-2.0
License: PostgreSQL
This module is free software; you can redistribute it and/or modify it under
the [PostgreSQL License](https://www.opensource.org/licenses/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 pg-semver Maintainers 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 pg-semver Maintainers have been advised of the possibility of such
damage.
.
The pg-semver Maintainers specifically disclaim 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 pg-semver Maintainers no obligations to provide maintenance, support,
updates, enhancements, or modifications.
License: Apache-2.0
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
.
http://www.apache.org/licenses/LICENSE-2.0
.
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
.
On Debian systems, you can also find a copy of the license text at:
.
/usr/share/common-licenses/Apache-2.0
DFSG Assistant LLM REVIEW 0 blocker, 1 important, 1 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 0 hours ago.
Report
DFSG NEW review for postgresql-semver version 0.43.0-2
Summary
- Licensing is DFSG-compliant and
debian/copyrightis accurate: No - Packaging is of good quality: Yes
- Issues: 0 blocker, 1 important, 1 minor
- debian/watch: version 5
- debian/copyright: machine-readable
- Scan before the review: nothing found
Licensing
The bulk of the tree is under the PostgreSQL licence, which LICENSE, README.md, doc/semver.md and src/semver.c all confirm, and debian/copyright reproduces its text. However, test/pgtap-core.sql is a vendored copy of pgTAP Core: its header declares that it is "distributed under the revised FreeBSD license" and it carries no copyright notice, yet debian/copyright covers it with Files: * as PostgreSQL and attributes it to The pg-semver Maintainers. No stanza names the pgTAP project or its holder, and the BSD terms are not reproduced. That is an inaccurate copyright file, though the licence involved is permissive and compatible, so no DFSG violation beyond it.
Packaging
Packaging is in good shape: debhelper compat 13 with dh and the postgresql-common pgxs_loop sequence, a correct Build-Depends set (postgresql-all only for the build-time installcheck, marked <!nocheck>, correct at compat 13), generated debian/control from control.in with pg_buildext, autopkgtest via pg_buildext installcheck, Standards-Version 4.7.4 against Policy 4.7.4.1, and a sane changelog. Only the stale debian/upstream/metadata repository fields are worth fixing.
Issues
important licensing 1. test/pgtap-core.sql is vendored pgTAP code under a revised BSD licence, but debian/copyright declares it PostgreSQL and attributes it to the pg-semver maintainers ◂
- Files:
debian/copyright:9-14,test/pgtap-core.sql:2-4 - Basis: checked, in the package or with a reference tool
- Evidence: test/pgtap-core.sql: "-- This file defines pgTAP Core, a portable collection of assertion\n-- functions ... It is\n-- distributed under the revised FreeBSD license."; debian/copyright stanza: "Files:\n *\nCopyright:\n 2010-2026 The pg-semver Maintainers ...\nLicense: PostgreSQL"
- Problem: test/pgtap-core.sql (3531 lines, used by test/sql/base.sql and test/sql/corpus.sql via \i) is third-party pgTAP code with its own provenance and licence statement, yet debian/copyright treats it as pg-semver maintainers' work under the PostgreSQL licence. DEP-5 requires the Files stanza matching a file to name its holders and its actual licence terms; as written the copyright file records neither pgTAP nor its author (David E. Wheeler / the pgTAP project) for this file, and its stated BSD terms are absent. The file is test-only and not installed in any binary package, but it is distributed in the source package, so debian/copyright must still describe it accurately. Both licences are permissive and compatible, so this is a completeness/accuracy defect rather than a DFSG problem.
- Fix: Add a separate stanza for test/pgtap-core.sql naming the pgTAP copyright holder(s) and stating its actual licence (with the licence text, or a pointer to the PostgreSQL licence if pgTAP's terms are in fact identical to that text, as its header's "revised FreeBSD license" wording may be loosely describing). Since Debian ships pgTAP as postgresql-19-pgtap (1.3.4-2), consider also using the packaged extension instead of the embedded copy.
minor packaging 2. debian/upstream/metadata points Repository at a stale personal Salsa packaging repo instead of upstream, and Bug-Database at the Debian BTS ◂
- Files:
debian/upstream/metadata:1-6 - Basis: checked, in the package or with a reference tool
- Evidence:
Repository: https://salsa.debian.org/lechner/postgresql-semver.gitandBug-Database: http://bugs.debian.org/cgi-bin/pkgreport.cgi?src=postgresql-semver, whiledebian/controlhasVcs-Git: https://salsa.debian.org/debian/postgresql-semver.git - Problem: upstream/metadata describes the upstream project: Repository/Repository-Browse should name upstream's repository (https://github.com/theory/pg-semver, as Upstream-Contact and Source in debian/copyright do) and Bug-Database its issue tracker. The current values name a former maintainer's Debian packaging repository, which no longer matches the team's Vcs-Git, so consumers of the metadata are misled.
- Fix: Set Repository/Repository-Browse to https://github.com/theory/pg-semver (or drop the fields) and Bug-Database to https://github.com/theory/pg-semver/issues/.
Verified ◂
- Read every file under debian/ in full (control, control.in, rules, changelog, copyright, tests/control, tests/installcheck, pgversions, clean, gbp.conf, gitlab-ci.yml, README.Debian, upstream/metadata, source/format); no debian/patches, no maintainer scripts, no .maintscript, no Files-Excluded.
- Read LICENSE, META.json, README.md, doc/semver.md copyright section, src/semver.c header, test headers; grepped the whole tree for copyright/licence wording. All upstream files except test/pgtap-core.sql are under the PostgreSQL licence as declared.
- test/pgtap-core.sql's source is upstream's own file (no debian/patches exist), so it is not created by Debian packaging.
- Prescan found no missing holder; the pg-semver maintainers listed in LICENSE/README/doc/src are all named in debian/copyright's Files: * stanza.
- Standards-Version 4.7.4 matches Policy 4.7.4.1 (policy tool); Build-Depends names exist in the archive: postgresql-server-dev-all 297, postgresql-all 297, architecture-is-64-bit provided by architecture-properties 0.2.6+b2.
- postgresql-all is only needed to run installcheck at build time and is correctly marked <!nocheck>; dh at compat 13 skips dh_auto_test overrides under nocheck, and ${postgresql:}/${misc:}/${shlibs:*} substvars are handled at compat 13 by control.in/pg_buildext.
- debian/clean's semver_binary_copy.bin is inert: the test writes /tmp/semver_binary_copy.bin, so nothing is left in the tree to remove.
- Changelog top entry is 0.43.0-2 to unstable and matches the .dsc; Vcs-* fields point at salsa.debian.org/debian/postgresql-semver.
- uscan found the packaged version as the newest upstream release (upstream
0.43.0, packaged0.43.0). - Every pointer of
debian/copyrightto /usr/share/common-licenses names a file that is there (Apache-2.0).
Not confirmed ◂
- Could not confirm pgTAP's exact licence text locally (no pgTAP package or copyright file installed on this system); only its own statement "revised FreeBSD license" in test/pgtap-core.sql is available.
- The orig tarball could be listed only at its root (theory-pg-semver-96555e5/); individual members were not inspected, but the tree has no Debian patches, so test/pgtap-core.sql is upstream's.
debian/watchlooks atgithub.com/theory/pg-semver, butRepositoryindebian/upstream/metadatanamessalsa.debian.org/lechner/postgresql-semver. Whether these are the same upstream was not checked.
Proposed changes ◂
None.
Uploader's response to the LLM review
This is a false alert, all involved licenses are actually the PostgreSQL license. Also, the pgtap author is the same as the semver author.
— Christoph Berg (myon), 0 hours ago
Metadata fixed in Git.
— Christoph Berg (myon), 0 hours ago