Commit graph

59337 commits

Author SHA1 Message Date
Vincent Legoll
feba2c9751
gnu: Add lmfit.
* gnu/packages/algebra.scm (lmfit): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2020-05-04 10:26:33 +02:00
Vincent Legoll
1c5604017b
gnu: Add tng.
* gnu/packages/chemistry.scm (tng): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2020-05-04 10:25:33 +02:00
Ludovic Courtès
4a84deda74
doc: Recommend against SHA1 OpenPGP signatures.
* doc/contributing.texi (Commit Access): Recommend against SHA1
signatures.
2020-05-04 09:56:14 +02:00
Ludovic Courtès
84133320b8
doc: Document committer authorization.
* doc/contributing.texi (Commit Access): Add instructions for
authorizing committers.
2020-05-04 09:56:13 +02:00
Ludovic Courtès
05d973eef2
openpgp: Raise error conditions instead of calling 'error'.
* guix/openpgp.scm (&openpgp-error, &openpgp-unrecognized-packet-error)
(&openpgp-invalid-signature-error): New error conditions.
(openpgp-hash-algorithm): Add 'signature-port' parameter.  Raise an
error condition instead of calling 'error'.
(parse-subpackets): Likewise.
(get-data): Raise instead of calling 'error'.
(get-openpgp-detached-signature/ascii): Likewise.
(get-signature): Likewise.
2020-05-04 09:56:13 +02:00
Ludovic Courtès
041dc3a9c0
git-authenticate: Load the keyring from the repository.
* build-aux/git-authenticate.scm (load-keyring-from-blob)
(load-keyring-from-reference): New procedures.
(authenticate-commits): Add #:keyring-reference and use
'load-keyring-from-reference'.
2020-05-04 09:56:13 +02:00
Ludovic Courtès
92db1036b7
git-authenticate: Load the list of authorized keys from the tree.
* build-aux/git-authenticate.scm (read-authorizations)
(commit-authorized-keys): New procedures.
(authenticate-commit): Use it instead of %AUTHORIZED-SIGNING-KEYS.
2020-05-04 09:56:13 +02:00
Ludovic Courtès
bee5b7a0f8
.guix-authorizations: Augment.
* .guix-authorizations: Add all the currently authorized committers.
2020-05-04 09:56:13 +02:00
Ludovic Courtès
051a45e642
git-authenticate: Use (guix openpgp).
It can now authenticate 14K+ commits in 23s instead of 4mn20.

* build-aux/git-authenticate.scm (%authorized-signing-keys): Turn
fingerprints into bytevectors.
(with-temporary-files): Remove.
(commit-signing-key): Add 'keyring' parameter.  Use
'string->openpgp-packet' and 'verify-openpgp-signature' instead of (guix
gnupg) procedures.
(authenticate-commit): Add 'keyring' parameter.  Pass it to
'commit-signing-key'.  Adjust to SIGNING-KEY being an <openpgp-public-key>.
(authenticate-commits): Remove 'parameterize'.  Load keyring with
'get-openpgp-keyring'.
(git-authenticate): When printing stats, adjust to SIGNER being an
<openpgp-public-key>.
2020-05-04 09:56:13 +02:00
Ludovic Courtès
b835e158d5
openpgp: Add 'string->openpgp-packet'.
* guix/openpgp.scm (string->openpgp-packet): New procedure.
* tests/openpgp.scm ("verify-openpgp-signature, missing key")
("verify-openpgp-signature, good signatures")
("verify-openpgp-signature, bad signature"): Use it.
2020-05-04 09:56:13 +02:00
Ludovic Courtès
bd8126558d
openpgp: 'lookup-key-by-{id,fingerprint}' return the key first.
Previously, 'lookup-key-by-{id,fingerprint}' would always return the
list of packets where the primary key is first.  Thus, the caller would
need to use 'find' to actually find the requested key.

* guix/openpgp.scm (keyring-insert): Always add KEY to PACKETS.
(lookup-key-by-id, lookup-key-by-fingerprint): Change to return the key
as the first value.
(verify-openpgp-signature): Remove now unneeded call to 'find'.
* tests/openpgp.scm ("get-openpgp-keyring"): Adjust accordingly.
2020-05-04 09:56:13 +02:00
Ludovic Courtès
b45fa0a123
openpgp: 'verify-openpgp-signature' looks up by fingerprint when possible.
* guix/openpgp.scm (verify-openpgp-signature): Use
'lookup-key-by-fingerprint' when SIG contains a fingerprint.
Honor FINGERPRINT in the 'find' predicate.  Upon missing-key, return
FINGERPRINT if available.
* tests/openpgp.scm ("verify-openpgp-signature, missing key"): Adjust
expected value accordingly.
2020-05-04 09:56:12 +02:00
Ludovic Courtès
efe1f0122c
openpgp: Add 'lookup-key-by-fingerprint'.
* guix/openpgp.scm (<openpgp-keyring>)[table]: Rename to...
[ids]: ... this.
[fingerprints]: New field.
(keyring-insert, lookup-key-by-fingerprint): New procedures.
(%empty-keyring): Adjust.
(get-openpgp-keyring): Manipulate KEYRING instead of its vhash, use
'keyring-insert'.
* tests/openpgp.scm ("get-openpgp-keyring"): Test
'lookup-key-by-fingerprint'.
2020-05-04 09:56:12 +02:00
Ludovic Courtès
7b2b3a13cc
openpgp: Store the issuer key id and fingerprint in <openpgp-signature>.
* guix/openpgp.scm (<openpgp-signature>)[issuer, issuer-fingerprint]:
New fields.
(openpgp-signature-issuer, openpgp-signature-issuer-fingerprint): Remove.
(verify-openpgp-signature): Use 'openpgp-signature-issuer-key-id'.
(get-signature): Initialize 'issuer' and 'issuer-fingerprint'.
* tests/openpgp.scm ("get-openpgp-detached-signature/ascii"): Adjust
accordingly.
2020-05-04 09:56:12 +02:00
Ludovic Courtès
4459c7859c
openpgp: Decode the issuer-fingerprint signature subpacket.
* guix/openpgp.scm (SUBPACKET-ISSUER-FINGERPRINT): New variable.
(openpgp-signature-issuer-fingerprint): New procedure.
(key-id-matches-fingerprint?): New procedure.
(get-signature): Look for the 'issuer and 'issuer-fingerprint
subpackets.  Ensure the issuer key ID matches the fingerprint when both
are available.
(parse-subpackets): Handle SUBPACKET-ISSUER-FINGERPRINT.
* tests/openpgp.scm (%rsa-key-fingerprint)
(%dsa-key-fingerprint, %ed25519-key-fingerprint): New variables.
* tests/openpgp.scm ("get-openpgp-detached-signature/ascii"): Check the
result of 'openpgp-signature-issuer-fingerprint'.
2020-05-04 09:56:12 +02:00
Ludovic Courtès
43408e304f
Add (guix openpgp).
* guix/openpgp.scm, tests/openpgp.scm, tests/civodul.key,
tests/dsa.key, tests/ed25519.key, tests/rsa.key,
tests/ed25519.sec: New files.
* Makefile.am (MODULES): Add guix/openpgp.scm.
(SCM_TESTS): Add tests/openpgp.scm.
(EXTRA_DIST): Add tests/*.key and tests/ed25519.sec.
2020-05-04 09:56:12 +02:00
Ludovic Courtès
c91e27c608
Add '.guix-authorizations'.
* .guix-authorizations: New file.
2020-05-04 09:56:12 +02:00
Nicolas Goaziou
c563f8887d
gnu: emacs-relint: Update to 1.16.
* gnu/packages/emacs-xyz.scm (emacs-relint): Update to 1.16.
2020-05-03 23:07:43 +02:00
Nicolas Goaziou
14b0dcc7f7
gnu: emacs-xr: Update to 1.19.
* gnu/packages/emacs-xyz.scm (emacs-xr): Update to 1.19.
2020-05-03 23:07:37 +02:00
Danny Milosavljevic
33eab4a10d
linux-initrd: Provide fsck for F2FS.
* gnu/system/linux-initrd.scm (file-system-packages): Add F2FS fsck.
2020-05-03 23:04:59 +02:00
Danny Milosavljevic
da09c63e78
gnu: f2fs-tools-static: Work around bug in our util-linux.
* gnu/packages/linux.scm (f2fs-tools/static): Work around bug in our util-linux.
2020-05-03 23:04:58 +02:00
Danny Milosavljevic
bb357c509e
file-systems: Fix UTF-16 handling in initrd.
Follow-up to f73f4b3a2d.

* gnu/build/file-systems.scm (bytevector->u16-list): New procedure.
(utf16->string): New procedure.
2020-05-03 23:04:57 +02:00
Christopher Howard
96e399ee30
gnu: libusb-0.1: fix build failure on newer gcc
* gnu/packages/libusb.scm (libusb-0.1): Disable -Werror.

Signed-off-by: Jakub Kądziołka <kuba@kadziolka.net>
2020-05-03 22:43:40 +02:00
Danny Milosavljevic
f73f4b3a2d
file-systems: Fix F2FS volume name accessor.
Follow-up to 23b37c3d40.

* gnu/build/file-systems.scm (bytevector-utf16-length): New procedure.
(null-terminated-utf16->string): New procedure.
(f2fs-superblock-volume-name): Use it.
2020-05-03 20:35:50 +02:00
Danny Milosavljevic
f8a0065ae3
install: Add f2fs-tools to the installation image.
* gnu/system/install.scm (installation-os)[packages]: Add f2fs-tools.
2020-05-03 20:35:50 +02:00
Danny Milosavljevic
af7a8e718d
tests: install: Test a F2FS root file system.
* gnu/tests/install.scm (%f2fs-root-os, %f2fs-root-installation-script,
%test-f2fs-root-os): New variables.
2020-05-03 20:35:50 +02:00
Efraim Flashner
b4fe5dab9a
gnu: network-manager-openconnect: Add missing input.
* gnu/packages/gnome.scm (network-manager-openconnect)[inputs]: Add lz4.
2020-05-03 20:49:39 +03:00
Tobias Geerinckx-Rice
14c6e8b671
gnu: znc: Update to 1.8.0.
* gnu/packages/messaging.scm (znc): Update to 1.8.0.
2020-05-03 17:37:56 +02:00
Christopher Baines
a414d6ac24
gnu: qemu-minimal: Don't include libcacard as an input.
This probably isn't useful for QEMU without GUI support.

* gnu/package/virtualization.scm (qemu-minimal)[inputs]: Don't include
libcacard.
2020-05-03 11:20:42 +01:00
Alexandros Theodotou
d5aee50034
gnu: Add bchoppr.
* gnu/packages/music.scm (bchoppr): New variable.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2020-05-03 11:17:48 +01:00
raingloom
a5cf52d3aa
gnu: Add f2fs-fsck-static.
* gnu/packages/linux.scm (f2fs-fsck/static): New public variable.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2020-05-03 12:06:58 +02:00
Christopher Baines
17adb70f78
gnu: spice: Add libcacard as an input to enable smartcard support.
This is to fix an issue with gnome-boxes when trying to start a virtual
machine:

  unsupported type name: smartcard

* gnu/packages/spice.scm (spice)[inputs]: Add libcacard.
2020-05-03 10:37:16 +01:00
Christopher Baines
a06051e11b
gnu: qemu: Add libcacard as an input to enable smartcard support.
This fixes an error in gnome-boxes when starting virtual machines:

  Unable to start domain: unsupported configuration: this QEMU binary lacks
  smartcard passthrough mode support

* gnu/packages/virtualization.scm (qemu)[inputs]: Add libcacard.
2020-05-03 10:37:16 +01:00
Christopher Baines
ee3d20b9de
gnu: Add libcacard.
Required for smartcard support in QEMU.

* gnu/packages/spice.scm (libcacard): New variable.
2020-05-03 10:37:16 +01:00
Christopher Baines
2bed28f46c
gnu: Add softhsm.
Required for the libcacard tests.

* gnu/packages/security-token.scm (softhsm): New variable.
2020-05-03 10:35:57 +01:00
Giacomo Leidi
6241eacd70
gnu: supercollider: Enable SCClassLibrary library lookup.
This hardcodes the path of SCClassLibrary to fix a lookup error that was
preventing SCServer's boot.

* gnu/packages/audio.scm (supercollider)[source]: Fetch via git,
[arguments]: build release target and add a new 'patch-scclass-dir phase to
hardcode SCClassLibrary path.

Signed-off-by: Mathieu Othacehe <m.othacehe@gmail.com>
2020-05-03 10:31:34 +02:00
Efraim Flashner
1463079a2d
gnu: edi: Update to 0.8.0.
* gnu/packages/enlightenment.scm (edi): Update to 0.8.0.
[source]: Download from new uri.
[arguments]: Add custom phase to fix clang headers discovery.
[native-inputs]: Add check, gettext-minimal.
[license]: Add gpl3.
2020-05-03 10:11:19 +03:00
Efraim Flashner
13d3a9bf14
gnu: evisum: Update to 0.4.0.
* gnu/packages/enlighenment.scm (evisum): Update to 0.4.0.
[build-system]: Switch to meson-build-system.
[arguments]: Remove make-flags, custom phases.
[inputs]: Remove alsa-lib, perl.
2020-05-03 09:34:46 +03:00
Efraim Flashner
67c8f879c5
gnu: python-efl: Update to 1.24.0.
* gnu/packages/enlightenment.scm (python-efl): Update to 1.24.0.
2020-05-03 09:34:46 +03:00
Efraim Flashner
5a743e1ef0
gnu: enlightenment: Change mount/umount binaries.
* gnu/packages/enlightenment.scm (enlightenment)[arugments]: Use the
setuid binaries for mount/umount.
2020-05-03 09:34:46 +03:00
Efraim Flashner
b34793c143
gnu: efl: Update to 1.24.0.
* gnu/packages/enlightenment.scm (efl): Update to 1.24.0.
[propagated-inputs]: Remove bullet. Add libpng. Move libtiff, libwebp ...
[inputs]: ... to here. Add openjpeg. Remove libxp.
[arguments]: In configure-flags disable scim, enable avahi, glib. Use
setuid mount/umount binaries.
2020-05-03 09:34:46 +03:00
Mark H Weaver
8a0b02c248
gnu: linux-libre: Update to 5.4.38.
* gnu/packages/linux.scm (linux-libre-5.4-version): Update to 5.4.38.
(linux-libre-5.4-pristine-source): Update hash.
2020-05-02 16:38:12 -04:00
Mark H Weaver
02c792b505
gnu: linux-libre@5.6: Update to 5.6.10.
* gnu/packages/linux.scm (linux-libre-5.6-version): Update to 5.6.10.
(linux-libre-5.6-pristine-source): Update hash.
2020-05-02 16:38:10 -04:00
Mark H Weaver
a970bab0e7
gnu: linux-libre@4.19: Update to 4.19.120.
* gnu/packages/linux.scm (linux-libre-4.19-version): Update to 4.19.120.
(linux-libre-4.19-pristine-source): Update hash.
2020-05-02 16:38:08 -04:00
Mark H Weaver
a5ab7c7c31
gnu: linux-libre@4.14: Update to 4.14.178.
* gnu/packages/linux.scm (linux-libre-4.14-version): Update to 4.14.178.
(linux-libre-4.14-pristine-source): Update hash.
2020-05-02 16:38:05 -04:00
Mark H Weaver
8321da88a8
gnu: linux-libre@4.9: Update to 4.9.221.
* gnu/packages/linux.scm (linux-libre-4.9-version): Update to 4.9.221.
(linux-libre-4.9-pristine-source): Update hash.
2020-05-02 16:38:03 -04:00
Mark H Weaver
c70b31df51
gnu: linux-libre@4.4: Update to 4.4.221.
* gnu/packages/linux.scm (linux-libre-4.4-version): Update to 4.4.221.
(linux-libre-4.4-pristine-source): Update hash.
2020-05-02 16:38:00 -04:00
Mark H Weaver
00e0240ec0
gnu: linux-libre: Update deblob scripts.
* gnu/packages/linux.scm (deblob-scripts-5.4): Update to 5.4.37.
2020-05-02 16:37:46 -04:00
Oleg Pykhalov
5bcb149c45
gnu: youtube-dl: Update to 2020.05.03.
* gnu/packages/video.scm (youtube-dl): Update to 2020.05.03.
2020-05-02 21:28:48 +03:00
Tobias Geerinckx-Rice
1d7f3c00b0
gnu: openconnect: Add LZ4 support.
* gnu/packages/vpn.scm (openconnect)[inputs]: Add lz4.
2020-05-02 18:02:55 +02:00