Skip to contentSkip to conversation

package/lpac: new package

PATCH In review yegorslists--- via buildroot 2 participants 4 messages Apr 30, 2025 – May 18, 2025

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 package/lpac: new package

From: Yegor Yefremov <[email protected]>

---
Changes v1 -> v2:
- add libqmi dependency for qrtr case

 DEVELOPERS             |  1 +
 package/Config.in      |  1 +
 package/lpac/Config.in | 16 ++++++++++++++++
 package/lpac/lpac.hash |  5 +++++
 package/lpac/lpac.mk   | 41 +++++++++++++++++++++++++++++++++++++++++
 5 files changed, 64 insertions(+)
 create mode 100644 package/lpac/Config.in
 create mode 100644 package/lpac/lpac.hash
 create mode 100644 package/lpac/lpac.mk
DEVELOPERS +1 -0
index 15389d530b..01ba341522 100644
@@ -3490,6 +3490,7 @@ F:	package/libuci/
 F:	package/libxmlb/
 F:	package/linux-firmware/
 F:	package/linux-serial-test/
+F:	package/lpac/
 F:	package/modem-manager/
 F:	package/ncftp/
 F:	package/nftables/
package/Config.in +1 -0
index 167965d64b..44030c09f5 100644
@@ -2553,6 +2553,7 @@ endif
 	source "package/linux-zigbee/Config.in"
 	source "package/linuxptp/Config.in"
 	source "package/lldpd/Config.in"
+	source "package/lpac/Config.in"
 	source "package/lrzsz/Config.in"
 	source "package/lynx/Config.in"
 	source "package/macchanger/Config.in"
package/lpac/Config.in new file +16 -0
new file mode 100644
index 0000000000..6cfe11cc67
@@ -0,0 +1,16 @@
+config BR2_PACKAGE_LPAC
+	bool "lpac"
+	depends on BR2_TOOLCHAIN_HAS_THREADS # pcsc-lite
+	depends on BR2_USE_MMU # pcsc-lite
+	depends on !BR2_STATIC_LIBS # pcsc-lite
+	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # pcsc-lite
+	select BR2_PACKAGE_PCSC_LITE
+	help
+	  C-based eUICC LPA.
+
+	  https://github.com/estkme-group/lpac
+
+comment "lpac needs a toolchain w/ threads, dynamic library, gcc >= 4.9"
+	depends on BR2_USE_MMU
+	depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \
+		!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
package/lpac/lpac.hash new file +5 -0
new file mode 100644
index 0000000000..bf93ef245f
@@ -0,0 +1,5 @@
+# Locally computed:
+sha256  3d87080a625b10430eebb82f89e2d24e16a84a8435a9c40b3718fd88c82028ba  lpac-2.2.1.tar.gz
+sha256  8486a10c4393cee1c25392769ddd3b2d6c242d6ec7928e1414efff7dfb2f07ef  src/LICENSE
+sha256  b673293d21e887eaa9b971696b33f0f9141839900c65c83e560afa469d291ba6  euicc/LICENSE
+sha256  163766832b15cc9c90d593216360c67af579b8b36932b297fca2aeb61544de2f  cjson/LICENSE
package/lpac/lpac.mk new file +41 -0

41 lines not on this page · raw message

Signature · 6 lines
2.34.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

Hello Yegor,

Quoted 3 lines · On Wed, 30 Apr 2025 07:59:56 +0200 yegorslists--- via buildroot…

From: Yegor Yefremov <[email protected]>

Thanks for your patch, which I have applied, with one small change (see below).

But out of curiosity, could you explain what LPAC is useful for? I tried to read a bit on the topic, but it's quite confusing. In what situation is LPAC needed, on embedded Linux devices?

package/lpac/lpac.mk line 9

Quoted 3 lines
package/lpac/lpac.mk new file +3 -0
+LPAC_VERSION = 2.2.1
+LPAC_SITE = $(call github,estkme-group,lpac,v$(LPAC_VERSION))
+LPAC_LICENSE = LGPL-2.0+ (library), AGPL-3.0 (programs), MIT (cjson)

The library license is LGPL-2.1+, so I fixed that up.

Thanks!

Thomas

Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw

Hi Thomas,

Quoted 6 lines · Thomas Petazzoni

Hello Yegor,

On Wed, 30 Apr 2025 07:59:56 +0200
yegorslists--- via buildroot <[email protected]> wrote:

Quoted 6 lines
Quoted 3 lines

From: Yegor Yefremov <[email protected]>

Thanks for your patch, which I have applied, with one small change (see below).

Thanks.

Quoted 3 lines

But out of curiosity, could you explain what LPAC is useful for? I tried to read a bit on the topic, but it's quite confusing. In what situation is LPAC needed, on embedded Linux devices?

You need this tool to manage eSIM profiles. See these blog posts [1],
[2] for details.

[1] https://techship.com/blog/how-to-use-an-esim-in-linux-7/
[2] https://techship.com/blog/esim-euicc-and-sgp-standards-enabling-iot-connectivity-2/

Yegor

Quoted 6 lines

package/lpac/lpac.mk line 9

Quoted 3 lines
package/lpac/lpac.mk new file +3 -0
+LPAC_VERSION = 2.2.1
+LPAC_SITE = $(call github,estkme-group,lpac,v$(LPAC_VERSION))
+LPAC_LICENSE = LGPL-2.0+ (library), AGPL-3.0 (programs), MIT (cjson)

The library license is LGPL-2.1+, so I fixed that up.

Quoted 7 lines

Thanks!

Thomas
--
Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training
https://bootlin.com

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#3 lore raw

Hello Yegor,

Quoted 5 lines · On Sat, 17 May 2025 23:00:29 +0200 Yegor Yefremov <[email protected]>…

You need this tool to manage eSIM profiles. See these blog posts [1],
[2] for details.

[1] https://techship.com/blog/how-to-use-an-esim-in-linux-7/
[2] https://techship.com/blog/esim-euicc-and-sgp-standards-enabling-iot-connectivity-2/

Thanks for the references, very useful!

Best regards,

Thomas

Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot