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
| Date | Sun, 29 Nov 2026 05:11:54 +0000 |
|---|---|
| Source | lpac |
| Version | 2.3.0-2 |
| Changed-By | Yifei Zhan <debian@zhan.science> |
| Architecture | amd64 arm64 armhf i386 ppc64el source |
| Distribution | unstable |
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
| Priority | optional |
|---|---|
| Component | main |
| 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 |
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/*
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: 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, 4 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, 4 minor
- debian/watch: version 5
- debian/copyright: machine-readable
- Scan before the review: nothing found
Licensing
All licences in the tree are free: AGPL-3.0-only for src/, driver/ (except twelve MIT APDU backends) and utils/, LGPL-2.1-only (with an optional commercial licence that Debian does not rely on) for euicc/, MIT for cJSON, dlfcn-win32, docs and the build files, and CC0 for the reuse-lint workflow; the texts are present or referenced from /usr/share/common-licenses, and the combined licences are compatible because one entity holds the AGPL and LGPL code. The exception is euicc/sha256.c and euicc/sha256.h: they credit Brad Conte, have an empty Copyright field and only a warranty disclaimer, and debian/copyright attributes them to ESTKME under LGPL-2.1 without saying anything about that origin, so the licensing of two files compiled into libeuicc2 is not documented.
Packaging
Sound, current packaging: debhelper compat 13 with a plain dh sequence, hardening flags from dpkg-buildflags via the CMake build system, a clean lpac / libeuicc2 / libeuicc-dev split with proper shlibs substvars, Vcs-* fields, Standards-Version 4.7.4 (current), 3.0 (quilt) source and a sane changelog. The remaining points are minor: vendored cJSON while Debian ships libcjson-dev, a patch without DEP-3 headers, an apparently unused libqrtr-dev build dependency, and a pkg-config file whose libdir ignores the multiarch directory.
Issues
important licensing 1. euicc/sha256.c and sha256.h credit Brad Conte and carry no licence grant, but debian/copyright attributes them to ESTKME under LGPL-2.1 ◂
- Files:
debian/copyright:18-20,euicc/sha256.c:1-6,euicc/sha256.h:1-7 - Basis: inferred from what was read, not seen directly
- Evidence: euicc/sha256.c:
* Author: Brad Conte (brad AT bradconte.com)/* Copyright:/* Disclaimer: This code is presented "as is" without any guarantees.; debian/copyright:Files: euicc/*/Copyright: 2023-2025 ESTKME TECHNOLOGY LIMITED, Hong Kong/License: LGPL-2.1 - Problem: Both files are compiled into the shipped libeuicc2, but their own header names a third-party author, leaves the Copyright field empty and states no permission to use, copy or modify the code; Policy 2.3 notes that code with no permission statement is not licensed. upstream's REUSE.toml blankets euicc/** as
LGPL-2.1-only OR LicenseRef-ESTKME-Commercial, and Debian relies on that, but debian/copyright neither mentions Brad Conte nor explains why ESTKME may license this file, so the copyright and licence of these two files cannot be verified from the package. - Fix: Confirm with upstream that this is Brad Conte's public-domain SHA-256 implementation (his crypto-algorithms code was dedicated to the public domain) and record it, e.g. a
Files: euicc/sha256.c euicc/sha256.hstanza withCopyright: Brad Conteand a public-domain licence paragraph (or a Comment in the euicc stanza); if that is not the case, get an explicit free licence from the author and add its text.
minor packaging 2. cJSON is vendored and statically linked although Debian ships libcjson-dev ◂
- Files:
cjson/CMakeLists.txt:2,debian/copyright:44-50 - Basis: checked, in the package or with a reference tool
- Evidence:
add_library(cjson-static STATIC ${LIB_CJSON_SRCS}); apt-cache: libcjson-dev 1.7.19-4, libcjson1 1.7.19-4 - Problem: libeuicc2 contains a private copy of cJSON. Debian already ships cJSON, so fixes to libcjson1 do not reach this copy, and the same code is duplicated in the archive. The local cJSON_ex.c wrapper can be built against the system header.
- Fix: Build against libcjson-dev (add it to Build-Depends, link libcjson and install cJSON_ex.c as part of libeuicc), or document in debian/copyright why the vendored copy cannot be replaced.
minor packaging 3. debian/patches/inject_upstream_version.patch has no DEP-3 headers and mixes two unrelated changes ◂
- Files:
debian/patches/inject_upstream_version.patch - Basis: checked, in the package or with a reference tool
- Evidence: The patch begins directly with
--- a/cmake/git-version.cmake; noDescription:,Author:orForwarded:field, and it also changessrc/applet/version.hfrom#include "version.h"to#include "../version.h"for an unrelated reason - Problem: Without a Description the purpose of each hunk (forcing the Debian version into version.h, and fixing the include so the generated src/version.h is found) is not recorded, and it is unclear whether either change has been sent upstream; Developers Reference 3.3 recommends DEP-3 headers for non-trivial patches.
- Fix: Add DEP-3 headers describing both hunks and their upstream status (or forward/split the include fix upstream), and drop the patch once upstream carries the changes.
minor packaging 4. Build-Depends lists libqrtr-dev, which no source file or CMake target uses ◂
- Files:
debian/control:11 - Basis: inferred from what was read, not seen directly
- Evidence:
libqrtr-dev [amd64 arm64 armhf]in Build-Depends, while driver/apdu/qmi_qrtr.c and qmi_helpers.c include<libqrtr-glib.h>and driver/CMakeLists.txt only doespkg_check_modules(QRTR_GLIB REQUIRED IMPORTED_TARGET qrtr-glib); nothing includes<libqrtr.h>or links-lqrtr - Problem: The QRTR support is provided by libqrtr-glib-dev; libqrtr-dev exposes the separate C socket API (qrtr.h/libqrtr1) that the build never references, so the dependency only adds a needless build prerequisite on three architectures.
- Fix: Drop
libqrtr-devfrom Build-Depends, or, if pkg-config really needs libqrtr.pc through qrtr-glib, keep it and note that in a comment.
minor packaging 5. libeuicc.pc hard-codes libdir as ${prefix}/lib instead of the multiarch libdir it is installed into ◂
- Files:
euicc/libeuicc.pc.in:4 - Basis: checked, in the package or with a reference tool
- Evidence:
libdir="${prefix}/lib"in the template, while dh_auto_configure passes-DCMAKE_INSTALL_LIBDIR=lib/<multiarch>(Buildsystem/cmake.pm) and the file is installed to /usr/lib//pkgconfig - Problem: pkg-config reports
-L/usr/lib -leuiccrather than-L/usr/lib/<multiarch>, which is wrong for a sysroot/cross build and does not describe the actual install location, even though native linking happens to work through ld's default paths. - Fix: Generate libdir from
@CMAKE_INSTALL_FULL_LIBDIR@(or${prefix}/lib/@CMAKE_LIBRARY_ARCHITECTURE@) in libeuicc.pc.in.
Verified ◂
- The prescan reported no built/minified/PDF files and no holder missing from debian/copyright; its author check found every holder it detected named (I separately found the Brad Conte author line, which that check does not look for).
- Read debian/copyright in full: DEP-5 with the correct Format URL, Files: * (Expat), debian/, src/ driver/* utils/* (AGPL-3.0), euicc/* (LGPL-2.1), the twelve MIT driver/apdu files, cjson/* and dlfcn-win32/*; licence texts or /usr/share/common-licenses pointers are present.
- Checked REUSE.toml annotations and every SPDX header: src//driver//utils/** AGPL-3.0-only; euicc/** LGPL-2.1-only OR LicenseRef-ESTKME-Commercial (the commercial file LICENSES/LicenseRef-ESTKME-Commercial.txt is an alternative only and no Debian file relies on it); the 12 driver/apdu qmi/mbim files MIT, cJSON MIT, dlfcn-win32 MIT, docs/cmake/.github MIT, reuse-lint.yaml CC0; all holders named in the file headers appear in the matching copyright stanza.
- driver/LICENSE and src/LICENSE are the GNU AGPL-3.0 text and euicc/LICENSE the LGPL-2.1 text, matching their stanzas; cjson/LICENSE and dlfcn-win32/LICENSE are MIT.
- Read debian/control, rules, changelog, install/manpages/clean files, patches/series and the patch, source/format, gbp.conf, salsa-ci.yml and upstream/metadata; the shlibs/misc substvars are used consistently at compat 13, the lpac/libeuicc2/libeuicc-dev split is correct, and lpac.install's
usr/bin/lpac usr/binis valid dh_install syntax (dh_install(1) examples). - From the CMake files and rules, LPAC_DYNAMIC_DRIVERS stays off, so only euicc/ (LGPL-2.1) and cJSON (MIT) go into libeuicc2, while the AGPL driver code is linked only into lpac; libeuicc-drivers is static.
- Checked the build dependencies with apt-cache: libqmi-glib-dev 1.38.0 satisfies >= 1.35.5, and libmbim-glib-dev, libqrtr-glib-dev, libpcsclite-dev and libcjson-dev exist; pkg-config is pulled in transitively through libmbim-glib-dev -> libglib2.0-dev -> libgio-2.0-dev -> pkgconf, so its absence from Build-Depends is not a defect.
- Policy on the reviewing system is 4.7.4.1, so Standards-Version 4.7.4 is current.
- docs/asn1/*.asn are plain-text ASN.1 modules (IETF PKIX and GSMA RSP definitions) under the docs/** MIT annotation; they are not built or installed.
- There is no debian/tests directory; no autopkgtest, which is not a Policy violation.
- 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 ◂
- Whether euicc/sha256.c and sha256.h are public domain cannot be confirmed from the package; no source in the tree states it, and I could not consult Brad Conte's upstream repository.
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 | 60f8f0bb… | 2026-11-30 09:54 | 2026-11-30 09:54 | 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 |