Review: lpac 2.3.0-2
Package Information
| Description | cross-platform local profile agent program, compatible with SGP.22 lpac is a cross-platform local profile agent program, its features include: - Supports Activation Code and Confirmation Code - Supports Custom IMEI sent to server - Supports Profile Discovery (SM-DS) - Profile management: list, enable, disable, delete and nickname - Notification management: list, send and delete - Lookup eUICC chip info |
|---|---|
| Maintainer | DebianOnMobile Maintainers <debian-on-mobile-maintainers@alioth-lists.debian.net> |
| Changed By | Yifei Zhan <debian@zhan.science> |
| Sponsor | yifei@debian.org |
| Distribution | unstable |
| Architecture | linux-any |
| VCS | git: https://salsa.debian.org/DebianOnMobile-team/lpac.git (browse) |
| Popcon Installs | 5 |
| Binary NEW | Yes (new binary packages of a source already in sid) |
| Tracker | https://tracker.debian.org/pkg/lpac |
| Uploaded | 5 days ago |
New Package Report
.changes
| Source | lpac |
|---|---|
| Version | 2.3.0-2 |
| Changed-By | Yifei Zhan <debian@zhan.science> |
| Architecture | amd64 arm64 armhf i386 ppc64el source |
| Distribution | unstable |
| Date | Sun, 29 Nov 2026 05:11:54 +0000 |
Changelog
lpac (2.3.0-2) unstable; urgency=medium . * Split library and development packages * Fix d/copyright * Demote pcscd to Recommends, polish d/control * Gate QMI backends to arm64 armhf amd64 only * Show correct version string
.dsc
| Package-List | libeuicc-dev deb libdevel optional arch=linux-any libeuicc2 deb libs optional arch=linux-any lpac deb utils optional arch=linux-any |
|---|---|
| Section | libdevel |
| Priority | optional |
| Component | main |
debian/copyright
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: lpac
Source: https://github.com/estkme-group/lpac
Files: *
Copyright:
2023-2025, ESTKME TECHNOLOGY LIMITED, Hong Kong
License: Expat
Files: debian/*
Copyright: 2025 erebion <erebion@erebion.eu>
License: Expat
Files: src/* driver/* utils/*
Copyright: 2023-2025 ESTKME TECHNOLOGY LIMITED, Hong Kong
License: AGPL-3.0
Files: euicc/sha256.*
Copyright: Brad Conte <brad@bradconte.com>
License: public-domain
Comment: Released to public domain, see https://github.com/B-Con/crypto-algorithms
Files: euicc/*
Copyright: 2023-2025 ESTKME TECHNOLOGY LIMITED, Hong Kong
License: LGPL-2.1
Files: .github/workflows/reuse-lint.yaml
Copyright: 2022 Free Software Foundation Europe e.V. <https://fsfe.org>
License: CC0-1.0
Files:
driver/apdu/qmi_common.c
driver/apdu/qmi_common.h
driver/apdu/qmi_helpers.c
driver/apdu/qmi_helpers.h
driver/apdu/qmi_qrtr.c
driver/apdu/qmi_qrtr.h
driver/apdu/mbim.c
driver/apdu/mbim.h
driver/apdu/mbim_helpers.c
driver/apdu/mbim_helpers.h
driver/apdu/qmi.c
driver/apdu/qmi.h
Copyright:
2024 Robert Marko <robert.marko@sartura.hr>
2024 Frans Klaver <frans.klaver@vislink.com>
2024 Luca Weiss <luca.weiss@fairphone.com>
License: Expat
Files: cjson/*
Copyright:
2009-2017 Dave Gamble and cJSON contributors
2025-2026 Celeste Liu
2023-2025 ESTKME TECHNOLOGY LIMITED, Hong Kong
License: Expat
Files: dlfcn-win32/*
Copyright:
2007 Ramiro Polla
2023-2025 ESTKME TECHNOLOGY LIMITED, Hong Kong
2025-2026 Celeste Liu
2023-2024 IcedTangerine
2025 Yegor Yefremov
2015 Tiancheng "Timothy" Gu
2019 Pali Rohár <pali.rohar@gmail.com>
2020 Ralf Habacker <ralf.habacker@freenet.de>
License: Expat
License: AGPL-3.0
On Debian systems, the complete text of the GNU Affero General Public License
version 3 can be found in `/usr/share/common-licenses/AGPL-3.0'.
License: LGPL-2.1
On Debian systems, the complete text of the GNU Lesser General Public
License version 2.1 can be found in "/usr/share/common-licenses/LGPL-2.1".
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: public-domain
This code is released into the public domain free of any restrictions.
License: CC0-1.0
Creative Commons Legal Code
.
CC0 1.0 Universal
.
CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE
LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN
ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS
INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES
REGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS
PROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM
THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED
HEREUNDER.
.
Statement of Purpose
.
The laws of most jurisdictions throughout the world automatically confer
exclusive Copyright and Related Rights (defined below) upon the creator
and subsequent owner(s) (each and all, an "owner") of an original work of
authorship and/or a database (each, a "Work").
.
Certain owners wish to permanently relinquish those rights to a Work for
the purpose of contributing to a commons of creative, cultural and
scientific works ("Commons") that the public can reliably and without fear
of later claims of infringement build upon, modify, incorporate in other
works, reuse and redistribute as freely as possible in any form whatsoever
and for any purposes, including without limitation commercial purposes.
These owners may contribute to the Commons to promote the ideal of a free
culture and the further production of creative, cultural and scientific
works, or to gain reputation or greater distribution for their Work in
part through the use and efforts of others.
.
For these and/or other purposes and motivations, and without any
expectation of additional consideration or compensation, the person
associating CC0 with a Work (the "Affirmer"), to the extent that he or she
is an owner of Copyright and Related Rights in the Work, voluntarily
elects to apply CC0 to the Work and publicly distribute the Work under its
terms, with knowledge of his or her Copyright and Related Rights in the
Work and the meaning and intended legal effect of CC0 on those rights.
.
1. Copyright and Related Rights. A Work made available under CC0 may be
protected by copyright and related or neighboring rights ("Copyright and
Related Rights"). Copyright and Related Rights include, but are not
limited to, the following:
.
i. the right to reproduce, adapt, distribute, perform, display,
communicate, and translate a Work;
ii. moral rights retained by the original author(s) and/or performer(s);
iii. publicity and privacy rights pertaining to a person's image or
likeness depicted in a Work;
iv. rights protecting against unfair competition in regards to a Work,
subject to the limitations in paragraph 4(a), below;
v. rights protecting the extraction, dissemination, use and reuse of data
in a Work;
vi. database rights (such as those arising under Directive 96/9/EC of the
European Parliament and of the Council of 11 March 1996 on the legal
protection of databases, and under any national implementation
thereof, including any amended or successor version of such
directive); and
vii. other similar, equivalent or corresponding rights throughout the
world based on applicable law or treaty, and any national
implementations thereof.
.
2. Waiver. To the greatest extent permitted by, but not in contravention
of, applicable law, Affirmer hereby overtly, fully, permanently,
irrevocably and unconditionally waives, abandons, and surrenders all of
Affirmer's Copyright and Related Rights and associated claims and causes
of action, whether now known or unknown (including existing as well as
future claims and causes of action), in the Work (i) in all territories
worldwide, (ii) for the maximum duration provided by applicable law or
treaty (including future time extensions), (iii) in any current or future
medium and for any number of copies, and (iv) for any purpose whatsoever,
including without limitation commercial, advertising or promotional
purposes (the "Waiver"). Affirmer makes the Waiver for the benefit of each
member of the public at large and to the detriment of Affirmer's heirs and
successors, fully intending that such Waiver shall not be subject to
revocation, rescission, cancellation, termination, or any other legal or
equitable action to disrupt the quiet enjoyment of the Work by the public
as contemplated by Affirmer's express Statement of Purpose.
.
3. Public License Fallback. Should any part of the Waiver for any reason
be judged legally invalid or ineffective under applicable law, then the
Waiver shall be preserved to the maximum extent permitted taking into
account Affirmer's express Statement of Purpose. In addition, to the
extent the Waiver is so judged Affirmer hereby grants to each affected
person a royalty-free, non transferable, non sublicensable, non exclusive,
irrevocable and unconditional license to exercise Affirmer's Copyright and
Related Rights in the Work (i) in all territories worldwide, (ii) for the
maximum duration provided by applicable law or treaty (including future
time extensions), (iii) in any current or future medium and for any number
of copies, and (iv) for any purpose whatsoever, including without
limitation commercial, advertising or promotional purposes (the
"License"). The License shall be deemed effective as of the date CC0 was
applied by Affirmer to the Work. Should any part of the License for any
reason be judged legally invalid or ineffective under applicable law, such
partial invalidity or ineffectiveness shall not invalidate the remainder
of the License, and in such case Affirmer hereby affirms that he or she
will not (i) exercise any of his or her remaining Copyright and Related
Rights in the Work or (ii) assert any associated claims and causes of
action with respect to the Work, in either case contrary to Affirmer's
express Statement of Purpose.
.
4. Limitations and Disclaimers.
.
a. No trademark or patent rights held by Affirmer are waived, abandoned,
surrendered, licensed or otherwise affected by this document.
b. Affirmer offers the Work as-is and makes no representations or
warranties of any kind concerning the Work, express, implied,
statutory or otherwise, including without limitation warranties of
title, merchantability, fitness for a particular purpose, non
infringement, or the absence of latent or other defects, accuracy, or
the present or absence of errors, whether or not discoverable, all to
the greatest extent permissible under applicable law.
c. Affirmer disclaims responsibility for clearing rights of other persons
that may apply to the Work or any use thereof, including without
limitation any person's Copyright and Related Rights in the Work.
Further, Affirmer disclaims responsibility for obtaining any necessary
consents, permissions or other rights required for any use of the
Work.
d. Affirmer understands and acknowledges that Creative Commons is not a
party to this document and has no duty or obligation with respect to
this CC0 or use of the Work.
DFSG Assistant LLM REVIEW 0 blocker, 1 important, 2 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 5 days ago.
Report
DFSG NEW review for lpac version 2.3.0-2
Summary
- Licensing is DFSG-compliant and
debian/copyrightis accurate: No - Packaging is of good quality: Yes
- Issues: 0 blocker, 1 important, 2 minor
- debian/watch: version 5
- debian/copyright: machine-readable
- Scan before the review: nothing found
Licensing
All licences in the tree are DFSG-free: AGPL-3.0 (src/, driver/, utils/), LGPL-2.1 (euicc/), Expat/MIT (cjson/, dlfcn-win32/, build and doc files), CC0-1.0 (one GitHub workflow) and a public-domain dedication (euicc/sha256.*). The LICENSES/LicenseRef-ESTKME-Commercial.txt file only records an optional commercial licensing arm; the same euicc code is available under LGPL-2.1-only, so no non-free content is shipped. debian/copyright is DEP-5 with the correct Format, but its Files stanzas are misordered: the general Files: euicc/* stanza comes after and therefore overrides the Files: euicc/sha256.* stanza, so that file's public-domain dedication and Brad Conte's authorship are not actually recorded; fix by reordering.
Packaging
Packaging is generally sound: compat 13 with a straightforward dh sequencer, correct binary split into lpac / libeuicc2 / libeuicc-dev, sane install files, all build dependencies present and correctly arch-gated for the QMI backends, current Standards-Version and Vcs fields, installable man page and DEP-12 upstream metadata. Two minor points: the sole quilt patch has no DEP-3 headers and cJSON is vendored although Debian ships libcjson-dev.
Issues
important licensing 1. Files: euicc/* comes after Files: euicc/sha256.* and overrides it, so sha256.* is recorded as LGPL-2.1 by ESTKME instead of public domain by Brad Conte ◂
- Files:
debian/copyright:18-25 - Basis: checked, in the package or with a reference tool
- Evidence:
Files: euicc/sha256.*/Copyright: Brad Conte <brad@bradconte.com>/License: public-domain(lines 18-21), followed byFiles: euicc/*/Copyright: 2023-2025 ESTKME TECHNOLOGY LIMITED, Hong Kong/License: LGPL-2.1(lines 23-25) - Problem: copyright-format 6.9 (read with the policy tool) says "The last stanza that matches a particular file applies to it";
euicc/*matcheseuicc/sha256.candeuicc/sha256.hbecause*crosses/. The specific public-domain stanza is therefore dead: the shipped files are described as LGPL-2.1 with ESTKME as the only holder, and Brad Conte's authorship and the public-domain dedication the maintainer recorded are lost. euicc/sha256.c is compiled into libeuicc.so (aux_source_directory in euicc/CMakeLists.txt) and shipped in libeuicc2, and the file itself carries no licence notice (its header has an emptyCopyright:line). The result also contradicts upstream's REUSE.toml, which puts euicc/** underLGPL-2.1-only OR LicenseRef-ESTKME-Commercial, so debian/copyright should state whichever arm it relies on unambiguously. - Fix: Move the
Files: euicc/sha256.*stanza after theFiles: euicc/*stanza (or narrow the latter so it does not match sha256.*), so the public-domain/public-domain-holder statement is the one that applies; reconcile it with upstream's REUSE annotation (LGPL-2.1-only OR commercial) at the same time.
minor packaging 2. The only quilt patch has no DEP-3 description, origin or forwarded information ◂
- Files:
debian/patches/inject_upstream_version.patch,debian/patches/series - Basis: checked, in the package or with a reference tool
- Evidence: The patch begins directly with
--- a/cmake/git-version.cmake/+++ b/cmake/git-version.cmake; there is noDescription:,Origin:,Forwarded:orLast-Update:field. - Problem: debian/patches/series contains one patch with no DEP-3 header, so neither its purpose nor whether it was sent upstream is recorded for the next maintainer or for an NMU. It also mixes two unrelated changes: forcing LPAC_VERSION from DEB_VERSION_UPSTREAM and changing an include path in src/applet/version.h.
- Fix: Add DEP-3 headers (Description, Origin/Forwarded, Last-Update) and either split the unrelated include-path hunk into its own documented patch or explain it in the description; forward the version-injection change upstream if not already done.
minor packaging 3. cJSON is vendored in cjson/ although Debian ships libcjson-dev ◂
- Files:
cjson/CMakeLists.txt,cjson/cJSON.c,cjson/cJSON.h,debian/control - Basis: checked, in the package or with a reference tool
- Evidence:
add_library(cjson-static STATIC ${LIB_CJSON_SRCS})builds the vendored copy, which is linked into libeuicc and lpac;apt-cache show libcjson-devgives cJSON 1.7.19-4 in the archive. - Problem: An embedded copy of third-party code (cJSON, Expat-licensed) is compiled into both the shipped shared library and the executable even though Debian already packages the same library as libcjson-dev/libcjson1. That duplicates code Debian must track for bugs and security fixes and is contrary to the usual practice of building against system libraries; only the small cJSON_ex.c wrapper (cJSON_AddStringOrNullToObject) is lpac-specific.
- Fix: Add libcjson-dev to Build-Depends, build the wrapper against the system headers/library (or patch cjson/CMakeLists.txt to use it), and drop the vendored cJSON.c/cJSON.h if the system version suffices; if a local change to cJSON truly requires the vendored copy, document why in debian/README.source.
Verified ◂
- Prescan: /review-input/prescan.md listed no files and no unnamed holders ("every holder found is named in debian/copyright"); every file of the 161-file tree was still inventoried and grepped for Copyright/SPDX/©/license wording.
- Read debian/copyright in full (DEP-5, exact copyright-format 1.0 Format line): stanzas for Files: , debian/, src/* driver/* utils/, euicc/sha256., euicc/, .github/workflows/reuse-lint.yaml, the twelve driver/apdu qmi/mbim* files, cjson/* and dlfcn-win32/*; license paragraphs for AGPL-3.0, LGPL-2.1, Expat, public-domain and CC0-1.0.
- REUSE.toml checked against the tree: src/, driver/, utils/ declared AGPL-3.0-only; euicc/** declared LGPL-2.1-only OR LicenseRef-ESTKME-Commercial (debian/copyright records the free arm, which is permissible); cjson/, dlfcn-win32/, docs/, cmake/, CMakeLists.txt, README.md and dotfiles declared MIT.
- LICENSES/LicenseRef-ESTKME-Commercial.txt read: it is only a one-sentence pointer to a commercial licensing option, not a grant of non-free terms over any shipped file; euicc code remains available under LGPL-2.1-only, so it is not a DFSG problem.
- driver/apdu files that carry SPDX headers were each read: mbim.c/h, mbim_helpers.c/h, qmi.c/h, qmi_common.c/h, qmi_helpers.c/h, qmi_qrtr.c/h are MIT and name Robert Marko, Frans Klaver and Luca Weiss, all listed in the matching debian/copyright stanza; the remaining driver/, src/ and utils/** files carry no per-file notices and fall under the AGPL stanzas (their LICENSE files hold the full AGPL text).
- cjson/ and dlfcn-win32/ LICENSE files and source headers checked: holders Dave Gamble/cJSON contributors, Ramiro Polla, Tiancheng Gu, Pali Rohár and Ralf Habacker are all named; dlfcn-win32 is only built on WIN32 and is not part of any Debian binary.
- .github/workflows/reuse-lint.yaml is CC0-1.0 with FSFE copyright, matching its own stanza; other .github scripts and workflows, cmake/.cmake, docs/.md, README.md and dotfiles fall under Files: * (Expat) and match upstream's MIT annotation.
- No built artifacts, PDFs, images, fonts or minified code in the tree: glob for .o/.a/.so/.pdf/images returned nothing; the only modified-in-tree file is src/applet/version.h from the quilt patch.
- euicc/sha256.c read: Brad Conte header with an empty Copyright: field, no licence text; the public-domain claim rests on upstream's crypto-algorithms provenance cited in the copyright Comment.
- All files under debian/ read except the excluded watch: control, rules, changelog, source/format, gbp.conf, salsa-ci.yml, clean, lpac.install, libeuicc2.install, libeuicc-dev.install, lpac.manpages, lpac.1, patches/series, patches/inject_upstream_version.patch and upstream/metadata.
- Build-Depends checked in the archive lists: cmake, libcurl4-openssl-dev, libpcsclite-dev, libmbim-glib-dev 1.34.0, libqmi-glib-dev 1.38.0 (>= 1.35.5 satisfied), libqrtr-dev 1.2, libqrtr-glib-dev and debhelper-compat are available; the QMI architecture gating in rules matches the arch restrictions in control.
- libeuicc2 packages the shared library with SOVERSION 2 (libeuicc.so.2) as the name implies; libeuicc-dev's install file takes the headers, libeuicc.so and pkg-config file produced by euicc/CMakeLists.txt, and lpac.install takes /usr/bin/lpac, so no installed file is left unclaimed for dh_missing at compat 13.
- Standards-Version 4.7.4 matches the reviewing policy 4.7.4.1 (first two components) and is not an issue; compat 13 is neither deprecated nor discouraged per debhelper.
- No autopkgtests are shipped (no debian/tests); this is not a fault, only noted.
- uscan found the packaged version as the newest upstream release (upstream
2.3.0, packaged2.3.0). - Every pointer of
debian/copyrightto /usr/share/common-licenses names a file that is there (AGPL-3.0,LGPL-2.1).
Not confirmed ◂
- docs/asn1/PKIXExplicit88.asn and PKIXImplicit88.asn state in their own headers that they were generated from rfc3280.txt, and rsp.asn is the GSMA SGP.22 (module OID gsma(146) rsp(1)) ASN.1 module; none carries a copyright or licence notice, yet Files: * attributes docs/** to ESTKME under Expat. Policy 2.3 does not require the notices here because docs/asn1 is not installed in any binary package, but I could not verify the IETF/GSMA terms offline, so the provenance of these three files is unchecked.
- No build was run; I did not verify that the non-PIC cjson-static objects link into the shared libeuicc.so on every architecture, nor any other build behaviour.
- Whether debian/patches/inject_upstream_version.patch has been forwarded upstream is not recorded in the package.
Proposed changes ◂
None.
Uploader's response to the LLM review
The uploader rejected this upload in response to the review.
Review Information
rejected — allocated to dfsg-uploader 5 days ago, started 5 days ago, completed 5 days ago.
Final Comment
The uploader rejected this upload in response to the automated (LLM) review of it, so that they can fix the problems it found and upload again.
Other Reviews of this Package
| Version | Hash | Allocated | Completed | Reviewer | Status | Details |
|---|---|---|---|---|---|---|
| 2.3.0-2 | 8e926067… | 2026-11-28 07:52 | 2026-11-28 07:52 | dfsg-uploader | rejected | VIEW |
| 2.3.0-2 | 1b73a6d8… | 2026-11-29 05:15 | 2026-11-29 05:15 | dfsg-uploader | rejected | VIEW |
| 2.3.0-2 | 03b4a641… | 2026-11-30 06:12 | 2026-11-30 06:12 | dfsg-uploader | rejected | VIEW |
| 2.3.0-1 | a6794d91… | 2026-04-03 20:58 | 2026-04-03 21:25 | awm | rejected | VIEW |
| 2.3.0-1 | e220f859… | 2026-04-04 03:21 | 2026-04-04 03:35 | awm | accepted | VIEW |