* [bug#62293] [PATCH] gnu: add pcsc-cyberjack
@ 2023-03-20 10:28 Arvid Krein
2023-03-20 18:44 ` Bruno Victal
` (3 more replies)
0 siblings, 4 replies; 6+ messages in thread
From: Arvid Krein @ 2023-03-20 10:28 UTC (permalink / raw)
To: 62293
* gnu/packages/security-token.scm (pcsc-cyberjack): New variable.
---
gnu/packages/security-token.scm | 34 +++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/gnu/packages/security-token.scm
b/gnu/packages/security-token.scm
index a7f5e3acf9..521f6f226b 100644
--- a/gnu/packages/security-token.scm
+++ b/gnu/packages/security-token.scm
@@ -967,3 +967,37 @@ (define-public cardpeek
It also has limited support for Mifare Classic compatible cards
(Thalys card)")
(license license:gpl3+)
(home-page "http://pannetrat.com/Cardpeek")))
+
+(define-public pcsc-cyberjack
+ (package
+ (name "pcsc-cyberjack")
+ (version "3.99.5final.sp15")
+ (synopsis "PC/SC driver for cyberJack chipcard readers")
+ (home-page "http://www.reiner-sct.com/")
+ (description
+ "REINER SCT cyberJack USB chipcard reader user space driver
+ This package includes the IFD driver for the cyberJack contactless
+ (RFID) and contact USB chipcard reader.")
+ (license license:lgpl2.1+)
+ (native-inputs (list pkg-config))
+ (inputs (list pcsc-lite libusb))
+ (outputs '("out" "tools"))
+ (source (origin
+ (method url-fetch)
+ (uri
+
"https://support.reiner-sct.de/downloads/LINUX/V3.99.5_SP15/pcsc-cyberjack_3.99.5final.SP15.tar.bz2")
+ (sha256
+ (base32
+ "0yj6plgb245r218v6lgdabb3422hxyrw8rrpf5b8fwah4j1w5dxc"))))
+ (build-system gnu-build-system)
+ (arguments
+ (list #:configure-flags #~(list (string-append "--with-usbdropdir="
+ (ungexp output "out")
+ "/pcsc/drivers")
+ (string-append "--bindir="
+ (ungexp output "tools")
+ "/bin"))
+ #:phases '(modify-phases %standard-phases
+ (add-after 'install 'install-tools
+ (lambda _
+ (invoke "make" "-C" "tools/cjflash"
"install"))))))))
base-commit: 3a2200e1ad2049ad7e25295e6b4e013f74dd84e2
--
2.39.2
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [bug#62293] [PATCH] gnu: add pcsc-cyberjack
2023-03-20 10:28 [bug#62293] [PATCH] gnu: add pcsc-cyberjack Arvid Krein
@ 2023-03-20 18:44 ` Bruno Victal
2023-03-21 11:26 ` [bug#62293] [PATCH v1] " Arvid Krein
` (2 subsequent siblings)
3 siblings, 0 replies; 6+ messages in thread
From: Bruno Victal @ 2023-03-20 18:44 UTC (permalink / raw)
To: Arvid Krein; +Cc: 62293
Hi Arvid,
On 2023-03-20 10:28, Arvid Krein wrote:
> +(define-public pcsc-cyberjack
> + (package
> + (name "pcsc-cyberjack")
> + (version "3.99.5final.sp15")
> + (synopsis "PC/SC driver for cyberJack chipcard readers")
> + (home-page "http://www.reiner-sct.com/")
> + (description
> + "REINER SCT cyberJack USB chipcard reader user space driver
> + This package includes the IFD driver for the cyberJack contactless
> + (RFID) and contact USB chipcard reader.")
How about “This package includes the IFD driver for the cyberJack contactless (RFID) and contact USB chipcard readers.”
> + (source (origin
> + (method url-fetch)
> + (uri
> + "https://support.reiner-sct.de/downloads/LINUX/V3.99.5_SP15/pcsc-cyberjack_3.99.5final.SP15.tar.bz2")> + (sha256
> + (base32
> + "0yj6plgb245r218v6lgdabb3422hxyrw8rrpf5b8fwah4j1w5dxc"))))
How about indenting this as:
(source
(origin
(method url-fetch)
(uri ...)
(sha256
(base32 ...))))
> + (arguments
> + (list #:configure-flags #~(list (string-append "--with-usbdropdir="
> + (ungexp output "out")
> + "/pcsc/drivers")
> + (string-append "--bindir="
> + (ungexp output "tools")
> + "/bin"))
> + #:phases '(modify-phases %standard-phases
> + (add-after 'install 'install-tools
> + (lambda _
> + (invoke "make" "-C" "tools/cjflash" "install"))))))))
Do this:
(arguments
(list
#:configure-flags
#~(list (string-append "--with-usbdropdir=" #$output "/pcsc/drivers")
(string-append "--bindir=" #$output:tools "/bin"))
#:phases
#~(modify-phases %standard-phases
... )))
Also, please reorder the package fields into something like:
(define-public ...
(package
(name ...)
(version ...)
(source ...)
(build-system ...)
(arguments ...)
(native-inputs ...)
(inputs ...)
(outputs ...)
(synopsis ...)
(description ...)
(home-page ...)
(license ...)))
Cheers,
Bruno
^ permalink raw reply [flat|nested] 6+ messages in thread
* [bug#62293] [PATCH v1] gnu: add pcsc-cyberjack
2023-03-20 10:28 [bug#62293] [PATCH] gnu: add pcsc-cyberjack Arvid Krein
2023-03-20 18:44 ` Bruno Victal
@ 2023-03-21 11:26 ` Arvid Krein
2023-03-22 14:26 ` [bug#62293] [PATCH v2] gnu: add cyberjack-pcsc Arvid Krein
2023-06-02 14:45 ` bug#62293: Done: Patch was pushed as commit a7d9cd742c3149bb014db95f88d1158d590bc124 Arvid Krein
3 siblings, 0 replies; 6+ messages in thread
From: Arvid Krein @ 2023-03-21 11:26 UTC (permalink / raw)
To: 62293
* gnu/packages/security-token.scm (pcsc-cyberjack): New variable.
---
gnu/packages/security-token.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/gnu/packages/security-token.scm
b/gnu/packages/security-token.scm
index a7f5e3acf9..e139c9a1cf 100644
--- a/gnu/packages/security-token.scm
+++ b/gnu/packages/security-token.scm
@@ -967,3 +967,34 @@ (define-public cardpeek
It also has limited support for Mifare Classic compatible cards
(Thalys card)")
(license license:gpl3+)
(home-page "http://pannetrat.com/Cardpeek")))
+
+(define-public pcsc-cyberjack
+ (package
+ (name "pcsc-cyberjack")
+ (version "3.99.5final.sp15")
+ (source
+ (origin
+ (method url-fetch)
+ (uri
+
"https://support.reiner-sct.de/downloads/LINUX/V3.99.5_SP15/pcsc-cyberjack_3.99.5final.SP15.tar.bz2")
+ (sha256
+ (base32
+ "0yj6plgb245r218v6lgdabb3422hxyrw8rrpf5b8fwah4j1w5dxc"))))
+ (build-system gnu-build-system)
+ (arguments
+ (list
+ #:configure-flags
+ #~(list (string-append "--with-usbdropdir=" #$output "/pcsc/drivers")
+ (string-append "--bindir=" #$output:tools "/bin"))
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'install 'install-tools
+ (lambda _ (invoke "make" "-C" "tools/cjflash" "install"))))))
+ (native-inputs (list pkg-config))
+ (inputs (list pcsc-lite libusb))
+ (outputs '("out" "tools"))
+ (synopsis "PC/SC driver for cyberJack chipcard readers")
+ (description
+ "This package includes the IFD driver for the cyberJack
contactless (RFID) and contact USB chipcard readers.")
+ (home-page "http://www.reiner-sct.com/")
+ (license license:lgpl2.1+)))
base-commit: 3a2200e1ad2049ad7e25295e6b4e013f74dd84e2
--
2.39.2
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [bug#62293] [PATCH v2] gnu: add cyberjack-pcsc
2023-03-20 10:28 [bug#62293] [PATCH] gnu: add pcsc-cyberjack Arvid Krein
2023-03-20 18:44 ` Bruno Victal
2023-03-21 11:26 ` [bug#62293] [PATCH v1] " Arvid Krein
@ 2023-03-22 14:26 ` Arvid Krein
2023-06-02 11:28 ` [bug#62293] [PATCH] gnu: add pcsc-cyberjack 宋文武 via Guix-patches via
2023-06-02 14:45 ` bug#62293: Done: Patch was pushed as commit a7d9cd742c3149bb014db95f88d1158d590bc124 Arvid Krein
3 siblings, 1 reply; 6+ messages in thread
From: Arvid Krein @ 2023-03-22 14:26 UTC (permalink / raw)
To: 62293
Hello Bruno,
I thought a while about package naming and now think that cyberjack-pcsc
might be a better package name. The package is not part of pcsc but
rather contains pcsc drivers for cyberjack so I would think
cyberjack-pcsc is more appropriate. I am not sure about this though and
would be happy about feedback. In general this aligns better with how I
think guix package names are chosen.
Greetings,
Arvid
* gnu/packages/security-token.scm (cyberjack-pcsc): New variable.
---
gnu/packages/security-token.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/gnu/packages/security-token.scm
b/gnu/packages/security-token.scm
index 3cf585480e..11ec681cdc 100644
--- a/gnu/packages/security-token.scm
+++ b/gnu/packages/security-token.scm
@@ -1025,3 +1025,34 @@ (define-public cardpeek
It also has limited support for Mifare Classic compatible cards
(Thalys card)")
(license license:gpl3+)
(home-page "http://pannetrat.com/Cardpeek")))
+
+(define-public cyberjack-pcsc
+ (package
+ (name "cyberjack-pcsc")
+ (version "3.99.5final.sp15")
+ (source
+ (origin
+ (method url-fetch)
+ (uri
+
"https://support.reiner-sct.de/downloads/LINUX/V3.99.5_SP15/pcsc-cyberjack_3.99.5f
inal.SP15.tar.bz2")
+ (sha256
+ (base32
+ "0yj6plgb245r218v6lgdabb3422hxyrw8rrpf5b8fwah4j1w5dxc"))))
+ (build-system gnu-build-system)
+ (arguments
+ (list
+ #:configure-flags
+ #~(list (string-append "--with-usbdropdir=" #$output "/pcsc/drivers")
+ (string-append "--bindir=" #$output:tools "/bin"))
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'install 'install-tools
+ (lambda _ (invoke "make" "-C" "tools/cjflash" "install"))))))
+ (native-inputs (list pkg-config))
+ (inputs (list pcsc-lite libusb))
+ (outputs '("out" "tools"))
+ (synopsis "PC/SC driver for cyberJack chipcard readers")
+ (description
+ "This package includes the IFD driver for the cyberJack
contactless (RFID) and contac
t USB chipcard readers.")
+ (home-page "http://www.reiner-sct.com/")
+ (license license:lgpl2.1+)))
base-commit: 4f8a13b9fbfd0efcb94ee8da46b09c6dbe84ac4b
--
2.39.2
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [bug#62293] [PATCH] gnu: add pcsc-cyberjack
2023-03-22 14:26 ` [bug#62293] [PATCH v2] gnu: add cyberjack-pcsc Arvid Krein
@ 2023-06-02 11:28 ` 宋文武 via Guix-patches via
0 siblings, 0 replies; 6+ messages in thread
From: 宋文武 via Guix-patches via @ 2023-06-02 11:28 UTC (permalink / raw)
To: Arvid Krein; +Cc: 62293-done
Arvid Krein <arvidkrein@zedat.fu-berlin.de> writes:
> Hello Bruno,
>
> I thought a while about package naming and now think that
> cyberjack-pcsc might be a better package name.
Hello, I pushed it as 'pcsc-cyberjack', as it's a driver/extension to
pcsc. Note that Archlinux also has it:
https://aur.archlinux.org/packages/pcsc-cyberjack
Thank you!
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#62293: Done: Patch was pushed as commit a7d9cd742c3149bb014db95f88d1158d590bc124
2023-03-20 10:28 [bug#62293] [PATCH] gnu: add pcsc-cyberjack Arvid Krein
` (2 preceding siblings ...)
2023-03-22 14:26 ` [bug#62293] [PATCH v2] gnu: add cyberjack-pcsc Arvid Krein
@ 2023-06-02 14:45 ` Arvid Krein
3 siblings, 0 replies; 6+ messages in thread
From: Arvid Krein @ 2023-06-02 14:45 UTC (permalink / raw)
To: 62293-done
This Patch was merged in commit a7d9cd742c3149bb014db95f88d1158d590bc124
so I am marking it as done.
Greetings,
Arvid
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2023-06-02 23:03 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-20 10:28 [bug#62293] [PATCH] gnu: add pcsc-cyberjack Arvid Krein
2023-03-20 18:44 ` Bruno Victal
2023-03-21 11:26 ` [bug#62293] [PATCH v1] " Arvid Krein
2023-03-22 14:26 ` [bug#62293] [PATCH v2] gnu: add cyberjack-pcsc Arvid Krein
2023-06-02 11:28 ` [bug#62293] [PATCH] gnu: add pcsc-cyberjack 宋文武 via Guix-patches via
2023-06-02 14:45 ` bug#62293: Done: Patch was pushed as commit a7d9cd742c3149bb014db95f88d1158d590bc124 Arvid Krein
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).