ccid, pcsc-lite.
This commit is contained in:
@@ -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")
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
<?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>
|
||||
<Source>
|
||||
<Name>ccid</Name>
|
||||
<Homepage>https://ccid.apdu.fr</Homepage>
|
||||
<Homepage>https://ccid.apdu.fr/</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
@@ -13,10 +13,13 @@
|
||||
<IsA>library</IsA>
|
||||
<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>
|
||||
<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>
|
||||
<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>pcsc-lite-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
@@ -27,13 +30,20 @@
|
||||
<Dependency>pcsc-lite</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="config">/etc/</Path>
|
||||
<Path fileType="library">/usr/lib/</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="config">/etc</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="data">/usr/share</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<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">
|
||||
<Date>2023-01-25</Date>
|
||||
<Version>1.5.1</Version>
|
||||
|
||||
@@ -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")
|
||||
|
||||
@@ -18,6 +18,8 @@ def start():
|
||||
pass
|
||||
|
||||
startService(command="/usr/sbin/pcscd",
|
||||
args="--foreground",
|
||||
detach=True,
|
||||
donotify=True)
|
||||
|
||||
@synchronized
|
||||
|
||||
@@ -1,23 +1,23 @@
|
||||
<?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>
|
||||
<Source>
|
||||
<Name>pcsc-lite</Name>
|
||||
<Homepage>https://pcsclite.apdu.fr</Homepage>
|
||||
<Homepage>https://pcsclite.apdu.fr/</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>as-is</License>
|
||||
<License>3BSD</License>
|
||||
<IsA>app:console</IsA>
|
||||
<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>
|
||||
<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>
|
||||
<Dependency>meson</Dependency>
|
||||
<Dependency>doxygen</Dependency>
|
||||
<Dependency>eudev-devel</Dependency>
|
||||
<Dependency>gettext-devel</Dependency>
|
||||
<Dependency>autoconf-archive</Dependency>
|
||||
<Dependency>polkit-devel</Dependency>
|
||||
<Dependency>python3-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
@@ -26,15 +26,14 @@
|
||||
<Name>pcsc-lite</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>eudev</Dependency>
|
||||
<Dependency>polkit</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="config">/etc/reader.conf.d</Path>
|
||||
<Path fileType="executable">/usr/sbin</Path>
|
||||
<Path fileType="config">/etc</Path>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="executable">/usr/sbin</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
<Path fileType="library">/usr/lib/pcsc/drivers</Path>
|
||||
<Path fileType="data">/usr/share</Path>
|
||||
</Files>
|
||||
<Provides>
|
||||
<COMAR script="service.py">System.Service</COMAR>
|
||||
@@ -45,16 +44,24 @@
|
||||
<Name>pcsc-lite-devel</Name>
|
||||
<Summary>Development files for pcsc-lite</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">pcsc-lite</Dependency>
|
||||
<Dependency>eudev-devel</Dependency>
|
||||
<Dependency>polkit-devel</Dependency>
|
||||
<Dependency release="current">pcsc-lite</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="library">/usr/lib/pkgconfig</Path>
|
||||
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<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">
|
||||
<Date>2023-06-11</Date>
|
||||
<Version>2.0.0</Version>
|
||||
|
||||
@@ -9,9 +9,4 @@
|
||||
<Name>pcsc-lite-devel</Name>
|
||||
<Summary xml:lang="tr">pcsc-lite için geliştirme dosyaları</Summary>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>pcsc-lite-32bit</Name>
|
||||
<Summary xml:lang="tr">pcsc-lite için 32-bit paylaşımlı kitaplıklar</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
|
||||
Reference in New Issue
Block a user