ccid: 1.6.1
This commit is contained in:
parent
430add9dad
commit
1d82b93945
5 changed files with 73 additions and 0 deletions
12
ccid/.footprint
Normal file
12
ccid/.footprint
Normal file
|
@ -0,0 +1,12 @@
|
|||
drwxr-xr-x root/root etc/
|
||||
drwxr-xr-x root/root etc/rc.d/
|
||||
-rwxr-xr-x root/root etc/rc.d/pcscd
|
||||
drwxr-xr-x root/root usr/
|
||||
drwxr-xr-x root/root usr/lib/
|
||||
drwxr-xr-x root/root usr/lib/pcsc/
|
||||
drwxr-xr-x root/root usr/lib/pcsc/drivers/
|
||||
drwxr-xr-x root/root usr/lib/pcsc/drivers/ifd-ccid.bundle/
|
||||
drwxr-xr-x root/root usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/
|
||||
-rw-r--r-- root/root usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Info.plist
|
||||
drwxr-xr-x root/root usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Linux/
|
||||
-rwxr-xr-x root/root usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Linux/libccid.so
|
2
ccid/.md5sum
Normal file
2
ccid/.md5sum
Normal file
|
@ -0,0 +1,2 @@
|
|||
7aa1260d2f6f1b45eec4dbc7d359f4f5 ccid-1.6.1.tar.xz
|
||||
ae5c463e327269ec35faf7ad28361b5a pcscd.rc
|
6
ccid/.signature
Normal file
6
ccid/.signature
Normal file
|
@ -0,0 +1,6 @@
|
|||
untrusted comment: verify with /etc/ports/d77crux.pub
|
||||
RWT0dvMs3lAWkLyMjDLXXhxyp4QULi2hT+ihviXmbHuH6bzb5FdnHx8TBIGhBi2Qj4iVLBtc6oHbRcPPWLfm0WQ0TJA5BXoGJAU=
|
||||
SHA256 (Pkgfile) = 854c88fdf9cc0e1a7ad6e1dc46726b6db87cd1ff525522ec4719de79c7ee58a8
|
||||
SHA256 (.footprint) = 3c134600c6bcfb3ed4cb6d3269ddebaf4b01badcba943e55c6d31b1235e11192
|
||||
SHA256 (ccid-1.6.1.tar.xz) = 2eca8fb07e8fe7c0d39daeaca7b97cd73c40ed9b72738a24ad3dcbdfc918e1ea
|
||||
SHA256 (pcscd.rc) = 3568412924454aff2f564a27dd33d8b47ef74760331b4b1c6c87084150df3398
|
20
ccid/Pkgfile
Normal file
20
ccid/Pkgfile
Normal file
|
@ -0,0 +1,20 @@
|
|||
# Description: Generic USB CCID and ICCD driver for Unix systems.
|
||||
# URL: https://ccid.apdu.fr/
|
||||
# Maintainer: Daniel Azevedo, daniazevedo77 at posteo dot net
|
||||
# Depends on: pcsclite
|
||||
|
||||
name=ccid
|
||||
version=1.6.1
|
||||
release=2
|
||||
source=(https://ccid.apdu.fr/files/$name-$version.tar.xz pcscd.rc)
|
||||
|
||||
build() {
|
||||
cd $name-$version
|
||||
meson setup builddir
|
||||
cd builddir
|
||||
meson compile
|
||||
sudo DESTDIR=$PKG meson install
|
||||
|
||||
# Install startup script
|
||||
install -Dm 755 $SRC/pcscd.rc $PKG/etc/rc.d/pcscd
|
||||
}
|
33
ccid/pcscd.rc
Normal file
33
ccid/pcscd.rc
Normal file
|
@ -0,0 +1,33 @@
|
|||
# /etc/rc.d/pcscd: start/stop pcscd
|
||||
#
|
||||
|
||||
SSD=/sbin/start-stop-daemon
|
||||
PROG=/usr/sbin/pcscd
|
||||
PID=/run/pcscd/pcscd.pid
|
||||
|
||||
case $1 in
|
||||
start)
|
||||
$SSD --start --pidfile $PID --exec $PROG
|
||||
;;
|
||||
stop)
|
||||
$SSD --stop --retry 10 --pidfile $PID
|
||||
;;
|
||||
restart)
|
||||
$0 stop
|
||||
$0 start
|
||||
;;
|
||||
status)
|
||||
$SSD --status --pidfile $PID
|
||||
case $? in
|
||||
0) echo "$PROG is running with pid $(cat $PID)" ;;
|
||||
1) echo "$PROG is not running but the pid file $PID exists" ;;
|
||||
3) echo "$PROG is not running" ;;
|
||||
4) echo "Unable to determine the program status" ;;
|
||||
esac
|
||||
;;
|
||||
*)
|
||||
echo "Usage: $0 [start|stop|restart|status]"
|
||||
;;
|
||||
esac
|
||||
|
||||
# End of file
|
Loading…
Reference in a new issue