DFSG NEW Queue

DFSG, Licensing & New Packages Team

ip4r 2.4.3-2

Package Information

DescriptionIPv4 and IPv6 types for PostgreSQL 19

This PostgreSQL module provides several data types which can contain single IPv4 or IPv6 addresses or a range of such addresses.

ip4r supports these data types:

ip4: IPv4 address '#.#.#.#' ip4r: IPv4 range '#.#.#.#-#.#.#.#' or '#.#.#.#/#' or '#.#.#.#' ip6: IPv6 address 'xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx' ip6r: IPv6 range '#-#' or '#/#' or '#' ipaddress: IPv4 or IPv6 address iprange: IPv4 or IPv6 range

While PostgreSQL already has built-in types 'inet' and 'cidr', the authors of this module found that they had a number of requirements that were not addressed by the built-in types.

MaintainerDebian PostgreSQL Maintainers <team+postgresql@tracker.debian.org>
Changed ByChristoph Berg <myon@debian.org>
Sponsormyon@debian.org
Distributionunstable
Architectureany
VCSgit: https://salsa.debian.org/postgresql/ip4r.git (browse)
Popcon Installs38
Binary NEWYes (new binary packages of a source already in sid)
Trackerhttps://tracker.debian.org/pkg/ip4r
Uploaded2 hours ago

New Package Report

.changes◂
Architecturesource amd64
Distributionunstable
DateWed, 25 Nov 2026 10:52:51 +0100
Sourceip4r
Version2.4.3-2
Changed-ByChristoph Berg <myon@debian.org>
Changelog◂
ip4r (2.4.3-2) unstable; urgency=medium
 .
   * Upload for PostgreSQL 19.
   * Copyright overhaul.
.dsc◂
Sectionmisc
Priorityoptional
Componentmain
Package-Listpostgresql-19-ip4r deb misc optional arch=any
debian/copyright◂
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: ip4r
Source: https://github.com/RhodiumToad/ip4r

Files: *
Copyright:
 2004-2019 Andrew Gierth
 2003 Steve Atkins
 2000-2013 PostgreSQL Global Development Group
 1994 The Regents of the University of California
License: PostgreSQL

Files: debian/*
Copyright:
 2006-2009 Robert S. Edmonds <edmonds@debian.org>
 2011-2026 Christoph Berg <myon@debian.org>
License: PostgreSQL

License: PostgreSQL
 This code by andrew@tao11.riddles.org.uk Oct 2004 - Nov 2011
 derived from 'ipr' by Steve Atkins <steve@blighty.com> August 2003
 derived from the 'seg' type distributed with PostgreSQL.
 .
 Distributed under the same terms as PostgreSQL itself:
 .
 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 AUTHORS 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 AUTHORS HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 .
 THE AUTHORS 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 AUTHORS HAVE NO OBLIGATIONS TO PROVIDE MAINTENANCE,
 SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.

DFSG Assistant LLM REVIEW 0 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 0 hours ago.

Report◂

DFSG NEW review for ip4r version 2.4.3-2

Summary

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

Licensing

debian/copyright is DEP-5 (correct Format URL), with a Files: * stanza, a debian/* stanza and one standalone PostgreSQL License paragraph giving the full licence text (the PostgreSQL licence is not in /usr/share/common-licenses, so it has to be spelled out, and it is). The upstream LICENSE file carries the same PostgreSQL terms and names Andrew Gierth, Steve Atkins and the PostgreSQL Global Development Group; debian/copyright also lists The Regents of the University of California (the code derives from PostgreSQL's seg type) and the packaging holders. No other file in the tree carries a copyright or licence notice of its own, so Files: * covers everything, and no non-free or unclear terms were found. The licence is DFSG-free and the copyright file is accurate and complete.

Packaging

Standard, well-maintained pkg-postgresql PGXS package: debhelper compat 13 with the pgxs addon, correct ${postgresql:Depends}/${postgresql:Breaks} use, a 64-bit restriction via architecture-is-64-bit <!pkg.postgresql.32-bit>, autopkgtest via pg_buildext installcheck with @ for the built binary, 3.0 (quilt) with one patch, current Standards-Version (4.7.4 against Policy 4.7.4.1), sane changelog and Vcs fields. The only shortfall is that the single quilt patch has no DEP-3 header or any description of why it is needed.

Issues

minor packaging 1. debian/patches/Makefile-docs has no DEP-3 header, so its purpose and forwarding status are undocumented ◂
  • Files: debian/patches/Makefile-docs:1, debian/patches/series:1

  • Basis: checked, in the package or with a reference tool

  • Evidence:

    The whole patch is:

    --- a/Makefile
    +++ b/Makefile
    @@ -22,7 +22,7 @@ endif
    -DOCS	= README.ip4r
    +#DOCS	= README.ip4r
    

    with no Description:, Origin:, Forwarded: or Bug: field.

  • Problem: Policy does not mandate DEP-3 headers, but established Debian practice (and the packaging checks listed for patches) is that every quilt patch say what it does and why, and whether it has been sent upstream. Here the change silently disables PGXS's DOCS installation of README.ip4r (which debian/rules then installs with dh_installdocs --all README.ip4r); without a description a later maintainer cannot tell whether the patch is still needed, whether it is Debian-specific, or whether it should be forwarded.

  • Fix: Add a DEP-3 header, e.g. Description: Do not install README.ip4r through PGXS explaining that debian/rules installs it with dh_installdocs and that PGXS's copy would be left uninstalled and fail dh_missing, plus Forwarded: not-needed (or Forwarded: <URL> if it was sent upstream).

Verified ◂
  • Prescan: dfSG-author-check reported every holder found is named in debian/copyright and listed no individual files; 33 upstream files scanned.
  • Read every file under debian/ (control, control.in, rules, changelog, copyright, source/format, tests/control, tests/installcheck, patches/series, patches/Makefile-docs, upstream/metadata, gitlab-ci.yml, pgversions) and every upstream file except .pc/ (Makefile, LICENSE, README.ip4r, ip4r.control, dotfiles, .github/workflows/, expected/, scripts/, sql/, src/, tools/).
  • debian/copyright: DEP-5 with Files: , debian/ and one stand-alone PostgreSQL Licence paragraph; no Files-Excluded; the text matches upstream LICENSE and includes the permission paragraph and both disclaimers the licence requires.
  • No file under src/, sql/, scripts/, expected/, tools/ or .github/ contains a copyright, SPDX or licence statement (grep for Copyright/(C)/©/SPDX/Licensed/Permission/GNU/Apache/Mozilla/All rights reserved), so the single Files: * stanza covers them all.
  • LICENSE (PostgreSQL licence) names Andrew Gierth 2004-2019, Steve Atkins 2003 and PostgreSQL Global Development Group 2000-2003; debian/copyright lists these, the Regents of the University of California (source of the seg type), and the two packaging authors for debian/*.
  • No non-free wording anywhere in the tree; the PostgreSQL licence is DFSG-free.
  • sql/.sql are pg_regress regression scripts; expected/.out are their expected outputs (test data, not installed); scripts/.sql are the extension install/upgrade SQL scripts installed as PGXS DATA; tools/.mk are make includes; .github/workflows/* are upstream CI definitions — none requires a separate licence stanza.
  • The single quilt patch creates no files (it only modifies Makefile), and debian/patches/series lists only it.
  • Standards-Version 4.7.4 is current against Policy 4.7.4.1 (first two components match); 3.0 (quilt); changelog top entry 2.4.3-2 unstable, dated 25 Nov 2026, matches the .dsc version and Binary field.
  • Build-Depends exist in the reviewing system's lists: postgresql-server-dev-all 297, postgresql-19 19.0-2, architecture-is-64-bit provided by architecture-properties 0.2.6+b2; postgresql-19-ip4r is the binary of this upload and is correctly not in the lists.
  • debian/tests/control uses @ (defined in the debian/tests/control specification as the source's binary packages) and postgresql-common-dev; allow-stderr is appropriate for pg_buildext output; the archive copy of ip4r 2.4.3-1 (postgresql-18-ip4r) shows the ${postgresql:Depends}/${postgresql:Breaks} substvars expanding as expected.
  • At compat 13 dh_installdocs supports -A/--all (debhelper tool, dh_installdocs(1)), and the dh sequencer skips overrides of dh_auto_test/dh_dwz/dh_strip under nocheck.
  • No built, minified or binary files found in the tree.
  • uscan found the packaged version as the newest upstream release (upstream 2.4.3, packaged 2.4.3).
Not confirmed ◂
  • dh_pgxs_test (the pgxs sequence point that runs pg_buildext installcheck) is not installed on the reviewing system, only its manual page, which does not say whether it honours DEB_BUILD_OPTIONS=nocheck. A nocheck build relies on it skipping, since postgresql-all is marked <!nocheck> and postgresql-server-dev-19 does not pull in the postgresql-19 server.
Proposed changes ◂

None.

Uploader's response to the LLM review

The uploader was emailed about the review 0 hours ago.

Back to Dashboard | View all reviews for this package