repmgr 5.5.1-1
Package Information
| Description | replication 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. |
|---|---|
| Maintainer | Marco Nenciarini <mnencia@debian.org> |
| Changed By | Christoph Berg <myon@debian.org> |
| Sponsor | myon@debian.org |
| Distribution | unstable |
| Architecture | any all |
| VCS | git: https://salsa.debian.org/postgresql/repmgr.git (browse) |
| Closes | #1039345 |
| Popcon Installs | 117 |
| Binary NEW | Yes (new binary packages of a source already in sid) |
| Tracker | https://tracker.debian.org/pkg/repmgr |
| Uploaded | 2 hours ago |
New Package Report
.changes
| Source | repmgr |
|---|---|
| Version | 5.5.1-1 |
| Changed-By | Christoph Berg <myon@debian.org> |
| Architecture | source amd64 all |
| Distribution | unstable |
| Date | Wed, 25 Nov 2026 16:44:05 +0100 |
Changelog
repmgr (5.5.1-1) unstable; urgency=medium . [ Luke Yasuda ] * d/control: move to postgresql 19 to unblock the transition * use -std=gnu11 to fix the build with postgresql 19 * add a systemd unit repmgrd@.service (Closes: #1039345) * add a NEWS entry to notify users about the systemd unit . [ Christoph Berg ] * New upstream version 5.5.1. * debian/watch: Upgrade to version 5. * Copyright overhaul.
.dsc
| Component | main |
|---|---|
| Package-List | postgresql-19-repmgr deb database optional arch=any repmgr deb database optional arch=all repmgr-common deb database optional arch=all |
| Section | database |
| Priority | optional |
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: 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".
DFSG Assistant LLM REVIEW 1 blocker, 0 important, 4 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 repmgr version 5.5.1-1
Summary
- Licensing is DFSG-compliant and
debian/copyrightis accurate: No - Packaging is of good quality: Yes
- Issues: 1 blocker, 0 important, 4 minor
- debian/watch: version 5
- debian/copyright: machine-readable
- Scan before the review: 2 found
Licensing
The licensing itself is DFSG-free and compatible: GPL-3+ throughout (COPYRIGHT, LICENSE, every C header), the autoconf-generated configure under the FSF's unlimited-permission notice, and PostgreSQL-derived portions under the permissive PostgreSQL licence. debian/copyright is DEP-5, matches the code's GPL-3+ headers and carries the right licence texts. It is however inaccurate for dirutil.c: that file is copied from PostgreSQL's dirmod.c/initdb.c and its PostgreSQL copyright notice was replaced by EnterpriseDB's, and the PostgreSQL stanza in debian/copyright does not cover it, so the PostgreSQL Global Development Group's and the Regents' copyright is unrepresented for code linked into both shipped programs.
Packaging
Solid team packaging: 3.0 (quilt), debhelper 13 with the pgxs addon, control/control.in in sync for PostgreSQL 19, correct binary split (common files, metapackage, versioned PGXS package), pg_wrapper links, a working init script plus a systemd template unit with a NEWS entry, an autopkgtest, Standards-Version 4.7.4 and Vcs-* fields. The remaining points are minor: no man pages, an obsolete lsb-base dependency, and patches without DEP-3 headers (one with no description at all).
Issues
blocker licensing 1. dirutil.c is PostgreSQL-derived code credited only to EnterpriseDB, and the PostgreSQL stanza of debian/copyright does not cover it ◂
- Files:
debian/copyright:5-17,dirutil.c:1-26,dirutil.c:163-166,dirutil.c:69-135,dirutil.c:307-325,dirutil.c:437-456 - Basis: inferred from what was read, not seen directly
- Evidence: dirutil.c:2
* dirmod.c/* directory handling functions(PostgreSQL's src/port/dirmod.c header) with* Copyright (c) EnterpriseDB Corporation, 2010-2021and no PostgreSQL line; dirutil.c:165/* function from initdb.c */, dirutil.c:166/* source adapted from FreeBSD /src/bin/mkdir/mkdir.c */. debian/copyright names the PostgreSQL holders only in the stanza at :9-17:Files: compat.c compat.h controldata.c controldata.h/Copyright: ... 1996-2016, PostgreSQL Global Development Group 2010-2024, EnterpriseDB Corporation, whileFiles: *(:5-7) gives dirutil.c only2010-2024, EnterpriseDB Corporation. - Problem: dirutil.c carries PostgreSQL's file header, and its check_dir(), mkdir_p() and unlink_dir_callback()/rmtree() are the functions of PostgreSQL's src/bin/initdb/initdb.c, so PostgreSQL Global Development Group (and, for the mkdir_p() chain, the Regents of the University of California) hold copyright in the file; the notices were dropped when EnterpriseDB's header replaced PostgreSQL's. dirutil.o is linked into both repmgr and repmgrd in postgresql-19-repmgr, so Debian Policy 2.3 requires that copyright information in debian/copyright; neither the PostgreSQL stanza nor
Files: *supplies it. The PostgreSQL licence also requires its notice to be retained. - Fix: Add dirutil.c to the PostgreSQL/Regents stanza of debian/copyright (or give it its own stanza), naming the PostgreSQL Global Development Group and the Regents of the University of California alongside EnterpriseDB, and tell upstream that the PostgreSQL notice was lost from the file.
minor licensing 2. doc stylesheets and CSS taken from PostgreSQL's documentation build are credited to EnterpriseDB under GPL-3+ only ◂
- Files:
debian/copyright:5-7,doc/stylesheet.dsl:1,doc/stylesheet.xsl:1-9,doc/stylesheet-common.xsl:1-10,doc/stylesheet-html-common.xsl:1-10,doc/stylesheet-speedup-xhtml.xsl:1-10,doc/stylesheet.css:1,doc/website-docs.css:1 - Basis: inferred from what was read, not seen directly
- Evidence: doc/stylesheet.dsl:1
<!-- doc/src/sgml/stylesheet.dsl -->(PostgreSQL's path in its own tree), doc/website-docs.css:1 and doc/stylesheet.css:1/* PostgreSQL.org Documentation Style */; debian/copyright:5-7Files: */Copyright: 2010-2024, EnterpriseDB Corporation/License: GPL-3+. - Problem: These files are the PostgreSQL project's doc-build customisations, i.e. work of the PostgreSQL Global Development Group under the PostgreSQL licence, but debian/copyright attributes them to EnterpriseDB under GPL-3+. They are only installed as plain text by repmgr-common.docs (
doc/*) and carry no notice of their own, so Policy 2.3 does not require their copyright information in debian/copyright; the DFSG team would still ask for a complete file that names the correct holder and licence. - Fix: Give the doc stylesheets and CSS a stanza naming the PostgreSQL Global Development Group (and the Regents where applicable) under the PostgreSQL licence, or drop them from the installed documentation if they serve only the upstream build.
minor packaging 3. repmgr and repmgrd are shipped without manual pages and with only DocBook XML sources as documentation ◂
- Files:
debian/control:61-77,debian/repmgr-common.docs:1-2 - Basis: checked, in the package or with a reference tool
- Evidence: Policy 12.1:
Each program, utility, and function should have an associated manual page included in the same package or a dependency ... If no manual page is available, this is considered as a bug. No man page exists in the tree (no*.1,*.8or POD source) and debian/repmgr-common.docs installsdoc/*— the DocBook*.xmlsources together with doc/Makefile and the XSL/CSS stylesheets — plus README.md. - Problem: postgresql-19-repmgr ships two user-facing programs, /usr/bin/repmgr and /usr/bin/repmgrd (via pg_wrapper), with no man page, which Policy 12.1 calls a bug; and what is installed as documentation is the DocBook source and its build files, not readable output, so a user has neither
man repmgrnor browsable documentation locally. - Fix: Generate man pages from doc/*.xml (e.g. with docbook-xsl in debian/rules) or ship upstream's pages, and install built HTML (or at least the .md files only) instead of the XML sources and doc/Makefile.
minor packaging 4. repmgr-common depends on the empty transitional package lsb-base ◂
- Files:
debian/control:33,debian/repmgr-common.repmgrd.init:31 - Basis: checked, in the package or with a reference tool
- Evidence:
Depends: lsb-base,in repmgr-common; the init script does. /lib/lsb/init-functions. apt-cache lsb-base:Description-en: transitional package for Linux Standard Base init script functionality ... This is an empty package,Depends: sysvinit-utils (>= 3.05-4~); apt-cache sysvinit-utils:Essential: yes,Provides: lsb-base (= 11.1.0),It also contains the library scripts ... formerly in lsb-base. - Problem: lsb-base no longer contains anything: the init functions now live in sysvinit-utils, which is Essential and Provides lsb-base, so the dependency pulls in a transitional stub for a file that is always present.
- Fix: Drop
lsb-basefrom repmgr-common's Depends (no replacement is needed; if you prefer to be explicit,sysvinit-utils).
minor packaging 5. debian/patches/libs has no description and neither patch has DEP-3 headers ◂
- Files:
debian/patches/libs:1-3,debian/patches/include:1-7,debian/patches/series - Basis: checked, in the package or with a reference tool
- Evidence: debian/patches/libs is only
--- a/Makefile.global.in/+++ b/Makefile.global.inchangingPG_LDFLAGS=-lcurl -ljson-ctoPG_LDFLAGS=-lcurl -ljson-c -L$(pkglibdir), with no description; debian/patches/include has the free-form linesPlace includedir_server first so pg_config.h has the correct PG_VERSION_NUM/Then build with postgresql 19, changed to C11and a PostgreSQL commit URL, but noDescription:,Origin:/Forwarded:orLast-Update:. - Problem: A reader cannot tell why the server's pkglibdir is added to the link path, whether that is still required, or whether either patch was forwarded upstream; DEP-3 headers (Policy's patch guidance, DEP-3 §3) exist to make exactly that recoverable.
- Fix: Give both patches DEP-3 headers — a
Description:explaining the libs patch's purpose (or remove it if no longer needed),Origin:/Forwarded:andLast-Update:— and report the libs change upstream.
Verified ◂
- Full tree inventoried (161 files): 21 top-level C sources plus headers, Makefile.in/Makefile.global.in, configure/configure.in, 27 repmgr--*.sql files, contrib/convert-config.pl, sql/ and expected/ test files, doc/ (73 files), .github/CODEOWNERS;
.pc/left out as instructed. No built objects, archives, images, fonts or PDFs are present. - Prescan wording 1: doc/configuration-permissions.xml:125
pg_wal_replay_resume()"if permission is not granted" is a PostgreSQLEXECUTEprivilege on that function, not a licence term. - Prescan wording 2: doc/configuration-permissions.xml:131
pg_promote()"if permission is not granted ... will fall back to pg_ctl promote" is the same PostgreSQL privilege, not a licence term. - Prescan author check: my own grep for Copyright/(C)/©/SPDX/licence phrases over the whole tree finds only EnterpriseDB Corporation, PostgreSQL Global Development Group, Regents of the University of California, Free Software Foundation and the Debian PostgreSQL Maintainers, all named in debian/copyright; the dirutil.c problem reported above is that no PostgreSQL notice remains in that file to be found.
- Licensing evidence: COPYRIGHT:1-9 and LICENSE (full GPL-3) agree with the GPL-3+ header in every .c/.h file; CONTRIBUTING.md's abbreviated "GPL v3" is explained by debian/lrc.config and contradicted by COPYRIGHT's "or any later version" (GPL-3+ correct).
- debian/copyright is DEP-5 with the correct Format URL; its GPL-3+ and FSFUL paragraphs carry the right text; GPL-3 is referenced via /usr/share/common-licenses/GPL-3 (present).
- configure is an autoconf 2.69 output whose source configure.in is shipped (DFSG fine). Observation, not reported as an issue: it is stale,
Generated by GNU Autoconf 2.69 for repmgr 5.4.0withPACKAGE_VERSION='5.4.0', while configure.in:1 and repmgr_version.h.in say 5.5.1; the code uses REPMGR_VERSION from repmgr_version.h.in, not PACKAGE_VERSION, so the built programs still report 5.5.1. - doc/*.xml are DocBook sources for documentation built by doc/Makefile from files that are all present; no generated html/ or PDF is shipped.
- Packaging files read in full: control, control.in, rules, changelog, NEWS, copyright, compat, source/format (3.0 quilt), gbp.conf, clean, patches/series, patches/include, patches/libs, tests/control, tests/installcheck, repmgr-common.{install,docs,links,repmgrd.init,repmgrd.default}, repmgrd@.service, pgversions, lrc.config.
- Standards-Version 4.7.4 against Policy 4.7.4.1 -> current; Vcs-Git/Vcs-Browser present; changelog distribution unstable with a 5.5.1-1 entry (Closes: #1039345); control and control.in differ only in PGVERSION=19, matching pgversions and postgresql-server-dev-all (=297, which depends on postgresql-server-dev-19).
- postgresql-all is marked <!nocheck> and is needed only by autopkgtest: debian/rules has no override_dh_auto_test and the PGXS Makefile offers no
test/checktarget, so dh_auto_test runs nothing at build time. - repmgrd@.service is shipped through debian/repmgr-common.install, but dh_installsystemd finds units in the package build tree, so it still generates the mask/restart handling; as a template unit it needs no enabling.
- uscan found the packaged version as the newest upstream release (upstream
5.5.1, packaged5.5.1). - Every pointer of
debian/copyrightto /usr/share/common-licenses names a file that is there (GPL-3).
Not confirmed ◂
- The autopkgtest may lack build tools: debian/tests/installcheck builds the source in place with
pg_buildext installcheckin a tree that has only configfile-scan.l (flex is required to make the .c) and an unconfigured Makefile.global (PG_CONFIG :=@PG_CONFIG@), while debian/tests/control depends only on postgresql-common-dev and@and carries nobuild-neededrestriction, so neither flex nor postgresql-server-dev-19 is installed. I could not read pg_buildext or the pgxs debhelper addon (postgresql-common-dev and postgresql-server-dev-all are not installed on the reviewing system) to see whether pg_buildext supplies PG_CONFIG or flex itself. An autopkgtest run would show this. - The ${postgresql:Depends}, ${postgresql:Breaks} and ${repmgr:Depends} substvars (including the trailing
|that$(foreach PGVERSION,...,postgresql-$(PGVERSION)-repmgr |)leaves in the metapackage's dependency) could not be checked against the pgxs debhelper addon's source, which is not installed here; the package is described as building, so this was not reported.
Proposed changes ◂
None.
Uploader's response to the LLM review
Waiting for the uploader's response until , because the review found serious issues.