* [Buildroot] [PATCH] package/pcsc-lite: bump version to 2.5.2
@ 2026-09-28 11:39 Yegor Yefremov via buildroot
2026-09-28 12:08 ` Thomas Petazzoni via buildroot
0 siblings, 1 reply; 2+ messages in thread
From: Yegor Yefremov via buildroot @ 2026-09-28 11:39 UTC (permalink / raw)
To: buildroot; +Cc: Eric Le Bihan
From: Yegor Yefremov <yegorslists@googlemail.com>
Autotools support was removed upstream in 2.5.0, so switch to the meson
build system:
- the tarball is now only provided as .tar.xz
- --disable-strict has no meson equivalent and is dropped
- there is no debugatr option anymore, so define ATR_DEBUG via CFLAGS
- pass -latomic via LDFLAGS instead of LIBS
- meson installs the systemd units into the user unit directory by
default, so pass -Dsystemdunit=system to keep them in the system
unit directory as before
Since 2.4.0, pcscd.service runs pcscd as the unprivileged pcscd user,
so add it to the users table.
COPYING hash changed because doc/example/pcsc_demo.c was removed from
the list of GPL-3.0+ files; Buildroot already listed it as
BSD-3-Clause.
https://github.com/LudovicRousseau/PCSC/blob/2.5.2/ChangeLog
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Assisted-by: Claude:claude-opus-5-5
---
package/pcsc-lite/pcsc-lite.hash | 4 ++--
package/pcsc-lite/pcsc-lite.mk | 34 +++++++++++++++++++-------------
2 files changed, 22 insertions(+), 16 deletions(-)
diff --git a/package/pcsc-lite/pcsc-lite.hash b/package/pcsc-lite/pcsc-lite.hash
index 806792faee..eab6397438 100644
--- a/package/pcsc-lite/pcsc-lite.hash
+++ b/package/pcsc-lite/pcsc-lite.hash
@@ -1,4 +1,4 @@
# Locally calculated
-sha256 85cab61cc744c81e2bc432656863293b8428d0136f079e3b12a84b335b5b35aa pcsc-lite-2.1.0.tar.bz2
-sha256 40d4358bb8dc8d30f5365ae6d999b6f820bbc051b292912482f2e4d0ebd837e1 COPYING
+sha256 60a08942d8c00a1d86a3bf4c64eddbf7a5569c7c54f6904e3f07801bb5316acd pcsc-lite-2.5.2.tar.xz
+sha256 7dffe53fb02dd12a3518335d9c948484ee91ca098f1fac2ee9f9af639bbde7c9 COPYING
sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 GPL-3.0.txt
diff --git a/package/pcsc-lite/pcsc-lite.mk b/package/pcsc-lite/pcsc-lite.mk
index 8418d6a32a..a3a8fff323 100644
--- a/package/pcsc-lite/pcsc-lite.mk
+++ b/package/pcsc-lite/pcsc-lite.mk
@@ -4,56 +4,62 @@
#
################################################################################
-PCSC_LITE_VERSION = 2.1.0
-PCSC_LITE_SOURCE = pcsc-lite-$(PCSC_LITE_VERSION).tar.bz2
+PCSC_LITE_VERSION = 2.5.2
+PCSC_LITE_SOURCE = pcsc-lite-$(PCSC_LITE_VERSION).tar.xz
PCSC_LITE_SITE = https://pcsclite.apdu.fr/files
PCSC_LITE_INSTALL_STAGING = YES
PCSC_LITE_DEPENDENCIES = host-pkgconf host-flex
PCSC_LITE_LICENSE = BSD-2-Clause (auth), BSD-3-Clause, GPL-3.0+ (spy, tests), ISC (simclist)
PCSC_LITE_LICENSE_FILES = COPYING GPL-3.0.txt
PCSC_LITE_SELINUX_MODULES = pcscd
-PCSC_LITE_CONF_OPTS = --disable-strict
+PCSC_LITE_CONF_OPTS = -Dsystemdunit=system
# - libudev and libusb are optional
# - libudev and libusb can't be used together
# - libudev has a priority over libusb
ifeq ($(BR2_PACKAGE_HAS_UDEV),y)
-PCSC_LITE_CONF_OPTS += --enable-libudev --disable-libusb
+PCSC_LITE_CONF_OPTS += -Dlibudev=true -Dlibusb=false
PCSC_LITE_DEPENDENCIES += udev
else
ifeq ($(BR2_PACKAGE_LIBUSB),y)
-PCSC_LITE_CONF_OPTS += --enable-libusb --disable-libudev
+PCSC_LITE_CONF_OPTS += -Dlibusb=true -Dlibudev=false
PCSC_LITE_DEPENDENCIES += libusb
else
-PCSC_LITE_CONF_OPTS += --disable-libusb --disable-libudev
+PCSC_LITE_CONF_OPTS += -Dlibusb=false -Dlibudev=false
endif
endif
ifeq ($(BR2_PACKAGE_SYSTEMD),y)
-PCSC_LITE_CONF_OPTS += --enable-libsystemd
+PCSC_LITE_CONF_OPTS += -Dlibsystemd=true
PCSC_LITE_DEPENDENCIES += systemd
else
-PCSC_LITE_CONF_OPTS += --disable-libsystemd
+PCSC_LITE_CONF_OPTS += -Dlibsystemd=false
endif
ifeq ($(BR2_PACKAGE_PCSC_LITE_DEBUGATR),y)
-PCSC_LITE_CONF_OPTS += --enable-debugatr
+PCSC_LITE_CFLAGS = $(TARGET_CFLAGS) -DATR_DEBUG
endif
ifeq ($(BR2_PACKAGE_PCSC_LITE_EMBEDDED),y)
-PCSC_LITE_CONF_OPTS += --enable-embedded
+PCSC_LITE_CONF_OPTS += -Dembedded=true
+else
+PCSC_LITE_CONF_OPTS += -Dembedded=false
endif
ifeq ($(BR2_PACKAGE_POLKIT),y)
-PCSC_LITE_CONF_OPTS += --enable-polkit
+PCSC_LITE_CONF_OPTS += -Dpolkit=true
PCSC_LITE_DEPENDENCIES += polkit
else
-PCSC_LITE_CONF_OPTS += --disable-polkit
+PCSC_LITE_CONF_OPTS += -Dpolkit=false
endif
ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
-PCSC_LITE_CONF_ENV += LIBS=-latomic
+PCSC_LITE_LDFLAGS = $(TARGET_LDFLAGS) -latomic
endif
-$(eval $(autotools-package))
+define PCSC_LITE_USERS
+ pcscd -1 pcscd -1 * - - - PC/SC Smart Card Daemon
+endef
+
+$(eval $(meson-package))
--
2.34.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Buildroot] [PATCH] package/pcsc-lite: bump version to 2.5.2
2026-09-28 11:39 [Buildroot] [PATCH] package/pcsc-lite: bump version to 2.5.2 Yegor Yefremov via buildroot
@ 2026-09-28 12:08 ` Thomas Petazzoni via buildroot
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni via buildroot @ 2026-09-28 12:08 UTC (permalink / raw)
To: Yegor Yefremov; +Cc: buildroot, Eric Le Bihan
On Mon, Sep 28, 2026 at 01:39:43PM +0200, Yegor Yefremov via buildroot wrote:
> From: Yegor Yefremov <yegorslists@googlemail.com>
>
> Autotools support was removed upstream in 2.5.0, so switch to the meson
> build system:
> - the tarball is now only provided as .tar.xz
> - --disable-strict has no meson equivalent and is dropped
> - there is no debugatr option anymore, so define ATR_DEBUG via CFLAGS
> - pass -latomic via LDFLAGS instead of LIBS
> - meson installs the systemd units into the user unit directory by
> default, so pass -Dsystemdunit=system to keep them in the system
> unit directory as before
>
> Since 2.4.0, pcscd.service runs pcscd as the unprivileged pcscd user,
> so add it to the users table.
>
> COPYING hash changed because doc/example/pcsc_demo.c was removed from
> the list of GPL-3.0+ files; Buildroot already listed it as
> BSD-3-Clause.
>
> https://github.com/LudovicRousseau/PCSC/blob/2.5.2/ChangeLog
>
> Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
> Assisted-by: Claude:claude-opus-5-5
Applied to master, thanks!
Best regards,
Thomas Petazzoni
--
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-09-28 12:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-28 11:39 [Buildroot] [PATCH] package/pcsc-lite: bump version to 2.5.2 Yegor Yefremov via buildroot
2026-09-28 12:08 ` Thomas Petazzoni via buildroot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox