DFSG NEW Queue

DFSG, Licensing & New Packages Team

repmgr 5.5.1-2

Package Information

Descriptionreplication manager for PostgreSQL common files

repmgr is an open-source tool suite for managing replication and failover in a cluster of PostgreSQL servers. It enhances PostgreSQL's built-in hot-standby capabilities with tools to set up standby servers, monitor replication, and perform administrative tasks such as failover or manual switchover operations.

This package contains repmgr files common to all versions.

MaintainerMarco Nenciarini <mnencia@debian.org>
Changed ByChristoph Berg <myon@debian.org>
Sponsormyon@debian.org
Distributionunstable
Architectureany all
VCSgit: https://salsa.debian.org/postgresql/repmgr.git (browse)
Popcon Installs117
Binary NEWYes (new binary packages of a source already in sid)
Trackerhttps://tracker.debian.org/pkg/repmgr
Uploaded1 day ago
Supersedes5.5.1-1

New Package Report

.changes◂
Sourcerepmgr
Version5.5.1-2
Changed-ByChristoph Berg <myon@debian.org>
Architecturesource amd64 all
Distributionunstable
DateWed, 25 Nov 2026 22:53:55 +0100
Changelog◂
repmgr (5.5.1-2) unstable; urgency=medium
 .
   * Team upload.
   * Document PostgreSQL license of dirutil.c and doc/stylesheet*.
   * Drop dependency on lsb-base.
.dsc◂
Package-Listpostgresql-19-repmgr deb database optional arch=any
repmgr deb database optional arch=all
repmgr-common deb database optional arch=all
Sectiondatabase
Priorityoptional
Componentmain
debian/copyright◂
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: repmgr
Source: http://www.repmgr.org/

Files: *
Copyright: 2010-2024, EnterpriseDB Corporation
License: GPL-3+

Files: compat.c
 compat.h
 controldata.c
 controldata.h
Copyright: 1994, Regents of the University of California
  1996-2016, PostgreSQL Global Development Group
  2010-2024, EnterpriseDB Corporation
License: GPL-3+

Files: dirutil.c
Copyright: 1994, Regents of the University of California
  1996-2022, PostgreSQL Global Development Group
  2010-2021, EnterpriseDB Corporation
License: GPL-3+ and PostgreSQL

Files: doc/stylesheet*
Copyright: 1994, Regents of the University of California
  1996-2024, PostgreSQL Global Development Group
License: PostgreSQL

Files: configure
Copyright: 1992-1996, 1998-2012, Free Software Foundation, Inc.
  2010-2024, EnterpriseDB Corporation
License: FSFUL

Files: debian/*
Copyright: 2011-2023 Debian PostgreSQL Maintainers <team+postgresql@tracker.debian.org>
           2011-2023 EnterpriseDB Corporation
License: GPL-3+

License: FSFUL
 This configure script is free software; the Free Software Foundation
 gives unlimited permission to copy, distribute and modify it.

License: GPL-3+
 This program is free software: you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation, either version 3 of the License, or
 (at your option) any later version.
 .
 This program is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU General Public License for more details.
 .
 You should have received a copy of the GNU General Public License
 along with this program.  If not, see http://www.gnu.org/licenses/
 to obtain one.
 .
 On Debian systems, the complete text of the GNU General
 Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".

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 1 blocker, 0 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 1 day ago.

Report◂

DFSG NEW review for repmgr version 5.5.1-2

Summary

  • Licensing is DFSG-compliant and debian/copyright is accurate: No
  • Packaging is of good quality: Yes
  • Issues: 1 blocker, 0 important, 1 minor
  • debian/watch: version 5
  • debian/copyright: machine-readable
  • Scan before the review: 2 found

Licensing

The whole tree is free-licensed and the licences are compatible: GPL-3+ for repmgr itself (LICENSE, COPYRIGHT and every source header grant "version 3 or later"), the PostgreSQL licence for the PostgreSQL-derived files and documentation stylesheets, FSFUL for the autoconf-generated configure. Both licence texts are present (PostgreSQL in full, GPL-3 by reference to /usr/share/common-licenses/GPL-3), and every copyright holder found is named. One file is misdescribed: doc/website-docs.css is part of the PostgreSQL documentation stylesheet set that the Files: doc/stylesheet* stanza declares PostgreSQL-licensed, but because its name does not match that pattern it falls to Files: * as EnterpriseDB GPL-3+.

Packaging

Solid team packaging: debhelper 13 with --with pgxs, pg_buildext per-version builds with an explicit libdir/datadir, correct repmgr-common/repmgr/postgresql-19-repmgr split and substvars, an autopkgtest running pg_buildext installcheck, a systemd template unit with a NEWS entry, a current Standards-Version and resolvable build dependencies. Only patch hygiene falls short: neither quilt patch carries DEP-3 headers and debian/patches/libs has no explanation at all.

Issues

blocker licensing 1. doc/website-docs.css is declared EDB GPL-3+ in Files: * although it is part of the PostgreSQL stylesheet set that the doc/stylesheet* stanza declares PostgreSQL-licensed ◂
  • Files: debian/copyright:24-27, debian/copyright:5-7, doc/website-docs.css:1, doc/stylesheet.css:3, doc/Makefile:47, doc/stylesheet.dsl:1
  • Basis: inferred from what was read, not seen directly
  • Evidence: Files: doc/stylesheet* / Copyright: 1994, Regents of the University of California / 1996-2024, PostgreSQL Global Development Group / License: PostgreSQL versus Files: * / Copyright: 2010-2024, EnterpriseDB Corporation / License: GPL-3+; doc/website-docs.css:1 /* PostgreSQL.org Documentation Style */, doc/stylesheet.css:3 @import 'website-docs.css';, doc/Makefile:47 cp $(srcdir)/stylesheet.css $(srcdir)/website-docs.css html/, doc/stylesheet.dsl:1 <!-- doc/src/sgml/stylesheet.dsl -->
  • Problem: The doc/stylesheet* stanza was added (changelog 5.5.1-2, "Document PostgreSQL license of dirutil.c and doc/stylesheet*") for the DocBook stylesheets taken from PostgreSQL's doc/src/sgml. website-docs.css is the other half of exactly that set: it carries the same PostgreSQL.org header, is the file stylesheet.css imports, is copied by the doc build next to it, and sits beside stylesheet.dsl, whose own first line names its PostgreSQL source path. Its name does not match doc/stylesheet*, so it is caught by Files: * and attributed to EnterpriseDB under GPL-3+ instead of to the Regents/PGDG under the PostgreSQL licence. Both licences are free, so this is not a DFSG problem, but debian/copyright is inaccurate for a file that is installed through repmgr-common.docs (doc/*), contrary to Policy 12.5 and copyright-format 1.0.
  • Fix: Widen the stanza to Files: doc/stylesheet*, doc/website-docs.css (or add a stanza for doc/website-docs.css with the same Copyright lines and License: PostgreSQL).
minor packaging 2. debian/patches/libs has no description at all and neither quilt patch has DEP-3 headers ◂
  • Files: debian/patches/libs:1, debian/patches/include:1
  • Basis: checked, in the package or with a reference tool
  • Evidence: debian/patches/libs begins directly with --- a/Makefile.global.in; debian/patches/include opens with a bare two-line note plus https://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=f5e0186f8 and no Description:, Origin:, Author: or Forwarded: field
  • Problem: A patch with no statement of purpose cannot be reviewed, carried across upstream releases or forwarded: nothing in the package says why -L$(pkglibdir) is appended to PG_LDFLAGS. The include patch bundles two distinct changes (include-path order for PostgreSQL 19, and -std=gnu89 to -std=gnu11) with only a terse note. DEP-3 headers are the established practice for patches in a 3.0 (quilt) source package.
  • Fix: Give each patch a DEP-3 header with at least a Description of what it changes and why and a Forwarded status (with a URL when upstream has the change), and consider splitting debian/patches/include into the include-path fix and the language-standard change.
Verified ◂
  • Read the whole of debian/ (control, control.in, rules, changelog, copyright, NEWS, patches, tests, install/docs/links files, init script, unit, default file, lrc.config, gbp.conf, gitlab-ci.yml, pgversions, clean, source/format) except debian/watch, which is checked separately.
  • Inventoried all 161 upstream files: C sources and generated-at-build inputs, extension SQL upgrade scripts, DocBook/XSL/CSS documentation sources, regression test data, .github/CODEOWNERS, .md files; no built programs, bytecode, minified code, archives, PDFs, images or fonts.
  • debian/copyright is DEP-5 with the current Format URL; GPL-3+ refers to /usr/share/common-licenses/GPL-3; the PostgreSQL licence text is reproduced in full with its notice clause; the FSFUL text matches configure's own unlimited-permission notice.
  • LICENSE is the GPL-3 text and every source header grants "version 3 ... or any later version", so GPL-3+ is right; CONTRIBUTING.md's shorter "GPL v3" is an abbreviation and COPYRIGHT grants "or later", as debian/lrc.config records.
  • Grepped the tree for Copyright, (C), ©, SPDX-License-Identifier, GNU GPL/LGPL/Affero, Apache, MPL, public domain, MIT/BSD wording, non-commercial and no-modification terms: holders are EnterpriseDB, Regents of the University of California, PostgreSQL Global Development Group and the FSF only, all named in debian/copyright; no SPDX tags, no third-party or non-free licence text, no vendored library.
  • dirutil.c is derived from PostgreSQL's src/port/dirmod.c and is correctly given GPL-3+ and PostgreSQL; compat.c/compat.h/controldata.c/controldata.h name the PGDG and Regents portions and their own upstream header licenses the whole file GPL-3+, which the copyright file matches.
  • prescan wording hits accounted for: doc/configuration-permissions.xml:125 and :131 are DocBook prose about granting EXECUTE on pg_wal_replay_resume() and pg_promote() ("if permission is not granted ..."), ordinary database-privilege documentation, not licence terms. doc/legal.xml's "All rights reserved" follows a GPL-3+ grant from the named holder EDB, and COPYRIGHT's "All rights reserved" precedes the same GPL-3+ grant.
  • Prescan author check confirmed by inspection: no copyright holder in the tree is absent from debian/copyright.
  • Every name in debian/control resolves in the archive: architecture-is-64-bit (architecture-properties 0.2.6), postgresql-19 19.0-2, postgresql-all 297, postgresql-server-dev-all 297, postgresql-common-dev 297, libnuma-dev; libpam-dev is a virtual package provided by libpam0g-dev, which Policy 7.5 permits in Build-Depends.
  • Standards-Version 4.7.4 against the reviewing system's Policy 4.7.4.1: current.
  • debian/rules: compat 13 with --with pgxs, pg_buildext configure/build per supported version with explicit --libdir/--datadir, and ${repmgr:Depends} alternatives whose trailing | Dpkg::Deps drops harmlessly; dh_installinit --name=repmgrd matches debian/repmgr-common.repmgrd.init, and the versioned package gets repmgr-common (>= ${source:Version}).
  • Dropping the lsb-base dependency is correct: /lib/lsb/init-functions now comes from sysvinit-utils (Essential: yes, Provides/Replaces lsb-base) on the reviewing system.
  • autopkgtest: debian/tests/installcheck only initialises PGXS files and runs pg_buildext installcheck with postgresql-common-dev and the built binary packages (@); the systemd template unit and the by-default-disabled init script coexist without conflict.
  • Changelog is consistent (unstable, 5.5.1-2 > 5.5.1-1, valid dates and signatures); source format is 3.0 (quilt); no maintainer scripts of its own.
  • uscan found the packaged version as the newest upstream release (upstream 5.5.1, packaged 5.5.1).
  • Every pointer of debian/copyright to /usr/share/common-licenses names a file that is there (GPL-3).
Not confirmed ◂
  • The provenance of doc/website-docs.css is inferred from the file's own header, its role in the doc build (imported by doc/stylesheet.css, copied by doc/Makefile, beside doc/stylesheet.dsl which names doc/src/sgml) and the maintainers' own PostgreSQL declaration for the sibling files; PostgreSQL's copy of the file was not available on the reviewing system to compare byte for byte.
  • postgresql-common-dev is not installed on the reviewing system, so I could not read pg_buildext to confirm that its configure/supported-versions steps do not need postgresql-all outside the test path; nothing in debian/rules or the packaging suggests they do, and the archived 5.5.1-1 build argues they do not.
  • Why the model asked for what a review has no use for. During this review it asked once for something outside the package and the reviewing system (another file of the sandbox, or a URL), or was given part of the review tooling's own configuration, and that was refused or withheld. A model does this when something it has read tells it to, so look in the package for text addressed to a reviewing program, and treat this report with suspicion. Refused: glob: "/lib/lsb/init-functions" is not a file of the package or of the reviewing system.
Proposed changes ◂

None.

Uploader's response to the LLM review

Oh well. The copyright file is complete now, just that pattern is a little off. Fixed in git.

— Christoph Berg (myon), 16 hours ago

Back to Dashboard | View all reviews for this package