diff --git a/hardware/smartcard/ccid/actions.py b/hardware/smartcard/ccid/actions.py index 5f1a23100e..8795462a4f 100644 --- a/hardware/smartcard/ccid/actions.py +++ b/hardware/smartcard/ccid/actions.py @@ -2,30 +2,24 @@ # -*- coding: utf-8 -*- # # Licensed under the GNU General Public License, version 3. -# See the file http://www.gnu.org/licenses/gpl.txt +# See the file https://www.gnu.org/licenses/gpl-3.0.txt -from pisi.actionsapi import autotools -from pisi.actionsapi import pisitools -from pisi.actionsapi import get +from pisi.actionsapi import mesontools, pisitools + +i = ''.join([ + ' --prefix=/usr', + ' -Dclass=true', + ' -Dserial=true', + ' -Denable-extras=true ' + ]) def setup(): - autotools.configure("--enable-twinserial \ - --enable-serialconfdir=/etc/reader.conf.d \ - --sysconfdir=/etc \ - --disable-static \ - --disable-dependency-tracking") - - pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ") + mesontools.configure(i) def build(): - autotools.make() + mesontools.build() def install(): - autotools.rawInstall("DESTDIR=%s" % get.installDIR()) - - pisitools.insinto("/etc/", "src/Info.plist", "libccid_Info.plist") + mesontools.install() - pisitools.insinto("/etc/udev/rules.d/", "src/92_pcscd_ccid.rules", "92-pcsc-ccid.rules") - pisitools.dosed("%s/etc/udev/rules.d/92-pcsc-ccid.rules" % get.installDIR(), "Kobil_mIDentity_switch", deleteLine = True) - - pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING", "NEWS", "README*") + pisitools.dodoc("AUTHORS", "COPYING") diff --git a/hardware/smartcard/ccid/pspec.xml b/hardware/smartcard/ccid/pspec.xml index 8dc9b13343..63cfcf3a10 100644 --- a/hardware/smartcard/ccid/pspec.xml +++ b/hardware/smartcard/ccid/pspec.xml @@ -1,9 +1,9 @@ - + ccid - https://ccid.apdu.fr + https://ccid.apdu.fr/ PisiLinux Community admins@pisilinux.org @@ -13,10 +13,13 @@ library Generic USB CCID(Chip/Smart Card Interface Devices) device drivers ccid provides the source code for a generic USB CCID (Chip/Smart Card Interface Devices) driver and ICCD (Integrated Circuit(s) Card Devices). - https://ccid.apdu.fr/files/ccid-1.5.1.tar.bz2 + https://ccid.apdu.fr/files/ccid-1.7.1.tar.xz - pcsc-lite-devel + meson + zlib-devel + eudev-devel libusb-devel + pcsc-lite-devel @@ -27,13 +30,20 @@ pcsc-lite - /etc/ - /usr/lib/ - /usr/share/doc + /etc + /usr/lib + /usr/share + + 2026-04-12 + 1.7.1 + Version bump. + Mustafa Cinasal + muscnsl@gmail.com + 2023-01-25 1.5.1 diff --git a/hardware/smartcard/pcsc-lite/actions.py b/hardware/smartcard/pcsc-lite/actions.py index 9bf46ecc35..c36db216db 100644 --- a/hardware/smartcard/pcsc-lite/actions.py +++ b/hardware/smartcard/pcsc-lite/actions.py @@ -2,41 +2,26 @@ # -*- coding: utf-8 -*- # # Licensed under the GNU General Public License, version 3. -# See the file http://www.gnu.org/licenses/gpl.txt +# See the file https://www.gnu.org/licenses/gpl-3.0.txt -from pisi.actionsapi import shelltools -from pisi.actionsapi import autotools -from pisi.actionsapi import pisitools -from pisi.actionsapi import get - -USBDROPDIR = "/usr/lib/pcsc/drivers" +from pisi.actionsapi import mesontools, pisitools def setup(): - options = "--enable-usbdropdir=%s \ - --disable-libsystemd \ - --disable-static" % USBDROPDIR - - - autotools.autoreconf("-fi") - autotools.configure(options) - - pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ") + mesontools.configure("--prefix=/usr -Dserial=true -Dlibsystemd=false") def build(): - autotools.make() + mesontools.build() def install(): - autotools.rawInstall("DESTDIR=%s" % get.installDIR()) - - pisitools.dodir(USBDROPDIR) + mesontools.install() pisitools.dodir("/etc/reader.conf.d") + pisitools.dodir("/usr/lib/pcsc/drivers") #for fixing UYAP e-Sign problem pisitools.dodir("/usr/lib/x86_64-linux-gnu/") - libs=["libpcsclite.so","libpcsclite.so.1", "libpcsclite.so.1.0.0"] - for i in libs: - pisitools.dosym("/usr/lib/%s" % i, "/usr/lib/x86_64-linux-gnu/%s" % i) + libs=["libpcsclite.so", "libpcsclite.so.1"] + for l in libs: + pisitools.dosym("/usr/lib/%s" % l, "/usr/lib/x86_64-linux-gnu/%s" % l) - pisitools.dodoc("AUTHORS", "ChangeLog", "HELP", "NEWS", - "README", "SECURITY", "doc/README.*") + pisitools.dodoc("AUTHORS", "COPYING") diff --git a/hardware/smartcard/pcsc-lite/comar/service.py b/hardware/smartcard/pcsc-lite/comar/service.py index 79af7101e0..93478eaf5e 100644 --- a/hardware/smartcard/pcsc-lite/comar/service.py +++ b/hardware/smartcard/pcsc-lite/comar/service.py @@ -18,6 +18,8 @@ def start(): pass startService(command="/usr/sbin/pcscd", + args="--foreground", + detach=True, donotify=True) @synchronized diff --git a/hardware/smartcard/pcsc-lite/pspec.xml b/hardware/smartcard/pcsc-lite/pspec.xml index 1c5f9399f2..fb7d926bd0 100644 --- a/hardware/smartcard/pcsc-lite/pspec.xml +++ b/hardware/smartcard/pcsc-lite/pspec.xml @@ -1,23 +1,23 @@ - + pcsc-lite - https://pcsclite.apdu.fr + https://pcsclite.apdu.fr/ PisiLinux Community admins@pisilinux.org - as-is + 3BSD app:console PC/SC drivers for smart card readers pcsc-lite is middleware to access a smart card using SCard API (PC/SC). - https://pcsclite.apdu.fr/files/pcsc-lite-2.0.0.tar.bz2 + https://pcsclite.apdu.fr/files/pcsc-lite-2.4.1.tar.xz + meson doxygen eudev-devel - gettext-devel - autoconf-archive + polkit-devel python3-devel @@ -26,15 +26,14 @@ pcsc-lite eudev + polkit - /etc/reader.conf.d - /usr/sbin + /etc /usr/bin + /usr/sbin /usr/lib - /usr/share/doc - /usr/share/man - /usr/lib/pcsc/drivers + /usr/share System.Service @@ -45,16 +44,24 @@ pcsc-lite-devel Development files for pcsc-lite - pcsc-lite eudev-devel + polkit-devel + pcsc-lite /usr/include - /usr/lib/pkgconfig + /usr/lib/pkgconfig + + 2026-04-12 + 2.4.1 + Version bump. + Mustafa Cinasal + muscnsl@gmail.com + 2023-06-11 2.0.0 diff --git a/hardware/smartcard/pcsc-lite/translations.xml b/hardware/smartcard/pcsc-lite/translations.xml index 2c167bab24..e7215971ef 100644 --- a/hardware/smartcard/pcsc-lite/translations.xml +++ b/hardware/smartcard/pcsc-lite/translations.xml @@ -9,9 +9,4 @@ pcsc-lite-devel pcsc-lite için geliştirme dosyaları - - - pcsc-lite-32bit - pcsc-lite için 32-bit paylaşımlı kitaplıklar -