Commit graph

32 commits

Author SHA1 Message Date
Florian Klink f32369b2b6 qdigidoc: use other source
It seems there's another version of the tarball published, without a
magic number that needs to be manually incremented. Use that.
2022-07-28 14:10:06 +07:00
Florian Klink 77d538c3a2 qdigidoc: nixpkgs-fmt 2022-07-28 14:09:52 +07:00
Florian Klink 551dd81f20 qdigidoc: 4.2.11 -> 4.2.12
From https://github.com/open-eid/DigiDoc4-Client/releases/tag/v4.2.12:

> Code, Text and translation improvements and updates
2022-07-25 09:12:14 +07:00
Klemens Nanni 8daa103d1f qdigidoc: Explain why LD_LIBRARY_PATH is required
Contrary to libdigidocpp's libdigidocpp, qdigidoc uses Qt to load
modules and thus causes different search behaviour in dlopen(3).

This approach is not required on every platform;  on OpenBSD[0]
qdigidoc4(1) finds "opensc-pkcs11.so" due to /usr/local/lib/pkcs11/
in the main program's DT_RUNPATH.

0: https://cvsweb.openbsd.org/cgi-bin/cvsweb/src/libexec/ld.so/library_subr.c?annotate=1.51
   (line 297)
2022-06-10 05:28:09 +02:00
Klemens Nanni 3e5b838713 qdigidoc: Update to 4.2.11
This release is still subject to double-free crashes in at least the
signature verification functionality, but debugging that requires an up
to date version (released two months ago), so here we go.

NB: Upstream released two source tarballs without further information,
qdigidoc4_r.2.11.110.orig.tar.xz contains sources without subdirectory,
qdigidoc4_r.2.11.110-1804.tar.xz contains a subdirectory with sources;
their difference is irrelevant for our build, so pick the one 1804 one:
```
$ diff -u -r qdigidoc4_r.2.11.110.orig/ qdigidoc4_r.2.11.110-1804/qdigidoc4/
Only in qdigidoc4_r.2.11.110.orig/cmake: .git
Only in qdigidoc4_r.2.11.110.orig/common: .git
Only in qdigidoc4_r.2.11.110.orig/common: .gitmodules
diff '--color=auto' -u -r qdigidoc4_r.2.11.110.orig/debian/changelog qdigidoc4_r.2.11.110-1804/qdigidoc4/debian/changelog
--- qdigidoc4_r.2.11.110.orig/debian/changelog	2022-01-28 13:44:35.000000000 +0200
+++ qdigidoc4_r.2.11.110-1804/qdigidoc4/debian/changelog	2022-01-28 13:44:38.000000000 +0200
@@ -1,3 +1,9 @@
+qdigidoc4 (4.2.11.110-1804) unstable; urgency=medium
+
+  * Release: 4.2.11.110.
+
+ -- RIA <info@ria.ee>  Fri, 28 Jan 2022 13:44:38 +0200
+
 qdigidoc4 (0.2.0.3) stable; urgency=low

   * Initial release
Only in qdigidoc4_r.2.11.110.orig/extensions/cmake: .git
Only in qdigidoc4_r.2.11.110.orig/extensions: .git
Only in qdigidoc4_r.2.11.110.orig/extensions: .gitmodules
```

```
$ git log --oneline v4.2.9..v4.2.11
2631e24 (tag: v4.2.11) Update translation (#1025)
76c671a Support Fedora (#997)
639cebe Update Qt to 5.12.2 (#1019)
cde7fb8 Add web-eid to diagnostics (#989)
faa8276 Add default option to sign button (#1001)
cb8262a Update OpenLDAP 2.6.0 (#996)
132de43 Workaround for Yaru theme on ubuntu 21.10 (#994)
58e4278 Improve safeFilename (#986)
1710f47 Fix coverity and cppcheck warnings (#992)
60af0bb Remove autofocus (#981)
5a9ff0a Use thread monitor event state (#845)
cdd95a5 Fix LDAP certificate validation (#980)
92f81ec Workaround SID/MID proxy unicode issues (#982)
92a5aaa Update version number and OpenSSL, OpenLDAP versions (#977)
5971e54 Update Xalan-C 1.12 (#976)
1f848cf Add more specific info for OpenSSLExceptions (#970)
0497b7f Set Select folder dialog button label and fix some translation warnings (#974)
e56e814 Workaround recent Qt changes to pass mousePressEvent (#978)
44f4a7e Update translations in russian for settings (#973)
25756eb Wait for upper level operations to avoid locked screen (#979)
232784e Don't set focus to fonds image (#967)
5cf2157 Change the view of expired and expiring certificates (#965)
b001274 Resolve a yellow background, when PIN is locked (#971)
4b20375 Fix the boolean value (#975)
1a41817 Resolve Ubuntu 21.04 warnings (#946)
301178b Set read-only permission for files in signed container (#962)
e028a30 Update OpenLDAP 2.5.5 (#963)
1fb5f6a Set accessible name to pin (#966)
18e6112 Handle libdigidocpp exception (#943)
a9efe0f Update translations (#961)
06e44a0 Fix Linux dark theme (#950)
a6ff428 Fix missed border of Accordion (#960)
a14476c Update list of components in Info view (#958)
8980270 Fix normalization of filenames (#952)
e4aac44 Shorten notifications display time (#948)
14606dc Use QSysInfo for OS version (#931)
b8716e7 Resolve a yellow background, when PIN is locked (#947)
0319c6b Don't allow searching for spaces during encryption (#929)
```
2022-06-03 04:40:36 +02:00
Klemens Nanni e4dbad58d2 libdigidocpp: Fix PKCS11 module library path
By default, the OpenSC module is loaded as relative filename, i.e.
"opensc-pkcs11.so" is searched for in the default library path.

Point `LD_LIBRARY_PATH` for `digidoc-tool` to the OpenSC package just
like pkgs/tools/seurity/qdigidoc/deafult.nix already does.

This makes `digidoc-tool` work by default without manually setting
`LD_LIBRARY_PATH` or passing `--pkcs11=/path/to/module`.

Follow upstream once an appropiate patch has been merged.
2022-06-02 20:45:00 +02:00
Klemens Nanni 1d46988e13 qdigidoc: Wrap just once
Merge `LD_LIBRARY_PATH` fixing into the automatic Qt wrapping hook.
Otherwise `argv[0]` ends up as ".qdigidoc4-wrapped" due extra wrapping.
2022-06-02 20:39:19 +02:00
Klemens Nanni fea6ebccfb qdigidoc: Drop unused darkhttpd dependency
Introduced in 4b61b7814e "qdigidoc: fetch TSL info" without further
information or direct use in default.nix.

Neither DigiDoc4-Client sources nor other distribution packages contain
any reference to darkhttpd whatsoever.
2022-06-01 01:05:19 +02:00
Yana Timoshenko 719567e91f maintainers: update personal details 2021-12-31 21:48:55 +03:00
kk-boop 89310375d8 qdigidoc: migrate to from fetchgit to release assets fetchurl
Removes need for submodule cloning and nixpkgs-update should now work on it
2021-12-19 20:25:56 +02:00
kk-boop a4cf8b233e qdigidoc: 4.2.8 -> 4.2.9 2021-12-19 19:48:36 +02:00
kk-boop fc4c000d4b qdigidoc: migrate to more stably addressable TSL pivot tables
These were added to provide "publicly available historized specific instances of a LOTL". Previously the file fetched could change at any time (around twice a month on average), and break reproducibility. Further information regarding pivot LOTL is available at https://ec.europa.eu/tools/lotl/pivot-lotl-explanation.html.
2021-12-19 15:41:20 +02:00
kk-boop ce5e8c343b qdigidoc: 4.2.3 -> 4.2.8 2021-06-04 21:51:09 +03:00
Pavol Rusnak a6ce00c50c
treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
Ben Siraphob 76f93cc731 pkgs/tools: pkgconfig -> pkg-config 2021-01-16 23:49:59 -08: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
Marek Mahut 84eb0bee4b qdigidoc: adding mmahut as maintainer 2020-01-30 09:55:18 +01:00
Marek Mahut c4594f8c2c qdigidoc: 4.1.0 -> 4.2.3
using mkDerivation
2020-01-30 09:55:18 +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
c0bw3b 9cb260d091 [treewide] delete unused patches 2019-05-04 19:52:24 +02:00
Domen Kožar e854a7a72f
qdigidoc: 3.13.6 -> 4.1.0 2018-11-08 11:42:01 +00:00
Yegor Timoshenko 4b61b7814e qdigidoc: fetch TSL info 2018-08-10 14:02:25 +03:00
Yegor Timoshenko 02644780d2 qdigidoc: enableParallelBuilding = false 2018-08-10 13:02:23 +03:00
Yegor Timoshenko c47995a4e3 qdigidoc: 3.12.0.1442 -> 3.13.6 2018-08-10 13:02:23 +03:00
Matthew Bauer 92a9f735e0 Revert "qdigidoc: remove certs.patch"
This reverts commit 36a460462f.

Doh
2018-04-03 22:45:06 -05:00
Matthew Bauer 36a460462f qdigidoc: remove certs.patch
Patch is too big and looks to be uneeded.
2018-04-03 22:33:01 -05:00
Jan Tojnar a31d98f312
tree-wide: autorename gnome packages to use dashes 2018-02-25 17:41:16 +01:00
Orivej Desh db919d1ac4 qdigidoc: enable parallel building 2017-11-09 10:51:49 +00:00
adisbladis 63bc228670
qdigidoc: fix build with glibc 2.26 2017-11-09 17:39:13 +08:00
John Ericson 531e4b80c9 misc pkgs: Basic sed to get fix pkgconfig and autoreconfHook buildInputs
Only acts on one-line dependency lists.
2017-09-21 15:49:53 -04:00
Silvan Mosberger f5fa5fa4d6 pkgs: refactor needless quoting of homepage meta attribute (#27809)
* pkgs: refactor needless quoting of homepage meta attribute

A lot of packages are needlessly quoting the homepage meta attribute
(about 1400, 22%), this commit refactors all of those instances.

* pkgs: Fixing some links that were wrongfully unquoted in the previous
commit

* Fixed some instances
2017-08-01 22:03:30 +02:00
Arseniy Seroka 05f2f8fc29
qdigidoc: init at 3.12.0.1442 2016-04-27 11:38:10 +03:00