1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-08 06:00:36 +02:00
Commit Graph

271 Commits

Author SHA1 Message Date
Tobias Geerinckx-Rice
13c4a377f5 gnu: skopeo: Update to 1.2.3.
* gnu/packages/virtualization.scm (skopeo): Update to 1.2.3.
2021-04-21 00:58:58 +02:00
Léo Le Bouter
41d0b233ba gnu: umoci: Update to 0.4.7 [fixes CVE-2021-29136].
* gnu/packages/virtualization.scm (umoci): Update to 0.4.7.
2021-04-06 21:00:46 +02:00
Pierre Langlois
653faaebd6 gnu: virt-manager: Update to 3.2.0.
* gnu/packages/virtualization.scm (virt-manager): Update to 3.2.0.
[arguments]: Remove #:test-target.  Remove fix-qemu-img-reference phase.
Adapt check phase to use pytest, although they still do not run.
[native-inputs]: Add python-docutils.  Suggest adding python-pytest to enable
tests.
2021-04-05 18:26:37 +01:00
Pierre Langlois
29383ecc8c gnu: libvirt-glib: Update to 4.0.0.
* gnu/packages/virtualization.scm (libvirt-glib): Update to 4.0.0.
[build-system]: Switch to meson-build-system.
2021-04-05 18:26:37 +01:00
Pierre Langlois
28cc447fc5 gnu: python-libvirt: Update to 7.2.0.
* gnu/packages/virtualization.scm (python-libvirt): Update to 7.2.0.
2021-04-05 18:26:37 +01:00
Brice Waegeneire
0d4ae86bc2 gnu: libvirt: Update to 7.2.0.
* gnu/packages/virtualization.scm (libvirt): Update to 7.2.0.
[arguemnts]: Switch to meson, only build system supported by upstream.
[inputs]: Add libssh2 and readline.
[native-inputs]: Add bash-completion, gettext, python-docutils and
rpcsvc-proto.
* gnu/packages/patches/libvirt-add-install-prefix.patch: New file...
* gnu/local.mk: ...add it.
* gnu/packages/patches/libvirt-create-machine-cgroup.patch: Delete file,
merged by upstream.

Tested-by: Pierre Langlois <pierre.langlois@gmx.com>
2021-04-05 18:26:37 +01:00
Brice Waegeneire
ee5c4f70b6 gnu: libvirt: Enable disk and directory storage.
* gnu/packages/virtualization.scm (libvirt)[inputs]: Add parted.
[arguments]: Add configure flags to support disk and directory storage.
2021-04-05 18:26:36 +01:00
Maxim Cournoyer
86c39376cc gnu: runc: Update to 1.0.0-rc93.
* gnu/packages/virtualization.scm (runc): Update to 1.0.0-rc93.
[source]: Remove the patches field.
[phases]{unpack}: Remove override.
{build}: Add the man target.
{check}: Make conditional based on TESTS?.
{install}: Add the install-man target.
[native-inputs]: Add go-github-com-go-md2man.
[home-page]: Update.
* gnu/packages/patches/runc-CVE-2019-5736.patch: Delete file.
* gnu/local.mk: Un-register it.
2021-04-02 23:33:42 -04:00
Pierre Langlois
bd9e140856 Revert "gnu: libvirt: Update to 7.1.0."
The update causes virsh to fail <https://bugs.gnu.org/47541>.

This reverts commit 383b02a370.
2021-04-02 09:23:20 +01:00
Pierre Langlois
d42f6b0916 Revert "gnu: python-libvirt: Update to 7.1.0."
This reverts commit 52ed12afcb.
2021-04-02 09:21:26 +01:00
Pierre Langlois
614e95619b Revert "gnu: libvirt-glib: Update to 4.0.0."
This reverts commit 7573ab22d7.
2021-04-02 09:21:26 +01:00
Pierre Langlois
d01837ca0d Revert "gnu: virt-manager: Update to 3.2.0."
This reverts commit 5eb05ede0b.
2021-04-02 09:21:15 +01:00
Pierre Langlois
5eb05ede0b gnu: virt-manager: Update to 3.2.0.
* gnu/packages/virtualization.scm (virt-manager): Update to 3.2.0.
[arguments]: Remove #:test-target.  Remove fix-qemu-img-reference phase.
Adapt check phase to use pytest, although they still do not run.
[native-inputs]: Add python-docutils.  Suggest adding python-pytest to enable
tests.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-03-31 15:36:49 +02:00
Pierre Langlois
7573ab22d7 gnu: libvirt-glib: Update to 4.0.0.
* gnu/packages/virtualization.scm (libvirt-glib): Update to 4.0.0.
[build-system]: Switch to meson-build-system.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-03-31 15:36:49 +02:00
Pierre Langlois
52ed12afcb gnu: python-libvirt: Update to 7.1.0.
* gnu/packages/virtualization.scm (python-libvirt): Update to 7.1.0.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-03-31 15:36:49 +02:00
Pierre Langlois
383b02a370 gnu: libvirt: Update to 7.1.0.
* gnu/packages/virtualization.scm (libvirt): Update to 7.1.0.
[source]: Remove libvirt-create-machine-cgroup.patch, add
libvirt-do-not-create-var-dirs.patch.
[build-system]: Switch to meson-build-system.
[arguments]: Use meson-0.55.  Adapt #:configure-flags for meson, there is no
need for --docdir anymore.  Remove fix-BOURNE_SHELL-definition phase.  Add
fix-sysconfdir-and-localstatedir phase.  Adapt disable-broken-tests to meson.
[native-inputs]: Add python-docutils and rpcsvc-proto.
* gnu/packages/patches/libvirt-create-machine-cgroup.patch: Delete.
* gnu/packages/patches/libvirt-do-not-create-var-dirs.patch: New patch.
* gnu/local.mk (dist_patch_DATA): Add new patch, remove the other.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-03-31 15:36:48 +02:00
Tobias Geerinckx-Rice
ceff850369 gnu: skopeo: Update to 1.2.2.
* gnu/packages/virtualization.scm (skopeo): Update to 1.2.2.
2021-03-29 00:17:47 +02:00
Mark H Weaver
9dea161875 gnu: Use 'gtk-doc/stable' in native-inputs of selected packages.
* gnu/packages/calendar.scm (libical),
gnu/packages/check.scm (umockdev),
gnu/packages/fontutils.scm (libraqm),
gnu/packages/freedesktop.scm (appstream, farstream, libglib-testing)
(udisks, libfprint, libportal),
gnu/packages/geo.scm (memphis, osm-gps-map),
gnu/packages/glib.scm (template-glib),
gnu/packages/gnome.scm (gupnp-igd, libcloudproviders, libgrss, seed)
(gtx, dee, zeitgeist, phodav, gssdp, gupnp, gupnp-dlna, gupnp-av, rygel)
(libnma, gdl, libnotify, vte-ng, dconf, libxklavier, libsoup, colord)
(geoclue, geocode-glib, amtk, grilo, gvfs, gusb, network-manager)
(network-manager-applet, gfbgraph, libunique, cheese, libhandy)
(gnome-latex, libgda),
gnu/packages/gstreamer.scm (orc),
gnu/packages/gtk.scm (at-spi2-core, goocanvas),
gnu/packages/language.scm (nimf),
gnu/packages/networking.scm (libnice),
gnu/packages/video.scm (schroedinger),
gnu/packages/virtualization.scm (libosinfo),
gnu/packages/webkit.scm (wpewebkit, webkitgtk),
gnu/packages/xml.scm (libxmlb)[native-inputs]: Replace 'gtk-doc' with
'gtk-doc/stable'.
2021-03-27 19:48:50 -04:00
Maxim Cournoyer
15423d38c5 gnu: qemu: Enable reproducible builds.
Fixes <https://issues.guix.gnu.org/47176>.  The solution was suggested by
bonzini on OFTC's #qemu channel.

* gnu/packages/virtualization.scm (qemu)[snippet]: Delete bundled meson copy.
[native-inputs]: Add meson-next.
2021-03-16 16:21:28 -04:00
Leo Famulari
d15fdb66f3 gnu: qemu: Update to 5.2.0.
* gnu/packages/virtualization.scm (qemu): Update to 5.2.0.
[source]: Re-indent and break long lines, to appease 'guix lint'.
[arguments]{disable-unusable-tests}: Adjust for the new Meson build
system.  Remove patching for a test workaround that has been resolved in
5.2.0.
{patch-test-shebangs, patch-/bin/sh-references}: Combine into...
{patch-embedded-shebangs}: ... this new phase.  Patch the SHELL variable in
the Makefile.
{fix-optionrom-makefile}: New phase.
{install-user-static}: Adjust as the binaries are now symbolic links pointing to their
actual build path.
[native-inputs]: Add ninja.
* gnu/packages/patches/qemu-build-info-manual.patch: Update patch.

Co-authored-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2021-03-15 18:00:35 -04:00
Maxim Cournoyer
d184fd4216 gnu: qemu: Add a static output.
The static output is equivalent to what other distributions commonly package
as 'qemu-user-static'.

* gnu/packages/virtualization.scm (qemu)[outputs]: Add a static output.
[phases]{configure}: Configure the main build as an out-of-source build.  Move
all configure flags to ...
[configure-flags]: ... here.  The options explicitly enabling optional
features are removed; the configure script does a good job at enabling all the
features available based on the inputs present and this allows reusing the
flags in variant packages such as qemu-minimal.
{configure-user-static, build-user-static, install-user-static}: New phases.
{patch-test-shebangs}: New phase, extracted from the configure phase.
[native-inputs]: Add glib-static, pcre:static and zlib:static.
(qemu-minimal)[arguments]: Reuse the configure-flags argument.  Rewrite to use
match instead of cond.
2021-03-15 18:00:35 -04:00
Maxim Cournoyer
3fe46eef57 gnu: qemu: Fix indentation and remove trailing #t.
* gnu/packages/virtualization.scm (qemu): Fix indentation and remove
trailing #t, appeasing 'guix lint'.
2021-03-15 18:00:34 -04:00
Nicolas Goaziou
21f4a18e36 gnu: ganeti: Use HTTPS home page URI.
* gnu/packages/virtualization.scm (ganeti)[home-page]: Use HTTPS URI.
2021-02-28 11:06:56 +01:00
Léo Le Bouter
e05c0b334d gnu: qemu: Fix CVE-2021-20203.
* gnu/packages/patches/qemu-CVE-2021-20203.patch: New patch.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/virtualization.scm (qemu): Apply it.
2021-02-28 04:40:05 +01:00
Maxim Cournoyer
dbcd205050 gnu: python-xyz: Move a few modules to (gnu packages python-build).
* gnu/packages/python-xyz.scm (python-pep517): Inherit from
python-pep517-bootstrap.  Remove the inherited common fields.
(python-poetry-core, python-wheel)
(python-toml): Move to ...
* gnu/packages/python-build.scm: ... here, a new module.
(python-pep517-bootstrap): New package.
* gnu/local.mk (GNU_SYSTEM_MODULES): Register the new module.
2021-01-27 08:05:42 -05:00
Stefan
795db9d219 gnu: qemu: Fix ioctl(…, SIOCGIFCONF, …) for emulated 64 bit architectures.
* gnu/packages/virtualization.scm (qemu): Add a snippet to fix a bug in the
do_ioctl_ifconf() function of qemu to make ioctl(…, SIOCGIFCONF, …) work for
emulated 64 bit architectures.

The sizeof(struct ifreq) is 40 for 64 bit and 32 for 32 bit architectures.
This structure contains a union of other structures, of which struct ifmap
is the biggest for 64 bit architectures. Calling ioctl(…, SIOCGIFCONF, …)
fills a struct sockaddr of that union, and do_ioctl_ifconf() only considered
that struct sockaddr for the size of the union, which has the same size as
struct ifmap on 32 bit architectures. So do_ioctl_ifconf() assumed a wrong
size of 32 for struct ifreq instead of the correct size of 40 on 64 bit
architectures.

The fix makes do_ioctl_ifconf() handle struct ifmap as the biggest part of
the union, treating struct ifreq with the correct size.

This fixes (@ (guix build syscalls) network-interface-names) when used in
emulated 64 bit architectures.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-01-14 17:15:18 +01:00
Tobias Geerinckx-Rice
8eb5f097b1 gnu: lxc: Update to 4.0.6.
* gnu/packages/virtualization.scm (lxc): Update to 4.0.6.
2021-01-14 16:20:44 +01:00
Tobias Geerinckx-Rice
01dec9ed85 gnu: skopeo: Update to 1.2.1.
* gnu/packages/virtualization.scm (skopeo): Update to 1.2.1.
2021-01-12 15:19:49 +01:00
Tobias Geerinckx-Rice
9c769ace00 gnu: osinfo-db: Update to 20201218.
* gnu/packages/virtualization.scm (osinfo-db): Update to 20201218.
2021-01-03 19:40:36 +01:00
Vincent Legoll
809b06606c gnu: xen: Update to 4.14.1.
* gnu/packages/virtualization.scm (xen): Update to 4.14.1.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-01-02 23:21:11 +02:00
Vincent Legoll
e43a8d7375 gnu: lxc: Update to 4.0.5.
* gnu/packages/virtualization.scm (lxc): Update to 4.0.5.

Signed-off-by: Leo Famulari <leo@famulari.name>
2020-12-24 15:47:20 -05:00
Brett Gilio
1db54324b2 gnu: python-transient: Update to 0.12.
* gnu/packages/virtualization.scm (python-transient): Update to 0.12.
2020-12-06 18:08:30 -06:00
Efraim Flashner
a31ea8588c gnu: qemu-minimal: Fix emulation build list.
* gnu/packages/virtualization.scm (qemu-minimal)[arguments]: Adjust
configure-flags logic to match using string-prefix instead of a full
match when determining qemu targets.
2020-12-02 19:32:15 +02:00
Brett Gilio
3387508a1f gnu: python-transient: Update to 0.11.
* gnu/packages/virtualization.scm (python-transient): Update to 0.11.
2020-11-25 17:57:50 -06:00
Brett Gilio
dd8e4411ba gnu: Add python-transient.
* gnu/packages/virtualization.scm (python-transient): New variable.
2020-11-22 17:25:15 -06:00
Tobias Geerinckx-Rice
243512d984 gnu: xen: Update to 4.14.0.
* gnu/packages/virtualization.scm (xen): Update to 4.14.0.
2020-11-16 04:11:46 +01:00
Tobias Geerinckx-Rice
1a8a6b7c9b gnu: xen: Fix build failure.
This reverts commit 6177320d78,
obsoleted by <https://debbugs.gnu.org/cgi/bugreport.cgi?bug=30756>.
2020-11-16 04:11:46 +01:00
Tobias Geerinckx-Rice
b070e3f810 gnu: qemu: Remove left-over debugging statement.
This follows up on 1b0cda6b44.  Sigh.

* gnu/packages/virtualization.scm (qemu)[arguments]: Remove the FAIL.
2020-11-15 00:38:32 +01:00
Tobias Geerinckx-Rice
1b0cda6b44 gnu: qemu: Extend I/O test time-outs.
* gnu/packages/virtualization.scm (qemu)[arguments]: Add an
‘extend-test-time-outs’ phase.
2020-11-15 00:12:11 +01:00
Tobias Geerinckx-Rice
bb2232206c gnu: criu: Support nftables.
* gnu/packages/virtualization.scm (criu)[inputs]: Add nftables.
2020-11-13 01:43:57 +01:00
Tobias Geerinckx-Rice
0a46a1e918 gnu: criu: Update to 3.15.
* gnu/packages/virtualization.scm (criu): Update to 3.15.
2020-11-13 01:43:56 +01:00
Jelle Licht
b4578379e5 gnu: skopeo: Build documentation.
* gnu/packages/virtualization.scm (skopeo)[native-inputs]: Add
go-github-com-go-md2man.
[arguments]<phases>{build-docs}: New phase.
{install}: Update make target to install manpages. Install example
configuration.
2020-11-04 14:06:23 +01:00
Ludovic Courtès
e39e8d97c1 gnu: runc, skopeo, docker-cli, umoci: Don't 'chdir' in build phases.
This fixes breaks the 'install-license-files' phase added in
6b793fa662 and is generally not good
practice.

Reported by divoplade on #guix.

* gnu/packages/virtualization.scm (runc)[arguments]: Use
'with-directory-excursion' instead of 'chdir' in build phases.
(skopeo)[arguments]: Likewise.
(umoci)[arguments]: Likewise.
* gnu/packages/docker.scm (docker-cli)[arguments]: In 'install' phase,
remove call to 'chdir' and adjust 'install-file' argument accordingly.
2020-10-16 15:00:50 +02:00
Tobias Geerinckx-Rice
79145ab4f2 gnu: osinfo-db: Update to 20201011.
* gnu/packages/virtualization.scm (osinfo-db): Update to 20201011.
2020-10-14 16:31:45 +02:00
Jelle Licht
e65991a363 gnu: skopeo: Update to 1.2.0.
* gnu/packages/virtualization.scm (skopeo): Update to 1.2.0.
[source]: Update uri.
[arguments]: Update #:import-path.
<phases>: In the 'build' phase, update make target.
[home-page]: Update to current.
2020-10-01 14:42:12 +02:00
Maxim Cournoyer
4d82e8e5c5 gnu: qemu: Move HTML documentation to the doc output.
* gnu/packages/virtualization.scm (qemu)[outputs]: Add "doc" output.
[phases]{create-samba-wrapper}: Correctly refer to the outputs keyword
argument.
{move-html-doc}: Add phase.
2020-09-19 23:22:46 -04:00
Maxim Cournoyer
38197bb509 gnu: qemu: Install the full documentation as an info manual.
* gnu/packages/patches/qemu-build-info-manual.patch: Add patch.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/virtualization.scm (qemu)[source]: Use it.
[phases]{install-info}: Remove phase.
{create-samba-wrapper}: Add after 'install.
2020-09-19 23:22:45 -04:00
Maxim Cournoyer
710fd17ad5 gnu: qemu: Enable parallel tests.
I've built QEMU 5.1.0 tens of times on a 24 logical core machines, and haven't
encountered a failure.  Tentatively re-enabling parallel tests.

* gnu/packages/virtualization.scm (qemu)[arguments]: Drop the
\#:parallel-tests? #f argument.
[phases]{configure}: Fix indentation.
2020-09-19 23:22:45 -04:00
Maxim Cournoyer
229091385a gnu: qemu: Fix indentation.
* gnu/packages/virtualization.scm (qemu): Fix indentation.
2020-09-19 23:22:45 -04:00
Maxim Cournoyer
afeed71ae4 gnu: qemu: Disable the bios-tables-test test.
This works around <https://issues.guix.info/43048>.

* gnu/packages/virtualization.scm (qemu)[phases]{disable-unusable-tests}: Move
after unpack.  Combine the existing substitute patterns on a single usage of
substitute*.  Disable the bios-tables-test test in
tests/qtest/Makefile.include.
2020-09-19 23:22:45 -04:00