Commit graph

64 commits

Author SHA1 Message Date
Nick Cao 519ebe37e2
Merge pull request #283452 from SuperSandro2000/pcsclite-outputs
pcsclite: move binaries, polkit, systemd files to out, move libraries to lib
2024-01-28 21:19:51 -05:00
Sandro Jäckel 3da096a5c3
pcsclite: move binaries, polkit, systemd files to out, move libraries to lib
This should make the things related to the udev rules and binaries a lot
simpler and more expected.
2024-01-28 19:31:54 +01:00
Nick Cao e6d5d5d44f
pcsclite: disable building pcsc-wirecheck{,-gen} when cross compiling 2023-12-26 19:07:04 -05:00
Anthony Roussel 56603eb6ae
pcsclite: add meta.{changelog,mainProgram} 2023-12-07 15:51:07 +01:00
Anthony Roussel c22069226b
pcsclite: add passthru.tests.version 2023-12-07 15:51:07 +01:00
Anthony Roussel 4988c9de46
pcsclite: switch to fetchFromGitlab 2023-12-07 15:51:07 +01:00
Anthony Roussel 9ac6715549
pcsclite: 1.9.5 -> 2.0.1
https://salsa.debian.org/rousseau/PCSC/-/compare/1.9.5...2.0.1
https://salsa.debian.org/rousseau/PCSC/-/blob/2.0.1/ChangeLog
2023-12-07 15:51:06 +01:00
Anthony Roussel 5d04db1493
pcsclite: add anthonyroussel to maintainers 2023-12-07 15:51:06 +01:00
Anthony Roussel e182281c20
pcsclite: add passthru.updateScript 2023-12-07 15:51:06 +01:00
Julian Stecklina dd97082f16 pcsclite: depend on systemd libraries only
pcsclite only depends on libsystemd and libudev.
2023-10-23 01:46:26 +02:00
Jiajie Chen 3055583921 pcsclite: fix libsystemd switch 2022-11-07 09:11:39 +08:00
rnhmjoj c90b6a859b
nixos/pcscd: allow use without polkit
The polkit support in pcsclite is entirely optional but package enables
it unconditionally and this breaks connecting to the pcscd daemon on
systems without polkit.

The fix is making this configurable and automatically disabling
`polkitSupport` when the polkit service is disabled.
2022-10-21 13:06:40 +02:00
bootstrap-prime dad557524a
pcsclite: use systemdMinimal to avoid dep cycle 2022-07-23 20:37:12 -04:00
AndersonTorres 37f5921344 pcsclite: use new SRI hash format 2022-06-02 22:01:40 -03:00
Kirill Elagin df3e661ac9 pcsclite: 1.9.4 -> 1.9.5
Also updated our patch:

* Refreshed offsets.
* hotplug_linux.c was removed upstream.
2021-12-04 23:03:02 -05:00
Janne Heß 722ffe0d53
pcsclite: 1.9.1 -> 1.9.4 2021-10-18 13:56:45 +02:00
Peter Hoeg 2b93e96d0b pcsclite: add policy kit support 2021-04-03 19:09:48 +08:00
Sandro Jäckel 51bf96259e
pcsclite: format, remove ? null from inputs 2021-03-17 22:55:05 +01:00
R. RyanTM c06071b6c6 pcsclite: 1.9.0 -> 1.9.1 2021-02-20 08:51:53 +01:00
Ben Siraphob 76f93cc731 pkgs/tools: pkgconfig -> pkg-config 2021-01-16 23:49:59 -08:00
Ben Siraphob 8c5d37129f pkgs/tools: stdenv.lib -> lib 2021-01-15 17:12:36 +07:00
Profpatsch 4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Jan Tojnar 903f5dd519 Revert "pcsclite: Explicitly set ipcdir"
This reverts commit bc877d8bfc.

This is no longer necessary, since 1.9.0 finally uses /run by default.

562ef23bc7
2020-07-31 09:01:15 +02:00
R. RyanTM 8b8d7140ab pcsclite: 1.8.26 -> 1.9.0 2020-07-31 09:01:15 +02:00
Michael Reilly 84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
R. RyanTM 478fd057df pcsclite: 1.8.25 -> 1.8.26 2020-01-15 09:41:28 +01:00
Jörg Thalheim 4195870b66 pcsclite: build with python3
The script is compatible with both
2019-11-30 09:05:12 +01:00
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
R. RyanTM 15196d2b6c pcsclite: 1.8.24 -> 1.8.25 (#58745)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/pcsclite/versions
2019-04-09 21:13:17 +02:00
Jörg Thalheim b5c1deca8a
treewide: remove wkennington as maintainer
He prefers to contribute to his own nixpkgs fork triton.
Since he is still marked as maintainer in many packages
this leaves the wrong impression he still maintains those.
2019-01-26 10:05:32 +00:00
R. RyanTM 51251b446c
pcsclite: 1.8.23 -> 1.8.24
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/pcsclite/versions

(cherry picked from commit f174ae0f4f8c594624b34dc2fc77fe3755e785fb)
Signed-off-by: Domen Kožar <domen@dev.si>
(cherry picked from commit 7cf572d87abfafcde7b7142ea403445385612233)
Signed-off-by: Domen Kožar <domen@dev.si>
2018-11-07 18:46:21 +00:00
Lluís Batlle i Rossell 66d7126255 Take me (viric) out of most maintenance
Since years I'm not maintaining anything of the list below other
than some updates when I needed them for some reason. Other people
is doing that maintenance on my behalf so I better take me out but
for very few packages. Finally!
2018-07-22 21:50:19 +02:00
Matthew Bauer 76999cc40e treewide: remove aliases in nixpkgs
This makes the command ‘nix-env -qa -f. --arg config '{skipAliases =
true;}'’ work in Nixpkgs.

Misc...

- qtikz: use libsForQt5.callPackage

  This ensures we get the right poppler.

- rewrites:

  docbook5_xsl -> docbook_xsl_ns
  docbook_xml_xslt -> docbook_xsl

diffpdf: fixup
2018-07-18 23:25:20 -04:00
Jan Tojnar 3784fd5e46
pcsclite: split package 2018-06-29 04:40:54 +02:00
Orivej Desh 4d5565e87e pcsclite: clean up after #41790 2018-06-12 20:41:22 +00:00
Sander Hollaar 61d52aa62f pcsc-lite-not-found - wrong hash 2018-06-10 14:42:13 +02:00
Sander Hollaar ea66f3b839 pcsc-lite-not-found - alioth.debian.org decommissioned:
https://reproducible-builds.org/blog/posts/162/
2018-06-10 13:30:25 +02:00
Daiderd Jordan 00309d66ff
pcsclite: fix darwin build 2018-01-05 00:41:27 +01:00
adisbladis 2e4b802e98
pcsclite: 1.8.22 -> 1.8.23 2018-01-04 16:34:34 +01:00
Franz Pletz 523f343084
pcsclite: 1.8.21 -> 1.8.22 2017-08-01 08:36:29 +02:00
Franz Pletz a74c43aa8d
pcsclite: 1.8.20 -> 1.8.21 2017-05-24 23:53:49 +02:00
Graham Christensen 847647af6a
pcsclite: 1.8.17 -> 1.8.20 for CVE-2016-10109 2017-01-11 20:11:08 -05:00
Matthew Bauer 0acdc51d0e pcsclite: fix darwin build
needs IOKit
2016-08-16 19:25:43 +00:00
aszlig 53bf7e1907
pcsclite: 1.8.16 -> 1.8.17
Upstream changes:

  - Fix SCardEndTransaction() issue with a SCARD_SHARE_EXCLUSIVE
    connection
  - Fix an issue when used with systemd (problem in signal handler)
  - SCardGetAttrib(): set pcbAttrLen when buffer is too small
  - Doxygen: SCardGetAttrib() pbAttr can be NULL
  - Doxygen: SCardGetAttrib() *pcbAttrLen contains the buffer size
  - fix compilation warnings and link errors on SunOS
  - Some other minor improvements

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Cc: @viric, @wkennington
2016-06-04 16:40:34 +02:00
aszlig bc877d8bfc
pcsclite: Explicitly set ipcdir
Some libraries using PCSC-Lite still tend to refer to /var/run/pcscd
instead of /run/pcscd, so let's make sure this won't happen.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Cc: @viric, @wkennington
2016-06-04 16:38:57 +02:00
aszlig 70246d7cfa
pcsclite: Introduce PCSCLITE_HP_DROPDIR env var
This allows to override the directory where PCSC-Lite searches for USB
drivers at runtime and should make our NixOS module much more clean so
that we don't need to imperatively stitch together plugin directories
anymore.

I'm using a GNU extension for the ternary operator to avoid computing
getenv("PCSCLITE_HP_DROPDIR") twice:

https://gcc.gnu.org/onlinedocs/gcc/Conditionals.html#Conditionals

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Cc: @viric, @wkennington
2016-06-04 16:38:57 +02:00
Franz Pletz 11dee6fa17 pcsclite: 1.8.14 -> 1.8.16 2016-05-13 17:27:59 +02:00
John Wiegley 95f6a9e147 pcsclite: Enable building on Darwin 2015-12-03 13:13:31 -05:00
Pascal Wittmann 7fd2796e99 Replace 'with plaforms; platform' with 'platforms.platform' 2015-11-17 21:30:43 +01:00
Nikolay Amiantov d3c82934f8 pcsclite: fix pcsc-spy 2015-11-13 15:28:37 +03:00