diff options
| author | Tobias Geerinckx-Rice <me@tobias.gr> | 2023-07-09 02:00:04 +0200 |
|---|---|---|
| committer | Tobias Geerinckx-Rice <me@tobias.gr> | 2023-07-09 02:00:09 +0200 |
| commit | aa576321f2b3bd74f0c11ff737112ce6a8337605 (patch) | |
| tree | 33d0987fea6465cc5bd8ff00e207f3ff65cfffd1 /gnu | |
| parent | 86aa9e23d82fbcb79abc9f709b0c75881ba40201 (diff) | |
gnu: oath-toolkit: Update to 2.6.9.
* gnu/packages/authentication.scm (oath-toolkit): Update to 2.6.9.
[source]: Remove patch.
* gnu/packages/patches/oath-toolkit-xmlsec-compat.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Remove it.
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/local.mk | 1 | ||||
| -rw-r--r-- | gnu/packages/authentication.scm | 5 | ||||
| -rw-r--r-- | gnu/packages/patches/oath-toolkit-xmlsec-compat.patch | 79 |
3 files changed, 2 insertions, 83 deletions
diff --git a/gnu/local.mk b/gnu/local.mk index 06a376a99a6..b460d3bc917 100644 --- a/gnu/local.mk +++ b/gnu/local.mk | |||
| @@ -1644,7 +1644,6 @@ dist_patch_DATA = \ | |||
| 1644 | %D%/packages/patches/nvi-dbpagesize-binpower.patch \ | 1644 | %D%/packages/patches/nvi-dbpagesize-binpower.patch \ |
| 1645 | %D%/packages/patches/nvi-db4.patch \ | 1645 | %D%/packages/patches/nvi-db4.patch \ |
| 1646 | %D%/packages/patches/nyacc-binary-literals.patch \ | 1646 | %D%/packages/patches/nyacc-binary-literals.patch \ |
| 1647 | %D%/packages/patches/oath-toolkit-xmlsec-compat.patch \ | ||
| 1648 | %D%/packages/patches/obs-modules-location.patch \ | 1647 | %D%/packages/patches/obs-modules-location.patch \ |
| 1649 | %D%/packages/patches/ocaml-dose3-add-unix-dependency.patch \ | 1648 | %D%/packages/patches/ocaml-dose3-add-unix-dependency.patch \ |
| 1650 | %D%/packages/patches/ocaml-dose3-Fix-for-ocaml-4.06.patch \ | 1649 | %D%/packages/patches/ocaml-dose3-Fix-for-ocaml-4.06.patch \ |
diff --git a/gnu/packages/authentication.scm b/gnu/packages/authentication.scm index de1769d65f1..f89458cb8c7 100644 --- a/gnu/packages/authentication.scm +++ b/gnu/packages/authentication.scm | |||
| @@ -62,15 +62,14 @@ | |||
| 62 | (define-public oath-toolkit | 62 | (define-public oath-toolkit |
| 63 | (package | 63 | (package |
| 64 | (name "oath-toolkit") | 64 | (name "oath-toolkit") |
| 65 | (version "2.6.7") | 65 | (version "2.6.9") |
| 66 | (source | 66 | (source |
| 67 | (origin | 67 | (origin |
| 68 | (method url-fetch) | 68 | (method url-fetch) |
| 69 | (uri (string-append "https://download.savannah.nongnu.org/releases/" | 69 | (uri (string-append "https://download.savannah.nongnu.org/releases/" |
| 70 | name "/" name "-" version ".tar.gz")) | 70 | name "/" name "-" version ".tar.gz")) |
| 71 | (patches (search-patches "oath-toolkit-xmlsec-compat.patch")) | ||
| 72 | (sha256 | 71 | (sha256 |
| 73 | (base32 "1aa620k05lsw3l3slkp2mzma40q3p9wginspn9zk8digiz7dzv9n")))) | 72 | (base32 "11g9r1avl3d2nnkglk0g7d6z6gs5padk75xqzvbxp9pir0qwhfik")))) |
| 74 | (build-system gnu-build-system) | 73 | (build-system gnu-build-system) |
| 75 | (arguments | 74 | (arguments |
| 76 | ;; TODO ‘--enable-pskc’ causes xmlsec-related test suite failures. | 75 | ;; TODO ‘--enable-pskc’ causes xmlsec-related test suite failures. |
diff --git a/gnu/packages/patches/oath-toolkit-xmlsec-compat.patch b/gnu/packages/patches/oath-toolkit-xmlsec-compat.patch deleted file mode 100644 index 18589366a95..00000000000 --- a/gnu/packages/patches/oath-toolkit-xmlsec-compat.patch +++ /dev/null | |||
| @@ -1,79 +0,0 @@ | |||
| 1 | Adjust tests for compatibility with newer xmlsec. | ||
| 2 | |||
| 3 | Taken from upstream: | ||
| 4 | |||
| 5 | https://gitlab.com/oath-toolkit/oath-toolkit/-/commit/0ae59b9c72f69ee21044e736e292b73051df3272 | ||
| 6 | |||
| 7 | diff --git a/libpskc/examples/pskc-hotp-signed.xml b/libpskc/examples/pskc-hotp-signed.xml | ||
| 8 | index 359dd4723cf2b5ae1ca53d793cc6900a15bd4969..396e0829ff245b3ad6953cc3523d77568c8a18f4 100644 | ||
| 9 | --- a/libpskc/examples/pskc-hotp-signed.xml | ||
| 10 | +++ b/libpskc/examples/pskc-hotp-signed.xml | ||
| 11 | @@ -38,7 +38,8 @@ rIXbwqKhnBP943U4Ch31oEbZtbo+XRbiq11wv6dLNsi76TNGDqsjTKgEcSIYI6Vd | ||
| 12 | rMxnil6ChoIBvSSPGHhJuj1bW1EPW92JtIa6byrAj1m4RwSviQy2i65YoIdtrhRt | ||
| 13 | CWekj2zuL/0szv5rZMCCvxioOCA8znqELEPMfs0Aa/cACD2MZcC4gGXehNCvzYJr | ||
| 14 | TmB6lFpxP6f0g6eO7PVcqYN9NCwECxb5Cvx2j2uNlereY35/9oPR6YJx+V7sL+DB | ||
| 15 | -n6F0mN8OUAFxDamepKdGRApU8uZ35624o/I4</X509Certificate> | ||
| 16 | +n6F0mN8OUAFxDamepKdGRApU8uZ35624o/I4 | ||
| 17 | +</X509Certificate> | ||
| 18 | </X509Data> | ||
| 19 | </KeyInfo> | ||
| 20 | </Signature></KeyContainer> | ||
| 21 | diff --git a/pskctool/tests/pskc-all-signed.xml b/pskctool/tests/pskc-all-signed.xml | ||
| 22 | index 39cf8af5bb00e34fa5e1acb97cea59ff742758f4..5d44e72d928ccf1f46975e6ccca58297e235be95 100644 | ||
| 23 | --- a/pskctool/tests/pskc-all-signed.xml | ||
| 24 | +++ b/pskctool/tests/pskc-all-signed.xml | ||
| 25 | @@ -38,7 +38,8 @@ rIXbwqKhnBP943U4Ch31oEbZtbo+XRbiq11wv6dLNsi76TNGDqsjTKgEcSIYI6Vd | ||
| 26 | rMxnil6ChoIBvSSPGHhJuj1bW1EPW92JtIa6byrAj1m4RwSviQy2i65YoIdtrhRt | ||
| 27 | CWekj2zuL/0szv5rZMCCvxioOCA8znqELEPMfs0Aa/cACD2MZcC4gGXehNCvzYJr | ||
| 28 | TmB6lFpxP6f0g6eO7PVcqYN9NCwECxb5Cvx2j2uNlereY35/9oPR6YJx+V7sL+DB | ||
| 29 | -n6F0mN8OUAFxDamepKdGRApU8uZ35624o/I4</X509Certificate> | ||
| 30 | +n6F0mN8OUAFxDamepKdGRApU8uZ35624o/I4 | ||
| 31 | +</X509Certificate> | ||
| 32 | </X509Data> | ||
| 33 | </KeyInfo> | ||
| 34 | </Signature></KeyContainer> | ||
| 35 | diff --git a/pskctool/tests/tst_libexamples.sh b/pskctool/tests/tst_libexamples.sh | ||
| 36 | index 0e8e558b4cbefbac9f2ca301fddb2ac4b8cfbdfa..5cb52ce44f40a78ab886ff12d2eac64e5b5c4c7e 100755 | ||
| 37 | --- a/pskctool/tests/tst_libexamples.sh | ||
| 38 | +++ b/pskctool/tests/tst_libexamples.sh | ||
| 39 | @@ -1,7 +1,7 @@ | ||
| 40 | #!/bin/sh | ||
| 41 | |||
| 42 | # tst_libexamples.sh - keep pskctool output in GTK-DOC manual up to date | ||
| 43 | -# Copyright (C) 2012-2021 Simon Josefsson | ||
| 44 | +# Copyright (C) 2012-2022 Simon Josefsson | ||
| 45 | |||
| 46 | # This program is free software: you can redistribute it and/or modify | ||
| 47 | # it under the terms of the GNU General Public License as published by | ||
| 48 | @@ -45,7 +45,8 @@ fi | ||
| 49 | |||
| 50 | $PSKCTOOL --sign --sign-key $srcdir/pskc-ee-key.pem \ | ||
| 51 | --sign-crt $srcdir/pskc-ee-crt.pem \ | ||
| 52 | - $srcdir/../../libpskc/examples/pskc-hotp.xml > foo | ||
| 53 | + $srcdir/../../libpskc/examples/pskc-hotp.xml \ | ||
| 54 | + | sed 's,4</X509Cert,4\n</X509Cert,' > foo | ||
| 55 | if ! diff -ur $srcdir/../../libpskc/examples/pskc-hotp-signed.xml foo; then | ||
| 56 | echo "FAIL: pskctool --sign output change, commit updated file." | ||
| 57 | exit 1 | ||
| 58 | diff --git a/pskctool/tests/tst_sign.sh b/pskctool/tests/tst_sign.sh | ||
| 59 | index b62757336061394746d60f706369127fe1db466d..2d452d69f2e6595ff85a34540939801324dbdfea 100755 | ||
| 60 | --- a/pskctool/tests/tst_sign.sh | ||
| 61 | +++ b/pskctool/tests/tst_sign.sh | ||
| 62 | @@ -1,7 +1,7 @@ | ||
| 63 | #!/bin/sh | ||
| 64 | |||
| 65 | # tst_sign.sh - test that pskctool can sign and verify | ||
| 66 | -# Copyright (C) 2012-2021 Simon Josefsson | ||
| 67 | +# Copyright (C) 2012-2022 Simon Josefsson | ||
| 68 | |||
| 69 | # This program is free software: you can redistribute it and/or modify | ||
| 70 | # it under the terms of the GNU General Public License as published by | ||
| 71 | @@ -32,7 +32,7 @@ $PSKCTOOL --info --strict --debug $pskc_all > tmp-pre-human.txt | ||
| 72 | $PSKCTOOL --sign \ | ||
| 73 | --sign-key $pskc_ee_key \ | ||
| 74 | --sign-crt $pskc_ee_crt \ | ||
| 75 | - $pskc_all > tmp-signed.xml | ||
| 76 | + $pskc_all | sed 's,4</X509Cert,4\n</X509Cert,' > tmp-signed.xml | ||
| 77 | |||
| 78 | diff -ur $pskc_all_signed tmp-signed.xml | ||
| 79 | |||
