libmio 1.1.0~git20230303.8b6b7d8-1
Package Information
| Description | cross-platform C++11 header-only library for memory mapped file IO Mio is a cross-platform C++11 header-only library for memory mapped file IO. It supports both read-only and read-write memory mapping, and is designed to be a simple and easy to use alternative to boost::iostreams::mapped_file. This package contains the header files and CMake configuration. |
|---|---|
| Maintainer | Debian Med Packaging Team <debian-med-packaging@lists.alioth.debian.org> |
| Changed By | Andreas Tille <tille@debian.org> |
| Sponsor | tille@debian.org |
| Distribution | unstable |
| Architecture | all |
| VCS | git: https://salsa.debian.org/med-team/libmio.git (browse) |
| Closes | #1152283 |
| Tracker | https://tracker.debian.org/pkg/libmio |
| Uploaded | 3 hours ago |
New Package Report
.changes
| Architecture | source all |
|---|---|
| Distribution | unstable |
| Date | Tue, 27 Oct 2026 17:07:08 +0100 |
| Source | libmio |
| Version | 1.1.0~git20230303.8b6b7d8-1 |
| Changed-By | Andreas Tille <tille@debian.org> |
Changelog
libmio (1.1.0~git20230303.8b6b7d8-1) unstable; urgency=medium . * Initial release (Closes: #1152283)
.dsc
| Package-List | libmio-dev deb libdevel optional arch=all |
|---|---|
| Section | libdevel |
| Priority | optional |
| Component | main |
debian/copyright
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: mio
Source: https://github.com/vimpunk/mio
Files: *
Copyright: 2018 mandreyel <https://github.com/mandreyel/>
License: MIT
Files: third_party/*
Copyright: 2012 Erik Edlund <erik.edlund@32767.se>
License: BSD-3-clause
Files: debian/*
Copyright: 2026 Andreas Tille <tille@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.
License: BSD-3-clause
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
.
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following disclaimer
in the documentation and/or other materials provided with the
distribution.
* Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
DFSG Assistant LLM REVIEW 0 blocker, 0 important, 0 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 libmio version 1.1.0~git20230303.8b6b7d8-1
Summary
- Licensing is DFSG-compliant and
debian/copyrightis accurate: Yes - Packaging is of good quality: Yes
- Issues: 0 blocker, 0 important, 0 minor
- debian/watch: version 5
- debian/copyright: machine-readable
- Scan before the review: nothing found
Licensing
The tree is a small, single-origin C++ library: everything except the BSD-3 amalgamation helper is mandreyel's MIT code, and third_party/amalgamate.py with its LICENSE.md is Erik Edlund's BSD-3-clause. Both licences are DFSG-free and mutually compatible, and debian/copyright is DEP-5 with the correct Format line, full text for both licences, no reliance on absent common-licenses files, and both holders named. The single-header single_include/mio/mio.hpp is generated, but its generator (third_party/amalgamate.py), its config and all its input headers are in the tree, so it is not a sourceless artefact. No non-free terms, no binaries, no files without a licence.
Packaging
Clean single-binary Debian Med packaging: compat 14 with dh $@ --buildsystem=cmake, one Architecture: all header-only -dev package with Multi-Arch: foreign, no patches, current Standards-Version, sane changelog, Vcs-* and Homepage, and an autopkgtest that compiles and runs the upstream test and example against the installed headers. override_dh_auto_test additionally builds test/example.cpp from the source tree; at compat 14 dh skips that target under nocheck, so it needs no guard. Nothing in debian/ is missing, obsolete or in the wrong place.
Issues
None.
Verified
debian/copyrightis DEP-5 with the canonicalFormat:line and three stanzas:Files: *MIT (2018 mandreyel),Files: third_party/*BSD-3-clause (2012 Erik Edlund),Files: debian/*MIT (2026 Andreas Tille). Later stanzas correctly override the catch-all, and thethird_party/*pattern's reach into subdirectories is fine (no subdirectories exist).- Prescan (
dfsg-author-check) reported every holder in the tree named; independently, the only holders in file notices are mandreyel (LICENSE, all ofinclude/mio/, all six notice blocks insingle_include/mio/mio.hpp) and Erik Edlund (third_party/amalgamate.py,third_party/LICENSE.md). Every upstream file outsidethird_party/is therefore covered byFiles: *; the 2017 headers against the stanza's 2018 is year drift only. single_include/mio/mio.hpp(1763 lines) is an amalgamation, not an opaque artefact: its inputsinclude/mio/mmap.hpp,include/mio/page.hpp,include/mio/shared_mmap.hpp,include/mio/detail/mmap.ippand the generatorthird_party/amalgamate.pywiththird_party/config.jsonare all in the tree, and it carries only mandreyel MIT notices.CMakeLists.txtinstallsinclude/only, so it is not shipped in the binary.- Both licences are free and compatible (MIT, BSD-3-clause; the BSD-3 no-endorsement clause is not a field-of-use restriction), and both full texts are in the stand-alone
License:paragraphs, so nothing needs/usr/share/common-licenses. No non-free wording (non-commercial, no-modification, field-of-use, "good, not evil") matches anywhere in the tree. - The tree (32 files,
.pc/excluded) contains no compiled binaries, archives, bytecode, minified code, fonts or images.third_party/amalgamate.pyis a build helper, is not run bydebian/rules, and thetest/and.travis.ymlfiles are upstream test and CI sources. Build-Dependsisdebhelper-compat (= 14), dh-sequence-single-binary, cmake;dh-sequence-single-binaryis a real dh add-on provided by debhelper 14.5 (apt-cache), valid for this one-binary source, andcmakeplus implicit build-essential are all the build needs.- At compat 14,
dh_gencontroladds relationship substvars itself, soDepends: ${misc:Depends}alone is correct for a header-only package, and dh skipsoverride_dh_auto_testundernocheck(debhelper tool, compat-13 change), so the override needs nonocheckguard of its own. Architecture: allwithMulti-Arch: foreignis the established shape for a header-only-devpackage (libeigen3-dev is all/foreign);Section: libdevel, the${CXX}use inoverride_dh_auto_test(make's built-in default is g++), and the in-sourcetest-example/directory that is removed afterwards are all sound.debian/tests/run-unit-testcopies/usr/share/doc/libmio-dev/examples/*(installed bydebian/libmio-dev.examples=test/*.cpp) and compilestest.cppandexample.cppagainst the installed/usr/include/mio;Depends: @, build-essentialandRestrictions: allow-stderrcover it.- Standards-Version 4.7.4 against Policy 4.7.4.1 (same first two components, so current);
debian/source/format3.0 (quilt) with nodebian/patches, so nothing to review for DEP-3 headers; changelog1.1.0~git20230303.8b6b7d8-1, unstable, dated Tue 27 Oct 2026, with an ITP closure; Vcs-Git, Vcs-Browser and Homepage present and consistent withdebian/copyright'sSource. - uscan found the packaged version as the newest upstream release (upstream
1.1.0~git20230303.8b6b7d8, packaged1.1.0~git20230303.8b6b7d8).
Not confirmed
- Whether
Files: third_party/*should attributethird_party/config.jsonto Erik Edlund under BSD-3-clause: the file holds mio's own amalgamation settings (mio's description, target../single_include/mio/mio.hpp, sources under../include/mio), while the BSD-3 material of that directory isamalgamate.pyandLICENSE.md. Whether the JSON derives from the amalgamate project's own sample config cannot be determined from the package; if it does not, the file is upstream's MIT material and the stanza over-attributes it. - Whether
find_package(mio)fails for 32-bit consumers of thisArchitecture: all,Multi-Arch: foreignpackage:CMakeLists.txtcallswrite_basic_package_version_file()withoutARCH_INDEPENDENT, and the reviewing system'sWriteBasicConfigVersionFile.cmakethen emits aCMAKE_SIZEOF_VOID_Pcheck that setsPACKAGE_VERSION_UNSUITABLE(i386/armhf consumer against the amd64-built version file). This is upstream's code shipped as-is; a 32-bitfind_package(mio 1.1.0)would show it.
Proposed changes
None.
Uploader's response to the LLM review
Please accept
— Andreas Tille (tille), 1 hour ago