me
/
guix
Archived
1
0
Fork 0
Commit Graph

290 Commits (8531997d2a1e10d574a6e9ab70bc86ade6af4733)

Author SHA1 Message Date
Efraim Flashner 6858c15008
gnu: qemu-minimal: Don't build static binaries.
* gnu/packages/virtualization.scm (qemu-minimal)[arguments]: Remove
inherited phases for static binaries.
[native-inputs]: Remove glib:static, pcre:static and zlib:static.
[outputs]: Remove static output.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-09-09 16:08:09 +03:00
Tobias Geerinckx-Rice 321d1babaa
gnu: bochs: Update to 2.72.7.
* gnu/packages/virtualization.scm (bochs): Update to 2.72.7.
2021-09-05 00:56:05 +02:00
Andrew Whatson 26878cb3d8
gnu: osinfo-db: Update to 20210809.
Fixes failures when attempting to download some images in gnome-boxes.

* gnu/packages/virtualization.scm (osinfo-db): Update to 20210809.
2021-08-25 22:00:08 +02:00
Tobias Geerinckx-Rice 3fb6c96106
Revert "gnu: libvirt: Support ZFS."
This reverts commit 61ccd756e5.
2021-07-07 13:56:16 +02:00
Tobias Geerinckx-Rice eb72b3d940
gnu: libvirt: Work around broken SASL option.
* gnu/packages/virtualization.scm (libvirt)[arguments]: Add "-Ddriver_remote=enabled"
to #:configure-flags.
2021-07-04 01:14:03 +02:00
Tobias Geerinckx-Rice 1099073c00
gnu: libvirt: Support FUSE.
* gnu/packages/virtualization.scm (inputs): Add fuse.
2021-07-01 18:55:26 +02:00
Tobias Geerinckx-Rice bdc0a9e0ae
gnu: libvirt: Support extended attributes.
* gnu/packages/virtualization.scm (inputs): Add attr.
2021-07-01 18:55:25 +02:00
Tobias Geerinckx-Rice 063477ba40
gnu: libvirt: Support ACLs.
* gnu/packages/virtualization.scm (inputs): Add acl.
2021-07-01 18:55:25 +02:00
Tobias Geerinckx-Rice 61ccd756e5
gnu: libvirt: Support ZFS.
* gnu/packages/virtualization.scm (inputs): Add zfs.
2021-07-01 18:55:25 +02:00
Tobias Geerinckx-Rice a362d9c65d
gnu: libvirt: Update to 7.5.0 [fixes CVE-2021-3631].
* gnu/packages/virtualization.scm (libvirt): Update to 7.5.0.
[arguments]: Add a new 'skip-directory-confusion phase.
Remove obsolete 'no-polkit-magic phase.
2021-07-01 18:09:29 +02:00
Tobias Geerinckx-Rice 98ae5c9d84
gnu: lxcfs: Fix typos in description.
* gnu/packages/virtualization.scm (lxcfs)[synopsis, description]: Fix typos.
2021-06-21 18:27:19 +02:00
Marius Bakke 2b2ecbace4
gnu: QEMU: Adjust for Sphinx 4.0.
* gnu/packages/patches/qemu-sphinx-compat.patch: New file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/virtualization.scm (qemu)[source](patches): Add it.
2021-06-19 17:09:51 +02:00
Marius Bakke 07d91d34d2
gnu: QEMU: Remove obsolete workaround.
* gnu/packages/virtualization.scm (qemu)[arguments]: Remove phase hide-glibc.
2021-06-19 17:09:51 +02:00
Marius Bakke 628a6c51d4
gnu: QEMU: Fix compatibility with Meson 0.58.
* gnu/packages/patches/qemu-meson-compat.patch: New file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/virtualization.scm (qemu)[source](patches): Add it.
2021-06-13 15:34:06 +02:00
Marius Bakke c87ebc1b31
gnu: QEMU: Update to 6.0.0.
* gnu/packages/patches/qemu-build-info-manual.patch: Adjust for 6.0.
* gnu/packages/virtualization.scm (qemu): Update to 6.0.0.
[source](snippet): Remove obsolete substitution.
[arguments]: Adjust test substitutions for upstream changes.
* gnu/packages/bootloaders.scm (grub)[source](modules, snippet): New fields.
2021-06-13 15:33:57 +02:00
zimoun 80e05a5bdf
gnu: python2-libvirt: Remove package.
* gnu/packages/virtualization.scm (python2-libvirt): Remove variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2021-06-08 13:10:26 -04:00
Dion Mendel 404f6145ee
gnu: Add lxcfs.
* gnu/packages/virtualization.scm (lxcfs): New Variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-06-05 23:39:29 +02:00
Tobias Geerinckx-Rice 8ac0d4fb4e
gnu: python-libvirt: Update to 7.3.0.
* gnu/packages/virtualization.scm (python-libvirt): Update to 7.3.0.
[arguments]: Remove obsolete 'patch-nosetests-path phase.
Replace the default 'check phase.
[native-inputs]: Switch from python-nose to python-pytest, like upstream
has done.
2021-05-18 16:37:21 +02:00
Tobias Geerinckx-Rice 8cec10f602
gnu: libvirt: Update to 7.3.0.
* gnu/packages/virtualization.scm (libvirt): Update to 7.3.0.
2021-05-18 16:37:21 +02:00
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