Skip to content

Commit

Permalink
Apply patch to get cyberJack RFID komfort working
Browse files Browse the repository at this point in the history
Add patch from

https://forum.reiner-sct.com/index.php?/topic/3728-failed_to_transmit_control_command_to_the_terminal

to PKGBUILD.

Background:

PCSC v1.8.21 and higher break pcsc-cyberjack driver:

LudovicRousseau/PCSC#22

There is no official driver, which gets it working, however,
an unofficial patch is available and it seems to work fine.
  • Loading branch information
Olaf Leidinger committed May 19, 2018
1 parent 828f198 commit 3daab15
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .SRCINFO
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Generated by mksrcinfo v8
# Sun Aug 20 20:39:31 UTC 2017
# Sat May 19 17:57:07 UTC 2018
pkgbase = pcsc-cyberjack
pkgdesc = PCSC Driver for Reiner SCT cyberjack Cardreaders
pkgver = 3.99.5_SP11
Expand All @@ -15,7 +15,9 @@ pkgbase = pcsc-cyberjack
options = !libtool
options = !docs
source = http:https://support.reiner-sct.de/downloads/LINUX/V3.99.5_SP11/pcsc-cyberjack-3.99.5final.SP11.tar.bz2
source = pcsc-cyberjack-3.99.5_SP11-large-buffer.patch::https://forum.reiner-sct.com/applications/core/interface/file/attachment.php?id=233
sha256sums = 5cd78f527596f2905500b210d066ece62a8ab36a0d4d3677463805f8f4d3aa0c
sha256sums = 22a54a0e0a0a31e999f14e3f28597f53820f31b500b25c8be4785c76d1241821

pkgname = pcsc-cyberjack

11 changes: 9 additions & 2 deletions PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,15 @@ replaces=('ctapi-cyberjack')
conflicts=('ctapi-cyberjack')
depends=('libusb' 'pcsclite')
options=('!libtool' '!docs')
source=("http:https://support.reiner-sct.de/downloads/LINUX/V${pkgver}/pcsc-cyberjack-${_pkgver}.tar.bz2")
sha256sums=('5cd78f527596f2905500b210d066ece62a8ab36a0d4d3677463805f8f4d3aa0c')
source=("http:https://support.reiner-sct.de/downloads/LINUX/V${pkgver}/pcsc-cyberjack-${_pkgver}.tar.bz2"
"${pkgname}-${pkgver}-large-buffer.patch::https://forum.reiner-sct.com/applications/core/interface/file/attachment.php?id=233")
sha256sums=('5cd78f527596f2905500b210d066ece62a8ab36a0d4d3677463805f8f4d3aa0c'
'22a54a0e0a0a31e999f14e3f28597f53820f31b500b25c8be4785c76d1241821')

prepare() {
cd "${pkgname}-${_pkgver}"/cjeca32/
patch -Np0 -i "${srcdir}/${pkgname}-${pkgver}-large-buffer.patch"
}

build() {
cd "${pkgname}-${_pkgver}"
Expand Down

0 comments on commit 3daab15

Please sign in to comment.