DFSG NEW Queue

DFSG, Licensing & New Packages Team

rust-pimalaya-stream 0.4.1+ds-1

Package Information

Descriptionblocking stream and TLS utils for Pimalaya - Rust source code

Stream provides blocking stream and TLS utils for Pimalaya

It opens the streams those clients run on: TCP, TLS and Unix-domain sockets, proxy resolution, and the plain-to-TLS upgrade STARTTLS needs. Anyone building a client on io-imap, io-smtp, io-http or a sibling is a first-class consumer.

This package contains the source for the Rust crate pimalaya-stream, for use with cargo.

MaintainerJonas Smedegaard <dr@jones.dk>
Changed ByJonas Smedegaard <dr@jones.dk>
Sponsorjs@debian.org
Distributionexperimental
Architectureall
VCSgit: https://salsa.debian.org/debian/rust-pimalaya-stream.git (browse)
Closes#1155630
Trackerhttps://tracker.debian.org/pkg/rust-pimalaya-stream
Uploaded3 hours ago

New Package Report

.changes◂
Architecturesource all
Distributionexperimental
DateSat, 28 Nov 2026 11:07:36 +0100
Sourcerust-pimalaya-stream
Version0.4.1+ds-1
Changed-ByJonas Smedegaard <dr@jones.dk>
Changelog◂
rust-pimalaya-stream (0.4.1+ds-1) experimental; urgency=low
 .
   * initial release;
     closes: bug#1155630
.dsc◂
Sectionrust
Priorityoptional
Componentmain
Package-Listlibrust-pimalaya-stream-dev deb rust optional arch=all
debian/copyright◂
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: Stream
Upstream-Contact: https://github.com/pimalaya/stream/issues
Source: https://github.com/pimalaya/stream
 .
 Repackaged, excluding any .git* files.
Files-Excluded:
 */.git*

Files: *
Copyright:
  2024-2026  Clément DOUIN <pimalaya.org@posteo.net>
License-Grant:
 This project is licensed under either of:
 .
 - [MIT license](LICENSE-MIT)
 - [Apache License, Version 2.0](LICENSE-APACHE)
License: Apache-2.0 or Expat
Reference:
 Cargo.toml
 LICENSE-APACHE
 LICENSE-MIT
 README.md

Files:
 debian/*
Copyright:
  2026  Jonas Smedegaard <dr@jones.dk>
License-Grant:
 This packaging 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,
 or (at your option) any later version.
License: GPL-3+
Reference: debian/copyright

Files:
 debian/patches/*
Copyright:
  Jonas Smedegaard <dr@jones.dk>
License: Apache-2.0 or Expat
Reference:
 Cargo.toml
 LICENSE-APACHE
 LICENSE-MIT
 README.md
Comment:
 Patches commonly lack explicit copyright and license.
 For the cases where patches are copyrightable at all,
 copyright is assumed to be held by the author,
 and license is assumed to be the same as main upstream license.

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: GPL-3+
Reference: /usr/share/common-licenses/GPL-3

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 1 hour ago.

Report◂

DFSG NEW review for rust-pimalaya-stream version 0.4.1+ds-1

Summary

  • Licensing is DFSG-compliant and debian/copyright is 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 tree is DFSG-free: MIT/Apache-2.0 throughout, no field-of-use or no-modification terms, and the only upstream holder (Clément DOUIN) is named in the Files: * stanza, with the Expat text reproduced in full. debian/copyright is nevertheless incomplete as a licence document: License: Apache-2.0 or Expat is given without inline text and there is no stand-alone License: Apache-2.0 stanza, while the only pointers to the licence texts sit in Reference: fields that copyright-format 1.0 does not define. The result is that the file installed as /usr/share/doc/librust-pimalaya-stream-dev/copyright contains neither the Apache-2.0 text nor a pointer to it (Policy 12.5); the four lintian tags for this are silenced by debian/source/lintian-overrides instead of fixed.

Packaging

Modern, conventional packaging: debhelper compat 14, dh-rust (dh-sequence-rust) plus dh-sequence-single-binary, a single arch:all librust-*-dev binary with a complete set of versioned Provides, five well-formed DEP-3 patches that take effect, valid autopkgtest tests that only use localhost/unix sockets, Standards-Version 4.7.4 against Policy 4.7.4.1, and a changelog closing the ITP. The only real defect is the leftover autogenerated debian/copyright_hints (FIXME/UNKNOWN data) shipped in the source package; a few documentation references to the removed rustls-aws feature are untidy but not blocking.

Issues

important licensing 1. No stand-alone Apache-2.0 licence stanza, so the installed copyright file has neither Apache-2.0 text nor a /usr/share/common-licenses pointer; the lintian tags are overridden ◂
  • Files: debian/copyright:10-24, debian/copyright:80-82, debian/source/lintian-overrides:2-5

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

  • Evidence:

    Files: *
    Copyright:
      2024-2026  Clément DOUIN <pimalaya.org@posteo.net>
    License-Grant:
     ...
    License: Apache-2.0 or Expat
    Reference:
     Cargo.toml
     LICENSE-APACHE
     LICENSE-MIT
     README.md
    ...
    License: GPL-3+
    Reference: /usr/share/common-licenses/GPL-3
    

    and missing-license-text-in-dep5-copyright Apache-2\.0 *, missing-license-paragraph-in-dep5-copyright apache-2\.0 * in debian/source/lintian-overrides

  • Problem: copyright-format 1.0 §6.7 requires a short name used without inline licence text to be described in a stand-alone License stanza, and that stanza to carry the licence text or a pointer to /usr/share/common-licenses. Reference: (and License-Grant:) are not fields of copyright-format 1.0 (the fields permitted in header, Files and stand-alone stanzas are enumerated in §5–6), so no parser sees the pointer: lintian does not, and neither does a reader of the installed /usr/share/doc/librust-pimalaya-stream-dev/copyright. Apache-2.0 is one of the two distribution licences the recipient may choose, and its text is absent from that file, contrary to Policy 12.5 (the text does exist in the source as LICENSE-APACHE). Suppressing the four resulting lintian tags with debian/source/lintian-overrides:2-5 hides the gap rather than closing it; the same applies to the GPL-3+ stanza at line 81, whose pointer sits in the same non-standard field.

  • Fix: Add a stand-alone License: Apache-2.0 stanza containing On Debian systems, the complete text of the Apache License, Version 2.0 can be found in "/usr/share/common-licenses/Apache-2.0".; move the GPL-3 pointer into the body of the License: GPL-3+ stanza; replace the License-Grant:/Reference: fields with Comment: or fold the text into License:; then delete the four now-unneeded overrides from debian/source/lintian-overrides.

minor packaging 2. Autogenerated debian/copyright_hints with FIXME/NONE/UNKNOWN is shipped in the source package ◂
  • Files: debian/copyright_hints:2-6, debian/copyright_hints:78-82, debian/copyright-check:3
  • Basis: checked, in the package or with a reference tool
  • Evidence: Upstream-Name: FIXME, Upstream-Contact: FIXME, Source: FIXME, Copyright: NONE, License: UNKNOWN, FIXME; the helper writes it: licensecheck ... -- * > debian/copyright_hints
  • Problem: This is the raw output of the licensecheck helper, kept in debian/ and therefore uploaded in the source package. It is stale (it lists no licence for 58 files: Copyright: NONE, License: UNKNOWN) and contradicts the real debian/copyright, so it is misleading to anyone or any tool reading the source package; a sponsor would ask for it to be removed.
  • Fix: Delete debian/copyright_hints from the package (keep it as an ignored local artefact, or have debian/copyright-check write outside debian/). debian/copyright-check itself may stay if it is wanted as a maintainer tool.
Verified ◂
  • Prescan: it reported no unnamed copyright holder; independently grepped the whole tree (excluding .pc/) for Copyright/(C)/©/SPDX/Licensed under/permission/GNU/Apache/MPL/public domain/All rights reserved and found only Clément DOUIN's notices in LICENSE-MIT and Cargo.toml's license = "MIT OR Apache-2.0", which matches Apache-2.0 or Expat (Expat is the DEP-5 short name for MIT).
  • Read LICENSE-APACHE (full Apache-2.0) and LICENSE-MIT (Expat, Copyright (c) 2024-2026 Clément DOUIN <pimalaya.org@posteo.net>); the Expat text is reproduced verbatim in debian/copyright.
  • Inventoried all 58 upstream files: src/{lib,proxy,retry,stream,tls}.rs, tests/{client,retry}.rs, examples/{proxy,starttls,tls}.rs, the cairn/ Markdown spec/change/log tree, cairn/verify.sh (upstream's own vendored helper, same holder), AGENTS.md, CLAUDE.md (a one-line @AGENTS.md), CONTRIBUTING.md, CHANGELOG.md, SECURITY.md, Cargo.toml, Cargo.lock, deny.toml, flake.nix/shell.nix/flake.lock, LICENSE-* and README.md; no other LICENSE/COPYING/NOTICE/AUTHORS file exists in the tree.
  • No non-free wording anywhere in the tree (searched for non-commercial, no-modification, field-of-use, CC-*-NC/ND, public-domain claims); deny.toml only lists licences allowed for dependencies.
  • Built files: Cargo.lock and flake.lock are plain generated lock files whose inputs (Cargo.toml, flake.nix) are present; no compiled binaries, bytecode, minified code, PDFs, images, fonts or archives in the source tree.
  • All five patches in debian/patches/series carry DEP-3 headers (Description, Author, Forwarded, Last-Update) and are applied (they appear under .pc/); they edit only Cargo.toml ([features]/dependencies) and README.md, and src/stream.rs handles the removed rustls-aws feature with bail! arms, so the patches do not leave a non-exhaustive match.
  • debian/control: debhelper-compat 14, dh-sequence-rust is provided by dh-rust 0.1.4, dh-sequence-single-binary by debhelper 14.5; librust-anyhow-1-dev, librust-log-0.4-dev, librust-url-2-dev, librust-native-tls-0.2-dev, librust-rustls-0.23-dev, librust-rustls-platform-verifier-dev 0.6.2 (satisfies (<< 0.8)), librust-secrecy-0.10-dev, librust-rcgen-0.14-dev and librust-env-logger-0.11-dev all resolve in the reviewing system's package lists.
  • debian/tests/control follows the autopkgtest spec (Test-Command, Depends, Restrictions, Architecture, Features); the tests bind 127.0.0.1 and unix socket files only (read tests/client.rs and tests/retry.rs), so no network restriction is needed.
  • Packaging files read: control, rules (dh $@), changelog (0.4.1+ds-1, experimental, closes bug#1155630), source/format (3.0 quilt), source/lintian-overrides, gbp.conf, upstream/metadata, librust-pimalaya-stream-dev.examples (examples/*), and the .dsc; Standards-Version 4.7.4 against Policy 4.7.4.1 is current, and the single arch:all -dev package has Provides for every declared feature plus the versioned names.
  • debian/copyright is in DEP-5 format with the exact Format URL, and the Files: * / debian/* / debian/patches/* ordering correctly overrides later stanzas; the debian/* holder (Jonas Smedegaard) is named.
  • uscan found the packaged version as the newest upstream release (upstream 0.4.1, packaged 0.4.1+ds).
  • Every pointer of debian/copyright to /usr/share/common-licenses names a file that is there (GPL-3).
Not confirmed ◂
  • librust-io-proxy-0.3-dev (Build-Depends and Depends) is in neither the reviewing system's package lists nor the list of binary names of NEW uploads; source rust-io-proxy 0.3.0+ds-1 is waiting in NEW for experimental and is expected to provide that versioned name (this package's own librust-pimalaya-stream-0.4-dev shows dh-rust's naming), but I could not verify that it does.
  • The shipped upstream Cargo.lock pins rustls-platform-verifier 0.7.1 and uds_windows, which Debian lacks, and no debian/Cargo.lock exists; whether dh-rust re-resolves the lock for the build could not be checked because dh-rust is not installed here, and no build was run.
  • Whether librust-pimalaya-stream-0.4+build-dev in Provides is what dh-rust's Provides generator produces (the crate declares no build feature) could not be checked against dh-rust's code, which is not installed on the reviewing system.
Proposed changes ◂

None.

Uploader's response to the LLM review

Waiting for the uploader's response until , because the review found serious issues.

Back to Dashboard | View all reviews for this package