ccid, pcsc-lite.
This commit is contained in:
@@ -2,30 +2,24 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
#
|
#
|
||||||
# Licensed under the GNU General Public License, version 3.
|
# 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 mesontools, pisitools
|
||||||
from pisi.actionsapi import pisitools
|
|
||||||
from pisi.actionsapi import get
|
i = ''.join([
|
||||||
|
' --prefix=/usr',
|
||||||
|
' -Dclass=true',
|
||||||
|
' -Dserial=true',
|
||||||
|
' -Denable-extras=true '
|
||||||
|
])
|
||||||
|
|
||||||
def setup():
|
def setup():
|
||||||
autotools.configure("--enable-twinserial \
|
mesontools.configure(i)
|
||||||
--enable-serialconfdir=/etc/reader.conf.d \
|
|
||||||
--sysconfdir=/etc \
|
|
||||||
--disable-static \
|
|
||||||
--disable-dependency-tracking")
|
|
||||||
|
|
||||||
pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
|
|
||||||
|
|
||||||
def build():
|
def build():
|
||||||
autotools.make()
|
mesontools.build()
|
||||||
|
|
||||||
def install():
|
def install():
|
||||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
mesontools.install()
|
||||||
|
|
||||||
pisitools.insinto("/etc/", "src/Info.plist", "libccid_Info.plist")
|
|
||||||
|
|
||||||
pisitools.insinto("/etc/udev/rules.d/", "src/92_pcscd_ccid.rules", "92-pcsc-ccid.rules")
|
pisitools.dodoc("AUTHORS", "COPYING")
|
||||||
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*")
|
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
<?xml version="1.0" ?>
|
<?xml version="1.0" ?>
|
||||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||||
<PISI>
|
<PISI>
|
||||||
<Source>
|
<Source>
|
||||||
<Name>ccid</Name>
|
<Name>ccid</Name>
|
||||||
<Homepage>https://ccid.apdu.fr</Homepage>
|
<Homepage>https://ccid.apdu.fr/</Homepage>
|
||||||
<Packager>
|
<Packager>
|
||||||
<Name>PisiLinux Community</Name>
|
<Name>PisiLinux Community</Name>
|
||||||
<Email>admins@pisilinux.org</Email>
|
<Email>admins@pisilinux.org</Email>
|
||||||
@@ -13,10 +13,13 @@
|
|||||||
<IsA>library</IsA>
|
<IsA>library</IsA>
|
||||||
<Summary>Generic USB CCID(Chip/Smart Card Interface Devices) device drivers</Summary>
|
<Summary>Generic USB CCID(Chip/Smart Card Interface Devices) device drivers</Summary>
|
||||||
<Description>ccid provides the source code for a generic USB CCID (Chip/Smart Card Interface Devices) driver and ICCD (Integrated Circuit(s) Card Devices).</Description>
|
<Description>ccid provides the source code for a generic USB CCID (Chip/Smart Card Interface Devices) driver and ICCD (Integrated Circuit(s) Card Devices).</Description>
|
||||||
<Archive sha1sum="29b6df3a653df2a78014de3287f8fb507149825e" type="tarbz2">https://ccid.apdu.fr/files/ccid-1.5.1.tar.bz2</Archive>
|
<Archive sha1sum="ca561b0149400f8b62fdc8e284c553662fa7d0e1" type="tarxz">https://ccid.apdu.fr/files/ccid-1.7.1.tar.xz</Archive>
|
||||||
<BuildDependencies>
|
<BuildDependencies>
|
||||||
<Dependency versionFrom="1.8.26">pcsc-lite-devel</Dependency>
|
<Dependency>meson</Dependency>
|
||||||
|
<Dependency>zlib-devel</Dependency>
|
||||||
|
<Dependency>eudev-devel</Dependency>
|
||||||
<Dependency>libusb-devel</Dependency>
|
<Dependency>libusb-devel</Dependency>
|
||||||
|
<Dependency>pcsc-lite-devel</Dependency>
|
||||||
</BuildDependencies>
|
</BuildDependencies>
|
||||||
</Source>
|
</Source>
|
||||||
|
|
||||||
@@ -27,13 +30,20 @@
|
|||||||
<Dependency>pcsc-lite</Dependency>
|
<Dependency>pcsc-lite</Dependency>
|
||||||
</RuntimeDependencies>
|
</RuntimeDependencies>
|
||||||
<Files>
|
<Files>
|
||||||
<Path fileType="config">/etc/</Path>
|
<Path fileType="config">/etc</Path>
|
||||||
<Path fileType="library">/usr/lib/</Path>
|
<Path fileType="library">/usr/lib</Path>
|
||||||
<Path fileType="doc">/usr/share/doc</Path>
|
<Path fileType="data">/usr/share</Path>
|
||||||
</Files>
|
</Files>
|
||||||
</Package>
|
</Package>
|
||||||
|
|
||||||
<History>
|
<History>
|
||||||
|
<Update release="4">
|
||||||
|
<Date>2026-04-12</Date>
|
||||||
|
<Version>1.7.1</Version>
|
||||||
|
<Comment>Version bump.</Comment>
|
||||||
|
<Name>Mustafa Cinasal</Name>
|
||||||
|
<Email>muscnsl@gmail.com</Email>
|
||||||
|
</Update>
|
||||||
<Update release="3">
|
<Update release="3">
|
||||||
<Date>2023-01-25</Date>
|
<Date>2023-01-25</Date>
|
||||||
<Version>1.5.1</Version>
|
<Version>1.5.1</Version>
|
||||||
|
|||||||
@@ -2,41 +2,26 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
#
|
#
|
||||||
# Licensed under the GNU General Public License, version 3.
|
# 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 mesontools, pisitools
|
||||||
from pisi.actionsapi import autotools
|
|
||||||
from pisi.actionsapi import pisitools
|
|
||||||
from pisi.actionsapi import get
|
|
||||||
|
|
||||||
USBDROPDIR = "/usr/lib/pcsc/drivers"
|
|
||||||
|
|
||||||
def setup():
|
def setup():
|
||||||
options = "--enable-usbdropdir=%s \
|
mesontools.configure("--prefix=/usr -Dserial=true -Dlibsystemd=false")
|
||||||
--disable-libsystemd \
|
|
||||||
--disable-static" % USBDROPDIR
|
|
||||||
|
|
||||||
|
|
||||||
autotools.autoreconf("-fi")
|
|
||||||
autotools.configure(options)
|
|
||||||
|
|
||||||
pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
|
|
||||||
|
|
||||||
def build():
|
def build():
|
||||||
autotools.make()
|
mesontools.build()
|
||||||
|
|
||||||
def install():
|
def install():
|
||||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
mesontools.install()
|
||||||
|
|
||||||
pisitools.dodir(USBDROPDIR)
|
|
||||||
|
|
||||||
pisitools.dodir("/etc/reader.conf.d")
|
pisitools.dodir("/etc/reader.conf.d")
|
||||||
|
pisitools.dodir("/usr/lib/pcsc/drivers")
|
||||||
|
|
||||||
#for fixing UYAP e-Sign problem
|
#for fixing UYAP e-Sign problem
|
||||||
pisitools.dodir("/usr/lib/x86_64-linux-gnu/")
|
pisitools.dodir("/usr/lib/x86_64-linux-gnu/")
|
||||||
libs=["libpcsclite.so","libpcsclite.so.1", "libpcsclite.so.1.0.0"]
|
libs=["libpcsclite.so", "libpcsclite.so.1"]
|
||||||
for i in libs:
|
for l in libs:
|
||||||
pisitools.dosym("/usr/lib/%s" % i, "/usr/lib/x86_64-linux-gnu/%s" % i)
|
pisitools.dosym("/usr/lib/%s" % l, "/usr/lib/x86_64-linux-gnu/%s" % l)
|
||||||
|
|
||||||
pisitools.dodoc("AUTHORS", "ChangeLog", "HELP", "NEWS",
|
pisitools.dodoc("AUTHORS", "COPYING")
|
||||||
"README", "SECURITY", "doc/README.*")
|
|
||||||
|
|||||||
@@ -18,6 +18,8 @@ def start():
|
|||||||
pass
|
pass
|
||||||
|
|
||||||
startService(command="/usr/sbin/pcscd",
|
startService(command="/usr/sbin/pcscd",
|
||||||
|
args="--foreground",
|
||||||
|
detach=True,
|
||||||
donotify=True)
|
donotify=True)
|
||||||
|
|
||||||
@synchronized
|
@synchronized
|
||||||
|
|||||||
@@ -1,23 +1,23 @@
|
|||||||
<?xml version="1.0" ?>
|
<?xml version="1.0" ?>
|
||||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||||
<PISI>
|
<PISI>
|
||||||
<Source>
|
<Source>
|
||||||
<Name>pcsc-lite</Name>
|
<Name>pcsc-lite</Name>
|
||||||
<Homepage>https://pcsclite.apdu.fr</Homepage>
|
<Homepage>https://pcsclite.apdu.fr/</Homepage>
|
||||||
<Packager>
|
<Packager>
|
||||||
<Name>PisiLinux Community</Name>
|
<Name>PisiLinux Community</Name>
|
||||||
<Email>admins@pisilinux.org</Email>
|
<Email>admins@pisilinux.org</Email>
|
||||||
</Packager>
|
</Packager>
|
||||||
<License>as-is</License>
|
<License>3BSD</License>
|
||||||
<IsA>app:console</IsA>
|
<IsA>app:console</IsA>
|
||||||
<Summary>PC/SC drivers for smart card readers</Summary>
|
<Summary>PC/SC drivers for smart card readers</Summary>
|
||||||
<Description>pcsc-lite is middleware to access a smart card using SCard API (PC/SC).</Description>
|
<Description>pcsc-lite is middleware to access a smart card using SCard API (PC/SC).</Description>
|
||||||
<Archive sha1sum="9106f64a2bcb69397d0328ab6283ccfa673f075d" type="tarbz2">https://pcsclite.apdu.fr/files/pcsc-lite-2.0.0.tar.bz2</Archive>
|
<Archive sha1sum="64f3bb84c5e5a12c07a79cdcd6f1faba62cb473a" type="tarxz">https://pcsclite.apdu.fr/files/pcsc-lite-2.4.1.tar.xz</Archive>
|
||||||
<BuildDependencies>
|
<BuildDependencies>
|
||||||
|
<Dependency>meson</Dependency>
|
||||||
<Dependency>doxygen</Dependency>
|
<Dependency>doxygen</Dependency>
|
||||||
<Dependency>eudev-devel</Dependency>
|
<Dependency>eudev-devel</Dependency>
|
||||||
<Dependency>gettext-devel</Dependency>
|
<Dependency>polkit-devel</Dependency>
|
||||||
<Dependency>autoconf-archive</Dependency>
|
|
||||||
<Dependency>python3-devel</Dependency>
|
<Dependency>python3-devel</Dependency>
|
||||||
</BuildDependencies>
|
</BuildDependencies>
|
||||||
</Source>
|
</Source>
|
||||||
@@ -26,15 +26,14 @@
|
|||||||
<Name>pcsc-lite</Name>
|
<Name>pcsc-lite</Name>
|
||||||
<RuntimeDependencies>
|
<RuntimeDependencies>
|
||||||
<Dependency>eudev</Dependency>
|
<Dependency>eudev</Dependency>
|
||||||
|
<Dependency>polkit</Dependency>
|
||||||
</RuntimeDependencies>
|
</RuntimeDependencies>
|
||||||
<Files>
|
<Files>
|
||||||
<Path fileType="config">/etc/reader.conf.d</Path>
|
<Path fileType="config">/etc</Path>
|
||||||
<Path fileType="executable">/usr/sbin</Path>
|
|
||||||
<Path fileType="executable">/usr/bin</Path>
|
<Path fileType="executable">/usr/bin</Path>
|
||||||
|
<Path fileType="executable">/usr/sbin</Path>
|
||||||
<Path fileType="library">/usr/lib</Path>
|
<Path fileType="library">/usr/lib</Path>
|
||||||
<Path fileType="doc">/usr/share/doc</Path>
|
<Path fileType="data">/usr/share</Path>
|
||||||
<Path fileType="man">/usr/share/man</Path>
|
|
||||||
<Path fileType="library">/usr/lib/pcsc/drivers</Path>
|
|
||||||
</Files>
|
</Files>
|
||||||
<Provides>
|
<Provides>
|
||||||
<COMAR script="service.py">System.Service</COMAR>
|
<COMAR script="service.py">System.Service</COMAR>
|
||||||
@@ -45,16 +44,24 @@
|
|||||||
<Name>pcsc-lite-devel</Name>
|
<Name>pcsc-lite-devel</Name>
|
||||||
<Summary>Development files for pcsc-lite</Summary>
|
<Summary>Development files for pcsc-lite</Summary>
|
||||||
<RuntimeDependencies>
|
<RuntimeDependencies>
|
||||||
<Dependency release="current">pcsc-lite</Dependency>
|
|
||||||
<Dependency>eudev-devel</Dependency>
|
<Dependency>eudev-devel</Dependency>
|
||||||
|
<Dependency>polkit-devel</Dependency>
|
||||||
|
<Dependency release="current">pcsc-lite</Dependency>
|
||||||
</RuntimeDependencies>
|
</RuntimeDependencies>
|
||||||
<Files>
|
<Files>
|
||||||
<Path fileType="header">/usr/include</Path>
|
<Path fileType="header">/usr/include</Path>
|
||||||
<Path fileType="library">/usr/lib/pkgconfig</Path>
|
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
||||||
</Files>
|
</Files>
|
||||||
</Package>
|
</Package>
|
||||||
|
|
||||||
<History>
|
<History>
|
||||||
|
<Update release="8">
|
||||||
|
<Date>2026-04-12</Date>
|
||||||
|
<Version>2.4.1</Version>
|
||||||
|
<Comment>Version bump.</Comment>
|
||||||
|
<Name>Mustafa Cinasal</Name>
|
||||||
|
<Email>muscnsl@gmail.com</Email>
|
||||||
|
</Update>
|
||||||
<Update release="7">
|
<Update release="7">
|
||||||
<Date>2023-06-11</Date>
|
<Date>2023-06-11</Date>
|
||||||
<Version>2.0.0</Version>
|
<Version>2.0.0</Version>
|
||||||
|
|||||||
@@ -9,9 +9,4 @@
|
|||||||
<Name>pcsc-lite-devel</Name>
|
<Name>pcsc-lite-devel</Name>
|
||||||
<Summary xml:lang="tr">pcsc-lite için geliştirme dosyaları</Summary>
|
<Summary xml:lang="tr">pcsc-lite için geliştirme dosyaları</Summary>
|
||||||
</Package>
|
</Package>
|
||||||
|
|
||||||
<Package>
|
|
||||||
<Name>pcsc-lite-32bit</Name>
|
|
||||||
<Summary xml:lang="tr">pcsc-lite için 32-bit paylaşımlı kitaplıklar</Summary>
|
|
||||||
</Package>
|
|
||||||
</PISI>
|
</PISI>
|
||||||
|
|||||||
Reference in New Issue
Block a user