DFSG NEW Queue

DFSG, Licensing & New Packages Team

Review: nng 2.1.0-1

Package Information

DescriptionLightweight Messaging Library - utility

Lightweight, broker-less library, offering a simple API to solve common recurring messaging problems, such as publish/subscribe, RPC-style request/reply, or service discovery. The API frees the programmer from worrying about details like connection management, retries, and other common considerations, so that they can focus on the application instead of the plumbing.

This package contains the nngcat utility.

MaintainerLaszlo Boszormenyi (GCS) <gcs@debian.org>
Changed ByLaszlo Boszormenyi (GCS) <gcs@debian.org>
Sponsorgcs@debian.org
Distributionexperimental
Architectureany all
Closes#1155008
Popcon Installs3795
Binary NEWYes (new binary packages of a source already in sid)
Trackerhttps://tracker.debian.org/pkg/nng
Uploaded6 days ago

New Package Report

.changes◂
Changed-ByLaszlo Boszormenyi (GCS) <gcs@debian.org>
Architecturesource amd64 all
Distributionexperimental
DateSat, 28 Nov 2026 14:39:19 +0100
Sourcenng
Version2.1.0-1
Changelog◂
nng (2.1.0-1) experimental; urgency=medium
 .
   * New major upstream release.
   * Build with OpenSSL instead of Mbed-TLS (closes: #1155008).
   * Library transition from libnng1 to libnng2 .
   * Update copyright file.
.dsc◂
Priorityoptional
Componentmain
Package-Listlibnng-dev deb libdevel optional arch=any
libnng-doc deb doc optional arch=all
libnng2 deb devel optional arch=any
nng-utils deb devel optional arch=any
Sectionlibdevel
debian/copyright◂
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: nng
Upstream-Contact: https://github.com/nanomsg/nng/issues
Source: https://github.com/nanomsg/nng

Files: *
Copyright: 2017 Garrett D'Amore <garrett@damore.org>,
 2018 Staysail Systems, Inc. <info@staysail.tech>,
 2018 Capitar IT Group BV <info@capitar.com>,
 2018 Devolutions <info@devolutions.net>
License: Expat

Files: demo/stream/*
Copyright: 2020 Hugo Lindström <hugolm84@gmail.com>
License: Expat

Files: include/nng/http.h
Copyright: 2018 Capitar IT Group BV <info@capitar.com>,
 2020 Dirac Research <robert.bielik@dirac.com>,
 2026 Staysail Systems, Inc. <info@staysail.tech>
License: Expat

Files: src/platform/posix/*
Copyright: 2016 Garrett D'Amore <garrett@damore.org>,
 2017-2018 Capitar IT Group BV <info@capitar.com>,
 2018 Liam Staskawicz <liam@stask.net>,
 2018-2019 Devolutions <info@devolutions.net>,
 2020-2026 Staysail Systems, Inc. <info@staysail.tech>
License: Expat

Files: src/sp/protocol/pubsub0/*
Copyright: 2018 Capitar IT Group BV <info@capitar.com>,
 2019 Nathan Kent <nate@nkent.net>,
 2024-2026 Staysail Systems, Inc. <info@staysail.tech>
License: Expat

Files: src/supplemental/http/*
Copyright: 2018 Capitar IT Group BV <info@capitar.com>,
 2018 QXSoftware <lh563566994@126.com>,
 2019 Devolutions <info@devolutions.net>,
 2020 Dirac Research <robert.bielik@dirac.com>,
 2025-2026 Staysail Systems, Inc. <info@staysail.tech>
License: Expat

Files: src/supplemental/websocket/base64.*
Copyright: 2014 Wirebird Labs LLC.,
 2020 Staysail Systems, Inc. <info@staysail.tech>
License: Expat

Files: src/supplemental/websocket/sha1.c
Copyright: 1998, 2009 Paul E. Jones <paulej@packetizer.com>,
 2018 Staysail Systems, Inc. <info@staysail.tech>,
 2018 Capitar IT Group BV <info@capitar.com>
License: Expat and FPL
 Pau,
 .
 That is a little odd to claim it can't be modified. The whole point of
 making it free is so that developers can do anything they want with it.
 Somebody is adding more to what free means than what free means.
 .
 The code is totally free, with no restrictions on it whatsoever. There are
 no fees, no requirements to provide changes back to me, etc., and of course
 people can modify it. It would not be free if they couldn't. (And many
 people have. It's used in lots of projects, some free and some commercial.)
 .
 I inserted the "Freeware Public License" line to poke fun at the GNU General
 Public License, which really is encumbered by silly restrictions. My code has
 absolutely no restrictions whatsoever.
 .
 You are hereby authorized to make any change you want to the license file
 or even adapt it as you see fit to address your own concerns. When I say it
 is free, I mean it really is free :-)
 .
 Paul
Comment:
 See also https://bugs.debian.org/730758 for the clarification of Paul E. Jones.

Files: src/tools/nngcat/*
Copyright: 2018 Capitar IT Group BV <info@capitar.com>,
 2020 Lager Data, Inc. <support@lagerdata.com>,
 2018-2026 Staysail Systems, Inc. <info@staysail.tech>
License: Expat

Files: debian/*
Copyright: 2020 Laszlo Boszormenyi (GCS) <gcs@debian.org>
License: GPL-3+
 This package 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 package 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 3
 along with this program. If not, see <https://www.gnu.org/licenses/>.
 .
 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: Expat
 Permission is hereby granted, free of charge, to any person
 obtaining a copy of this software and associated documentation
 files (the "Software"), to deal in the Software without
 restriction, including without limitation the rights to use, copy,
 modify, merge, publish, distribute, sublicense, and/or sell copies
 of the Software, and to permit persons to whom the Software is
 furnished to do so, subject to the following conditions:
 .
 The above copyright notice and this permission notice shall be
 included in all copies or substantial portions of the Software.
 .
 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
 NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
 HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
 WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
 DEALINGS IN THE SOFTWARE.

License: FPL
 Freeware Public License (FPL)
 .
 This software is licensed as "freeware."  Permission to distribute
 this software in source and binary forms, including incorporation
 into other products, is hereby granted without a fee.  THIS SOFTWARE
 IS PROVIDED 'AS IS' AND WITHOUT ANY EXPRESSED OR IMPLIED WARRANTIES,
 INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
 AND FITNESS FOR A PARTICULAR PURPOSE.  THE AUTHOR SHALL NOT BE HELD
 LIABLE FOR ANY DAMAGES RESULTING FROM THE USE OF THIS SOFTWARE, EITHER
 DIRECTLY OR INDIRECTLY, INCLUDING, BUT NOT LIMITED TO, LOSS OF DATA
 OR DATA BEING RENDERED INACCURATE.

DFSG Assistant LLM REVIEW 0 blocker, 0 important, 3 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 6 days ago.

Report◂

DFSG NEW review for nng version 2.1.0-1

Summary

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

Licensing

The tree is MIT/Expat throughout: LICENSE.txt and docs/LICENSE.adoc give the MIT text, all shipped sources, headers, cmake modules and mdbook sources carry MIT notices, src/supplemental/websocket/base64.c is Wirebird Labs' MIT code, and src/supplemental/websocket/sha1.c combines Expat with Paul E. Jones' FPL, whose author statement permitting modification is quoted in debian/copyright (bug 730758). Every copyright holder of a file that reaches a binary package is named; the only gaps are seven holders of build-system and test sources that are not shipped, and a stanza that describes the test file base64_test.c wrongly - both minor (Policy 2.3 does not require notices for such files) and the only inaccuracies found. debian/copyright is DEP-5 with a correct Format line, full Expat/FPL texts and GPL-3+ pointing at /usr/share/common-licenses/GPL-3.

Packaging

Modern, well-maintained packaging by the existing maintainer: compat 13 with a dh rules file that builds static and shared trees, correct binary split (libnng2 with SONAME 2, libnng-dev, nng-utils, libnng-doc), Multi-Arch set sensibly, DEP-3 patches that still match 2.1.0, and mdbook sources shipped in libnng-doc, which Policy 12.3 permits at /usr/share/doc/nng. Standards-Version 4.7.2 is current and no maintainer scripts are needed. The only fault found is that the OpenSSL >= 3.5 minimum the build enforces is not expressed in the dependencies.

Issues

minor licensing 1. debian/copyright does not name seven holders of CMakeLists.txt, tests/CMakeLists.txt, acutest.h and the test sources (Martin Sustrik, GoPivotal, Jack R. Dunaway, Franklin Mathieu, Martin Mitáš, Cody Piersall, Aleksei Solovev) ◂
  • Files: debian/copyright:6-11, CMakeLists.txt:3-6, tests/CMakeLists.txt:4-7, src/testing/acutest.h:5-6, src/sp/reconnect_stress_test.c:2-3, src/sp/transport/dtls/dtls_tran_test.c:5, src/sp/transport/ipc/ipc_test.c:3, src/sp/transport/socket/sockfd_test.c:5, src/sp/transport/tcp/tcp_test.c:5, src/sp/transport/tls/tls_tran_test.c:5, src/sp/transport/ws/ws_test.c:3
  • Basis: checked, in the package or with a reference tool
  • Evidence: CMakeLists.txt and tests/CMakeLists.txt: Copyright (c) 2012 Martin Sustrik All rights reserved., Copyright (c) 2013 GoPivotal, Inc. All rights reserved., Copyright (c) 2015-2016 Jack R. Dunaway. All rights reserved., Copyright 2016 Franklin "Snaipe" Mathieu; acutest.h: Copyright 2013-2023 Martin Mitáš; test sources: // Copyright 2018 Cody Piersall <cody.piersall@gmail.com>, // Copyright 2024 Aleksei Solovev <solovalex@gmail.com>
  • Problem: Files: * names only Garrett D'Amore, Staysail Systems, Capitar IT Group and Devolutions, so these seven holders are described nowhere in debian/copyright. None of these files reaches a binary package: the two CMakeLists.txt files are build system, and acutest.h plus the *_test.c files are compiled only into test executables (src/testing/CMakeLists.txt installs nothing, and src/CMakeLists.txt installs only the nng target, the public headers from include/nng and the cmake config). Policy 2.3 therefore does not require their notices to be in debian/copyright, so this is minor; the DFSG team still asks for a complete copyright file.
  • Fix: Add a stanza for the build and test files naming all seven holders with License: Expat, e.g. Files: CMakeLists.txt tests/CMakeLists.txt src/testing/acutest.h src/sp/*_test.c src/sp/transport/*/*_test.c.
minor licensing 2. Files: src/supplemental/websocket/base64.* omits Capitar IT Group BV's copyright on base64_test.c and attributes Wirebird to it ◂
  • Files: debian/copyright:47-51, src/supplemental/websocket/base64_test.c:2-3
  • Basis: checked, in the package or with a reference tool
  • Evidence: Stanza Files: src/supplemental/websocket/base64.* / Copyright: 2014 Wirebird Labs LLC., 2020 Staysail Systems, Inc. <info@staysail.tech>; base64_test.c: // Copyright 2024 Staysail Systems, Inc. <info@staysail.tech> and // Copyright 2018 Capitar IT Group BV <info@capitar.com>
  • Problem: The wildcard pattern also matches base64_test.c, so the later stanza overrides Files: * for it and describes it as Wirebird/Staysail code: Capitar's notice is dropped and the Wirebird attribution does not apply to a file with no Wirebird code. The file is test-only and not shipped, so Policy 2.3 does not require its notice; the entry is nevertheless inaccurate, and the DFSG team asks for a complete copyright file.
  • Fix: Narrow the stanza to Files: src/supplemental/websocket/base64.c src/supplemental/websocket/base64.h, or add a separate stanza for base64_test.c naming Staysail Systems 2024 and Capitar IT Group BV 2018.
minor packaging 3. Build-Depends on libssl-dev is unversioned although the build requires OpenSSL 3.5 or newer ◂
  • Files: debian/control:6, src/supplemental/tls/openssl/CMakeLists.txt:20, docs/BUILD_TLS.md:69-73
  • Basis: inferred from what was read, not seen directly
  • Evidence: Build-Depends: debhelper-compat (= 13), cmake, libssl-dev; find_package(OpenSSL 3.5 REQUIRED); OpenSSL requires version 3.5 or newer. ... No effort will be made to support earlier releases.
  • Problem: The OpenSSL engine is the only TLS backend this package builds, and its CMake code refuses anything below 3.5, but debian/control does not record that minimum. In a suite whose libssl-dev is older (stable currently has 3.0) the configure step fails instead of the dependency being unsatisfiable, which is what a versioned Build-Depends exists to express.
  • Fix: Use libssl-dev (>= 3.5) in Build-Depends; the same minimum is worth stating in libnng-dev's Depends, whose static library is linked against OpenSSL 3.5 APIs.
Verified ◂
  • Read debian/copyright in full: DEP-5 with the canonical Format line, Files: * catch-all, seven further Files stanzas, and stand-alone Expat, FPL and GPL-3+ paragraphs (GPL-3+ referring to /usr/share/common-licenses/GPL-3).
  • LICENSE.txt (MIT, Staysail 2021 and Capitar 2018) and docs/LICENSE.adoc (MIT, Staysail and Capitar 2018) match Files: *; the + after Staysail in docs/LICENSE.adoc is an asciidoc line break and that holder is named in debian/copyright.
  • src/supplemental/websocket/sha1.c is MIT for the NNG code with Paul E. Jones' FPL notice retained; debian/copyright's FPL stanza quotes the author's own statement (Debian bug 730758) that the code may be modified freely, and the file is documented as Expat and FPL.
  • src/supplemental/websocket/base64.c and base64.h carry Wirebird Labs' MIT notice naming 2014 Wirebird Labs LLC. and 2020 Staysail, matching their stanza.
  • docs/ref/api/errors.md:33 ("the content must not be modified") describes the buffer returned by nng_strerror, not a licence restriction.
  • docs/ref/copyright.md (Staysail 2026, Capitar 2018, Devolutions 2019, Dirac 2020), docs/theme/nng-site-header.css, nng-site-header.js, nng-print.css and docs/ref/img/staysail-bw-trans.svg (upstream logo) are covered by Files: *; all holders are named there.
  • No binary, minified, archive, PDF or font files in the tree; the only image is the upstream SVG logo, and the icon font referenced by docs/theme/nng-site-header.css is loaded from a URL, not shipped.
  • cmake/FindMbedTLS.cmake, cmake/FindwolfSSL.cmake, cmake/NNGHelpers.cmake, cmake/NNGOptions.cmake, cmake/nng-config.cmake.in and the other cmake files shipped in libnng-dev carry MIT headers naming Staysail Systems and Capitar, which Files: * lists.
  • Checked every stanza against the file headers it covers (demo/stream, include/nng/http.h, src/platform/posix, src/sp/protocol/pubsub0, src/supplemental/http, src/tools/nngcat) and against Files: *: apart from base64_test.c the holders match.
  • The mdbook documentation is shipped as complete source (docs/book.toml, docs/ref/.md, docs/theme/); nothing is generated without its source.
  • Every installed file is accounted for by a .install file: src/CMakeLists.txt installs only the nng target, include/nng headers and the cmake config, tools/nngcat/CMakeLists.txt installs nngcat, and no test/binary is installed; libnng2.install, libnng-dev.install and nng-utils.install match.
  • libnng-doc ships the mdbook sources under /usr/share/doc/nng, which Policy 12.3 expressly permits for a separate documentation package, while its own copyright/changelog stay in /usr/share/doc/libnng-doc.
  • Read all of debian/: control, rules, changelog, all three patches and series, source/format, the four .install files and not-installed; verified patch purposes and DEP-3 headers, SONAME 2 matching libnng2, Multi-Arch settings, and that debhelper 13 skips override_dh_auto_test under nocheck (no <!nocheck> Build-Depends present).
  • Standards-Version 4.7.2 has the current 4.7 first two components; debhelper compat 13 is supported and not deprecated.
  • uscan found the packaged version as the newest upstream release (upstream 2.1.0, packaged 2.1.0).
  • Every pointer of debian/copyright to /usr/share/common-licenses names a file that is there (GPL-3).
Not confirmed ◂
  • The package was not built and its test suite was not run; the statement that no test or build file is installed rests on the CMake install rules and the debian/*.install files, not on an installed file list.
  • Debian bug #730758, cited for Paul E. Jones' FPL clarification, could not be consulted offline; the FPL verdict rests on the author statement quoted inside debian/copyright.
Proposed changes ◂

None.

Uploader's response to the LLM review

The uploader was emailed about the review 6 days ago.

Review Information

accepted — allocated to awm 17 hours ago, started 17 hours ago, completed 15 hours ago.

Final Comment

Other Reviews of this Package

VersionHashAllocatedCompletedReviewerStatusDetails
2.1.0-1 990e7614… 2026-11-29 14:38 2026-11-29 14:38 dfsg-uploader rejected VIEW

Back to Dashboard | View all reviews for this package