laminar 1.4-1
Package Information
| Description | lightweight and modular continuous integration service (metapackage) The Laminar is a system to automate the compile/test cycle required by most software projects to validate code changes. By automatically rebuilding and testing the tree each time something has changed, build problems are pinpointed quickly, before other developers are inconvenienced by the failure. This is a metapackage, depending both on the laminar server and client. |
|---|---|
| Maintainer | Wesley Hershberger <wesley.hershberger@gmail.com> |
| Changed By | Wesley Hershberger <wesley.hershberger@gmail.com> |
| Sponsor | anibal@debian.org |
| Distribution | unstable |
| Architecture | any all |
| VCS | git: https://salsa.debian.org/debian/laminar.git (browse) |
| Closes | #1155458 |
| Popcon Installs | 4 |
| Tracker | https://tracker.debian.org/pkg/laminar |
| Uploaded | 17 hours ago |
New Package Report
.changes
| Source | laminar |
|---|---|
| Version | 1.4-1 |
| Changed-By | Wesley Hershberger <wesley.hershberger@gmail.com> |
| Architecture | source all amd64 |
| Distribution | unstable |
| Date | Fri, 27 Nov 2026 09:29:40 -0600 |
Changelog
laminar (1.4-1) unstable; urgency=medium
.
* New upstream release (Closes: #1155458)
* d/.gbp.conf: Barebones gbp config
* Refresh patch for new upstream release
- d/p/0000-Patch-build-system-to-use-JS-libraries-from-Debian-p.patch
* d/laminard.links: Remove link to /etc/default/laminar
* d/laminard.init: Drop deprecated init script
* d/laminard.install: Fix aliased install path (usr merge)
* d/rules: Drop invalid dh flag
* d/control: Misc fixes:
- Adopt package
- Standards-Version 4.7.4
- Add missing Build-Depends: pkgconf
- Add missing Section: metapackages for 'laminar'
* Replace dh-sysuser with dh-installsysusers
* d/tests: Add basic DEP-8 test
* Fix minor memory-safety bugs
- d/p/fix-buffer-overflow.patch
- d/p/fix-memory-leak-in-handleBadgeRequest.patch
* d/copyright: Update.dsc
| Package-List | laminar deb metapackages optional arch=all laminarc deb devel optional arch=any laminard deb devel optional arch=any |
|---|---|
| Section | metapackages |
| Priority | optional |
| Component | main |
debian/copyright
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: laminar Upstream-Contact: Oliver Giles <ohw.giles@gmail.com> Source: https://github.com/ohwgiles/laminar Files: * Copyright: 2015-2026 Oliver Giles <ohw.giles@gmail.com> License: GPL-3+ Files: debian/* Copyright: 2019 Dmitry Bogatov <KAction@debian.org> 2020-2021 Ruben Pollan <meskio@sindominio.net> 2026 Wesley Hershberger <wesley.hershberger@gmail.com> License: GPL-3+ 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 along with this program. If not, see <https://www.gnu.org/licenses/>. Comment: On Debian systems, the complete text of the GNU General Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".
DFSG Assistant LLM REVIEW 1 blocker, 2 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 16 hours ago.
Proposes a replacement debian/watch:
debian/watch in version 5 format
Report
DFSG NEW review for laminar version 1.4-1
Summary
- Licensing is DFSG-compliant and
debian/copyrightis accurate: No - Packaging is of good quality: No
- Issues: 1 blocker, 2 important, 1 minor
- debian/watch: old format (version 4)
- debian/copyright: machine-readable
- Scan before the review: nothing found
Licensing
The upstream tree is consistently GPL-3+ with Oliver Giles as the only copyright holder, COPYING is the GPL-3 text, and the debian/* stanza names the packaging authors, so the source package's own files are covered. But the binary laminard links in the minified Vue.js, Chart.js and ansi_up builds taken from Debian's libjs-* packages, and debian/copyright has no stanza, holder or licence text for them; the MIT notices those libraries require in copies of the binary are therefore missing (Policy 2.3).
Packaging
The split, dependencies, patches, conffile, sysusers integration and DEP-8 test are broadly sound, and Standards-Version is current. Two defects remain: laminard.postinst fixes ownership of /var/lib/laminar after the debhelper-generated systemd start snippet, so on first install laminard runs as the laminar user with a root-owned home it cannot write; and the Debian JS patch feeds the Vue 2 frontend from the archive's libjs-vue, which is now Vue 3.
Issues
blocker licensing 1. debian/copyright omits the MIT-licensed Vue.js, Chart.js and ansi_up code compiled into laminard ◂
- Files:
debian/copyright:6-8,CMakeLists.txt:123-137,debian/patches/0000-Patch-build-system-to-use-JS-libraries-from-Debian-p.patch:20-25,src/resources.cpp:44-48 - Basis: inferred from what was read, not seen directly
- Evidence: CMakeLists.txt (after the Debian patch):
generate_compressed_bins(${CMAKE_BINARY_DIR} js/vue.min.js js/ansi_up.js js/Chart.min.js)andadd_executable(laminard ... ${COMPRESSED_BINS}); resources.cpp:INIT_RESOURCE("/js/vue.min.js", js_vue_min_js, CONTENT_TYPE_JS). debian/copyright has onlyFiles: */License: GPL-3+for Oliver Giles and adebian/*stanza. - Problem: The minified Vue.js, Chart.js and ansi_up files fetched from /usr/share/javascript are gzip-compressed and linked into /usr/sbin/laminard, so they are shipped in the binary package in compiled form. Policy 2.3 requires the copyright information of such files in /usr/share/doc/laminard/copyright when the licence requires it; these libraries are MIT-licensed, whose notice must accompany copies, but debian/copyright names neither the holders (Evan You; Chart.js contributors; Dru Nelson) nor the MIT permission text (MIT is not in /usr/share/common-licenses). The copyright file therefore does not describe all code in the binary package.
- Fix: Add entries to debian/copyright for the three libraries (holders, years, MIT) with the full MIT permission notice, noting that they are compiled into laminard from libjs-vue, libjs-chart.js and libjs-ansi-up; a comment cannot replace the licence text because the notice must be reproduced.
important packaging 2. laminard.postinst chowns /var/lib/laminar after dh_installsystemd starts laminar.service ◂
- Files:
debian/laminard.postinst:4,7-11,debian/laminard.dirs:1,debian/laminard.install:3,etc/laminar.service.in:7 - Basis: checked, in the package or with a reference tool
- Evidence: postinst:
#DEBHELPER#on line 4, thenmkdir -p /var/lib/laminar/cfg/$fandchown laminar:laminar /var/lib/laminar; dh_installsystemd's generated snippet at #DEBHELPER# runsdeb-systemd-invoke start laminar.service(postinst-systemd-start/postinst-systemd-restart), and dh_installsysusers' snippet before it only runs systemd-sysusers, which per sysusers.d(5) sets the home-directory record without creating or chowning the directory. - Problem: dpkg unpacks /var/lib/laminar root:root from debian/laminard.dirs. On first install the generated systemd snippet starts laminar.service (User=laminar) before the chown runs; Laminar's constructor opens its home with kj::WriteMode::MODIFY and creates laminar.sqlite there (src/laminar.cpp:78-96) and later creates run/ below it, so as the laminar user it cannot write and the service/jobs fail until the unit is restarted or the machine reboots. The bundled dep8 smoke test relies on the very service that is left broken in this state.
- Fix: Make the home directory writable by laminar before the service is started: e.g.
override_dh_installsystemd: dh_installsystemd --no-startand start the unit at the end of postinst after the mkdir/chown (using try-restart on upgrade), or fix ownership from an ExecStartPre=+-prefixed command or a tmpfiles.d rule applied before the start.
important packaging 3. Debian JS patch builds laminard against libjs-vue 3.x while the frontend uses the Vue 2 API ◂
- Files:
debian/patches/0000-Patch-build-system-to-use-JS-libraries-from-Debian-p.patch:20-21,src/resources/js/app.js:15,919,debian/control:9 - Basis: inferred from what was read, not seen directly
- Evidence: Patch:
file(DOWNLOAD file:///usr/share/javascript/vue/vue.min.js ${CMAKE_BINARY_DIR}/js/vue.min.js); app.js:Vue.filter('iecFileSize', bytes => {andconst LaminarApp = new Vue({.apt-cache show libjs-vue: 3.5.43-1, Source: vue.js, Homepage: https://github.com/vuejs/core (Vue 3); Debian's libjs-vue is an unversioned Build-Depends. - Problem: The patch takes whatever /usr/share/javascript/vue/vue.min.js the installed libjs-vue provides and links it into laminard. The archive's libjs-vue is Vue 3.5.43, whereas the bundled index.html/app.js use the Vue 2 global API removed in Vue 3 (
new Vue,Vue.filter,$root.$on), so the web UI cannot initialise; if that file name is no longer shipped at all, the configure step fails instead. Either way the package cannot provide a working frontend from the current archive. - Fix: Do not consume an unversioned libjs-vue build for a Vue 2 application: port index.html/app.js and the Debian patch to the Vue 3 API Debian ships (createApp etc.), or arrange for a compatible Vue 2 build, and pin/guard the Build-Depends accordingly; verify the UI, not just the dep8 log fetch.
minor packaging 4. debian/watch is in the old version 4 format ◂
- Files:
debian/watch - Basis: found by the review tooling's own checks
- Evidence:
version=4 - Problem: Version 5 is the current format of
debian/watch. - Fix: Convert it to version 5; a mechanical conversion is under Proposed changes.
Verified ◂
- Prescan: it listed no files to account for; its author check reports every holder it matched in the 64 scanned files is named in debian/copyright.
- All src/, test/, etc/ and CMakeLists.txt files carry
Copyright ... Oliver Gilesand the GPL-3-or-later notice; COPYING is the GPL-3 text; debian/copyright'sFiles: */debian/*stanzas and GPL-3+ short name match. - Searched the whole tree for Copyright/(C)/©, SPDX, MIT/Apache/MPL/BSD wording and non-free terms; no other holder, no separate LICENSE/COPYING in subdirectories, and no non-commercial or no-modification terms (the only 'noncommercial' hit is inside the GPL text in COPYING).
- Read all of debian/: control, rules, changelog, source/format, install/docs/dirs/examples files, postinst, sysusers, tests, upstream metadata, gbp configs, and all three patches plus series.
- debhelper 14.5 and Policy 4.7.4.1 consulted: compat 13 is supported (not deprecated), Standards-Version 4.7.4 is current enough; dh_installsysusers is pulled in by dh-sequence-installsysusers (provided by debhelper), dh_installsystemd picks up the unit installed via laminard.install and starts it on first configure.
- Dependencies named in control for the checks made: dh-sequence-installsysusers is provided by debhelper 14.5; libjs-vue is 3.5.43-1 (source vue.js, vuejs/core); libjs-chart.js 3.9.1+~cs3.1.2-4; libjs-ansi-up 5.1.0+dfsg-4.
- src/resources/index.html, style.css and js/app.js are the project's own readable sources; no minified or generated code is present in the source package (the vendored minified JS is fetched from Debian at build time).
- The three images (src/resources/favicon.ico, favicon-152.png, icon.png) are upstream web resources compiled into laminard; they are covered by
Files: *and were judged by name/location, not opened. - The DEP-8 test control's trailing commas are not an issue (autopkgtest accepts comma/space separators); debian/copyright is valid DEP-5 with a correct Format line.
- uscan found the packaged version as the newest upstream release (upstream
1.4, packaged1.4). - Every pointer of
debian/copyrightto /usr/share/common-licenses names a file that is there (GPL-3).
Not confirmed ◂
- Could not inspect the contents of libjs-vue 3.5.43 (no copy on this system): whether /usr/share/javascript/vue/vue.min.js still exists there, and therefore whether the configure step fails or a Vue 3 runtime is embedded, was not verified; the frontend API mismatch is certain either way.
- libjs-ansi-up in the archive is 5.1.0 while upstream's CMake downloads 5.2.1; whether the frontend needs anything from 5.2 was not checked.
- Could not run autopkgtest to see whether debian/tests/smoke gets a running laminar.service in the testbed; it has only
needs-root, no isolation-machine, and relies on the package install starting the unit (which the postinst ordering defect breaks on first install).
Proposed: debian/watch in version 5 format ◂
debian/watch is in an old format. This is the conversion made by uscan --update-watchfile, which has not been run against the upstream site: some defaults differ in version 5, so test it with uscan --report before use.
Version: 5
Template: Github
Dist: https://github.com/ohwgiles/laminar
Update-Script: uupdate
Uploader's response to the LLM review
Waiting for the uploader's response until , because the review found serious issues.
Are you a maintainer or uploader of this package? Log in with Salsa to comment on the review.