This reverts commit 112d4c71b2.
This upgrade causes a serious Plasma performance degradation and causes
incorrect font rendering. Reverting until the cause is known.
* removing luaMessagePack (only used by neovim)
* using libmpack (updated to latest master since they fixed a lot of packaging
issues)
* package libmpack lua bidnings
* neovim expression now excepts luaPackages as an input and not individual
lua packages (to avoid depending on different lua version)
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
So far the module only allowed for the ccid driver, but there are a lot
of other PCSC driver modules out there, so let's add an option called
"plugins", which boils down to a store path that links together all the
paths specified.
We don't need to create stuff in /var/lib/pcsc anymore, because we
patched pcsclite to allow setting PCSCLITE_HP_DROPDIR.
Another new option is readerConfig, which is especially useful for
non-USB readers that aren't autodetected.
The systemd service now is no longer Type=forking, because we're now
passing the -f (foreground) option to pcscd.
Tested against a YubiKey 4, SCR335 and a REINER SCT USB reader.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Cc: @wkennington
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
It's a driver module for PCSC-Lite, which allows to use the USB readers
from REINER SCT, a reader that is very commonly used in Germany for
online banking and for reading/writing data from/to the national
identity card.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
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
We're going to create a closure of plugins for aqbanking, so that it's
easier to adapt the gwenhywfar search path to include these store paths.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Cc: @cillianderoiste, @urkud
As of 4.15.3, gwenhywfar works with the latest version of GNUTLS, so we
no longer need to reside to using an older version.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
The promised updater, which feeds sources.nix and should help updating
all the aqbanking libraries at the same time.
I was very reluctant to write the updater entirely in Nix as I've done a
while ago for Chromium, because this would involve ugly hacks to do so.
That's why I've done a more conservative approach here, only using
nix-instantiate to get the contents of the current sources.nix.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Cc: @cillianderoiste, @urkud
The upstream URLs unfortunately aren't canonical, so let's have a
sources.nix which contains the release IDs used by the upstream sites to
associate a version of a particular package.
We're then going to create an updater script which should update the
sources.nix from there on.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Cc: @cillianderoiste, @urkud
This should make it easier to deduplicate things, such as fetching
upstream sources and the plugin paths, because after all these libraries
are aqbanking-related and maintained by the same author on the same
site.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Cc: @cillianderoiste, @urkud
Another library that is part of aqbanking and needed in order to access
various chip cards. It's essentially useful for doing online banking via
FinTS/HBCI without PIN/TAN (or iTAN, mobileTAN, whatnot...).
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Having something like $out/lib/gwenhywfar/plugins/60 when on Nix is a
bit pointless, because we won't have something like a central plugin
directory which could contain plugins for older library versions.
Another reason to strip the effective shared object version is that we
really want to avoid the need to track and update the SO version on
every single update.
This makes it way easier to add support for libchipcard and/or other
related packages/plugins.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Cc: @cillianderoiste, @urkud
Upstream changelog for version 5.5.1 through 5.6.10 is in German only
and also not very detailled, so here is a comparison from a GitHub
mirror I've found:
https://github.com/cstim/aqbanking/compare/5.5.1...e129e64472a2
I've also used a similar scheme to what I've been using for gwenhywfar,
so that we can soon unify all of the aqbanking & related libraries.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Cc: @cillianderoiste, @urkud
Upstream changelog for version 4.11 through 4.12 doesn't seem to be
available anymore and the change summaries from the project page are in
German, but here's a comparison from a GitHub mirror I've found:
https://github.com/cstim/gwenhywfar/compare/4.11.1beta...4055683538b6
I've shortened the URL to not include the file name in the URL itself
because we use the name attribute in fetchurl to force the name anyway.
A quick way to find out about the upstream download URLs is:
curl 'http://www.aquamaniac.de/sites/download/packages.php?package=01&showall=1' \
| sed -nre 's/^.*<a\>.*\<href="([^"]+)".*/\1/p'
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Cc: @cillianderoiste, @urkud