DFSG NEW Queue

DFSG, Licensing & New Packages Team

sshash 3.0.0+git20260309.028010d-1

Package Information

Descriptioncompressed dictionary data structure for k-mers

SSHash is a compressed dictionary data structure for k-mers (strings of length k over the DNA alphabet {A,C,G,T}), based on Sparse and Skew Hashing.

This package contains the command line tool that builds, queries and checks an SSHash dictionary.

MaintainerDebian Med Packaging Team <debian-med-packaging@lists.alioth.debian.org>
Changed ByAndreas Tille <tille@debian.org>
Sponsortille@debian.org
Distributionunstable
Architectureany
VCSgit: https://salsa.debian.org/med-team/sshash.git (browse)
Closes#1154504
Trackerhttps://tracker.debian.org/pkg/sshash
Uploaded2 hours ago

New Package Report

.changes◂
DateMon, 23 Nov 2026 10:29:56 +0100
Sourcesshash
Version3.0.0+git20260309.028010d-1
Changed-ByAndreas Tille <tille@debian.org>
Architecturesource amd64
Distributionunstable
Changelog◂
sshash (3.0.0+git20260309.028010d-1) unstable; urgency=medium
 .
   * Initial release (Closes: #1154504)
.dsc◂
Priorityoptional
Componentmain
Package-Listlibsshash-dev deb libdevel optional arch=any
libsshash0 deb libs optional arch=any
sshash deb science optional arch=any
Sectionlibdevel
debian/copyright◂
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: sshash
Upstream-Contact: Rob Patro
Source: https://github.com/rob-p/sshash

Files: *
Copyright: 2021-2026 Giulio Ermanno Pibiri, Oleksandr Kulkov, and COMBINE Lab
License: Expat

Files: external/gz/*
Copyright: 2003 Jonathan de Halleux
License: Zlib

Files: external/cityhash/*
Copyright: 2011 Google, Inc.
License: Expat

Files: script/create_release.sh
Copyright: 2021-2026 Giulio Ermanno Pibiri, Oleksandr Kulkov, and COMBINE Lab
License: GPL-3+
 On Debian systems you can find the full text of the GNU General Public
 License version 3 at /usr/share/common-licenses/GPL-3 .

Files: debian/*
Copyright: 2026 Andreas Tille <tille@debian.org>
License: Expat

Files: debian/missing-sources/parser.hpp
Copyright: 2019 Giulio Ermanno Pibiri
Comment: This header is the contents of the external/cmd_line_parser git
 submodule (https://github.com/jermp/cmd_line_parser), which upstream sshash
 pulls in through its external/pthash submodule.  It is not part of the
 upstream tarball itself and is therefore shipped as a missing source file.
 The script debian/missing-sources/get_cmd_line_parser downloads the current
 version of the header.
License: Expat

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: Zlib
 This software is provided 'as-is', without any express or implied warranty.
 In no event will the authors be held liable for any damages arising from the
 use of this software.
 .
 Permission is granted to anyone to use this software for any purpose,
 including commercial applications, and to alter it and redistribute it
 freely, subject to the following restrictions:
 .
  1. The origin of this software must not be misrepresented; you must not
     claim that you wrote the original software. If you use this software
     in a product, an acknowledgment in the product documentation would
     be appreciated but is not required.
 .
  2. Altered source versions must be plainly marked as such, and must not
     be misrepresented as being the original software.
 .
  3. This notice may not be removed or altered from any source distribution.

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 sshash version 3.0.0+git20260309.028010d-1

Summary

  • Licensing is DFSG-compliant and debian/copyright is accurate: Yes
  • 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: 15 found

Licensing

debian/copyright is DEP-5 with the correct Format URL. Upstream's LICENSE is MIT/Expat with the holders named in the Files: * stanza, and the three files that carry other licences are correctly separated: external/cityhash (Google, Expat), external/gz (Jonathan de Halleux, Zlib) and script/create_release.sh (GPL-3+, with the /usr/share/common-licenses/GPL-3 pointer). The Debian-side cmd_line_parser header shipped in debian/missing-sources has its own stanza with its holder. The full Expat and Zlib texts are reproduced, and all licences combined in the binaries (Expat + Zlib) are compatible. No non-free terms, no unlicensed file, and no built artifact without its source was found.

Packaging

Solid packaging: a sane three-way split (tool / runtime library / -dev), debhelper compat 14 with dpkg default.mk and hardening=+all, d-shlibs for the shared library, libpthash-dev/libbits-dev used instead of the git submodules, seven DEP-3 patches, a man page, upstream/metadata, and an autopkgtest that builds a real consumer and the shipped examples. Standards-Version 4.7.4 matches the system Policy 4.7.4.1. One real gap: the -dev package's Description promises the static library, but nothing installs libsshash.a.

Issues

important packaging 1. uscan reports a warning for debian/watch ◂
  • Files: debian/watch

  • Basis: found by the review tooling's own checks

  • Evidence:

    The following paragraph isn't well formatted, skipping it: << ==EOF==
    # pufferfish requires the sshash snapshot at commit c11d0f03 on master, which
    # is 465 commits after the last tagged release (v3.0.0).
    # Template: Github
    # Dist: https://github.com/rob-p/sshash
    
    ==EOF==
    
  • Problem: uscan must run without errors or warnings and find the upstream releases.

  • Fix: Correct debian/watch so that uscan --report runs cleanly.

minor packaging 2. libsshash-dev promises the static library but nothing installs libsshash.a ◂
  • Files: debian/libsshash-dev.install; debian/rules:25-29; CMakeLists.txt:101-104 (install(TARGETS sshash_static ...)); debian/control (libsshash-dev Description)
  • Basis: inferred from what was read, not seen directly
  • Evidence: CMakeLists.txt installs it: install(TARGETS sshash_static ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}), and the patch sets OUTPUT_NAME sshash, so debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libsshash.a is created. debian/libsshash-dev.install lists only include/*.hpp usr/include/sshash, external/cityhash/cityhash.hpp usr/include/sshash and debian/*.pc usr/share/pkgconfig; debian/rules hands only debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libsshash.so to d-shlibmove, and the d-shlibs description says d-shlibmove moves the shared library binary. The Description nevertheless says This package contains the static library, the header files and a pkg-config file.
  • Problem: Neither dh_install nor d-shlibmove places libsshash.a in any binary package, so it is left in debian/tmp and dh_missing only warns about it; the -dev package ships no static library even though its description says it does, and static linking against sshash is impossible.
  • Fix: Add a line usr/lib/*/libsshash.a to debian/libsshash-dev.install (and consider dh_missing --fail-missing in debian/rules so this cannot slip through again), or remove the claim from the libsshash-dev Description.
Verified ◂
  • debian/copyright is DEP-5 with Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/; I read it in full. Stanza order matters and is correct: Files: * (Expat) is overridden by external/gz/* (Zlib), external/cityhash/* (Expat), script/create_release.sh (GPL-3+), debian/* (Expat) and finally debian/missing-sources/parser.hpp (Expat). Every file in the tree therefore matches a stanza.
  • Upstream LICENSE is verbatim MIT, holder 2021-2026 Giulio Ermanno Pibiri, Oleksandr Kulkov, and COMBINE Lab, identical to the text in the License: Expat paragraph; no mismatch of licence name or version.
  • external/cityhash/cityhash.cpp and cityhash.hpp carry Copyright (c) 2011 Google, Inc. and the MIT text, matching the Expat stanza and the full text in debian/copyright; they are compiled into libsshash.so and the sshash tool.
  • external/gz/zip_stream.hpp carries The zlib/libpng License Copyright (c) 2003 Jonathan de Halleux plus the three zlib conditions; the stanza names the holder and the License: Zlib paragraph reproduces the notice, as that licence requires. zip_stream.cpp and zip_stream_fwd.hpp carry no separate notice and are covered by the same stanza.
  • The Altered by: credits in zip_stream.hpp (Andreas Zieringer, Geoffrey Hutchison, Mathieu Malaterre, Timo Bingmann) are modification notes, not copyright notices; the only copyright line in the file is de Halleux's, which is named.
  • script/create_release.sh has a GNU General Public License ... either version 3 of the License, or (at your option) any later version header, matching the License: GPL-3+ stanza and its reference to /usr/share/common-licenses/GPL-3; the script takes no part in the build, and a separate GPL-3+ file creates no licence conflict with the Expat code.
  • debian/missing-sources/parser.hpp (the cmd_line_parser header, MIT) is covered by its own stanza with holder 2019 Giulio Ermanno Pibiri; it is compiled into the sshash tool (tools/common.hpp, test/check.cpp include parser.hpp), so naming the holder there was required, and it is named.
  • The 15 gzip files listed by the scan (data/queries/.gz, data/unitigs_stitched/.gz, data/unitigs_stitched/with_weights/*.gz) are gzip-compressed FASTA/FASTQ and stitched-unitig example inputs, documented in README.md's Examples section; they are data, not build products, are installed in no binary package, and are covered by the Files: * Expat stanza.
  • img/sshash.png, img/sshash_on_dark.png and the two benchmarks/results-*/results.png are PNG images (upstream logo and benchmark figures); per instructions I did not decode them. They are covered by Files: * and are not built artifacts.
  • The benchmarks/results-*/ trees contain only benchmark logs and JSON output produced by script/build.py, bench.py and streaming-query-high-hit.py; source scripts are present, so these are generated result data, not built code.
  • .github/workflows/build.yml and codeql.yml, .clang-format, .gitignore and .gitmodules carry no licence notices of their own and are covered by Files: *.
  • external/pthash/ is an empty directory (the submodule); the build uses libpthash-dev and libbits-dev instead, per use-packaged-libs.patch.
  • Build-Depends resolve: libbits-dev and d-shlibs are in the reviewing system's lists; libpthash-dev is in unstable/archive as 2.0.0+git20260727.aea5613-1 (apt-cache said so); cmake, pkgconf and zlib1g-dev are normal. Nothing is missing and no dependency is marked <!nocheck>.
  • Standards-Version 4.7.4 against the installed Policy 4.7.4.1: first two components match, so not an issue.
  • debhelper compat 14 via debhelper-compat; the missing ${shlibs:Depends}/${misc:Depends} substvars in libsshash0/libsshash-dev are added by dh_gencontrol at compat 14 and are not a fault. There is no nocheck-sensitive override.
  • The seven patches in debian/patches/series all build cleanly on the applied tree and carry DEP-3 Description/Author/Forwarded/Last-Update headers; use-packaged-libs and no-forced-isa are Debian-specific, fix_is_member is marked Forwarded: no, which is acceptable.
  • debian/tests/control uses Depends: @, build-essential, pkgconf; the autopkgtest spec says @ stands for the binary packages generated by the source package, so libsshash-dev and sshash are installed. run-unit-test builds a pkg-config consumer and the shipped examples and needs no network or display.
  • debian/sshash.pc exports -DSSHASH_USE_TRADITIONAL_NUCLEOTIDE_ENCODING, matching the flag debian/rules passes to CMake, so consumers and the library agree on the encoding.
  • I read every file under debian/ except debian/watch (out of scope) and debian/cargo-checksum.json (absent), and the full text of every patch.
  • uscan found the packaged version as the newest upstream release (upstream 3.0.0+git20260309.028010d, packaged 3.0.0+git20260309.028010d).
  • Every pointer of debian/copyright to /usr/share/common-licenses names a file that is there (GPL-3).
Not confirmed ◂
  • The compressed contents of the 15 data/*.gz files were not inspected (read only reported their uncompressed size), so I could not look for embedded provenance or notices; README.md points to Zenodo record 17582116 and SRA accession SRR5833294, and debian/copyright states no separate origin or third-party terms for this sequence data, attributing it to the upstream authors under Expat.
  • script/create_release.sh carries a GPL-3+ header but no copyright line, so I could not confirm that the sshash authors are its copyright holders as the Files stanza claims; nothing in the package contradicts it.
  • Whether d-shlibmove in d-shlibs 0.111 also relocates .a files: the package description documents it as moving the shared library binary, and debian/rules passes only libsshash.so, which is the basis for the static-library finding.
Proposed changes ◂

None.

Uploader's response to the LLM review

Hint for issue 2: libsshash.a is installed via d-shlibs and does not need to be mentioned explicitly

— Andreas Tille (tille), 0 hours ago

Back to Dashboard | View all reviews for this package