rust-socket-pktinfo 0.4.2-1
Package Information
| Description | IP_PKTINFO and IPV6_PKTINFO handling for UDP sockets - Rust source code Source code for Debianized Rust crate "socket-pktinfo" |
|---|---|
| Maintainer | Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net> |
| Changed By | Ying-Chun Liu (PaulLiu) <paulliu@debian.org> |
| Sponsor | paulliu@debian.org |
| Distribution | unstable |
| Architecture | any |
| VCS | git: https://salsa.debian.org/rust-team/debcargo-conf.git [src/socket-pktinfo] (browse) |
| Tracker | https://tracker.debian.org/pkg/rust-socket-pktinfo |
| Uploaded | 2 hours ago |
New Package Report
.changes
| Distribution | unstable |
|---|---|
| Date | Tue, 17 Nov 2026 18:32:42 +0000 |
| Source | rust-socket-pktinfo |
| Version | 0.4.2-1 |
| Changed-By | Ying-Chun Liu (PaulLiu) <paulliu@debian.org> |
| Architecture | amd64 source |
Changelog
rust-socket-pktinfo (0.4.2-1) unstable; urgency=medium . * Package socket-pktinfo 0.4.2 from crates.io using debcargo 2.8.4
.dsc
| Priority | optional |
|---|---|
| Component | main |
| Package-List | librust-socket-pktinfo-dev deb rust optional arch=any |
| Section | rust |
debian/copyright
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: socket-pktinfo Upstream-Contact: pixsperdavid <david@pixsper.com> Source: https://github.com/pixsper/socket-pktinfo Files: * Copyright: 2025 pixsperdavid <david@pixsper.com> 2025 Pixsper License: MIT Files: debian/* Copyright: 2026 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net> 2026 Ying-Chun Liu (PaulLiu) <paulliu@debian.org> License: MIT License: MIT 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.
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 2 hours ago.
Report
DFSG NEW review for rust-socket-pktinfo version 0.4.2-1
Summary
- Licensing is DFSG-compliant and
debian/copyrightis 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
The whole upstream tree is MIT: LICENSE carries 'Copyright (c) 2025 Pixsper', Cargo.toml names pixsperdavid david@pixsper.com, and both holders appear in the Files: * stanza of the DEP-5 debian/copyright. The full MIT text is reproduced, and no other licence, notice or third-party code appears anywhere in the tree. The patches change only version requirements and the windows-only dependency, adding no third-party work.
Packaging
Standard debcargo packaging: debhelper compat 13 with dh-sequence-cargo, correct Build-Depends/-Arch with <!nocheck> only on what dh_auto_test's cargo build needs, current Standards-Version, sane changelog and Vcs-* fields, and a documented decision to run the network-dependent tests under isolation-container. The one defect is the autopkgtest: all three test stanzas Depends on librust-network-interface-2+default-dev, which exists nowhere in the archive or NEW, so the tests can never install their dependencies and always fail.
Issues
minor packaging 1. autopkgtest Depends on librust-network-interface-2+default-dev, which exists nowhere in the archive ◂
- Files:
debian/tests/control:3,debian/tests/control:8,debian/tests/control:13,tests/ipv4_test.rs:1,tests/ipv6_test.rs:1,Cargo.toml:54 - Basis: checked, in the package or with a reference tool
- Evidence:
Depends: dh-cargo (>= 33~), rustc (>= 1.71.0), librust-network-interface-2+default-dev (>= 2.0.5), @and the reference apt-cache answer: "There is no binary package named librust-network-interface-2-dev ... nothing provides it ... Nor is it a binary of this package or of any upload waiting in the NEW queues". - Problem: Both integration tests begin with
use network_interface::{NetworkInterface, NetworkInterfaceConfig};, so every test stanza needs the crate's Debian package. That package does not exist (I also checked librust-network-interface-dev and librust-network-interface-1-dev; none is in the package lists or in NEW). autopkgtest fails at dependency installation, so all three tests error out before running, and the package cannot get a passing test result for migration. The .dsc even advertises it in Testsuite-Triggers. - Fix: Get librust-network-interface-dev (>= 2.0.5) into the archive before/with this upload, or drop
tests/ipv4_test.rs,tests/ipv6_test.rsand thenetwork-interfacedev-dependency so debcargo stops emitting the uninstallable Depends.
Verified ◂
- Prescan author check found no holder missing from debian/copyright; I confirmed the only notices are
LICENSE:3Copyright (c) 2025 PixsperandCargo.tomlauthors = ["pixsperdavid <david@pixsper.com>"], both named in the Files: * stanza. - Read the whole upstream tree except .pc/: LICENSE, README.md, src/lib.rs, src/unix.rs, src/win.rs, tests/ipv4_test.rs, tests/ipv6_test.rs, Cargo.toml, Cargo.toml.orig, Cargo.lock, .cargo_vcs_info.json, .gitignore, .github/workflows/build.yml and .idea/*. No copyright, licence or SPDX notice other than the MIT ones above, and no licence incompatibility.
- debian/copyright is DEP-5 with the canonical Format line; the stand-alone License: MIT paragraph reproduces the full MIT text, so no /usr/share/common-licenses pointer is needed.
Files: *(copyright-format 6.9:*matches across/) covers .github/, .idea/, Cargo.lock, .cargo_vcs_info.json and Cargo.toml.orig;debian/*later overrides for the packaging. - No vendored or embedded third-party code, no built binaries, minified files, archives or PDFs; Cargo.lock is a lock file of crates.io names/checksums, not vendored source. .idea/remote-targets.xml is upstream IDE metadata (WSL target), covered by the same MIT grant.
- Patches: 0001-relax-dependencies.patch has complete DEP-3 fields and only lowers libc's requirement from 0.2.189 to 0.2; auto/auto-remove-targets.patch is debcargo-generated and removes the windows-only windows-sys dependency that filter_targets drops. Neither introduces third-party work.
- debian/rules is the standard debcargo
dh $@ --buildsystem cargoat compat 13; dh-cargo's build() only copies sources, and the cargo compile check is in test(), so the<!nocheck>markers on librust-libc/socket2 are correct; dh-sequence-cargo pulls dh-cargo, which Depends on cargo, which Depends on rustc and libstd-rust-dev, so a nocheck build still compiles. - Build dependencies resolvable: librust-socket2-dev 0.6.5 provides the +all and +default variants, dh-cargo 34 provides dh-sequence-cargo, rustc 1.98.1 satisfies >= 1.71.0.
- Standards-Version 4.7.4 matches policy 4.7.4.1 (current); changelog distribution unstable, version 0.4.2-1 matching the crate; Vcs-Git/Vcs-Browser point at debcargo-conf src/socket-pktinfo; debian/upstream/metadata is valid DEP-12.
- The isolation-container/allow-stderr restrictions on the tests are deliberate and explained in debian/debcargo.toml; they are not a fault.
- uscan found the packaged version as the newest upstream release (upstream
0.4.2, packaged0.4.2).
Not confirmed ◂
- Whether the IPv4/IPv6 integration tests would pass even with network-interface installed: they bind port 8000, use multicast, need a non-loopback interface, and tests/ipv6_test.rs assumes a sin6_scope_id round-trip that debcargo.toml says fails for global addresses. Not run, and the maintainer documents the container requirement.
- Whether rust-network-interface is queued for NEW after the list snapshot (2026-11-17T19:08Z); if so the autopkgtest dependency would become satisfiable without changes.
Proposed changes ◂
None.
Uploader's response to the LLM review
Hi. It seems that LLM is running on not that decent Debian unstable. Actually librust-network-interface-2+default-dev is accepted in Debian unstable in the morning. And I uploaded to Debian after a successful sbuild with --run-autopkgtest in the evening. So the package must be there already.
— Ying-Chun Liu (paulliu), 1 hour ago