commit 197dda456a36fcba09a5c94e8e956bfd1e8b945a Author: MSVSphere Packaging Team Date: Wed Mar 15 18:07:21 2023 +0300 import libguestfs-1.48.4-2.el9 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..6a0624f --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +SOURCES/libguestfs-1.48.4.tar.gz +SOURCES/libguestfs.keyring diff --git a/.libguestfs.metadata b/.libguestfs.metadata new file mode 100644 index 0000000..e6fbe70 --- /dev/null +++ b/.libguestfs.metadata @@ -0,0 +1,2 @@ +a8754a62256ac488eec3e18bed20f570f785d069 SOURCES/libguestfs-1.48.4.tar.gz +1bbc40f501a7fef9eef2a39b701a71aee2fea7c4 SOURCES/libguestfs.keyring diff --git a/SOURCES/0001-New-API-guestfs_device_name-returning-the-drive-name.patch b/SOURCES/0001-New-API-guestfs_device_name-returning-the-drive-name.patch new file mode 100644 index 0000000..fe4b696 --- /dev/null +++ b/SOURCES/0001-New-API-guestfs_device_name-returning-the-drive-name.patch @@ -0,0 +1,96 @@ +From e3ebd50abde3b05db86c8965868c866152cd3287 Mon Sep 17 00:00:00 2001 +From: "Richard W.M. Jones" +Date: Thu, 28 Apr 2022 13:16:54 +0100 +Subject: [PATCH] New API: guestfs_device_name returning the drive name + +For each drive added, return the name. For example calling this with +index 0 will return the string "/dev/sda". I called it +guestfs_device_name (not drive_name) for consistency with the existing +guestfs_device_index function. + +You don't really need to call this function. You can follow the +advice here: +https://libguestfs.org/guestfs.3.html#block-device-naming +and assume that drives are added with predictable names like +"/dev/sda", "/dev/sdb", etc. + +However it's useful to expose the internal guestfs_int_drive_name +function since especially handling names beyond index 26 is tricky +(https://rwmj.wordpress.com/2011/01/09/how-are-linux-drives-named-beyond-drive-26-devsdz/) + +Fixes: https://github.com/libguestfs/libguestfs/issues/80 +Reviewed-by: Laszlo Ersek +(cherry picked from commit ac00e603f83802634f1d53b1629aee4670eaf31c) +--- + generator/actions_core.ml | 24 +++++++++++++++++++++++- + lib/drives.c | 15 +++++++++++++++ + 2 files changed, 38 insertions(+), 1 deletion(-) + +diff --git a/generator/actions_core.ml b/generator/actions_core.ml +index ce9ee39cc..dc12fdc33 100644 +--- a/generator/actions_core.ml ++++ b/generator/actions_core.ml +@@ -737,7 +737,29 @@ returns the index of the device in the list of devices. + Index numbers start from 0. The named device must exist, + for example as a string returned from C. + +-See also C, C." }; ++See also C, C, ++C." }; ++ ++ { defaults with ++ name = "device_name"; added = (1, 49, 1); ++ style = RString (RPlainString, "name"), [Int "index"], []; ++ tests = [ ++ InitEmpty, Always, TestResult ( ++ [["device_name"; "0"]], "STREQ (ret, \"/dev/sda\")"), []; ++ InitEmpty, Always, TestResult ( ++ [["device_name"; "1"]], "STREQ (ret, \"/dev/sdb\")"), []; ++ InitEmpty, Always, TestLastFail ( ++ [["device_name"; "99"]]), [] ++ ]; ++ shortdesc = "convert device index to name"; ++ longdesc = "\ ++This function takes a device index and returns the device ++name. For example index C<0> will return the string C. ++ ++The drive index must have been added to the handle. ++ ++See also C, C, ++C." }; + + { defaults with + name = "shutdown"; added = (1, 19, 16); +diff --git a/lib/drives.c b/lib/drives.c +index fd95308d2..a6179fc36 100644 +--- a/lib/drives.c ++++ b/lib/drives.c +@@ -31,6 +31,7 @@ + #include + #include + #include ++#include + #include + + #include "c-ctype.h" +@@ -1084,3 +1085,17 @@ guestfs_impl_device_index (guestfs_h *g, const char *device) + error (g, _("%s: device not found"), device); + return r; + } ++ ++char * ++guestfs_impl_device_name (guestfs_h *g, int index) ++{ ++ char drive_name[64]; ++ ++ if (index < 0 || index >= g->nr_drives) { ++ guestfs_int_error_errno (g, EINVAL, _("drive index out of range")); ++ return NULL; ++ } ++ ++ guestfs_int_drive_name (index, drive_name); ++ return safe_asprintf (g, "/dev/sd%s", drive_name); ++} +-- +2.31.1 + diff --git a/SOURCES/0002-guestfs_readdir-rewrite-with-FileOut-transfer-to-lif.patch b/SOURCES/0002-guestfs_readdir-rewrite-with-FileOut-transfer-to-lif.patch new file mode 100644 index 0000000..1c7e841 --- /dev/null +++ b/SOURCES/0002-guestfs_readdir-rewrite-with-FileOut-transfer-to-lif.patch @@ -0,0 +1,565 @@ +From b97b90779d5ea261d5e737f073bb4ec5dc546511 Mon Sep 17 00:00:00 2001 +From: Laszlo Ersek +Date: Mon, 2 May 2022 10:56:00 +0200 +Subject: [PATCH] guestfs_readdir(): rewrite with FileOut transfer, to lift + protocol limit + +Currently the guestfs_readdir() API can not list long directories, due to +it sending back the whole directory listing in a single guestfs protocol +response, which is limited to GUESTFS_MESSAGE_MAX (approx. 4MB) in size. + +Introduce the "internal_readdir" action, for transferring the directory +listing from the daemon to the library through a FileOut parameter. +Rewrite guestfs_readdir() on top of this new internal function: + +- The new "internal_readdir" action is a daemon action. Do not repurpose + the "readdir" proc_nr (138) for "internal_readdir", as some distros ship + the binary appliance to their users, and reusing the proc_nr could + create a mismatch between library & appliance with obscure symptoms. + Replace the old proc_nr (138) with a new proc_nr (511) instead; a + mismatch would then produce a clear error message. Assume the new action + will first be released in libguestfs-1.48.2. + +- Turn "readdir" from a daemon action into a non-daemon one. Call the + daemon action guestfs_internal_readdir() manually, receive the FileOut + parameter into a temp file, then deserialize the dirents array from the + temp file. + +This patch sneakily fixes an independent bug, too. In the pre-patch +do_readdir() function [daemon/readdir.c], when readdir() returns NULL, we +don't distinguish "end of directory stream" from "readdir() failed". This +rewrite fixes this problem -- I didn't see much value separating out the +fix for the original do_readdir(). + +Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1674392 +Signed-off-by: Laszlo Ersek +Message-Id: <20220502085601.15012-2-lersek@redhat.com> +Reviewed-by: Richard W.M. Jones +(cherry picked from commit 45b7f1736b64e9f0741e21e5a9d83a837bd863bf) +--- + TODO | 8 --- + daemon/readdir.c | 132 +++++++++++++++++++------------------- + generator/actions_core.ml | 127 +++++++++++++++++++----------------- + generator/proc_nr.ml | 2 +- + lib/MAX_PROC_NR | 2 +- + lib/Makefile.am | 1 + + lib/readdir.c | 131 +++++++++++++++++++++++++++++++++++++ + 7 files changed, 267 insertions(+), 136 deletions(-) + create mode 100644 lib/readdir.c + +diff --git a/TODO b/TODO +index a50f7d73c..513e55f92 100644 +--- a/TODO ++++ b/TODO +@@ -484,14 +484,6 @@ this approach works, it doesn't solve the MBR problem, so likely we'd + have to write a library for that (or perhaps go back to sfdisk but + using a very abstracted interface over sfdisk). + +-Reimplement some APIs to avoid protocol limits +----------------------------------------------- +- +-Mostly this item was done (eg. commits a69f44f56f and before). The +-most notable API with a protocol limit remaining is: +- +- - guestfs_readdir +- + hivex + ----- + +diff --git a/daemon/readdir.c b/daemon/readdir.c +index e488f93e7..9ab0b0aec 100644 +--- a/daemon/readdir.c ++++ b/daemon/readdir.c +@@ -16,77 +16,67 @@ + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ + +-#include ++#include /* HAVE_STRUCT_DIRENT_D_TYPE */ + +-#include +-#include +-#include +-#include +-#include ++#include /* readdir() */ ++#include /* errno */ ++#include /* xdrmem_create() */ ++#include /* perror() */ ++#include /* malloc() */ ++#include /* opendir() */ + +-#include "daemon.h" +-#include "actions.h" ++#include "daemon.h" /* reply_with_perror() */ + +-static void +-free_int_dirent_list (guestfs_int_dirent *p, size_t len) ++/* Has one FileOut parameter. */ ++int ++do_internal_readdir (const char *dir) + { +- size_t i; ++ int ret; ++ DIR *dirstream; ++ void *xdr_buf; ++ XDR xdr; + +- for (i = 0; i < len; ++i) { +- free (p[i].name); +- } +- free (p); +-} +- +-guestfs_int_dirent_list * +-do_readdir (const char *path) +-{ +- guestfs_int_dirent_list *ret; +- guestfs_int_dirent v; +- DIR *dir; +- struct dirent *d; +- size_t i; +- +- ret = malloc (sizeof *ret); +- if (ret == NULL) { +- reply_with_perror ("malloc"); +- return NULL; +- } +- +- ret->guestfs_int_dirent_list_len = 0; +- ret->guestfs_int_dirent_list_val = NULL; ++ /* Prepare to fail. */ ++ ret = -1; + + CHROOT_IN; +- dir = opendir (path); ++ dirstream = opendir (dir); + CHROOT_OUT; + +- if (dir == NULL) { +- reply_with_perror ("opendir: %s", path); +- free (ret); +- return NULL; ++ if (dirstream == NULL) { ++ reply_with_perror ("opendir: %s", dir); ++ return ret; + } + +- i = 0; +- while ((d = readdir (dir)) != NULL) { +- guestfs_int_dirent *p; ++ xdr_buf = malloc (GUESTFS_MAX_CHUNK_SIZE); ++ if (xdr_buf == NULL) { ++ reply_with_perror ("malloc"); ++ goto close_dir; ++ } ++ xdrmem_create (&xdr, xdr_buf, GUESTFS_MAX_CHUNK_SIZE, XDR_ENCODE); ++ ++ /* Send an "OK" reply, before starting the file transfer. */ ++ reply (NULL, NULL); ++ ++ /* From this point on, we can only report errors by canceling the file ++ * transfer. ++ */ ++ for (;;) { ++ struct dirent *d; ++ guestfs_int_dirent v; ++ ++ errno = 0; ++ d = readdir (dirstream); ++ if (d == NULL) { ++ if (errno == 0) ++ ret = 0; ++ else ++ perror ("readdir"); + +- p = realloc (ret->guestfs_int_dirent_list_val, +- sizeof (guestfs_int_dirent) * (i+1)); +- v.name = strdup (d->d_name); +- if (!p || !v.name) { +- reply_with_perror ("allocate"); +- if (p) { +- free_int_dirent_list (p, i); +- } else { +- free_int_dirent_list (ret->guestfs_int_dirent_list_val, i); +- } +- free (v.name); +- free (ret); +- closedir (dir); +- return NULL; ++ break; + } +- ret->guestfs_int_dirent_list_val = p; + ++ v.name = d->d_name; + v.ino = d->d_ino; + #ifdef HAVE_STRUCT_DIRENT_D_TYPE + switch (d->d_type) { +@@ -104,19 +94,29 @@ do_readdir (const char *path) + v.ftyp = 'u'; + #endif + +- ret->guestfs_int_dirent_list_val[i] = v; ++ if (!xdr_guestfs_int_dirent (&xdr, &v)) { ++ fprintf (stderr, "xdr_guestfs_int_dirent failed\n"); ++ break; ++ } + +- i++; ++ if (send_file_write (xdr_buf, xdr_getpos (&xdr)) != 0) ++ break; ++ ++ xdr_setpos (&xdr, 0); + } + +- ret->guestfs_int_dirent_list_len = i; ++ /* Finish or cancel the transfer. Note that if (ret == -1) because the library ++ * canceled, we still need to cancel back! ++ */ ++ send_file_end (ret == -1); + +- if (closedir (dir) == -1) { +- reply_with_perror ("closedir"); +- free (ret->guestfs_int_dirent_list_val); +- free (ret); +- return NULL; +- } ++ xdr_destroy (&xdr); ++ free (xdr_buf); ++ ++close_dir: ++ if (closedir (dirstream) == -1) ++ /* Best we can do here is log an error. */ ++ perror ("closedir"); + + return ret; + } +diff --git a/generator/actions_core.ml b/generator/actions_core.ml +index dc12fdc33..807150615 100644 +--- a/generator/actions_core.ml ++++ b/generator/actions_core.ml +@@ -141,6 +141,66 @@ only useful for printing debug and internal error messages. + + For more information on states, see L." }; + ++ { defaults with ++ name = "readdir"; added = (1, 0, 55); ++ style = RStructList ("entries", "dirent"), [String (Pathname, "dir")], []; ++ progress = true; cancellable = true; ++ shortdesc = "read directories entries"; ++ longdesc = "\ ++This returns the list of directory entries in directory C. ++ ++All entries in the directory are returned, including C<.> and ++C<..>. The entries are I sorted, but returned in the same ++order as the underlying filesystem. ++ ++Also this call returns basic file type information about each ++file. The C field will contain one of the following characters: ++ ++=over 4 ++ ++=item 'b' ++ ++Block special ++ ++=item 'c' ++ ++Char special ++ ++=item 'd' ++ ++Directory ++ ++=item 'f' ++ ++FIFO (named pipe) ++ ++=item 'l' ++ ++Symbolic link ++ ++=item 'r' ++ ++Regular file ++ ++=item 's' ++ ++Socket ++ ++=item 'u' ++ ++Unknown file type ++ ++=item '?' ++ ++The L call returned a C field with an ++unexpected value ++ ++=back ++ ++This function is primarily intended for use by programs. To ++get a simple list of names, use C. To get a printable ++directory for human consumption, use C." }; ++ + { defaults with + name = "version"; added = (1, 0, 58); + style = RStruct ("version", "version"), [], []; +@@ -3939,66 +3999,6 @@ L, C, C. + + This call returns the previous umask." }; + +- { defaults with +- name = "readdir"; added = (1, 0, 55); +- style = RStructList ("entries", "dirent"), [String (Pathname, "dir")], []; +- protocol_limit_warning = true; +- shortdesc = "read directories entries"; +- longdesc = "\ +-This returns the list of directory entries in directory C. +- +-All entries in the directory are returned, including C<.> and +-C<..>. The entries are I sorted, but returned in the same +-order as the underlying filesystem. +- +-Also this call returns basic file type information about each +-file. The C field will contain one of the following characters: +- +-=over 4 +- +-=item 'b' +- +-Block special +- +-=item 'c' +- +-Char special +- +-=item 'd' +- +-Directory +- +-=item 'f' +- +-FIFO (named pipe) +- +-=item 'l' +- +-Symbolic link +- +-=item 'r' +- +-Regular file +- +-=item 's' +- +-Socket +- +-=item 'u' +- +-Unknown file type +- +-=item '?' +- +-The L call returned a C field with an +-unexpected value +- +-=back +- +-This function is primarily intended for use by programs. To +-get a simple list of names, use C. To get a printable +-directory for human consumption, use C." }; +- + { defaults with + name = "getxattrs"; added = (1, 0, 59); + style = RStructList ("xattrs", "xattr"), [String (Pathname, "path")], []; +@@ -9713,4 +9713,11 @@ C. The C parameter must be + the name of the mapping device (ie. F) + and I the name of the underlying block device." }; + ++ { defaults with ++ name = "internal_readdir"; added = (1, 48, 2); ++ style = RErr, [String (Pathname, "dir"); String (FileOut, "filename")], []; ++ visibility = VInternal; ++ shortdesc = "read directories entries"; ++ longdesc = "Internal function for readdir." }; ++ + ] +diff --git a/generator/proc_nr.ml b/generator/proc_nr.ml +index b20672ff0..bdced51c9 100644 +--- a/generator/proc_nr.ml ++++ b/generator/proc_nr.ml +@@ -152,7 +152,6 @@ let proc_nr = [ + 135, "mknod_b"; + 136, "mknod_c"; + 137, "umask"; +-138, "readdir"; + 139, "sfdiskM"; + 140, "zfile"; + 141, "getxattrs"; +@@ -514,6 +513,7 @@ let proc_nr = [ + 508, "cryptsetup_open"; + 509, "cryptsetup_close"; + 510, "internal_list_rpm_applications"; ++511, "internal_readdir"; + ] + + (* End of list. If adding a new entry, add it at the end of the list +diff --git a/lib/MAX_PROC_NR b/lib/MAX_PROC_NR +index 2bc4cd64b..c0556fb20 100644 +--- a/lib/MAX_PROC_NR ++++ b/lib/MAX_PROC_NR +@@ -1 +1 @@ +-510 ++511 +diff --git a/lib/Makefile.am b/lib/Makefile.am +index 144c45588..212bcb94a 100644 +--- a/lib/Makefile.am ++++ b/lib/Makefile.am +@@ -105,6 +105,7 @@ libguestfs_la_SOURCES = \ + private-data.c \ + proto.c \ + qemu.c \ ++ readdir.c \ + rescue.c \ + stringsbuf.c \ + structs-compare.c \ +diff --git a/lib/readdir.c b/lib/readdir.c +new file mode 100644 +index 000000000..9cb0d7cf6 +--- /dev/null ++++ b/lib/readdir.c +@@ -0,0 +1,131 @@ ++/* libguestfs ++ * Copyright (C) 2016-2022 Red Hat Inc. ++ * ++ * This library is free software; you can redistribute it and/or ++ * modify it under the terms of the GNU Lesser General Public ++ * License as published by the Free Software Foundation; either ++ * version 2 of the License, or (at your option) any later version. ++ * ++ * This library is distributed in the hope that it will be useful, ++ * but WITHOUT ANY WARRANTY; without even the implied warranty of ++ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ++ * Lesser General Public License for more details. ++ * ++ * You should have received a copy of the GNU Lesser General Public ++ * License along with this library; if not, write to the Free Software ++ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA ++ */ ++ ++#include /* UNIX_PATH_MAX, needed by "guestfs-internal.h" */ ++ ++#include /* xdrstdio_create() */ ++#include /* UINT32_MAX */ ++#include /* fopen() */ ++#include /* memset() */ ++ ++#include "guestfs.h" /* guestfs_internal_readdir() */ ++#include "guestfs_protocol.h" /* guestfs_int_dirent */ ++#include "guestfs-internal.h" /* guestfs_int_make_temp_path() */ ++#include "guestfs-internal-actions.h" /* guestfs_impl_readdir */ ++ ++struct guestfs_dirent_list * ++guestfs_impl_readdir (guestfs_h *g, const char *dir) ++{ ++ struct guestfs_dirent_list *ret; ++ char *tmpfn; ++ FILE *f; ++ off_t fsize; ++ XDR xdr; ++ struct guestfs_dirent_list *dirents; ++ uint32_t alloc_entries; ++ size_t alloc_bytes; ++ ++ /* Prepare to fail. */ ++ ret = NULL; ++ ++ tmpfn = guestfs_int_make_temp_path (g, "readdir", NULL); ++ if (tmpfn == NULL) ++ return ret; ++ ++ if (guestfs_internal_readdir (g, dir, tmpfn) == -1) ++ goto drop_tmpfile; ++ ++ f = fopen (tmpfn, "r"); ++ if (f == NULL) { ++ perrorf (g, "fopen: %s", tmpfn); ++ goto drop_tmpfile; ++ } ++ ++ if (fseeko (f, 0, SEEK_END) == -1) { ++ perrorf (g, "fseeko"); ++ goto close_tmpfile; ++ } ++ fsize = ftello (f); ++ if (fsize == -1) { ++ perrorf (g, "ftello"); ++ goto close_tmpfile; ++ } ++ if (fseeko (f, 0, SEEK_SET) == -1) { ++ perrorf (g, "fseeko"); ++ goto close_tmpfile; ++ } ++ ++ xdrstdio_create (&xdr, f, XDR_DECODE); ++ ++ dirents = safe_malloc (g, sizeof *dirents); ++ dirents->len = 0; ++ alloc_entries = 8; ++ alloc_bytes = alloc_entries * sizeof *dirents->val; ++ dirents->val = safe_malloc (g, alloc_bytes); ++ ++ while (xdr_getpos (&xdr) < fsize) { ++ guestfs_int_dirent v; ++ struct guestfs_dirent *d; ++ ++ if (dirents->len == alloc_entries) { ++ if (alloc_entries > UINT32_MAX / 2 || alloc_bytes > (size_t)-1 / 2) { ++ error (g, "integer overflow"); ++ goto free_dirents; ++ } ++ alloc_entries *= 2u; ++ alloc_bytes *= 2u; ++ dirents->val = safe_realloc (g, dirents->val, alloc_bytes); ++ } ++ ++ /* Decoding does not work unless the target buffer is zero-initialized. */ ++ memset (&v, 0, sizeof v); ++ if (!xdr_guestfs_int_dirent (&xdr, &v)) { ++ error (g, "xdr_guestfs_int_dirent failed"); ++ goto free_dirents; ++ } ++ ++ d = &dirents->val[dirents->len]; ++ d->ino = v.ino; ++ d->ftyp = v.ftyp; ++ d->name = v.name; /* transfer malloc'd string to "d" */ ++ ++ dirents->len++; ++ } ++ ++ /* Success; transfer "dirents" to "ret". */ ++ ret = dirents; ++ dirents = NULL; ++ ++ /* Clean up. */ ++ xdr_destroy (&xdr); ++ ++free_dirents: ++ guestfs_free_dirent_list (dirents); ++ ++close_tmpfile: ++ fclose (f); ++ ++drop_tmpfile: ++ /* In case guestfs_internal_readdir() failed, it may or may not have created ++ * the temporary file. ++ */ ++ unlink (tmpfn); ++ free (tmpfn); ++ ++ return ret; ++} +-- +2.31.1 + diff --git a/SOURCES/0003-guestfs_readdir-minimize-the-number-of-send_file_wri.patch b/SOURCES/0003-guestfs_readdir-minimize-the-number-of-send_file_wri.patch new file mode 100644 index 0000000..6e060a5 --- /dev/null +++ b/SOURCES/0003-guestfs_readdir-minimize-the-number-of-send_file_wri.patch @@ -0,0 +1,108 @@ +From 62cd6c9d2dd62dd24cc04b16437bfb816a6f4357 Mon Sep 17 00:00:00 2001 +From: Laszlo Ersek +Date: Mon, 2 May 2022 10:56:01 +0200 +Subject: [PATCH] guestfs_readdir(): minimize the number of send_file_write() + calls + +In guestfs_readdir(), the daemon currently sends each XDR-encoded +"guestfs_int_dirent" to the library with a separate send_file_write() +call. + +Determine the largest encoded size (from the longest filename that a +"guestfs_int_dirent" could carry, from readdir()'s "struct dirent"), and +batch up the XDR encodings until the next encoding might not fit in +GUESTFS_MAX_CHUNK_SIZE. Call send_file_write() only then. + +Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1674392 +Signed-off-by: Laszlo Ersek +Message-Id: <20220502085601.15012-3-lersek@redhat.com> +Reviewed-by: Richard W.M. Jones +(cherry picked from commit 4864d21cb8eb991f0fc98d03a068173837cba50e) +--- + daemon/readdir.c | 38 ++++++++++++++++++++++++++++++++------ + 1 file changed, 32 insertions(+), 6 deletions(-) + +diff --git a/daemon/readdir.c b/daemon/readdir.c +index 9ab0b0aec..3084ba939 100644 +--- a/daemon/readdir.c ++++ b/daemon/readdir.c +@@ -35,6 +35,9 @@ do_internal_readdir (const char *dir) + DIR *dirstream; + void *xdr_buf; + XDR xdr; ++ struct dirent fill; ++ guestfs_int_dirent v; ++ unsigned max_encoded; + + /* Prepare to fail. */ + ret = -1; +@@ -55,6 +58,20 @@ do_internal_readdir (const char *dir) + } + xdrmem_create (&xdr, xdr_buf, GUESTFS_MAX_CHUNK_SIZE, XDR_ENCODE); + ++ /* Calculate the max number of bytes a "guestfs_int_dirent" can be encoded to. ++ */ ++ memset (fill.d_name, 'a', sizeof fill.d_name - 1); ++ fill.d_name[sizeof fill.d_name - 1] = '\0'; ++ v.ino = INT64_MAX; ++ v.ftyp = '?'; ++ v.name = fill.d_name; ++ if (!xdr_guestfs_int_dirent (&xdr, &v)) { ++ fprintf (stderr, "xdr_guestfs_int_dirent failed\n"); ++ goto release_xdr; ++ } ++ max_encoded = xdr_getpos (&xdr); ++ xdr_setpos (&xdr, 0); ++ + /* Send an "OK" reply, before starting the file transfer. */ + reply (NULL, NULL); + +@@ -63,7 +80,6 @@ do_internal_readdir (const char *dir) + */ + for (;;) { + struct dirent *d; +- guestfs_int_dirent v; + + errno = 0; + d = readdir (dirstream); +@@ -94,22 +110,32 @@ do_internal_readdir (const char *dir) + v.ftyp = 'u'; + #endif + ++ /* Flush "xdr_buf" if we may not have enough room for encoding "v". */ ++ if (GUESTFS_MAX_CHUNK_SIZE - xdr_getpos (&xdr) < max_encoded) { ++ if (send_file_write (xdr_buf, xdr_getpos (&xdr)) != 0) ++ break; ++ ++ xdr_setpos (&xdr, 0); ++ } ++ + if (!xdr_guestfs_int_dirent (&xdr, &v)) { + fprintf (stderr, "xdr_guestfs_int_dirent failed\n"); + break; + } +- +- if (send_file_write (xdr_buf, xdr_getpos (&xdr)) != 0) +- break; +- +- xdr_setpos (&xdr, 0); + } + ++ /* Flush "xdr_buf" if the loop completed successfully and "xdr_buf" is not ++ * empty. */ ++ if (ret == 0 && xdr_getpos (&xdr) > 0 && ++ send_file_write (xdr_buf, xdr_getpos (&xdr)) != 0) ++ ret = -1; ++ + /* Finish or cancel the transfer. Note that if (ret == -1) because the library + * canceled, we still need to cancel back! + */ + send_file_end (ret == -1); + ++release_xdr: + xdr_destroy (&xdr); + free (xdr_buf); + +-- +2.31.1 + diff --git a/SOURCES/0004-lib-launch-direct-ignore-drive-iface-parameter.patch b/SOURCES/0004-lib-launch-direct-ignore-drive-iface-parameter.patch new file mode 100644 index 0000000..958b99f --- /dev/null +++ b/SOURCES/0004-lib-launch-direct-ignore-drive-iface-parameter.patch @@ -0,0 +1,123 @@ +From e4901a4e83f0ab59a525095d2fe1c7f1a38c0aac Mon Sep 17 00:00:00 2001 +From: Laszlo Ersek +Date: Wed, 4 May 2022 15:41:52 +0200 +Subject: [PATCH] lib: launch-direct: ignore drive "iface" parameter + +Rich said in : + +> The libvirt backend has never allowed the iface parameter. We should +> probably ignore it in the direct backend since it's never been possible +> to use this parameter correctly. + +Remove the handling of "iface" in the direct (QEMU) backend. Refresh the +documentation regarding both backends. + +Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1844341 +Signed-off-by: Laszlo Ersek +Message-Id: <20220504134155.11832-2-lersek@redhat.com> +Reviewed-by: Richard W.M. Jones +(cherry picked from commit 3eb830dbaee12c8dc4566cab226ed2af0e0f2d8c) +--- + generator/actions_core_deprecated.ml | 8 +++- + lib/launch-direct.c | 59 ++++++---------------------- + 2 files changed, 19 insertions(+), 48 deletions(-) + +diff --git a/generator/actions_core_deprecated.ml b/generator/actions_core_deprecated.ml +index 00dde3d2a..f1040a0e9 100644 +--- a/generator/actions_core_deprecated.ml ++++ b/generator/actions_core_deprecated.ml +@@ -73,7 +73,9 @@ of C." }; + shortdesc = "add a drive specifying the QEMU block emulation to use"; + longdesc = "\ + This is the same as C but it allows you +-to specify the QEMU interface emulation to use at run time." }; ++to specify the QEMU interface emulation to use at run time. ++The libvirt backend rejects a non-empty C argument. ++The direct backend ignores C." }; + + { defaults with + name = "add_drive_ro_with_if"; added = (1, 0, 84); +@@ -83,7 +85,9 @@ to specify the QEMU interface emulation to use at run time." }; + shortdesc = "add a drive read-only specifying the QEMU block emulation to use"; + longdesc = "\ + This is the same as C but it allows you +-to specify the QEMU interface emulation to use at run time." }; ++to specify the QEMU interface emulation to use at run time. ++The libvirt backend rejects a non-empty C argument. ++The direct backend ignores C." }; + + { defaults with + name = "lstatlist"; added = (1, 0, 77); +diff --git a/lib/launch-direct.c b/lib/launch-direct.c +index b292b9c26..ff0eaeb62 100644 +--- a/lib/launch-direct.c ++++ b/lib/launch-direct.c +@@ -296,52 +296,19 @@ static int + add_drive (guestfs_h *g, struct backend_direct_data *data, + struct qemuopts *qopts, size_t i, struct drive *drv) + { +- /* If there's an explicit 'iface', use it. Otherwise default to +- * virtio-scsi. +- */ +- if (drv->iface && STREQ (drv->iface, "virtio")) { /* virtio-blk */ +- start_list ("-drive") { +- if (add_drive_standard_params (g, data, qopts, i, drv) == -1) +- return -1; +- append_list ("if=none"); +- } end_list (); +- start_list ("-device") { +- append_list (VIRTIO_DEVICE_NAME ("virtio-blk")); +- append_list_format ("drive=hd%zu", i); +- if (drv->disk_label) +- append_list_format ("serial=%s", drv->disk_label); +- if (add_device_blocksize_params (g, qopts, drv) == -1) +- return -1; +- } end_list (); +- } +-#if defined(__arm__) || defined(__aarch64__) || defined(__powerpc__) +- else if (drv->iface && STREQ (drv->iface, "ide")) { +- error (g, "'ide' interface does not work on ARM or PowerPC"); +- return -1; +- } +-#endif +- else if (drv->iface) { +- start_list ("-drive") { +- if (add_drive_standard_params (g, data, qopts, i, drv) == -1) +- return -1; +- append_list_format ("if=%s", drv->iface); +- } end_list (); +- } +- else /* default case: virtio-scsi */ { +- start_list ("-drive") { +- if (add_drive_standard_params (g, data, qopts, i, drv) == -1) +- return -1; +- append_list ("if=none"); +- } end_list (); +- start_list ("-device") { +- append_list ("scsi-hd"); +- append_list_format ("drive=hd%zu", i); +- if (drv->disk_label) +- append_list_format ("serial=%s", drv->disk_label); +- if (add_device_blocksize_params (g, qopts, drv) == -1) +- return -1; +- } end_list (); +- } ++ start_list ("-drive") { ++ if (add_drive_standard_params (g, data, qopts, i, drv) == -1) ++ return -1; ++ append_list ("if=none"); ++ } end_list (); ++ start_list ("-device") { ++ append_list ("scsi-hd"); ++ append_list_format ("drive=hd%zu", i); ++ if (drv->disk_label) ++ append_list_format ("serial=%s", drv->disk_label); ++ if (add_device_blocksize_params (g, qopts, drv) == -1) ++ return -1; ++ } end_list (); + + return 0; + +-- +2.31.1 + diff --git a/SOURCES/0005-lib-drive_create_data-drive-remove-field-iface.patch b/SOURCES/0005-lib-drive_create_data-drive-remove-field-iface.patch new file mode 100644 index 0000000..3f01445 --- /dev/null +++ b/SOURCES/0005-lib-drive_create_data-drive-remove-field-iface.patch @@ -0,0 +1,245 @@ +From f13297315495144775f6249e9e24dc5f18f6f902 Mon Sep 17 00:00:00 2001 +From: Laszlo Ersek +Date: Wed, 4 May 2022 15:41:53 +0200 +Subject: [PATCH] lib: drive_create_data, drive: remove field "iface" + +Representing "iface" in the "drive_create_data" and "drive" structures is +now useless; the direct backend ignores "iface", while the libvirt one +rejects it unless it is empty. Unify both backends -- make them both +ignore "iface". (Which only relaxes the libvirt backend, so it cannot +cause compatibility problems.) This lets us remove the fields. Update the +documentation as well. + +Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1844341 +Signed-off-by: Laszlo Ersek +Message-Id: <20220504134155.11832-3-lersek@redhat.com> +Reviewed-by: Richard W.M. Jones +(cherry picked from commit f68eaee1d6c41f91e7dfd2aa9e7d238cca7b8a4c) +--- + generator/actions_core_deprecated.ml | 6 ++---- + lib/drives.c | 31 +++++----------------------- + lib/guestfs-internal.h | 1 - + lib/launch-libvirt.c | 6 ------ + lib/libvirt-domain.c | 15 -------------- + 5 files changed, 7 insertions(+), 52 deletions(-) + +diff --git a/generator/actions_core_deprecated.ml b/generator/actions_core_deprecated.ml +index f1040a0e9..c23f4a330 100644 +--- a/generator/actions_core_deprecated.ml ++++ b/generator/actions_core_deprecated.ml +@@ -74,8 +74,7 @@ of C." }; + longdesc = "\ + This is the same as C but it allows you + to specify the QEMU interface emulation to use at run time. +-The libvirt backend rejects a non-empty C argument. +-The direct backend ignores C." }; ++Both the direct and the libvirt backends ignore C." }; + + { defaults with + name = "add_drive_ro_with_if"; added = (1, 0, 84); +@@ -86,8 +85,7 @@ The direct backend ignores C." }; + longdesc = "\ + This is the same as C but it allows you + to specify the QEMU interface emulation to use at run time. +-The libvirt backend rejects a non-empty C argument. +-The direct backend ignores C." }; ++Both the direct and the libvirt backends ignore C." }; + + { defaults with + name = "lstatlist"; added = (1, 0, 77); +diff --git a/lib/drives.c b/lib/drives.c +index a6179fc36..8fe46a41c 100644 +--- a/lib/drives.c ++++ b/lib/drives.c +@@ -53,7 +53,6 @@ struct drive_create_data { + const char *secret; + bool readonly; + const char *format; +- const char *iface; + const char *name; + const char *disk_label; + const char *cachemode; +@@ -110,7 +109,6 @@ create_drive_file (guestfs_h *g, + drv->src.format = data->format ? safe_strdup (g, data->format) : NULL; + + drv->readonly = data->readonly; +- drv->iface = data->iface ? safe_strdup (g, data->iface) : NULL; + drv->name = data->name ? safe_strdup (g, data->name) : NULL; + drv->disk_label = data->disk_label ? safe_strdup (g, data->disk_label) : NULL; + drv->cachemode = data->cachemode ? safe_strdup (g, data->cachemode) : NULL; +@@ -147,7 +145,6 @@ create_drive_non_file (guestfs_h *g, + drv->src.format = data->format ? safe_strdup (g, data->format) : NULL; + + drv->readonly = data->readonly; +- drv->iface = data->iface ? safe_strdup (g, data->iface) : NULL; + drv->name = data->name ? safe_strdup (g, data->name) : NULL; + drv->disk_label = data->disk_label ? safe_strdup (g, data->disk_label) : NULL; + drv->cachemode = data->cachemode ? safe_strdup (g, data->cachemode) : NULL; +@@ -470,7 +467,6 @@ free_drive_struct (struct drive *drv) + { + free_drive_source (&drv->src); + free (drv->overlay); +- free (drv->iface); + free (drv->name); + free (drv->disk_label); + free (drv->cachemode); +@@ -511,14 +507,12 @@ drive_to_string (guestfs_h *g, const struct drive *drv) + s_blocksize = safe_asprintf (g, "%d", drv->blocksize); + + return safe_asprintf +- (g, "%s%s%s%s protocol=%s%s%s%s%s%s%s%s%s%s%s%s%s", ++ (g, "%s%s%s%s protocol=%s%s%s%s%s%s%s%s%s%s%s", + drv->src.u.path, + drv->readonly ? " readonly" : "", + drv->src.format ? " format=" : "", + drv->src.format ? : "", + guestfs_int_drive_protocol_to_string (drv->src.protocol), +- drv->iface ? " iface=" : "", +- drv->iface ? : "", + drv->name ? " name=" : "", + drv->name ? : "", + drv->disk_label ? " label=" : "", +@@ -747,8 +741,6 @@ guestfs_impl_add_drive_opts (guestfs_h *g, const char *filename, + ? optargs->readonly : false; + data.format = optargs->bitmask & GUESTFS_ADD_DRIVE_OPTS_FORMAT_BITMASK + ? optargs->format : NULL; +- data.iface = optargs->bitmask & GUESTFS_ADD_DRIVE_OPTS_IFACE_BITMASK +- ? optargs->iface : NULL; + data.name = optargs->bitmask & GUESTFS_ADD_DRIVE_OPTS_NAME_BITMASK + ? optargs->name : NULL; + data.disk_label = optargs->bitmask & GUESTFS_ADD_DRIVE_OPTS_LABEL_BITMASK +@@ -804,12 +796,6 @@ guestfs_impl_add_drive_opts (guestfs_h *g, const char *filename, + free_drive_servers (data.servers, data.nr_servers); + return -1; + } +- if (data.iface && !VALID_FORMAT_IFACE (data.iface)) { +- error (g, _("%s parameter is empty or contains disallowed characters"), +- "iface"); +- free_drive_servers (data.servers, data.nr_servers); +- return -1; +- } + if (data.disk_label && !VALID_DISK_LABEL (data.disk_label)) { + error (g, _("label parameter is empty, too long, or contains disallowed characters")); + free_drive_servers (data.servers, data.nr_servers); +@@ -935,24 +921,17 @@ guestfs_impl_add_drive_ro (guestfs_h *g, const char *filename) + + int + guestfs_impl_add_drive_with_if (guestfs_h *g, const char *filename, +- const char *iface) ++ const char *iface ATTRIBUTE_UNUSED) + { +- const struct guestfs_add_drive_opts_argv optargs = { +- .bitmask = GUESTFS_ADD_DRIVE_OPTS_IFACE_BITMASK, +- .iface = iface, +- }; +- +- return guestfs_add_drive_opts_argv (g, filename, &optargs); ++ return guestfs_add_drive_opts_argv (g, filename, NULL); + } + + int + guestfs_impl_add_drive_ro_with_if (guestfs_h *g, const char *filename, +- const char *iface) ++ const char *iface ATTRIBUTE_UNUSED) + { + const struct guestfs_add_drive_opts_argv optargs = { +- .bitmask = GUESTFS_ADD_DRIVE_OPTS_IFACE_BITMASK +- | GUESTFS_ADD_DRIVE_OPTS_READONLY_BITMASK, +- .iface = iface, ++ .bitmask = GUESTFS_ADD_DRIVE_OPTS_READONLY_BITMASK, + .readonly = true, + }; + +diff --git a/lib/guestfs-internal.h b/lib/guestfs-internal.h +index 5bb00bc10..16755cfb3 100644 +--- a/lib/guestfs-internal.h ++++ b/lib/guestfs-internal.h +@@ -298,7 +298,6 @@ struct drive { + + /* Various per-drive flags. */ + bool readonly; +- char *iface; + char *name; + char *disk_label; + char *cachemode; +diff --git a/lib/launch-libvirt.c b/lib/launch-libvirt.c +index de342b425..03d69e027 100644 +--- a/lib/launch-libvirt.c ++++ b/lib/launch-libvirt.c +@@ -1472,12 +1472,6 @@ construct_libvirt_xml_disk (guestfs_h *g, + const char *type, *uuid; + int r; + +- /* XXX We probably could support this if we thought about it some more. */ +- if (drv->iface) { +- error (g, _("‘iface’ parameter is not supported by the libvirt backend")); +- return -1; +- } +- + start_element ("disk") { + attribute ("device", "disk"); + +diff --git a/lib/libvirt-domain.c b/lib/libvirt-domain.c +index 3050680fa..fafbf50ea 100644 +--- a/lib/libvirt-domain.c ++++ b/lib/libvirt-domain.c +@@ -68,7 +68,6 @@ guestfs_impl_add_domain (guestfs_h *g, const char *domain_name, + int live; + int allowuuid; + const char *readonlydisk; +- const char *iface; + const char *cachemode; + const char *discard; + bool copyonread; +@@ -78,8 +77,6 @@ guestfs_impl_add_domain (guestfs_h *g, const char *domain_name, + ? optargs->libvirturi : NULL; + readonly = optargs->bitmask & GUESTFS_ADD_DOMAIN_READONLY_BITMASK + ? optargs->readonly : 0; +- iface = optargs->bitmask & GUESTFS_ADD_DOMAIN_IFACE_BITMASK +- ? optargs->iface : NULL; + live = optargs->bitmask & GUESTFS_ADD_DOMAIN_LIVE_BITMASK + ? optargs->live : 0; + allowuuid = optargs->bitmask & GUESTFS_ADD_DOMAIN_ALLOWUUID_BITMASK +@@ -136,10 +133,6 @@ guestfs_impl_add_domain (guestfs_h *g, const char *domain_name, + optargs2.bitmask |= GUESTFS_ADD_LIBVIRT_DOM_READONLY_BITMASK; + optargs2.readonly = readonly; + } +- if (iface) { +- optargs2.bitmask |= GUESTFS_ADD_LIBVIRT_DOM_IFACE_BITMASK; +- optargs2.iface = iface; +- } + if (live) { + error (g, _("libguestfs live support was removed in libguestfs 1.48")); + goto cleanup; +@@ -193,7 +186,6 @@ guestfs_impl_add_libvirt_dom (guestfs_h *g, void *domvp, + virDomainPtr dom = domvp; + ssize_t r; + int readonly; +- const char *iface; + const char *cachemode; + const char *discard; + bool copyonread; +@@ -208,9 +200,6 @@ guestfs_impl_add_libvirt_dom (guestfs_h *g, void *domvp, + readonly = + optargs->bitmask & GUESTFS_ADD_LIBVIRT_DOM_READONLY_BITMASK + ? optargs->readonly : 0; +- iface = +- optargs->bitmask & GUESTFS_ADD_LIBVIRT_DOM_IFACE_BITMASK +- ? optargs->iface : NULL; + live = + optargs->bitmask & GUESTFS_ADD_LIBVIRT_DOM_LIVE_BITMASK + ? optargs->live : 0; +@@ -289,10 +278,6 @@ guestfs_impl_add_libvirt_dom (guestfs_h *g, void *domvp, + data.optargs.bitmask = 0; + data.readonly = readonly; + data.readonlydisk = readonlydisk; +- if (iface) { +- data.optargs.bitmask |= GUESTFS_ADD_DRIVE_OPTS_IFACE_BITMASK; +- data.optargs.iface = iface; +- } + if (cachemode) { + data.optargs.bitmask |= GUESTFS_ADD_DRIVE_OPTS_CACHEMODE_BITMASK; + data.optargs.cachemode = cachemode; +-- +2.31.1 + diff --git a/SOURCES/0006-lib-rename-VALID_FORMAT_IFACE-to-VALID_FORMAT.patch b/SOURCES/0006-lib-rename-VALID_FORMAT_IFACE-to-VALID_FORMAT.patch new file mode 100644 index 0000000..9386a58 --- /dev/null +++ b/SOURCES/0006-lib-rename-VALID_FORMAT_IFACE-to-VALID_FORMAT.patch @@ -0,0 +1,82 @@ +From f408b24d8d8f5b5f4e1a25c1046c3a18107c8d80 Mon Sep 17 00:00:00 2001 +From: Laszlo Ersek +Date: Wed, 4 May 2022 15:41:54 +0200 +Subject: [PATCH] lib: rename VALID_FORMAT_IFACE to VALID_FORMAT + +We no longer use VALID_FORMAT_IFACE for validating "iface"; rename the +macro to reflect that we only check "format" with it. + +Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1844341 +Signed-off-by: Laszlo Ersek +Message-Id: <20220504134155.11832-4-lersek@redhat.com> +Reviewed-by: Richard W.M. Jones +(cherry picked from commit c8e3caf9e6000ea2f5cfbe30ffe1240317bb4578) +--- + lib/drives.c | 4 ++-- + lib/unit-tests.c | 16 ++++++++-------- + 2 files changed, 10 insertions(+), 10 deletions(-) + +diff --git a/lib/drives.c b/lib/drives.c +index 8fe46a41c..c5a208468 100644 +--- a/lib/drives.c ++++ b/lib/drives.c +@@ -593,7 +593,7 @@ guestfs_int_free_drives (guestfs_h *g) + * Check string parameter matches regular expression + * C<^[-_[:alnum:]]+$> (in C locale). + */ +-#define VALID_FORMAT_IFACE(str) \ ++#define VALID_FORMAT(str) \ + guestfs_int_string_is_valid ((str), 1, 0, \ + VALID_FLAG_ALPHA|VALID_FLAG_DIGIT, "-_") + +@@ -790,7 +790,7 @@ guestfs_impl_add_drive_opts (guestfs_h *g, const char *filename, + return -1; + } + +- if (data.format && !VALID_FORMAT_IFACE (data.format)) { ++ if (data.format && !VALID_FORMAT (data.format)) { + error (g, _("%s parameter is empty or contains disallowed characters"), + "format"); + free_drive_servers (data.servers, data.nr_servers); +diff --git a/lib/unit-tests.c b/lib/unit-tests.c +index 62457ccba..0e550cb98 100644 +--- a/lib/unit-tests.c ++++ b/lib/unit-tests.c +@@ -434,7 +434,7 @@ test_stringsbuf (void) + } + + /* Use the same macros as in lib/drives.c */ +-#define VALID_FORMAT_IFACE(str) \ ++#define VALID_FORMAT(str) \ + guestfs_int_string_is_valid ((str), 1, 0, \ + VALID_FLAG_ALPHA|VALID_FLAG_DIGIT, "-_") + #define VALID_DISK_LABEL(str) \ +@@ -446,18 +446,18 @@ test_stringsbuf (void) + static void + test_valid (void) + { +- assert (!VALID_FORMAT_IFACE ("")); ++ assert (!VALID_FORMAT ("")); + assert (!VALID_DISK_LABEL ("")); + assert (!VALID_HOSTNAME ("")); + + assert (!VALID_DISK_LABEL ("012345678901234567890")); + +- assert (VALID_FORMAT_IFACE ("abc")); +- assert (VALID_FORMAT_IFACE ("ABC")); +- assert (VALID_FORMAT_IFACE ("abc123")); +- assert (VALID_FORMAT_IFACE ("abc123-")); +- assert (VALID_FORMAT_IFACE ("abc123_")); +- assert (!VALID_FORMAT_IFACE ("abc123.")); ++ assert (VALID_FORMAT ("abc")); ++ assert (VALID_FORMAT ("ABC")); ++ assert (VALID_FORMAT ("abc123")); ++ assert (VALID_FORMAT ("abc123-")); ++ assert (VALID_FORMAT ("abc123_")); ++ assert (!VALID_FORMAT ("abc123.")); + + assert (VALID_DISK_LABEL ("abc")); + assert (VALID_DISK_LABEL ("ABC")); +-- +2.31.1 + diff --git a/SOURCES/0007-tests-regressions-remove-iface-based-restrictions.patch b/SOURCES/0007-tests-regressions-remove-iface-based-restrictions.patch new file mode 100644 index 0000000..5c8c1d0 --- /dev/null +++ b/SOURCES/0007-tests-regressions-remove-iface-based-restrictions.patch @@ -0,0 +1,74 @@ +From 431ca828e9f7d7a6c7e315b410f381304986ba44 Mon Sep 17 00:00:00 2001 +From: Laszlo Ersek +Date: Wed, 4 May 2022 15:41:55 +0200 +Subject: [PATCH] tests/regressions: remove "iface"-based restrictions + +Now that "iface" is ignored by both backends, the regression tests for +RHBZ 690819 and 975797 can be enabled on all arches (regardless of +backend). + +Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1844341 +Signed-off-by: Laszlo Ersek +Message-Id: <20220504134155.11832-5-lersek@redhat.com> +Reviewed-by: Richard W.M. Jones +(cherry picked from commit ddf276884c04418a32902689cf8fc3506be3ca4b) +--- + tests/regressions/rhbz690819.sh | 10 +++------- + tests/regressions/rhbz975797.sh | 10 +++------- + 2 files changed, 6 insertions(+), 14 deletions(-) + +diff --git a/tests/regressions/rhbz690819.sh b/tests/regressions/rhbz690819.sh +index e6f61d00d..9e1bcda84 100755 +--- a/tests/regressions/rhbz690819.sh ++++ b/tests/regressions/rhbz690819.sh +@@ -19,18 +19,14 @@ + # https://bugzilla.redhat.com/show_bug.cgi?id=690819 + # mkfs fails creating a filesytem on a disk device when using a disk + # with 'ide' interface ++# ++# The 'iface' parameter is now ignored: ++# https://bugzilla.redhat.com/show_bug.cgi?id=1844341 + + set -e + + $TEST_FUNCTIONS + skip_if_skipped +-# These architectures don't support the 'ide' interface. +-skip_if_arch arm +-skip_if_arch aarch64 +-skip_if_arch ppc64 +-skip_if_arch ppc64le +-skip_if_arch s390x +-skip_if_backend libvirt + + rm -f rhbz690819.img + +diff --git a/tests/regressions/rhbz975797.sh b/tests/regressions/rhbz975797.sh +index c676abfa3..feecf1f2b 100755 +--- a/tests/regressions/rhbz975797.sh ++++ b/tests/regressions/rhbz975797.sh +@@ -19,18 +19,14 @@ + # Regression test for: + # https://bugzilla.redhat.com/show_bug.cgi?id=975797 + # Ensure the appliance doesn't hang when using the 'iface' parameter. ++# ++# The 'iface' parameter is now ignored: ++# https://bugzilla.redhat.com/show_bug.cgi?id=1844341 + + set -e + + $TEST_FUNCTIONS + skip_if_skipped +-# These architectures don't support the 'ide' interface. +-skip_if_arch arm +-skip_if_arch aarch64 +-skip_if_arch ppc64 +-skip_if_arch ppc64le +-skip_if_arch s390x +-skip_if_backend libvirt + + rm -f rhbz975797-*.img + +-- +2.31.1 + diff --git a/SOURCES/0008-generator-customize-invert-SELinux-relabeling-defaul.patch b/SOURCES/0008-generator-customize-invert-SELinux-relabeling-defaul.patch new file mode 100644 index 0000000..b3aba8f --- /dev/null +++ b/SOURCES/0008-generator-customize-invert-SELinux-relabeling-defaul.patch @@ -0,0 +1,56 @@ +From 8f800b369ada05ea690cebb0bb5e0fed0ba1c548 Mon Sep 17 00:00:00 2001 +From: Laszlo Ersek +Date: Tue, 10 May 2022 12:27:57 +0200 +Subject: [PATCH] generator/customize: invert SELinux relabeling default + +Replace the "--selinux-relabel" option with "--no-selinux-relabel", +inverting the default behavior (for guests with SELinux support, that is +-- relabeling is always skipped for guests that don't support SELinux.) + +Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1554735 +Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2075718 +Signed-off-by: Laszlo Ersek +Message-Id: <20220510102757.14466-3-lersek@redhat.com> +Acked-by: Richard W.M. Jones +(cherry picked from commit 2f6a27f1077d32d1ab526427052fc88e188356f7) +--- + generator/customize.ml | 19 +++++++++++-------- + 1 file changed, 11 insertions(+), 8 deletions(-) + +diff --git a/generator/customize.ml b/generator/customize.ml +index 3b3eec6d2..9634dad85 100644 +--- a/generator/customize.ml ++++ b/generator/customize.ml +@@ -564,18 +564,21 @@ to modify C (Fedora, RHEL) or + C (Debian, Ubuntu)."; + }; + +- { flag_name = "selinux-relabel"; ++ { flag_name = "no-selinux-relabel"; + flag_type = FlagBool false (* XXX - the default in virt-builder *); +- flag_ml_var = "selinux_relabel"; +- flag_shortdesc = "Relabel files with correct SELinux labels"; ++ flag_ml_var = "no_selinux_relabel"; ++ flag_shortdesc = "Do not relabel files with correct SELinux labels"; + flag_pod_longdesc = "\ +-Relabel files in the guest so that they have the correct SELinux label. ++Do not attempt to correct the SELinux labels of files in the guest. + +-This will attempt to relabel files immediately, but if the operation fails +-this will instead touch F on the image to schedule a +-relabel operation for the next time the image boots. ++In such guests that support SELinux, customization automatically ++relabels files so that they have the correct SELinux label. (The ++relabeling is performed immediately, but if the operation fails, ++customization will instead touch F on the image to ++schedule a relabel operation for the next time the image boots.) This ++option disables the automatic relabeling. + +-This option is a no-op for guests that do not support SELinux."; ++The option is a no-op for guests that do not support SELinux."; + }; + + { flag_name = "sm-credentials"; +-- +2.31.1 + diff --git a/SOURCES/0009-generator-customize-reintroduce-selinux-relabel-as-a.patch b/SOURCES/0009-generator-customize-reintroduce-selinux-relabel-as-a.patch new file mode 100644 index 0000000..4c8b115 --- /dev/null +++ b/SOURCES/0009-generator-customize-reintroduce-selinux-relabel-as-a.patch @@ -0,0 +1,42 @@ +From 4cfba19fa2b087c4b2c5a1b67aa70eb16e9d5a59 Mon Sep 17 00:00:00 2001 +From: Laszlo Ersek +Date: Wed, 25 May 2022 09:19:58 +0200 +Subject: [PATCH] generator/customize: reintroduce "--selinux-relabel" as a + compat option + +Removing "--selinux-relabel" in commit 2f6a27f1077d ("generator/customize: +invert SELinux relabeling default", 2022-05-11) breaks existing scripts +that invoke virt-customize and/or virt-sysprep with that option. Restore +the option, with no functionality tied to it. + +Fixes: 2f6a27f1077d32d1ab526427052fc88e188356f7 +Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2089748 +Signed-off-by: Laszlo Ersek +Message-Id: <20220525071958.9612-1-lersek@redhat.com> +Reviewed-by: Richard W.M. Jones +(cherry picked from commit 4b9ee1052a4396621485fdd56d6826714e7481b1) +--- + generator/customize.ml | 7 +++++++ + 1 file changed, 7 insertions(+) + +diff --git a/generator/customize.ml b/generator/customize.ml +index 9634dad85..5abaf206f 100644 +--- a/generator/customize.ml ++++ b/generator/customize.ml +@@ -581,6 +581,13 @@ option disables the automatic relabeling. + The option is a no-op for guests that do not support SELinux."; + }; + ++ { flag_name = "selinux-relabel"; ++ flag_type = FlagBool false; ++ flag_ml_var = "selinux_relabel_ignored"; ++ flag_shortdesc = "Compatibility option doing nothing"; ++ flag_pod_longdesc = "This is a compatibility option that does nothing."; ++ }; ++ + { flag_name = "sm-credentials"; + flag_type = FlagSMCredentials "SELECTOR"; + flag_ml_var = "sm_credentials"; +-- +2.31.1 + diff --git a/SOURCES/0010-RHEL-Disable-unsupported-remote-drive-protocols-RHBZ.patch b/SOURCES/0010-RHEL-Disable-unsupported-remote-drive-protocols-RHBZ.patch new file mode 100644 index 0000000..e558c88 --- /dev/null +++ b/SOURCES/0010-RHEL-Disable-unsupported-remote-drive-protocols-RHBZ.patch @@ -0,0 +1,609 @@ +From 010cd5ff441166c01125fc588398a1fb8367a852 Mon Sep 17 00:00:00 2001 +From: "Richard W.M. Jones" +Date: Mon, 29 Jul 2013 14:47:56 +0100 +Subject: [PATCH] RHEL: Disable unsupported remote drive protocols + (RHBZ#962113). + +This disables support for unsupported remote drive protocols: + + * ftp + * ftps + * http + * https + * tftp + * gluster + * iscsi + * sheepdog + * ssh + +Note 'nbd' is not disabled, and of course 'file' works. + +We hope to gradually add some of these back over the lifetime of RHEL. +--- + docs/guestfs-testing.pod | 20 ----- + fish/guestfish.pod | 66 ++-------------- + fish/test-add-uri.sh | 32 -------- + generator/actions_core.ml | 50 +------------ + lib/drives.c | 8 ++ + lib/guestfs.pod | 100 ------------------------- + tests/disks/test-qemu-drive-libvirt.sh | 28 ------- + tests/disks/test-qemu-drive.sh | 60 --------------- + 8 files changed, 16 insertions(+), 348 deletions(-) + +diff --git a/docs/guestfs-testing.pod b/docs/guestfs-testing.pod +index f558964bf..8f264ed17 100644 +--- a/docs/guestfs-testing.pod ++++ b/docs/guestfs-testing.pod +@@ -109,26 +109,6 @@ image. To exit, type C. + If you get an error, try enabling debugging (add C<-v> to the command + line). Also make sure that L succeeds. + +-=head2 Try to open a remote guest image with guestfish. +- +-You may also have to disable libvirt by setting this: +- +- export LIBGUESTFS_BACKEND=direct +- +-If you have a disk image available over HTTP/FTP, try to open it. +- +- guestfish --ro -i --format=raw -a http://www.example.com/disk.img +- +-For SSH you will need to make sure that ssh-agent is set up so you +-don't need a password to log in to the remote machine. Then a command +-similar to this should work: +- +- guestfish --ro -i --format=raw \ +- -a ssh://remote.example.com/path/to/disk.img +- +-If you get an error, try enabling debugging (add C<-v> to the command +-line). Also make sure that L succeeds. +- + =head2 Run virt-alignment-scan on all your guests. + + Run L on guests or disk images: +diff --git a/fish/guestfish.pod b/fish/guestfish.pod +index ae2445571..46cba64ff 100644 +--- a/fish/guestfish.pod ++++ b/fish/guestfish.pod +@@ -131,9 +131,9 @@ To list what is available do: + + =head2 Remote drives + +-Access a remote disk using ssh: ++Access a remote disk using NBD: + +- guestfish -a ssh://example.com/path/to/disk.img ++ guestfish -a nbd://example.com + + =head2 Remote control + +@@ -1129,12 +1129,12 @@ L>. + On the command line, you can use the I<-a> option to add network + block devices using a URI-style format, for example: + +- guestfish -a ssh://root@example.com/disk.img ++ guestfish -a nbd://example.com + + URIs I be used with the L command. The equivalent + command using the API directly is: + +- > add /disk.img protocol:ssh server:tcp:example.com username:root ++ > add /disk.img protocol:nbd server:tcp:example.com + + The possible I<-a URI> formats are described below. + +@@ -1144,40 +1144,6 @@ The possible I<-a URI> formats are described below. + + Add the local disk image (or device) called F. + +-=head2 B<-a ftp://[user@]example.com[:port]/disk.img> +- +-=head2 B<-a ftps://[user@]example.com[:port]/disk.img> +- +-=head2 B<-a http://[user@]example.com[:port]/disk.img> +- +-=head2 B<-a https://[user@]example.com[:port]/disk.img> +- +-=head2 B<-a tftp://[user@]example.com[:port]/disk.img> +- +-Add a disk located on a remote FTP, HTTP or TFTP server. +- +-The equivalent API command would be: +- +- > add /disk.img protocol:(ftp|...) server:tcp:example.com +- +-=head2 B<-a gluster://example.com[:port]/volname/image> +- +-Add a disk image located on GlusterFS storage. +- +-The server is the one running C, and may be C. +- +-The equivalent API command would be: +- +- > add volname/image protocol:gluster server:tcp:example.com +- +-=head2 B<-a iscsi://example.com[:port]/target-iqn-name[/lun]> +- +-Add a disk located on an iSCSI server. +- +-The equivalent API command would be: +- +- > add target-iqn-name/lun protocol:iscsi server:tcp:example.com +- + =head2 B<-a nbd://example.com[:port]> + + =head2 B<-a nbd://example.com[:port]/exportname> +@@ -1212,35 +1178,13 @@ The equivalent API command would be: + + > add pool/disk protocol:rbd server:tcp:example.com:port + +-=head2 B<-a sheepdog://[example.com[:port]]/volume/image> +- +-Add a disk image located on a Sheepdog volume. +- +-The server name is optional. Although libguestfs and Sheepdog +-supports multiple servers, only at most one server can be specified +-when using this URI syntax. +- +-The equivalent API command would be: +- +- > add volume protocol:sheepdog [server:tcp:example.com] +- +-=head2 B<-a ssh://[user@]example.com[:port]/disk.img> +- +-Add a disk image located on a remote server, accessed using the Secure +-Shell (ssh) SFTP protocol. SFTP is supported out of the box by all +-major SSH servers. +- +-The equivalent API command would be: +- +- > add /disk protocol:ssh server:tcp:example.com [username:user] +- + Note that the URIs follow the syntax of + L: in particular, there + are restrictions on the allowed characters for the various components + of the URI. Characters such as C<:>, C<@>, and C B be + percent-encoded: + +- $ guestfish -a ssh://user:pass%40word@example.com/disk.img ++ $ guestfish -a rbd://user:pass%40word@example.com[:port]/pool/disk + + In this case, the password is C. + +diff --git a/fish/test-add-uri.sh b/fish/test-add-uri.sh +index 21d424984..ddabeb639 100755 +--- a/fish/test-add-uri.sh ++++ b/fish/test-add-uri.sh +@@ -40,14 +40,6 @@ function fail () + $VG guestfish -x -a file://$abs_builddir/test-add-uri.img test-add-uri.out 2>&1 + grep -sq 'add_drive ".*/test-add-uri.img"' test-add-uri.out || fail + +-# curl +-$VG guestfish -x -a ftp://user@example.com/disk.img test-add-uri.out 2>&1 +-grep -sq 'add_drive "/disk.img" "protocol:ftp" "server:tcp:example.com" "username:user"' test-add-uri.out || fail +- +-# gluster +-$VG guestfish -x -a gluster://example.com/disk test-add-uri.out 2>&1 +-grep -sq 'add_drive "disk" "protocol:gluster" "server:tcp:example.com"' test-add-uri.out || fail +- + # NBD + $VG guestfish -x -a nbd://example.com test-add-uri.out 2>&1 + grep -sq 'add_drive "" "protocol:nbd" "server:tcp:example.com"' test-add-uri.out || fail +@@ -67,29 +59,5 @@ grep -sq 'add_drive "pool/disk" "protocol:rbd" "server:tcp:example.com:6789"' te + $VG guestfish -x -a rbd:///pool/disk test-add-uri.out 2>&1 + grep -sq 'add_drive "pool/disk" "protocol:rbd"' test-add-uri.out || fail + +-# sheepdog +-$VG guestfish -x -a sheepdog:///volume/image test-add-uri.out 2>&1 +-grep -sq 'add_drive "volume/image" "protocol:sheepdog"' test-add-uri.out || fail +- +-$VG guestfish -x -a sheepdog://example.com:3000/volume/image test-add-uri.out 2>&1 +-grep -sq 'add_drive "volume/image" "protocol:sheepdog" "server:tcp:example.com:3000"' test-add-uri.out || fail +- +-# ssh +-$VG guestfish -x -a ssh://example.com/disk.img test-add-uri.out 2>&1 +-grep -sq 'add_drive "/disk.img" "protocol:ssh" "server:tcp:example.com"' test-add-uri.out || fail +- +-$VG guestfish -x -a ssh://user@example.com/disk.img test-add-uri.out 2>&1 +-grep -sq 'add_drive "/disk.img" "protocol:ssh" "server:tcp:example.com" "username:user"' test-add-uri.out || fail +- +-$VG guestfish -x -a ssh://user@example.com:2000/disk.img test-add-uri.out 2>&1 +-grep -sq 'add_drive "/disk.img" "protocol:ssh" "server:tcp:example.com:2000" "username:user"' test-add-uri.out || fail +- +-# iSCSI +-$VG guestfish -x -a iscsi://example.com/iqn.2015-12.com.libguestfs:test1/0 test-add-uri.out 2>&1 +-grep -sq 'add_drive "iqn.2015-12.com.libguestfs:test1/0" "protocol:iscsi" "server:tcp:example.com"' test-add-uri.out || fail +- +-$VG guestfish -x -a iscsi://user:password@example.com/iqn.2015-12.com.libguestfs:test2/0 test-add-uri.out 2>&1 +-grep -sq 'add_drive "iqn.2015-12.com.libguestfs:test2/0" "protocol:iscsi" "server:tcp:example.com" "username:user" "secret:password"' test-add-uri.out || fail +- + rm test-add-uri.out + rm test-add-uri.img +diff --git a/generator/actions_core.ml b/generator/actions_core.ml +index 807150615..6cd42a290 100644 +--- a/generator/actions_core.ml ++++ b/generator/actions_core.ml +@@ -350,29 +350,6 @@ F is interpreted as a local file or device. + This is the default if the optional protocol parameter + is omitted. + +-=item C +- +-Connect to a remote FTP, HTTP or TFTP server. +-The C parameter must also be supplied - see below. +- +-See also: L +- +-=item C +- +-Connect to the GlusterFS server. +-The C parameter must also be supplied - see below. +- +-See also: L +- +-=item C +- +-Connect to the iSCSI server. +-The C parameter must also be supplied - see below. +-The C parameter may be supplied. See below. +-The C parameter may be supplied. See below. +- +-See also: L. +- + =item C + + Connect to the Network Block Device server. +@@ -389,22 +366,6 @@ The C parameter may be supplied. See below. + + See also: L. + +-=item C +- +-Connect to the Sheepdog server. +-The C parameter may also be supplied - see below. +- +-See also: L. +- +-=item C +- +-Connect to the Secure Shell (ssh) server. +- +-The C parameter must be supplied. +-The C parameter may be supplied. See below. +- +-See also: L. +- + =back + + =item C +@@ -415,13 +376,8 @@ is a list of server(s). + Protocol Number of servers required + -------- -------------------------- + file List must be empty or param not used at all +- ftp|ftps|http|https|tftp Exactly one +- gluster Exactly one +- iscsi Exactly one + nbd Exactly one + rbd Zero or more +- sheepdog Zero or more +- ssh Exactly one + + Each list element is a string specifying a server. The string must be + in one of the following formats: +@@ -437,10 +393,10 @@ for the protocol is used (see F). + + =item C + +-For the C, C, C, C, C, C, C +-and C protocols, this specifies the remote username. ++For the C ++protocol, this specifies the remote username. + +-If not given, then the local username is used for C, and no authentication ++If not given, then no authentication + is attempted for ceph. But note this sometimes may give unexpected results, for + example if using the libvirt backend and if the libvirt backend is configured to + start the qemu appliance as a special user such as C. If in doubt, +diff --git a/lib/drives.c b/lib/drives.c +index c5a208468..efb289254 100644 +--- a/lib/drives.c ++++ b/lib/drives.c +@@ -166,6 +166,7 @@ create_drive_non_file (guestfs_h *g, + return drv; + } + ++#if 0 /* DISABLED IN RHEL 8 */ + static struct drive * + create_drive_curl (guestfs_h *g, + const struct drive_create_data *data) +@@ -224,6 +225,7 @@ create_drive_gluster (guestfs_h *g, + + return create_drive_non_file (g, data); + } ++#endif /* DISABLED IN RHEL 8 */ + + static int + nbd_port (void) +@@ -292,6 +294,7 @@ create_drive_rbd (guestfs_h *g, + return create_drive_non_file (g, data); + } + ++#if 0 /* DISABLED IN RHEL 8 */ + static struct drive * + create_drive_sheepdog (guestfs_h *g, + const struct drive_create_data *data) +@@ -392,6 +395,7 @@ create_drive_iscsi (guestfs_h *g, + + return create_drive_non_file (g, data); + } ++#endif /* DISABLED IN RHEL 8 */ + + /** + * Create the special F drive. +@@ -842,6 +846,7 @@ guestfs_impl_add_drive_opts (guestfs_h *g, const char *filename, + drv = create_drive_file (g, &data); + } + } ++#if 0 /* DISABLED IN RHEL 8 */ + else if (STREQ (protocol, "ftp")) { + data.protocol = drive_protocol_ftp; + drv = create_drive_curl (g, &data); +@@ -866,6 +871,7 @@ guestfs_impl_add_drive_opts (guestfs_h *g, const char *filename, + data.protocol = drive_protocol_iscsi; + drv = create_drive_iscsi (g, &data); + } ++#endif /* DISABLED IN RHEL 8 */ + else if (STREQ (protocol, "nbd")) { + data.protocol = drive_protocol_nbd; + drv = create_drive_nbd (g, &data); +@@ -874,6 +880,7 @@ guestfs_impl_add_drive_opts (guestfs_h *g, const char *filename, + data.protocol = drive_protocol_rbd; + drv = create_drive_rbd (g, &data); + } ++#if 0 /* DISABLED IN RHEL 8 */ + else if (STREQ (protocol, "sheepdog")) { + data.protocol = drive_protocol_sheepdog; + drv = create_drive_sheepdog (g, &data); +@@ -886,6 +893,7 @@ guestfs_impl_add_drive_opts (guestfs_h *g, const char *filename, + data.protocol = drive_protocol_tftp; + drv = create_drive_curl (g, &data); + } ++#endif /* DISABLED IN RHEL 8 */ + else { + error (g, _("unknown protocol ‘%s’"), protocol); + drv = NULL; /*FALLTHROUGH*/ +diff --git a/lib/guestfs.pod b/lib/guestfs.pod +index 1ad44e7c2..946ce2d36 100644 +--- a/lib/guestfs.pod ++++ b/lib/guestfs.pod +@@ -712,70 +712,6 @@ a qcow2 backing file specification, libvirt does not construct an + ephemeral secret object from those, for Ceph authentication. Refer to + L. + +-=head3 FTP, HTTP AND TFTP +- +-Libguestfs can access remote disks over FTP, FTPS, HTTP, HTTPS +-or TFTP protocols. +- +-To do this, set the optional C and C parameters of +-L like this: +- +- char **servers = { "www.example.org", NULL }; +- guestfs_add_drive_opts (g, "/disk.img", +- GUESTFS_ADD_DRIVE_OPTS_FORMAT, "raw", +- GUESTFS_ADD_DRIVE_OPTS_PROTOCOL, "http", +- GUESTFS_ADD_DRIVE_OPTS_SERVER, servers, +- -1); +- +-The C can be one of C<"ftp">, C<"ftps">, C<"http">, +-C<"https"> or C<"tftp">. +- +-C (the C parameter) is a list which must have a +-single element. The single element is a string defining the web, +-FTP or TFTP server. The format of this string is documented in +-L. +- +-=head3 GLUSTER +- +-Libguestfs can access Gluster disks. +- +-To do this, set the optional C and C parameters of +-L like this: +- +- char **servers = { "gluster.example.org:24007", NULL }; +- guestfs_add_drive_opts (g, "volname/image", +- GUESTFS_ADD_DRIVE_OPTS_FORMAT, "raw", +- GUESTFS_ADD_DRIVE_OPTS_PROTOCOL, "gluster", +- GUESTFS_ADD_DRIVE_OPTS_SERVER, servers, +- -1); +- +-C (the C parameter) is a list which must have a +-single element. The single element is a string defining the Gluster +-server. The format of this string is documented in +-L. +- +-Note that gluster usually requires the client process (ie. libguestfs) +-to run as B and will give unfathomable errors if it is not +-(eg. "No data available"). +- +-=head3 ISCSI +- +-Libguestfs can access iSCSI disks remotely. +- +-To do this, set the optional C and C parameters like +-this: +- +- char **server = { "iscsi.example.org:3000", NULL }; +- guestfs_add_drive_opts (g, "target-iqn-name/lun", +- GUESTFS_ADD_DRIVE_OPTS_FORMAT, "raw", +- GUESTFS_ADD_DRIVE_OPTS_PROTOCOL, "iscsi", +- GUESTFS_ADD_DRIVE_OPTS_SERVER, server, +- -1); +- +-The C parameter is a list which must have a single element. +-The single element is a string defining the iSCSI server. The format +-of this string is documented in L. +- + =head3 NETWORK BLOCK DEVICE + + Libguestfs can access Network Block Device (NBD) disks remotely. +@@ -838,42 +774,6 @@ L + + =back + +-=head3 SHEEPDOG +- +-Libguestfs can access Sheepdog disks. +- +-To do this, set the optional C and C parameters of +-L like this: +- +- char **servers = { /* optional servers ... */ NULL }; +- guestfs_add_drive_opts (g, "volume", +- GUESTFS_ADD_DRIVE_OPTS_FORMAT, "raw", +- GUESTFS_ADD_DRIVE_OPTS_PROTOCOL, "sheepdog", +- GUESTFS_ADD_DRIVE_OPTS_SERVER, servers, +- -1); +- +-The optional list of C may be zero or more server addresses +-(C<"hostname:port">). The format of the server strings is documented +-in L. +- +-=head3 SSH +- +-Libguestfs can access disks over a Secure Shell (SSH) connection. +- +-To do this, set the C and C and (optionally) +-C parameters of L like this: +- +- char **server = { "remote.example.com", NULL }; +- guestfs_add_drive_opts (g, "/path/to/disk.img", +- GUESTFS_ADD_DRIVE_OPTS_FORMAT, "raw", +- GUESTFS_ADD_DRIVE_OPTS_PROTOCOL, "ssh", +- GUESTFS_ADD_DRIVE_OPTS_SERVER, server, +- GUESTFS_ADD_DRIVE_OPTS_USERNAME, "remoteuser", +- -1); +- +-The format of the server string is documented in +-L. +- + =head2 INSPECTION + + Libguestfs has APIs for inspecting an unknown disk image to find out +diff --git a/tests/disks/test-qemu-drive-libvirt.sh b/tests/disks/test-qemu-drive-libvirt.sh +index 595a95a5e..b49534c94 100755 +--- a/tests/disks/test-qemu-drive-libvirt.sh ++++ b/tests/disks/test-qemu-drive-libvirt.sh +@@ -65,34 +65,6 @@ check_output + grep -sq -- '-drive file=rbd:abc-def/ghi-jkl:auth_supported=none,' "$DEBUG_QEMU_FILE" || fail ceph2 + rm "$DEBUG_QEMU_FILE" + +-# Gluster. +- +-$guestfish -d gluster run ||: +-check_output +-grep -sq -- '-drive file=gluster://1.2.3.4:1234/volname/image,' "$DEBUG_QEMU_FILE" || fail gluster +-rm "$DEBUG_QEMU_FILE" +- +-# iSCSI. +- +-$guestfish -d iscsi run ||: +-check_output +-grep -sq -- '-drive file=iscsi://1.2.3.4:1234/iqn.2003-01.org.linux-iscsi.fedora' "$DEBUG_QEMU_FILE" || fail iscsi +-rm "$DEBUG_QEMU_FILE" +- +-# NBD. +- +-$guestfish -d nbd run ||: +-check_output +-grep -sq -- '-drive file=nbd:1.2.3.4:1234,' "$DEBUG_QEMU_FILE" || fail nbd +-rm "$DEBUG_QEMU_FILE" +- +-# Sheepdog. +- +-$guestfish -d sheepdog run ||: +-check_output +-grep -sq -- '-drive file=sheepdog:volume,' "$DEBUG_QEMU_FILE" || fail sheepdog +-rm "$DEBUG_QEMU_FILE" +- + # Local, stored in a pool. + + $guestfish -d pool1 run ||: +diff --git a/tests/disks/test-qemu-drive.sh b/tests/disks/test-qemu-drive.sh +index 12937fb30..b3e4f9903 100755 +--- a/tests/disks/test-qemu-drive.sh ++++ b/tests/disks/test-qemu-drive.sh +@@ -62,45 +62,6 @@ check_output + grep -sq -- '-drive file=rbd:abc-def/ghi-jkl:auth_supported=none,' "$DEBUG_QEMU_FILE" || fail + rm "$DEBUG_QEMU_FILE" + +-# HTTP. +- +-guestfish < +Date: Tue, 7 Jul 2015 09:28:03 -0400 +Subject: [PATCH] RHEL: Reject use of libguestfs-winsupport features except for + virt-* tools (RHBZ#1240276). + +Fix the tests: it doesn't let us use guestfish for arbitrary Windows +edits. +--- + generator/c.ml | 16 ++++++++++++++++ + test-data/phony-guests/make-windows-img.sh | 1 + + tests/charsets/test-charset-fidelity.c | 2 ++ + 3 files changed, 19 insertions(+) + +diff --git a/generator/c.ml b/generator/c.ml +index ea69abf76..56ee38aa4 100644 +--- a/generator/c.ml ++++ b/generator/c.ml +@@ -1846,6 +1846,22 @@ and generate_client_actions actions () = + check_args_validity c_name style; + trace_call name c_name style; + ++ (* RHEL 8 *) ++ if name = "mount" || name = "mount_ro" || name = "mount_options" || ++ name = "mount_vfs" then ( ++ pr " if (g->program && !STRPREFIX (g->program, \"virt-\")) {\n"; ++ pr " CLEANUP_FREE char *vfs_type = guestfs_vfs_type (g, mountable);\n"; ++ pr " if (vfs_type && STREQ (vfs_type, \"ntfs\")) {\n"; ++ pr " error (g, \"mount: unsupported filesystem type\");\n"; ++ pr " if (trace_flag)\n"; ++ pr " guestfs_int_trace (g, \"%%s = %%s (error)\",\n"; ++ pr " \"%s\", \"-1\");\n" name; ++ pr " return %s;\n" (string_of_errcode errcode); ++ pr " }\n"; ++ pr " }\n"; ++ pr "\n"; ++ ); ++ + (* Calculate the total size of all FileIn arguments to pass + * as a progress bar hint. + *) +diff --git a/test-data/phony-guests/make-windows-img.sh b/test-data/phony-guests/make-windows-img.sh +index 30908a918..73cf5144e 100755 +--- a/test-data/phony-guests/make-windows-img.sh ++++ b/test-data/phony-guests/make-windows-img.sh +@@ -37,6 +37,7 @@ fi + + # Create a disk image. + guestfish < +Date: Tue, 29 Jun 2021 15:29:11 +0100 +Subject: [PATCH] RHEL: Create /etc/crypto-policies/back-ends/opensslcnf.config + +https://bugzilla.redhat.com/show_bug.cgi?id=1977214#c13 +--- + appliance/init | 8 ++++++++ + 1 file changed, 8 insertions(+) + +diff --git a/appliance/init b/appliance/init +index 19aa151b7..e67d88280 100755 +--- a/appliance/init ++++ b/appliance/init +@@ -76,6 +76,14 @@ if ! test -e /etc/mtab; then + ln -s /proc/mounts /etc/mtab + fi + ++# openssl 3 requires /etc/crypto-policies/back-ends/opensslcnf.config ++# to exist, but it is created in a %post script in crypto-policies ++# https://bugzilla.redhat.com/show_bug.cgi?id=1977214#c13 ++if ! test -r /etc/crypto-policies/back-ends/opensslcnf.config && ++ test -f /usr/share/crypto-policies/DEFAULT/opensslcnf.txt; then ++ ln -s /usr/share/crypto-policies/DEFAULT/opensslcnf.txt /etc/crypto-policies/back-ends/opensslcnf.config ++fi ++ + # Static nodes must happen before udev is started. + + # Set up kmod static-nodes (RHBZ#1011907). +-- +2.31.1 + diff --git a/SOURCES/0013-php-add-arginfo-to-php-bindings.patch b/SOURCES/0013-php-add-arginfo-to-php-bindings.patch new file mode 100644 index 0000000..7122e7c --- /dev/null +++ b/SOURCES/0013-php-add-arginfo-to-php-bindings.patch @@ -0,0 +1,90 @@ +From d451e0e42c75429279426e9eb5a7701cd4681d07 Mon Sep 17 00:00:00 2001 +From: Geoff Amey +Date: Wed, 15 Jun 2022 17:06:56 -0400 +Subject: [PATCH] php: add arginfo to php bindings + +Starting with PHP8, arginfo is mandatory for PHP extensions. This patch +updates the generator for the PHP bindings to generate the arginfo +structures, using the Zend API macros. Only basic arginfo is added, +without full documentation of argument and return types, in order to +ensure compatibility with as many versions of PHP as possible. + +(cherry picked from commit ec27979398b0871c1a3e0e244849f8435c9c9a8d) +--- + .gitignore | 1 + + generator/php.ml | 37 ++++++++++++++++++++++++++++++++++--- + 2 files changed, 35 insertions(+), 3 deletions(-) + +diff --git a/.gitignore b/.gitignore +index a36ccc86a..356c01fbd 100644 +--- a/.gitignore ++++ b/.gitignore +@@ -325,6 +325,7 @@ Makefile.in + /php/extension/configure.in + /php/extension/env + /php/extension/guestfs_php.c ++/php/extension/guestfs_php.dep + /php/extension/install-sh + /php/extension/libtool + /php/extension/ltmain.sh +diff --git a/generator/php.ml b/generator/php.ml +index 5c7ef48e8..acdc7b877 100644 +--- a/generator/php.ml ++++ b/generator/php.ml +@@ -130,6 +130,37 @@ typedef size_t guestfs_string_length; + typedef int guestfs_string_length; + #endif + ++/* Declare argument info structures */ ++ZEND_BEGIN_ARG_INFO_EX(arginfo_create, 0, 0, 0) ++ZEND_END_ARG_INFO() ++ ++ZEND_BEGIN_ARG_INFO_EX(arginfo_last_error, 0, 0, 1) ++ ZEND_ARG_INFO(0, g) ++ZEND_END_ARG_INFO() ++ ++"; ++ List.iter ( ++ fun { name = shortname; style = ret, args, optargs; } -> ++ let len = List.length args in ++ pr "ZEND_BEGIN_ARG_INFO_EX(arginfo_%s, 0, 0, %d)\n" shortname (len + 1); ++ pr " ZEND_ARG_INFO(0, g)\n"; ++ List.iter ( ++ function ++ | BufferIn n | Bool n | Int n | Int64 n | OptString n ++ | Pointer(_, n) | String (_, n) | StringList (_, n) -> ++ pr " ZEND_ARG_INFO(0, %s)\n" n ++ ) args; ++ ++ List.iter ( ++ function ++ | OBool n | OInt n | OInt64 n | OString n | OStringList n -> ++ pr " ZEND_ARG_INFO(0, %s)\n" n ++ ) optargs; ++ pr "ZEND_END_ARG_INFO()\n\n"; ++ ) (actions |> external_functions |> sort); ++ ++ pr " ++ + /* Convert array to list of strings. + * http://marc.info/?l=pecl-dev&m=112205192100631&w=2 + */ +@@ -204,12 +235,12 @@ PHP_MINIT_FUNCTION (guestfs_php) + } + + static zend_function_entry guestfs_php_functions[] = { +- PHP_FE (guestfs_create, NULL) +- PHP_FE (guestfs_last_error, NULL) ++ PHP_FE (guestfs_create, arginfo_create) ++ PHP_FE (guestfs_last_error, arginfo_last_error) + "; + + List.iter ( +- fun { name } -> pr " PHP_FE (guestfs_%s, NULL)\n" name ++ fun { name } -> pr " PHP_FE (guestfs_%s, arginfo_%s)\n" name name + ) (actions |> external_functions |> sort); + + pr " { NULL, NULL, NULL } +-- +2.31.1 + diff --git a/SOURCES/0014-introduce-the-clevis_luks_unlock-API.patch b/SOURCES/0014-introduce-the-clevis_luks_unlock-API.patch new file mode 100644 index 0000000..10db265 --- /dev/null +++ b/SOURCES/0014-introduce-the-clevis_luks_unlock-API.patch @@ -0,0 +1,252 @@ +From 51ea2e3af9caa434e847ca74a86f5de5ade6058f Mon Sep 17 00:00:00 2001 +From: Laszlo Ersek +Date: Thu, 30 Jun 2022 14:20:47 +0200 +Subject: [PATCH] introduce the "clevis_luks_unlock" API + +Introduce a new guestfs API called "clevis_luks_unlock". At the libguestfs +level, it is quite simple; it wraps the "clevis luks unlock" guest command +(implemented by the "clevis-luks-unlock" executable, which is in fact a +shell script). + +The complexity is instead in the network-based disk encryption +(Clevis/Tang) scheme. Useful documentation: + +- https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9/html-single/security_hardening/index#configuring-automated-unlocking-of-encrypted-volumes-using-policy-based-decryption_security-hardening +- https://github.com/latchset/clevis#clevis +- https://github.com/latchset/tang#tang + +The package providing "clevis-luks-unlock" is usually called +"clevis-luks", occasionally "clevis". Some distros don't package clevis at +all. Add the new API under a new option group (which may not be available) +called "clevisluks". + +Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1809453 +Signed-off-by: Laszlo Ersek +Message-Id: <20220630122048.19335-3-lersek@redhat.com> +Reviewed-by: Richard W.M. Jones +(cherry picked from commit 9a3e9a6c03eaffe60196bc4c7ae4699beae01dc3) +--- + appliance/packagelist.in | 4 +++ + daemon/Makefile.am | 1 + + daemon/clevis-luks.c | 58 +++++++++++++++++++++++++++++++++++++++ + generator/actions_core.ml | 40 +++++++++++++++++++++++++++ + generator/proc_nr.ml | 1 + + lib/MAX_PROC_NR | 2 +- + lib/guestfs.pod | 19 ++++++++++--- + 7 files changed, 120 insertions(+), 5 deletions(-) + create mode 100644 daemon/clevis-luks.c + +diff --git a/appliance/packagelist.in b/appliance/packagelist.in +index 77a07acc6..0b79edcdd 100644 +--- a/appliance/packagelist.in ++++ b/appliance/packagelist.in +@@ -23,6 +23,7 @@ dnl Basically the same with a few minor tweaks. + ifelse(UBUNTU,1,`define(`DEBIAN',1)') + + ifelse(REDHAT,1, ++ clevis-luks + cryptsetup + cryptsetup-luks dnl old name used before Fedora 17 + dhclient +@@ -53,6 +54,7 @@ ifelse(DEBIAN,1, + bsdmainutils + dnl old name used in Jessie and earlier + btrfs-tools ++ clevis-luks + cryptsetup + dash + extlinux +@@ -92,6 +94,7 @@ dnl iproute has been renamed to iproute2 + ifelse(ARCHLINUX,1, + cdrkit + cdrtools ++ clevis + cryptsetup + dhclient + dhcpcd +@@ -119,6 +122,7 @@ ifelse(SUSE,1, + augeas-lenses + btrfsprogs + cdrkit-cdrtools-compat ++ clevis + cryptsetup + dhcpcd + dhcp-client +diff --git a/daemon/Makefile.am b/daemon/Makefile.am +index bbd49f9ea..f50faecd6 100644 +--- a/daemon/Makefile.am ++++ b/daemon/Makefile.am +@@ -98,6 +98,7 @@ guestfsd_SOURCES = \ + cap.c \ + checksum.c \ + cleanups.c \ ++ clevis-luks.c \ + cmp.c \ + command.c \ + command.h \ +diff --git a/daemon/clevis-luks.c b/daemon/clevis-luks.c +new file mode 100644 +index 000000000..d3d970d78 +--- /dev/null ++++ b/daemon/clevis-luks.c +@@ -0,0 +1,58 @@ ++/* libguestfs - the guestfsd daemon ++ * Copyright (C) 2009-2022 Red Hat Inc. ++ * ++ * This program is free software; you can redistribute it and/or modify ++ * it under the terms of the GNU General Public License as published by ++ * the Free Software Foundation; either version 2 of the License, or ++ * (at your option) any later version. ++ * ++ * This program is distributed in the hope that it will be useful, ++ * but WITHOUT ANY WARRANTY; without even the implied warranty of ++ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ++ * GNU General Public License for more details. ++ * ++ * You should have received a copy of the GNU General Public License ++ * along with this program; if not, write to the Free Software ++ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. ++ */ ++ ++#include ++ ++#include "daemon.h" ++#include "actions.h" ++#include "optgroups.h" ++ ++#define MAX_ARGS 8 ++ ++int ++optgroup_clevisluks_available (void) ++{ ++ return prog_exists ("clevis-luks-unlock"); ++} ++ ++int ++do_clevis_luks_unlock (const char *device, const char *mapname) ++{ ++ const char *argv[MAX_ARGS]; ++ size_t i = 0; ++ int r; ++ CLEANUP_FREE char *err = NULL; ++ ++ ADD_ARG (argv, i, "clevis"); ++ ADD_ARG (argv, i, "luks"); ++ ADD_ARG (argv, i, "unlock"); ++ ADD_ARG (argv, i, "-d"); ++ ADD_ARG (argv, i, device); ++ ADD_ARG (argv, i, "-n"); ++ ADD_ARG (argv, i, mapname); ++ ADD_ARG (argv, i, NULL); ++ ++ r = commandv (NULL, &err, argv); ++ if (r == -1) { ++ reply_with_error ("%s: %s: %s", device, mapname, err); ++ return -1; ++ } ++ ++ udev_settle (); ++ return 0; ++} +diff --git a/generator/actions_core.ml b/generator/actions_core.ml +index 6cd42a290..3c9b0a9b2 100644 +--- a/generator/actions_core.ml ++++ b/generator/actions_core.ml +@@ -9676,4 +9676,44 @@ and I the name of the underlying block device." }; + shortdesc = "read directories entries"; + longdesc = "Internal function for readdir." }; + ++ { defaults with ++ name = "clevis_luks_unlock"; added = (1, 49, 3); ++ style = RErr, ++ [String (Device, "device"); String (PlainString, "mapname")], ++ []; ++ optional = Some "clevisluks"; ++ test_excuse = "needs networking and a configured Tang server"; ++ shortdesc = "open an encrypted LUKS block device with Clevis and Tang"; ++ longdesc = "\ ++This command opens a block device that has been encrypted according to ++the Linux Unified Key Setup (LUKS) standard, using network-bound disk ++encryption (NBDE). ++ ++C is the encrypted block device. ++ ++The appliance will connect to the Tang servers noted in the tree of ++Clevis pins that is bound to a keyslot of the LUKS header. The Clevis ++pin tree may comprise C (redudancy) pins as internal nodes ++(optionally), and C pins as leaves. C pins are not ++supported. The appliance unlocks the encrypted block device by ++combining responses from the Tang servers with metadata from the LUKS ++header; there is no C parameter. ++ ++This command will fail if networking has not been enabled for the ++appliance. Refer to C. ++ ++The command creates a new block device called F. ++Reads and writes to this block device are decrypted from and encrypted ++to the underlying C respectively. Close the decrypted block ++device with C. ++ ++C cannot be C<\"control\"> because that name is reserved by ++device-mapper. ++ ++If this block device contains LVM volume groups, then calling ++C with the C parameter C will make ++them visible. ++ ++Use C to list all device mapper devices." }; ++ + ] +diff --git a/generator/proc_nr.ml b/generator/proc_nr.ml +index bdced51c9..edd9bd99d 100644 +--- a/generator/proc_nr.ml ++++ b/generator/proc_nr.ml +@@ -514,6 +514,7 @@ let proc_nr = [ + 509, "cryptsetup_close"; + 510, "internal_list_rpm_applications"; + 511, "internal_readdir"; ++512, "clevis_luks_unlock" + ] + + (* End of list. If adding a new entry, add it at the end of the list +diff --git a/lib/MAX_PROC_NR b/lib/MAX_PROC_NR +index c0556fb20..4d0e90cbc 100644 +--- a/lib/MAX_PROC_NR ++++ b/lib/MAX_PROC_NR +@@ -1 +1 @@ +-511 ++512 +diff --git a/lib/guestfs.pod b/lib/guestfs.pod +index 946ce2d36..0fbe114a5 100644 +--- a/lib/guestfs.pod ++++ b/lib/guestfs.pod +@@ -591,11 +591,22 @@ For Windows BitLocker it returns C. + Then open these devices by calling L. + Obviously you will require the passphrase! + ++Passphrase-less unlocking is supported for LUKS (not BitLocker) ++block devices that have been encrypted with network-bound disk ++encryption (NBDE), using Clevis on the Linux guest side, and ++Tang on a separate Linux server. Open such devices with ++L. The appliance will need ++networking enabled (refer to L) and actual ++connectivity to the Tang servers noted in the C Clevis ++pins that are bound to the LUKS header. (This includes the ++ability to resolve the names of the Tang servers.) ++ + Opening an encrypted device creates a new device mapper device +-called F (where C is the +-string you supply to L). +-Reads and writes to this mapper device are decrypted from and +-encrypted to the underlying block device respectively. ++called F (where C is the string ++you supply to L or ++L). Reads and writes to this mapper ++device are decrypted from and encrypted to the underlying block ++device respectively. + + LVM volume groups on the device can be made visible by calling + L followed by L. +-- +2.31.1 + diff --git a/SOURCES/0015-guestfish-guestmount-enable-networking-for-key-ID-cl.patch b/SOURCES/0015-guestfish-guestmount-enable-networking-for-key-ID-cl.patch new file mode 100644 index 0000000..c4a406e --- /dev/null +++ b/SOURCES/0015-guestfish-guestmount-enable-networking-for-key-ID-cl.patch @@ -0,0 +1,69 @@ +From 5ae97d7d83d8cdb6e8428774282167dd774aaf70 Mon Sep 17 00:00:00 2001 +From: Laszlo Ersek +Date: Thu, 30 Jun 2022 14:20:48 +0200 +Subject: [PATCH] guestfish, guestmount: enable networking for "--key + ID:clevis" + +Call the C-language helper key_store_requires_network() in guestfish and +guestmount. + +(Short log for the "common" submodule, commit range +35467027f657..af6cb55bc58a: + +Laszlo Ersek (12): + options: fix UUID comparison logic bug in get_keys() + mltools/tools_utils: remove unused function "key_store_to_cli" + mltools/tools_utils: allow multiple "--key" options for OCaml tools too + options: replace NULL-termination with number-of-elements in get_keys() + options: wrap each passphrase from get_keys() into a struct + options: add back-end for LUKS decryption with Clevis+Tang + options: introduce selector type "key_clevis" + options: generalize "--key" selector parsing for C-language utilities + mltools/tools_utils-c: handle internal type error with abort() + mltools/tools_utils: generalize "--key" selector parsing for OCaml utils + options, mltools/tools_utils: parse "--key ID:clevis" options + options, mltools/tools_utils: add helper for network dependency +). + +Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1809453 +Signed-off-by: Laszlo Ersek +Reviewed-by: Richard W.M. Jones +Message-Id: <20220630122048.19335-4-lersek@redhat.com> +(cherry picked from commit 6a5b44f538065a9f661510234a4235bf38348213) +--- + fish/fish.c | 3 +++ + fuse/guestmount.c | 4 ++++ + 2 files changed, 7 insertions(+) + +diff --git a/fish/fish.c b/fish/fish.c +index 23d9bb94f..19e3d2799 100644 +--- a/fish/fish.c ++++ b/fish/fish.c +@@ -476,6 +476,9 @@ main (int argc, char *argv[]) + /* If we've got drives to add, add them now. */ + add_drives (drvs); + ++ if (key_store_requires_network (ks) && guestfs_set_network (g, 1) == -1) ++ exit (EXIT_FAILURE); ++ + /* If we've got mountpoints or prepared drives or -i option, we must + * launch the guest and mount them. + */ +diff --git a/fuse/guestmount.c b/fuse/guestmount.c +index 77c534828..3c6d57bde 100644 +--- a/fuse/guestmount.c ++++ b/fuse/guestmount.c +@@ -348,6 +348,10 @@ main (int argc, char *argv[]) + + /* Do the guest drives and mountpoints. */ + add_drives (drvs); ++ ++ if (key_store_requires_network (ks) && guestfs_set_network (g, 1) == -1) ++ exit (EXIT_FAILURE); ++ + if (guestfs_launch (g) == -1) + exit (EXIT_FAILURE); + if (inspector) +-- +2.31.1 + diff --git a/SOURCES/0016-daemon-Add-zstd-support-to-guestfs_file_architecture.patch b/SOURCES/0016-daemon-Add-zstd-support-to-guestfs_file_architecture.patch new file mode 100644 index 0000000..922609e --- /dev/null +++ b/SOURCES/0016-daemon-Add-zstd-support-to-guestfs_file_architecture.patch @@ -0,0 +1,182 @@ +From 4807dacb577167b89cb5ffb1fa1a68ddf30b9319 Mon Sep 17 00:00:00 2001 +From: "Richard W.M. Jones" +Date: Tue, 9 Aug 2022 18:39:30 +0100 +Subject: [PATCH] daemon: Add zstd support to guestfs_file_architecture + +This is required so we can determine the file architecture of +zstd-compressed Linux kernel modules as used by OpenSUSE and maybe +other distros in future. + +Note that zstd becomes a required package, but it is widely available +in current Linux distros. + +The package names come from https://pkgs.org/download/zstd and my own +research. + +(cherry picked from commit 0e784824e82a88e522873fec5db1a11943d637ed) +--- + .gitignore | 1 + + appliance/packagelist.in | 6 ++++++ + daemon/filearch.ml | 1 + + docs/guestfs-building.pod | 4 ++++ + generator/actions_core.ml | 2 ++ + m4/guestfs-progs.m4 | 4 ++++ + test-data/Makefile.am | 1 + + test-data/files/Makefile.am | 6 ++++++ + 8 files changed, 25 insertions(+) + +diff --git a/.gitignore b/.gitignore +index 356c01fbd..ee5ea74dd 100644 +--- a/.gitignore ++++ b/.gitignore +@@ -448,6 +448,7 @@ Makefile.in + /test-data/files/initrd-x86_64.img + /test-data/files/initrd-x86_64.img.gz + /test-data/files/lib-i586.so.xz ++/test-data/files/lib-i586.so.zst + /test-data/files/test-grep.txt.gz + /test-data/phony-guests/archlinux.img + /test-data/phony-guests/blank-*.img +diff --git a/appliance/packagelist.in b/appliance/packagelist.in +index 0b79edcdd..0fc11f6ae 100644 +--- a/appliance/packagelist.in ++++ b/appliance/packagelist.in +@@ -48,6 +48,7 @@ ifelse(REDHAT,1, + vim-minimal + xz + zfs-fuse ++ zstd + ) + + ifelse(DEBIAN,1, +@@ -88,6 +89,7 @@ dnl iproute has been renamed to iproute2 + vim-tiny + xz-utils + zfs-fuse ++ zstd + uuid-runtime + ) + +@@ -115,6 +117,7 @@ ifelse(ARCHLINUX,1, + systemd + vim + xz ++ zstd + ) + + ifelse(SUSE,1, +@@ -140,6 +143,7 @@ ifelse(SUSE,1, + systemd-sysvinit + vim + xz ++ zstd + ) + + ifelse(FRUGALWARE,1, +@@ -185,6 +189,7 @@ ifelse(MAGEIA,1, + systemd /* for /sbin/reboot and udevd */ + vim-minimal + xz ++ zstd + ) + + ifelse(OPENMANDRIVA,1, +@@ -203,6 +208,7 @@ ifelse(OPENMANDRIVA,1, + systemd /* for /sbin/reboot and udevd */ + vim-minimal + xz ++ zstd + ) + + include(guestfsd.deps) +diff --git a/daemon/filearch.ml b/daemon/filearch.ml +index 67a7339e0..4d7e912c0 100644 +--- a/daemon/filearch.ml ++++ b/daemon/filearch.ml +@@ -106,6 +106,7 @@ and cpio_arch magic orig_path path = + if String.find magic "gzip" >= 0 then "zcat" + else if String.find magic "bzip2" >= 0 then "bzcat" + else if String.find magic "XZ compressed" >= 0 then "xzcat" ++ else if String.find magic "Zstandard compressed" >= 0 then "zstdcat" + else "cat" in + + let tmpdir = Mkdtemp.temp_dir "filearch" in +diff --git a/docs/guestfs-building.pod b/docs/guestfs-building.pod +index b93a611a6..7a7240f78 100644 +--- a/docs/guestfs-building.pod ++++ b/docs/guestfs-building.pod +@@ -172,6 +172,10 @@ I. + + I. + ++=item zstd ++ ++I. ++ + =item Jansson E 2.7 + + I. +diff --git a/generator/actions_core.ml b/generator/actions_core.ml +index 3c9b0a9b2..553e4ec3b 100644 +--- a/generator/actions_core.ml ++++ b/generator/actions_core.ml +@@ -9373,6 +9373,8 @@ with large files, such as the resulting squashfs will be over 3GB big." }; + [["file_architecture"; "/bin-x86_64-dynamic.gz"]], "x86_64"), []; + InitISOFS, Always, TestResultString ( + [["file_architecture"; "/lib-i586.so.xz"]], "i386"), []; ++ InitISOFS, Always, TestResultString ( ++ [["file_architecture"; "/lib-i586.so.zst"]], "i386"), []; + ]; + shortdesc = "detect the architecture of a binary file"; + longdesc = "\ +diff --git a/m4/guestfs-progs.m4 b/m4/guestfs-progs.m4 +index cd8662e86..22fc61367 100644 +--- a/m4/guestfs-progs.m4 ++++ b/m4/guestfs-progs.m4 +@@ -95,6 +95,10 @@ AC_PATH_PROGS([XZCAT],[xzcat],[no]) + test "x$XZCAT" = "xno" && AC_MSG_ERROR([xzcat must be installed]) + AC_DEFINE_UNQUOTED([XZCAT],["$XZCAT"],[Name of xzcat program.]) + ++dnl Check for zstdcat (required). ++AC_PATH_PROGS([ZSTDCAT],[zstdcat],[no]) ++test "x$ZSTDCAT" = "xno" && AC_MSG_ERROR([zstdcat must be installed]) ++ + dnl (f)lex and bison for virt-builder (required). + dnl XXX Could be optional with some work. + AC_PROG_LEX +diff --git a/test-data/Makefile.am b/test-data/Makefile.am +index b603311a1..dbecd74b9 100644 +--- a/test-data/Makefile.am ++++ b/test-data/Makefile.am +@@ -85,6 +85,7 @@ image_files = \ + files/initrd-x86_64.img \ + files/initrd-x86_64.img.gz \ + files/lib-i586.so.xz \ ++ files/lib-i586.so.zst \ + files/test-grep.txt.gz + + noinst_DATA = test.iso +diff --git a/test-data/files/Makefile.am b/test-data/files/Makefile.am +index a3d7288f9..06b0c6585 100644 +--- a/test-data/files/Makefile.am ++++ b/test-data/files/Makefile.am +@@ -40,6 +40,7 @@ noinst_DATA = \ + initrd-x86_64.img \ + initrd-x86_64.img.gz \ + lib-i586.so.xz \ ++ lib-i586.so.zst \ + test-grep.txt.gz + + CLEANFILES += $(noinst_DATA) +@@ -116,3 +117,8 @@ lib-i586.so.xz: $(top_srcdir)/test-data/binaries/lib-i586.so + rm -f $@ $@-t + xz -c $< > $@-t + mv $@-t $@ ++ ++lib-i586.so.zst: $(top_srcdir)/test-data/binaries/lib-i586.so ++ rm -f $@ $@-t ++ zstd -c $< > $@-t ++ mv $@-t $@ +-- +2.31.1 + diff --git a/SOURCES/README-replacement.in b/SOURCES/README-replacement.in new file mode 100644 index 0000000..388dc34 --- /dev/null +++ b/SOURCES/README-replacement.in @@ -0,0 +1,37 @@ +Libguestfs is a set of tools and a library for accessing and modifying +guest disk images. For more information see the home page: + + http://libguestfs.org/ + +For discussion, development, patches, etc. please use the mailing +list: + + http://www.redhat.com/mailman/listinfo/libguestfs + +This package comes with a lot of help and examples to get you started. + +The first place to start are the manual pages. Type: + + man guestfs + man guestfs-faq + man guestfs-release-notes + man guestfish + man virt-cat # and other virt-* tools + +If you install the libguestfs-devel package, then in the +/usr/share/doc/libguestfs-devel/ directory you will find other +documentation including: + + - BUGS: list of open bugs in this version + + - ChangeLog.gz: the detailed list of changes in this version + + - HACKING: how to extend libguestfs + + - TODO: ideas for extending libguestfs + + - *.c: example C programs using the API + + - *.xml.gz: example virt-inspector output (compressed) + + - virt-inspector.rng: virt-inspector RelaxNG schema diff --git a/SOURCES/copy-patches.sh b/SOURCES/copy-patches.sh new file mode 100755 index 0000000..835b332 --- /dev/null +++ b/SOURCES/copy-patches.sh @@ -0,0 +1,61 @@ +#!/bin/bash - + +set -e + +# Maintainer script to copy patches from the git repo to the current +# directory. It's normally only used downstream (ie. in RHEL). Use +# it like this: +# ./copy-patches.sh + +project=libguestfs +rhel_version=9.1 + +# Check we're in the right directory. +if [ ! -f $project.spec ]; then + echo "$0: run this from the directory containing '$project.spec'" + exit 1 +fi + +case `id -un` in + rjones) git_checkout=$HOME/d/$project-rhel-$rhel_version ;; + lacos) git_checkout=$HOME/src/v2v/$project ;; + *) git_checkout=$HOME/d/$project-rhel-$rhel_version ;; +esac +if [ ! -d $git_checkout ]; then + echo "$0: $git_checkout does not exist" + echo "This script is only for use by the maintainer when preparing a" + echo "$project release on RHEL." + exit 1 +fi + +# Get the base version of the project. +version=`grep '^Version:' $project.spec | awk '{print $2}'` +tag="v$version" + +# Remove any existing patches. +git rm -f [0-9]*.patch ||: +rm -f [0-9]*.patch + +# Get the patches. +(cd $git_checkout; rm -f [0-9]*.patch; git -c core.abbrev=9 format-patch -O/dev/null -N --submodule=diff $tag) +mv $git_checkout/[0-9]*.patch . + +# Remove any not to be applied. +rm -f *NOT-FOR-RPM*.patch + +# Add the patches. +git add [0-9]*.patch + +# Print out the patch lines. +echo +echo "--- Copy the following text into $project.spec file" +echo + +echo "# Patches." +for f in [0-9]*.patch; do + n=`echo $f | awk -F- '{print $1}'` + echo "Patch$n: $f" +done + +echo +echo "--- End of text" diff --git a/SOURCES/guestfish.sh b/SOURCES/guestfish.sh new file mode 100644 index 0000000..cfd0492 --- /dev/null +++ b/SOURCES/guestfish.sh @@ -0,0 +1,6 @@ +# Guestfish colour prompts. See PROMPT in guestfish(1). +GUESTFISH_PS1='\[\e[1;32m\]>\[\e[0;31m\] ' +GUESTFISH_OUTPUT='\e[0m' +GUESTFISH_RESTORE="$GUESTFISH_OUTPUT" +GUESTFISH_INIT='\e[1;34m' +export GUESTFISH_PS1 GUESTFISH_OUTPUT GUESTFISH_RESTORE GUESTFISH_INIT diff --git a/SOURCES/libguestfs-1.48.4.tar.gz.sig b/SOURCES/libguestfs-1.48.4.tar.gz.sig new file mode 100644 index 0000000..1490f9f --- /dev/null +++ b/SOURCES/libguestfs-1.48.4.tar.gz.sig @@ -0,0 +1,17 @@ +-----BEGIN PGP SIGNATURE----- + +iQJFBAABCAAvFiEE93dPsa0HSn6Mh2fqkXOPc+G3aKAFAmLFql8RHHJpY2hAYW5u +ZXhpYS5vcmcACgkQkXOPc+G3aKAV2hAAzOcZseFTUFFoj4M5riqXqtBN3W+fr/O7 +v0wzJ9sY31Ftk8KFKKgpwOn4UFXYMPXY7Hm94GRAYjYBAtx9Viyyt7B6PbV7mVZ0 +WHLlZcg3ZsliF23s3EoHfgTGFfKLkjDwfPlmChC260Ffhq4KKvnwu/DobY/CDLHG +0cvrjb0OOYibBGbq58AHYR6QlVH/ScAuLSA1aRAd06bbpixufRR1oh1MtFA1iSvC +yjNH0joLFiu0uuD7KFH66YX2nFNrO24r0LxJkwT5G7GHlZJStJUpvs/QHa8Tw5Zt +Z1JMk9yB9EMPYimdVDm7m6eDBxTx8YbF7u6G8JdHRXgAPBt4O09XX7WGxxmh9Dc4 +M+QkpiubEOG6qwBythJJ6sTSRLKIAPeVfHEOauXg8n45Tbk5jYwthMKbnD9ETb3t +QKdMr5g+DZUO0LfbOvP0GtD+b1jK4iu4BcWDquQBXpDTbx7LUfSuTDrWItehEnBp +/K6FRbakNZEroLR5VA9WAa6sE+2B3gg1OG+KHypHuw4hfpmutvVA8wnPgyw3j+WK +xdcRp65NUMUkKRE/FTwp1MkY1Y2S9M9iAPX+CopdHPVoq9O2YE+K6Rv1EdJjmKZK +EwLzX08Xcj9T/U9GEfV+QdIzitCuxf7x9ULEDcFozFnuHXww+JLdR0EmIDkUwl7C +Z0KKsy18Eq8= +=WB1H +-----END PGP SIGNATURE----- diff --git a/SOURCES/yum.conf.in b/SOURCES/yum.conf.in new file mode 100644 index 0000000..d5e30d0 --- /dev/null +++ b/SOURCES/yum.conf.in @@ -0,0 +1,17 @@ +[main] +cachedir=@PWD@/cachedir +debuglevel=1 +logfile=@PWD@/yum.log +retries=20 +obsoletes=1 +gpgcheck=0 +assumeyes=1 +reposdir=/dev/null +modulesdir=@PWD@/modules + +[local] +name=local +baseurl=file://@PWD@/repo +failovermethod=priority +enabled=1 +gpgcheck=0 diff --git a/SPECS/libguestfs.spec b/SPECS/libguestfs.spec new file mode 100644 index 0000000..e69dc43 --- /dev/null +++ b/SPECS/libguestfs.spec @@ -0,0 +1,5006 @@ +%undefine _package_note_flags +# Architectures on which golang works. +#% global golang_arches aarch64 % {arm} % {ix86} x86_64 +# In theory the above, in practice golang is so often broken that +# I now disable it: +%global golang_arches NONE + +# Architectures that we run the basic sanity-check test. +# +# The full test suite is done after the package has been built. Here +# we only do a sanity check that kernel/qemu/libvirt/appliance is not +# broken. To perform the full test suite, see instructions here: +# https://www.redhat.com/archives/libguestfs/2015-September/msg00078.html +%if !0%{?rhel} +%global test_arches aarch64 %{power64} s390x x86_64 +%else +# RHEL 9 only: +# x86-64: "/lib64/libc.so.6: CPU ISA level is lower than required" +# (RHBZ#1919389) +%global test_arches NONE +%endif + +# Trim older changelog entries. +# https://lists.fedoraproject.org/pipermail/devel/2013-April/thread.html#181627 +%global _changelog_trimtime %(date +%s -d "2 years ago") + +# Verify tarball signature with GPGv2. +%global verify_tarball_signature 1 + +# If there are patches which touch autotools files, set this to 1. +%if !0%{?rhel} +%global patches_touch_autotools %{nil} +%else +# On RHEL the downstream patches always touch autotools files. +%global patches_touch_autotools 1 +%endif + +# The source directory. +%global source_directory 1.48-stable + +# Filter perl provides. +%{?perl_default_filter} + +# Unbreak the linker. +%undefine _strict_symbol_defs_build + +Summary: Access and modify virtual machine disk images +Name: libguestfs +Epoch: 1 +Version: 1.48.4 +Release: 2%{?dist} +License: LGPLv2+ + +# Build only for architectures that have a kernel +ExclusiveArch: %{kernel_arches} +%if 0%{?rhel} +# No qemu-kvm on POWER (RHBZ#1946532). +ExcludeArch: %{power64} +%endif + +# Source and patches. +URL: http://libguestfs.org/ +Source0: http://libguestfs.org/download/%{source_directory}/%{name}-%{version}.tar.gz +%if 0%{verify_tarball_signature} +Source1: http://libguestfs.org/download/%{source_directory}/%{name}-%{version}.tar.gz.sig +%endif + +# Replacement README file. +Source4: README-replacement.in + +# Guestfish colour prompts. +Source5: guestfish.sh + +# Used to build the supermin appliance in Koji. +Source6: yum.conf.in + +# Keyring used to verify tarball signature. +%if 0%{verify_tarball_signature} +Source7: libguestfs.keyring +%endif + +# Maintainer script which helps with handling patches. +Source8: copy-patches.sh + +# Patches are maintained in the following repository: +# https://github.com/libguestfs/libguestfs/commits/rhel-9.1 + +# Patches. +Patch0001: 0001-New-API-guestfs_device_name-returning-the-drive-name.patch +Patch0002: 0002-guestfs_readdir-rewrite-with-FileOut-transfer-to-lif.patch +Patch0003: 0003-guestfs_readdir-minimize-the-number-of-send_file_wri.patch +Patch0004: 0004-lib-launch-direct-ignore-drive-iface-parameter.patch +Patch0005: 0005-lib-drive_create_data-drive-remove-field-iface.patch +Patch0006: 0006-lib-rename-VALID_FORMAT_IFACE-to-VALID_FORMAT.patch +Patch0007: 0007-tests-regressions-remove-iface-based-restrictions.patch +Patch0008: 0008-generator-customize-invert-SELinux-relabeling-defaul.patch +Patch0009: 0009-generator-customize-reintroduce-selinux-relabel-as-a.patch +Patch0010: 0010-RHEL-Disable-unsupported-remote-drive-protocols-RHBZ.patch +Patch0011: 0011-RHEL-Reject-use-of-libguestfs-winsupport-features-ex.patch +Patch0012: 0012-RHEL-Create-etc-crypto-policies-back-ends-opensslcnf.patch +Patch0013: 0013-php-add-arginfo-to-php-bindings.patch +Patch0014: 0014-introduce-the-clevis_luks_unlock-API.patch +Patch0015: 0015-guestfish-guestmount-enable-networking-for-key-ID-cl.patch +Patch0016: 0016-daemon-Add-zstd-support-to-guestfs_file_architecture.patch + +%if 0%{patches_touch_autotools} +BuildRequires: autoconf, automake, libtool, gettext-devel +%endif + +# Basic build requirements. +BuildRequires: gcc, gcc-c++ +BuildRequires: make +BuildRequires: rpcgen +BuildRequires: libtirpc-devel +BuildRequires: supermin-devel >= 5.1.18 +BuildRequires: hivex-devel >= 1.3.10 +BuildRequires: ocaml-hivex-devel +BuildRequires: perl(Pod::Simple) +BuildRequires: perl(Pod::Man) +BuildRequires: /usr/bin/pod2text +BuildRequires: po4a +BuildRequires: augeas-devel >= 1.7.0 +BuildRequires: readline-devel +BuildRequires: xorriso +BuildRequires: libxml2-devel +BuildRequires: createrepo_c +BuildRequires: glibc-static +BuildRequires: libselinux-utils +BuildRequires: libselinux-devel +BuildRequires: fuse, fuse-devel +BuildRequires: pcre2-devel +BuildRequires: file-devel +BuildRequires: libvirt-devel +BuildRequires: gperf +BuildRequires: flex +BuildRequires: bison +BuildRequires: rpm-devel +BuildRequires: cpio +BuildRequires: libconfig-devel +BuildRequires: xz-devel +%if !0%{?rhel} +BuildRequires: zip +BuildRequires: unzip +%endif +BuildRequires: systemd-units +BuildRequires: netpbm-progs +BuildRequires: icoutils +BuildRequires: libvirt-daemon-kvm >= 7.1.0 +%if !0%{?rhel} +BuildRequires: perl(Expect) +%endif +BuildRequires: libacl-devel +BuildRequires: libcap-devel +%if !0%{?rhel} +BuildRequires: libldm-devel +%endif +BuildRequires: jansson-devel +BuildRequires: systemd-devel +BuildRequires: bash-completion +BuildRequires: /usr/bin/ping +BuildRequires: /usr/bin/wget +BuildRequires: xz +BuildRequires: zstd +BuildRequires: /usr/bin/qemu-img + +%if 0%{verify_tarball_signature} +BuildRequires: gnupg2 +%endif + +# For language bindings. +BuildRequires: ocaml +BuildRequires: ocaml-ocamldoc +BuildRequires: ocaml-findlib-devel +BuildRequires: ocaml-gettext-devel +%if !0%{?rhel} +BuildRequires: ocaml-ounit-devel +%endif +BuildRequires: lua +BuildRequires: lua-devel +BuildRequires: perl-devel +BuildRequires: perl-generators +BuildRequires: perl-macros +BuildRequires: perl(Test::More) +BuildRequires: perl(Test::Pod) >= 1.00 +BuildRequires: perl(Test::Pod::Coverage) >= 1.00 +BuildRequires: perl(Module::Build) +BuildRequires: perl(ExtUtils::CBuilder) +BuildRequires: perl(Locale::TextDomain) +BuildRequires: python3-devel +BuildRequires: python3-libvirt +BuildRequires: ruby-devel +BuildRequires: rubygem-rake +# json is not pulled in automatically, see RHBZ#1325022 +BuildRequires: rubygem(json) +BuildRequires: rubygem(rdoc) +BuildRequires: rubygem(test-unit) +BuildRequires: ruby-irb +BuildRequires: php-devel +BuildRequires: gobject-introspection-devel +BuildRequires: gjs +%if !0%{?rhel} +BuildRequires: vala +%endif +%ifarch %{golang_arches} +BuildRequires: golang +%endif + +# Build requirements for the appliance. +# +# Get the initial list by doing: +# for f in `cat appliance/packagelist`; do echo $f; done | sort -u +# However you have to edit the list down to packages which exist in +# current Fedora, since supermin ignores non-existent packages. + +BuildRequires: acl +BuildRequires: attr +BuildRequires: augeas-libs +BuildRequires: bash +BuildRequires: binutils +%if !0%{?rhel} +BuildRequires: btrfs-progs +%endif +BuildRequires: bzip2 +BuildRequires: clevis-luks +BuildRequires: coreutils +BuildRequires: cpio +BuildRequires: cryptsetup +%if !0%{?rhel} +BuildRequires: curl +BuildRequires: debootstrap +%endif +BuildRequires: dhclient +BuildRequires: diffutils +BuildRequires: dosfstools +BuildRequires: e2fsprogs +BuildRequires: file +BuildRequires: findutils +BuildRequires: gawk +BuildRequires: gdisk +%if !0%{?rhel} +BuildRequires: gfs2-utils +%endif +BuildRequires: grep +BuildRequires: gzip +%if !0%{?rhel} +%ifnarch ppc +BuildRequires: hfsplus-tools +%endif +%endif +BuildRequires: hivex-libs +BuildRequires: iproute +BuildRequires: iputils +BuildRequires: kernel +BuildRequires: kmod +%if !0%{?rhel} +BuildRequires: kpartx +%endif +BuildRequires: less +BuildRequires: libcap +%if !0%{?rhel} +BuildRequires: libldm +%endif +BuildRequires: libselinux +BuildRequires: libxml2 +BuildRequires: lsof +BuildRequires: lsscsi +BuildRequires: lvm2 +BuildRequires: lzop +BuildRequires: mdadm +%if !0%{?rhel} +BuildRequires: ntfs-3g ntfsprogs ntfs-3g-system-compression +%endif +BuildRequires: openssh-clients +BuildRequires: parted +BuildRequires: pciutils +BuildRequires: pcre2 +BuildRequires: policycoreutils +BuildRequires: procps +BuildRequires: psmisc +BuildRequires: qemu-img +BuildRequires: rpm-libs +BuildRequires: rsync +BuildRequires: scrub +BuildRequires: sed +%if !0%{?rhel} +BuildRequires: sleuthkit +%endif +BuildRequires: squashfs-tools +BuildRequires: strace +%ifarch %{ix86} x86_64 +BuildRequires: syslinux syslinux-extlinux +%endif +BuildRequires: systemd +BuildRequires: tar +BuildRequires: udev +BuildRequires: util-linux +BuildRequires: vim-minimal +%if !0%{?rhel} +BuildRequires: which +%endif +BuildRequires: xfsprogs +BuildRequires: xz +BuildRequires: yajl +%if !0%{?rhel} +BuildRequires: zerofree +%endif +%if !0%{?rhel} +%ifnarch %{arm} aarch64 s390 s390x riscv64 +# http://zfs-fuse.net/issues/94 +BuildRequires: zfs-fuse +%endif +%endif +BuildRequires: zstd + +# Main package requires the appliance. This allows the appliance to +# be replaced if there exists a package called +# "libguestfs-noappliance". This package is not provided anywhere, +# you have to provide the dependency or make the package yourself. If +# you do then libguestfs won't install the appliance and you are free +# to replace it with (eg) a fixed appliance. +Requires: (%{name}-appliance = %{epoch}:%{version}-%{release} or %{name}-noappliance) + +# The daemon dependencies are not included automatically, because it +# is buried inside the appliance, so list them here. +Requires: augeas-libs%{?_isa} >= 1.7.0 +Requires: libacl%{?_isa} +Requires: libcap%{?_isa} +Requires: libselinux%{?_isa} +Requires: hivex-libs%{?_isa} >= 1.3.10 +Requires: pcre2%{?_isa} +Requires: rpm-libs%{?_isa} >= 4.16.1.3 +Requires: systemd-libs%{?_isa} +Requires: yajl%{?_isa} + +# For core mount-local (FUSE) API. +Requires: fuse + +# For core APIs: +Requires: /usr/bin/qemu-img +Requires: coreutils +Requires: grep +Requires: tar + +# For qemu direct and libvirt backends. +Requires: qemu-kvm-core +%if !0%{?rhel} +Suggests: qemu-block-curl +Suggests: qemu-block-gluster +Suggests: qemu-block-iscsi +%endif +Suggests: qemu-block-rbd +%if !0%{?rhel} +Suggests: qemu-block-ssh +%endif +Recommends: libvirt-daemon-config-network +Requires: libvirt-daemon-driver-qemu >= 7.1.0 +Requires: libvirt-daemon-driver-secret +Requires: libvirt-daemon-driver-storage-core +Requires: selinux-policy >= 3.11.1-63 + +%ifarch aarch64 +Requires: edk2-aarch64 +%endif + +# For guestfish. +#Requires: /usr/bin/emacs #theoretically, but too large +Requires: /usr/bin/hexedit +Requires: /usr/bin/less +Requires: /usr/bin/man +Requires: /usr/bin/vi + +%if !0%{?rhel} +# Someone managed to install libguestfs-winsupport (from RHEL!) on +# Fedora, which breaks everything. Thus: +Conflicts: libguestfs-winsupport +%else +Conflicts: libguestfs-winsupport < 7.2 +%endif + + +%description +Libguestfs is a library for accessing and modifying virtual machine +disk images. http://libguestfs.org + +Libguestfs uses Linux kernel and qemu code, and can access any type of +guest filesystem that Linux and qemu can, including but not limited +to: ext2/3/4, btrfs, FAT and NTFS, LVM, many different disk partition +schemes, qcow, qcow2, vmdk. + +For enhanced features, install: + +%if !0%{?rhel} + libguestfs-forensics adds filesystem forensics support + libguestfs-gfs2 adds Global Filesystem (GFS2) support + libguestfs-hfsplus adds HFS+ (Mac filesystem) support +%endif + libguestfs-inspect-icons adds support for inspecting guest icons + libguestfs-rescue enhances virt-rescue shell with more tools + libguestfs-rsync rsync to/from guest filesystems +%if !0%{?rhel} + libguestfs-ufs adds UFS (BSD) support +%endif + libguestfs-xfs adds XFS support +%if !0%{?rhel} + libguestfs-zfs adds ZFS support +%endif + +For developers: + + libguestfs-devel C/C++ header files and library + +Language bindings: + + libguestfs-gobject-devel GObject bindings and GObject Introspection +%ifarch %{golang_arches} + golang-guestfs Go language bindings +%endif + lua-guestfs Lua bindings + ocaml-libguestfs-devel OCaml bindings + perl-Sys-Guestfs Perl bindings + php-libguestfs PHP bindings + python3-libguestfs Python 3 bindings + ruby-libguestfs Ruby bindings +%if !0%{?rhel} + libguestfs-vala Vala language bindings +%endif + + +%package appliance +Summary: Appliance for %{name} +Requires: supermin >= 5.1.18 + + +%description appliance +%{name}-appliance provides the appliance used by libguestfs. + + +%package devel +Summary: Development tools and libraries for %{name} +Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release} +Requires: pkgconfig + +# libguestfs-make-fixed-appliance requires guestfish. +Requires: xz +Requires: %{name} = %{epoch}:%{version}-%{release} + + +%description devel +%{name}-devel contains development tools and libraries +for %{name}. + + +%if !0%{?rhel} +%package dib +Summary: Additional tools for virt-dib +License: LGPLv2+ + +%description dib +This adds extra packages needed by virt-dib to %{name}. You should +normally install the virt-dib package which depends on this one. +%endif + + +%if !0%{?rhel} +%package forensics +Summary: Filesystem forensics support for %{name} +License: LGPLv2+ +Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release} + +%description forensics +This adds filesystem forensics support to %{name}. Install it if you +want to forensically analyze disk images using The Sleuth Kit. +%endif + + +%if !0%{?rhel} +%package gfs2 +Summary: GFS2 support for %{name} +License: LGPLv2+ +Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release} + +%description gfs2 +This adds GFS2 support to %{name}. Install it if you want to process +disk images containing GFS2. +%endif + + +%if !0%{?rhel} +%ifnarch ppc +%package hfsplus +Summary: HFS+ support for %{name} +License: LGPLv2+ +Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release} + +%description hfsplus +This adds HFS+ support to %{name}. Install it if you want to process +disk images containing HFS+ / Mac OS Extended filesystems. +%endif +%endif + + +%package rescue +Summary: virt-rescue shell +License: LGPLv2+ +Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release} + +%description rescue +This adds the virt-rescue shell which is a "rescue disk" for virtual +machines, and additional tools to use inside the shell such as ssh, +network utilities, editors and debugging utilities. + + +%package rsync +Summary: rsync support for %{name} +License: LGPLv2+ +Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release} + +%description rsync +This adds rsync support to %{name}. Install it if you want to use +rsync to upload or download files into disk images. + + +%if !0%{?rhel} +%package ufs +Summary: UFS (BSD) support for %{name} +License: LGPLv2+ +Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release} + +%description ufs +This adds UFS support to %{name}. Install it if you want to process +disk images containing UFS (BSD filesystems). +%endif + + +%package xfs +Summary: XFS support for %{name} +License: LGPLv2+ +Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release} + +%description xfs +This adds XFS support to %{name}. Install it if you want to process +disk images containing XFS. + + +%if !0%{?rhel} +%ifnarch %{arm} aarch64 s390 s390x riscv64 +%package zfs +Summary: ZFS support for %{name} +License: LGPLv2+ +Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release} + +%description zfs +This adds ZFS support to %{name}. Install it if you want to process +disk images containing ZFS. +%endif +%endif + + +%package inspect-icons +Summary: Additional dependencies for inspecting guest icons +License: LGPLv2+ +BuildArch: noarch +Requires: %{name} = %{epoch}:%{version}-%{release} + +Requires: netpbm-progs +Requires: icoutils + + +%description inspect-icons +%{name}-inspect-icons is a metapackage that pulls in additional +dependencies required by libguestfs to pull icons out of non-Linux +guests. Install this package if you want libguestfs to be able to +inspect non-Linux guests and display icons from them. + +The only reason this is a separate package is to avoid core libguestfs +having to depend on Perl. See https://bugzilla.redhat.com/1194158 + + +%package bash-completion +Summary: Bash tab-completion scripts for %{name} tools +BuildArch: noarch +Requires: bash-completion >= 2.0 + + +%description bash-completion +Install this package if you want intelligent bash tab-completion +for guestfish, guestmount and various virt-* tools. + + +%package -n ocaml-%{name} +Summary: OCaml bindings for %{name} +Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release} + + +%description -n ocaml-%{name} +ocaml-%{name} contains OCaml bindings for %{name}. + +This is for toplevel and scripting access only. To compile OCaml +programs which use %{name} you will also need ocaml-%{name}-devel. + + +%package -n ocaml-%{name}-devel +Summary: OCaml bindings for %{name} +Requires: ocaml-%{name}%{?_isa} = %{epoch}:%{version}-%{release} + + +%description -n ocaml-%{name}-devel +ocaml-%{name}-devel contains development libraries +required to use the OCaml bindings for %{name}. + + +%package -n perl-Sys-Guestfs +Summary: Perl bindings for %{name} (Sys::Guestfs) +Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release} +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + + +%description -n perl-Sys-Guestfs +perl-Sys-Guestfs contains Perl bindings for %{name} (Sys::Guestfs). + + +%package -n python3-%{name} +Summary: Python 3 bindings for %{name} +Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release} +%{?python_provide:%python_provide python3-%{name}} + + +%description -n python3-%{name} +python3-%{name} contains Python 3 bindings for %{name}. + + +%package -n ruby-%{name} +Summary: Ruby bindings for %{name} +Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release} +Requires: ruby(release) +Requires: ruby +Provides: ruby(guestfs) = %{version} + +%description -n ruby-%{name} +ruby-%{name} contains Ruby bindings for %{name}. + + +%package -n php-%{name} +Summary: PHP bindings for %{name} +Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release} +Requires: php(zend-abi) = %{php_zend_api} +Requires: php(api) = %{php_core_api} + +%description -n php-%{name} +php-%{name} contains PHP bindings for %{name}. + + +%package -n lua-guestfs +Summary: Lua bindings for %{name} +Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release} +Requires: lua + +%description -n lua-guestfs +lua-guestfs contains Lua bindings for %{name}. + + +%package gobject +Summary: GObject bindings for %{name} +Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release} + +%description gobject +%{name}-gobject contains GObject bindings for %{name}. + +To develop software against these bindings, you need to install +%{name}-gobject-devel. + + +%package gobject-devel +Summary: GObject bindings for %{name} +Requires: %{name}-gobject = %{epoch}:%{version}-%{release} + +%description gobject-devel +%{name}-gobject contains GObject bindings for %{name}. + +This package is needed if you want to write software using the +GObject bindings. It also contains GObject Introspection information. + + +%if !0%{?rhel} +%package vala +Summary: Vala for %{name} +Requires: %{name}-devel%{?_isa} = %{epoch}:%{version}-%{release} +Requires: vala + + +%description vala +%{name}-vala contains GObject bindings for %{name}. +%endif + + + +%ifarch %{golang_arches} +%package -n golang-guestfs +Summary: Golang bindings for %{name} +BuildArch: noarch +Requires: %{name} = %{epoch}:%{version}-%{release} +Requires: golang +Provides: golang(libguestfs.org) = %{epoch}:%{version}-%{release} + +%description -n golang-guestfs +golang-%{name} contains Go language bindings for %{name}. +%endif + + +%package man-pages-ja +Summary: Japanese (ja) man pages for %{name} +BuildArch: noarch +Requires: %{name} = %{epoch}:%{version}-%{release} + +%description man-pages-ja +%{name}-man-pages-ja contains Japanese (ja) man pages +for %{name}. + + +%package man-pages-uk +Summary: Ukrainian (uk) man pages for %{name} +BuildArch: noarch +Requires: %{name} = %{epoch}:%{version}-%{release} + +%description man-pages-uk +%{name}-man-pages-uk contains Ukrainian (uk) man pages +for %{name}. + + +%prep +%if 0%{verify_tarball_signature} +%{gpgverify} --keyring='%{SOURCE7}' --signature='%{SOURCE1}' --data='%{SOURCE0}' +%endif +%setup -q +%autopatch -p1 + +%if 0%{patches_touch_autotools} +autoreconf -i +%endif + +# For sVirt to work, the local temporary directory we use in the tests +# must be labelled the same way as /tmp. This doesn't work if either +# the directory is on NFS (no SELinux labels) or if SELinux is +# disabled, hence the tests. +if [ "$(stat -f -L -c %T .)" != "nfs" ] && \ + [ "$(getenforce | tr '[A-Z]' '[a-z]')" != "disabled" ]; then + chcon --reference=/tmp tmp +fi + +# Replace developer-centric README that ships with libguestfs, with +# our replacement file. +mv README README.orig +sed 's/@VERSION@/%{version}/g' < %{SOURCE4} > README + + +%build +# Test if network is available. +ip addr list ||: +ip route list ||: +if ping -c 3 -w 20 8.8.8.8 && wget http://libguestfs.org -O /dev/null; then + extra= +else + mkdir cachedir repo + # -n 1 because of RHBZ#980502. + find /var/cache/{dnf,yum} -type f -name '*.rpm' -print0 | \ + xargs -0 -n 1 cp -t repo + createrepo_c repo + sed -e "s|@PWD@|$(pwd)|" %{SOURCE6} > yum.conf + extra=--with-supermin-packager-config=$(pwd)/yum.conf +fi + +%{configure} \ +%if 0%{?rhel} && !0%{?eln} + QEMU=%{_libexecdir}/qemu-kvm \ +%endif + PYTHON=%{__python3} \ + --with-default-backend=libvirt \ + --enable-appliance-format-auto \ +%if !0%{?rhel} + --with-extra="fedora=%{fedora},release=%{release},libvirt" \ +%else + --with-extra="rhel=%{rhel},release=%{release},libvirt" \ +%endif +%if 0%{?rhel} && !0%{?eln} + --with-qemu="qemu-kvm qemu-system-%{_build_arch} qemu" \ +%endif +%ifnarch %{golang_arches} + --disable-golang \ +%endif + --without-java \ + --disable-erlang \ + $extra + +# 'INSTALLDIRS' ensures that Perl and Ruby libs are installed in the +# vendor dir not the site dir. +make V=1 INSTALLDIRS=vendor %{?_smp_mflags} + + +%check + +%ifarch %{test_arches} +export LIBGUESTFS_DEBUG=1 +export LIBGUESTFS_TRACE=1 +export LIBVIRT_DEBUG=1 + +if ! make quickcheck QUICKCHECK_TEST_TOOL_ARGS="-t 1200"; then + cat $HOME/.cache/libvirt/qemu/log/* + exit 1 +fi +%endif + + +%install +# 'INSTALLDIRS' ensures that Perl and Ruby libs are installed in the +# vendor dir not the site dir. +make DESTDIR=$RPM_BUILD_ROOT INSTALLDIRS=vendor install + +# Delete static libraries. +rm $( find $RPM_BUILD_ROOT -name '*.a' | grep -v /ocaml/ ) + +# Delete libtool files. +find $RPM_BUILD_ROOT -name '*.la' -delete + +# Delete some bogus Perl files. +find $RPM_BUILD_ROOT -name perllocal.pod -delete +find $RPM_BUILD_ROOT -name .packlist -delete +find $RPM_BUILD_ROOT -name '*.bs' -delete +find $RPM_BUILD_ROOT -name 'bindtests.pl' -delete + +# golang: Ignore what libguestfs upstream installs, and just copy the +# source files to %%{_datadir}/gocode/src. +%ifarch %{golang_arches} +rm -r $RPM_BUILD_ROOT/usr/lib/golang +mkdir -p $RPM_BUILD_ROOT%{_datadir}/gocode/src +cp -a golang/src/libguestfs.org $RPM_BUILD_ROOT%{_datadir}/gocode/src +%endif + +# Split up the monolithic packages file in the supermin appliance so +# we can install dependencies in subpackages. +pushd $RPM_BUILD_ROOT%{_libdir}/guestfs/supermin.d + +function remove +{ + grep -Ev "^$1$" < packages > packages-t + mv packages-t packages +} + +function move_to +{ + if ! grep -Esq "^$1$" packages; then + echo "move_to $1: package name not found in packages file" + exit 1 + fi + remove "$1" + echo "$1" >> "$2" +} + +%if !0%{?rhel} +move_to curl zz-packages-dib +move_to debootstrap zz-packages-dib +move_to kpartx zz-packages-dib +move_to qemu-img zz-packages-dib +move_to which zz-packages-dib +%else +remove curl +remove debootstrap +remove kpartx +remove qemu-img +remove which +%endif +%if !0%{?rhel} +move_to sleuthkit zz-packages-forensics +move_to gfs2-utils zz-packages-gfs2 +move_to hfsplus-tools zz-packages-hfsplus +%else +remove sleuthkit +remove gfs2-utils +remove hfsplus-tools +%endif +move_to iputils zz-packages-rescue +move_to lsof zz-packages-rescue +move_to openssh-clients zz-packages-rescue +move_to pciutils zz-packages-rescue +move_to strace zz-packages-rescue +move_to vim-minimal zz-packages-rescue +move_to rsync zz-packages-rsync +move_to xfsprogs zz-packages-xfs +%if !0%{?rhel} +%ifnarch %{arm} aarch64 s390 s390x riscv64 +move_to zfs-fuse zz-packages-zfs +%endif +%else +remove zfs-fuse +%endif + +%if !0%{?rhel} +# On Fedora you need kernel-modules-extra to be able to mount +# UFS (BSD) filesystems. +echo "kernel-modules-extra" > zz-packages-ufs +%endif + +popd + +# If there is a bogus dependency on kernel-*, rename it to 'kernel' +# instead. This can happen for various reasons: +# - DNF picks kernel-debug instead of kernel. +# - Version of kernel-rt in brew > version of kernel. +# On all known architectures, depending on 'kernel' should +# mean "we need a kernel". +pushd $RPM_BUILD_ROOT%{_libdir}/guestfs/supermin.d +sed -i 's/^kernel-.*/kernel/' packages +popd + +# Guestfish colour prompts. +mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/profile.d +install -m 0644 %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/profile.d + +# Remove the .gitignore file from ocaml/html which will be copied to docdir. +rm ocaml/html/.gitignore + + +# Find locale files. +%find_lang %{name} + + +%files -f %{name}.lang +%license COPYING COPYING.LIB +%doc README +%{_bindir}/guestfish +%{_bindir}/guestmount +%{_bindir}/guestunmount +%{_bindir}/libguestfs-test-tool +%{_bindir}/virt-copy-in +%{_bindir}/virt-copy-out +%{_bindir}/virt-tar-in +%{_bindir}/virt-tar-out +%{_libdir}/libguestfs.so.* +%{_mandir}/man1/guestfish.1* +%{_mandir}/man1/guestfs-faq.1* +%{_mandir}/man1/guestfs-performance.1* +%{_mandir}/man1/guestfs-recipes.1* +%{_mandir}/man1/guestfs-release-notes-1*.1* +%{_mandir}/man1/guestfs-release-notes.1* +%{_mandir}/man1/guestfs-security.1* +%{_mandir}/man1/guestmount.1* +%{_mandir}/man1/guestunmount.1* +%{_mandir}/man1/libguestfs-test-tool.1* +%{_mandir}/man1/virt-copy-in.1* +%{_mandir}/man1/virt-copy-out.1* +%{_mandir}/man1/virt-tar-in.1* +%{_mandir}/man1/virt-tar-out.1* +%{_mandir}/man5/libguestfs-tools.conf.5* +%config %{_sysconfdir}/profile.d/guestfish.sh +%config(noreplace) %{_sysconfdir}/libguestfs-tools.conf + + +%files appliance +%{_libdir}/guestfs/ +%exclude %{_libdir}/guestfs/supermin.d/zz-packages-* + + +%files devel +%doc AUTHORS HACKING TODO README +%doc examples/*.c +%{_libdir}/libguestfs.so +%{_sbindir}/libguestfs-make-fixed-appliance +%{_mandir}/man1/guestfs-building.1* +%{_mandir}/man1/guestfs-hacking.1* +%{_mandir}/man1/guestfs-internals.1* +%{_mandir}/man1/guestfs-testing.1* +%{_mandir}/man1/libguestfs-make-fixed-appliance.1* +%{_mandir}/man3/guestfs.3* +%{_mandir}/man3/guestfs-examples.3* +%{_mandir}/man3/libguestfs.3* +%{_includedir}/guestfs.h +%{_libdir}/pkgconfig/libguestfs.pc + + +%if !0%{?rhel} +%files dib +%{_libdir}/guestfs/supermin.d/zz-packages-dib +%endif + +%if !0%{?rhel} +%files forensics +%{_libdir}/guestfs/supermin.d/zz-packages-forensics +%endif + +%if !0%{?rhel} +%files gfs2 +%{_libdir}/guestfs/supermin.d/zz-packages-gfs2 +%endif + +%if !0%{?rhel} +%ifnarch ppc +%files hfsplus +%{_libdir}/guestfs/supermin.d/zz-packages-hfsplus +%endif +%endif + +%files rsync +%{_libdir}/guestfs/supermin.d/zz-packages-rsync + +%files rescue +%{_libdir}/guestfs/supermin.d/zz-packages-rescue +%{_bindir}/virt-rescue +%{_mandir}/man1/virt-rescue.1* + +%if !0%{?rhel} +%files ufs +%{_libdir}/guestfs/supermin.d/zz-packages-ufs +%endif + +%files xfs +%{_libdir}/guestfs/supermin.d/zz-packages-xfs + +%if !0%{?rhel} +%ifnarch %{arm} aarch64 s390 s390x riscv64 +%files zfs +%{_libdir}/guestfs/supermin.d/zz-packages-zfs +%endif +%endif + + +%files inspect-icons +# no files + + +%files bash-completion +%dir %{_datadir}/bash-completion/completions +%{_datadir}/bash-completion/completions/guestfish +%{_datadir}/bash-completion/completions/guestmount +%{_datadir}/bash-completion/completions/guestunmount +%{_datadir}/bash-completion/completions/libguestfs-test-tool +%{_datadir}/bash-completion/completions/virt-copy-in +%{_datadir}/bash-completion/completions/virt-copy-out +%{_datadir}/bash-completion/completions/virt-rescue +%{_datadir}/bash-completion/completions/virt-tar-in +%{_datadir}/bash-completion/completions/virt-tar-out + + +%files -n ocaml-%{name} +%{_libdir}/ocaml/guestfs +%exclude %{_libdir}/ocaml/guestfs/*.a +%exclude %{_libdir}/ocaml/guestfs/*.cmxa +%exclude %{_libdir}/ocaml/guestfs/*.cmx +%exclude %{_libdir}/ocaml/guestfs/*.mli +%{_libdir}/ocaml/stublibs/dllmlguestfs.so +%{_libdir}/ocaml/stublibs/dllmlguestfs.so.owner + + +%files -n ocaml-%{name}-devel +%doc ocaml/examples/*.ml ocaml/html +%{_libdir}/ocaml/guestfs/*.a +%{_libdir}/ocaml/guestfs/*.cmxa +%{_libdir}/ocaml/guestfs/*.cmx +%{_libdir}/ocaml/guestfs/*.mli +%{_mandir}/man3/guestfs-ocaml.3* + + +%files -n perl-Sys-Guestfs +%doc perl/examples/*.pl +%{perl_vendorarch}/* +%{_mandir}/man3/Sys::Guestfs.3pm* +%{_mandir}/man3/guestfs-perl.3* + + +%files -n python3-%{name} +%doc python/examples/*.py +%{python3_sitearch}/libguestfsmod*.so +%{python3_sitearch}/guestfs.py +%{python3_sitearch}/__pycache__/guestfs*.py* +%{_mandir}/man3/guestfs-python.3* + + +%files -n ruby-%{name} +%doc ruby/examples/*.rb +%doc ruby/doc/site/* +%{ruby_vendorlibdir}/guestfs.rb +%{ruby_vendorarchdir}/_guestfs.so +%{_mandir}/man3/guestfs-ruby.3* + + +%files -n php-%{name} +%doc php/README-PHP +%dir %{_sysconfdir}/php.d +%{_sysconfdir}/php.d/guestfs_php.ini +%{_libdir}/php/modules/guestfs_php.so + + +%files -n lua-guestfs +%doc lua/examples/*.lua +%doc lua/examples/LICENSE +%{_libdir}/lua/*/guestfs.so +%{_mandir}/man3/guestfs-lua.3* + + +%files gobject +%{_libdir}/libguestfs-gobject-1.0.so.0* +%{_libdir}/girepository-1.0/Guestfs-1.0.typelib + + +%files gobject-devel +%{_libdir}/libguestfs-gobject-1.0.so +%{_includedir}/guestfs-gobject.h +%dir %{_includedir}/guestfs-gobject +%{_includedir}/guestfs-gobject/*.h +%{_datadir}/gir-1.0/Guestfs-1.0.gir +%{_libdir}/pkgconfig/libguestfs-gobject-1.0.pc +%{_mandir}/man3/guestfs-gobject.3* + + +%if !0%{?rhel} +%files vala +%{_datadir}/vala/vapi/libguestfs-gobject-1.0.deps +%{_datadir}/vala/vapi/libguestfs-gobject-1.0.vapi +%endif + + +%ifarch %{golang_arches} +%files -n golang-guestfs +%doc golang/examples/*.go +%doc golang/examples/LICENSE +%{_datadir}/gocode/src/libguestfs.org +%{_mandir}/man3/guestfs-golang.3* +%endif + + +%files man-pages-ja +%lang(ja) %{_mandir}/ja/man1/*.1* +%lang(ja) %{_mandir}/ja/man3/*.3* +%lang(ja) %{_mandir}/ja/man5/*.5* + + +%files man-pages-uk +%lang(uk) %{_mandir}/uk/man1/*.1* +%lang(uk) %{_mandir}/uk/man3/*.3* +%lang(uk) %{_mandir}/uk/man5/*.5* + + +%changelog +* Wed Mar 15 2023 MSVSphere Packaging Team - 1.48.4-2 +- Rebuilt for MSVSphere 9.1. + +* Wed Aug 10 2022 Richard W.M. Jones - 1:1.48.4-2 +- Rebase to new stable branch version 1.48.4 + resolves: rhbz#2059285 +- Disable 5-level page tables when using -cpu max + resolves: rhbz#2084568 +- SELinux relabelling should not stop on ext4 immutable bits + resolves: rhbz#1794518 +- Ignore "iface" in add-drive variants + resolves: rhbz#1844341 +- Lift protocol limit on guestfs_readdir() + resolves: rhbz#1674392 +- Check return values from librpm calls (2089623) +- Document limitations of encrypted RBD disks + resolves: rhbz#2033247 +- Fix lvm-set-filter failed in guestfish with the latest lvm2 package + resolves: rhbz#1965941 +- Enable PHP bindings + resolves: rhbz#2097718 +- Add support for Clevis & Tang + resolves: rhbz#1809453 +- Fix CVE-2022-2211 Denial of Service in --key parameter + resolves: rhbz#2101281 +- Add clevis-luks to BRs, required for Clevis & Tang + related: rhbz#1809453 +- Add zstd support to guestfs_file_architecture + resolves: rhbz#2117004 + +* Thu Mar 17 2022 Richard W.M. Jones - 1:1.48.0-2 +- Disable signature checking in librpm + resolves: rhbz#2065172 + +* Mon Mar 14 2022 Richard W.M. Jones - 1:1.48.0-1 +- Rebase to new stable branch version 1.48.0 + resolves: rhbz#2059285 + +* Thu Dec 23 2021 Laszlo Ersek - 1:1.46.1-2 +- Add detection support for Rocky Linux + resolves: rhbz#2030709 +- Resolve conflict between manual and libvirt-assigned PCI addresses + resolves: rhbz#2034160 + +* Thu Dec 09 2021 Richard W.M. Jones - 1:1.46.1-1 +- Rebase to new stable branch version 1.46.1 + resolves: rhbz#2011711 +- Add --enable-appliance-format-auto +- Add support for Kylin +- Document lazy-counters setting cannot be changed in XFS version 5 + resolves: rhbz#2025944, rhbz#1995391, rhbz#2024022 +- Require libvirt-daemon-driver-storage-core + resolves: rhbz#2018358 +- Fix usage of strerror_r which caused corrupted error messages + resolves: rhbz#2030396 + +* Tue Sep 14 2021 Richard W.M. Jones - 1:1.45.6-14 +- Specify backing format for qemu 6.1 + resolves: rhbz#1999419 + +* Mon Sep 13 2021 Richard W.M. Jones - 1:1.45.6-13 +- Remove use of sga + resolves: rhbz#2002325 + +* Mon Aug 09 2021 Mohan Boddu - 1:1.45.6-12 +- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags + Related: rhbz#1991688 + +* Fri Aug 06 2021 Richard W.M. Jones - 1:1.45.6-11 +- Fix: syslinux: failed to create ldlinux.sys + resolves: rhbz#1990720, rhbz#1950627 +- Fix license files. +- Move appliance to separate subpackage + resolves: rhbz#1989514 + +* Mon Jul 26 2021 Jeff Law - 1:1.45.6-10 +- Re-enable LTO + +* Tue Jun 29 2021 Richard W.M. Jones - 1:1.45.6-9 +- RHEL 9 patch for openssl missing configuration file + https://bugzilla.redhat.com/show_bug.cgi?id=1977214#c13 + +* Thu Jun 24 2021 Richard W.M. Jones - 1:1.45.6-8 +- Remove Suggests for unsupported qemu drivers in RHEL (RHBZ#1975703) + +* Wed Jun 23 2021 Richard W.M. Jones - 1:1.45.6-7 +- Bump and rebuild + resolves: rhbz#1975315 + +* Sat Jun 12 2021 Richard W.M. Jones - 1:1.45.6-6 +- Depend on hivex-libs instead of hivex. + +* Wed Jun 2 2021 Richard W.M. Jones - 1:1.45.6-3 +- Add gating tests (for RHEL 9) + +* Tue Jun 01 2021 Richard W.M. Jones - 1:1.45.6-2 +- Depend on rpm-libs >= 4.16.1.3 (RHBZ#1966541). + +* Thu May 27 2021 Richard W.M. Jones - 1:1.45.6-1 +- New upstream version 1.45.6. +- Remove RHEL 9-only -cpu hack now that libvirt >= 7.1.0 is available. + +* Fri Apr 09 2021 Richard W.M. Jones - 1:1.45.5-1 +- New upstream development version 1.45.5. + +* Sat Apr 03 2021 Richard W.M. Jones - 1:1.45.4-1 +- New upstream version 1.45.4. + +* Wed Mar 31 2021 Richard W.M. Jones - 1:1.45.3-6 +- Don't require genisoimage or xorriso for the appliance. +- Add workaround for broken "file" utility in Rawhide (RHBZ#1945122). + +* Tue Mar 30 2021 Richard W.M. Jones - 1:1.45.3-4 +- Add downstream (RHEL-only) patches (RHBZ#1931724). +- Switch from genisoimage to xorriso. + +* Mon Mar 29 2021 Richard W.M. Jones - 1:1.45.3-2 +- New upstream release 1.45.3. +- Add proper dependencies on librpm, remove BDB. + +* Fri Mar 26 2021 Richard W.M. Jones - 1:1.45.2-2 +- Remove no longer needed requires on libguestfs-tools-c. + +* Tue Mar 23 2021 Richard W.M. Jones - 1:1.45.2-1 +- New upstream version 1.45.2. +- This drops the tools. Now packaged as guestfs-tools. +- guestfish, guestmount, guestunmount now packaged with libguestfs. +- virt-rescue now packaged in libguestfs-rescue. +- Drop ChangeLog file. +- Remove virt-dib in RHEL 9. +- Depend on PCRE2 instead of PCRE. + +* Thu Mar 18 2021 Richard W.M. Jones - 1:1.45.1-6 +- Drop dependency on perl(Sys::Virt). +- Fix -cpu max and require libvirt >= 7.1.0. + +* Wed Mar 10 2021 Richard W.M. Jones - 1:1.45.1-4 +- Drop Requires: libvirt-daemon-kvm, pulls in the whole of qemu and subpkgs. + +* Mon Mar 8 2021 Richard W.M. Jones - 1:1.45.1-3 +- Bump and rebuild for ocaml-gettext update. + +* Fri Mar 5 2021 Remi Collet - 1:1.45.1-2 +- rebuild for https://fedoraproject.org/wiki/Changes/php80 +- add trivial patch to fix build with PHP 8 + +* Wed Mar 3 2021 Richard W.M. Jones - 1:1.45.1-1 +- New upstream version 1.45.1. + +* Tue Mar 2 2021 Richard W.M. Jones - 1:1.44.0-8 +- OCaml 4.12.0 build +- Fixes for OCaml 4.12. + +* Wed Feb 17 2021 Richard W.M. Jones - 1:1.44.0-6 +- Remove jfsutils (dead upstream since 2011). +- Remove nilfs (dead upstream since 2015). +- Remove reiserfs (dead upstream since 2006). + +* Tue Feb 09 2021 Richard W.M. Jones - 1:1.44.0-5 +- Remove gfs2-utils dependency in RHEL 9. + +* Thu Jan 28 2021 Richard W.M. Jones - 1:1.44.0-4 +- ELN has full-fat qemu (not qemu-kvm). + +* Tue Jan 26 2021 Fedora Release Engineering - 1:1.44.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Thu Jan 07 2021 Mamoru TASAKA - 1:1.44.0-2 +- F-34: rebuild against ruby 3.0 + +* Wed Jan 06 2021 Richard W.M. Jones - 1:1.44.0-1 +- New upstream stable version 1.44.0. + +* Tue Jan 05 2021 Richard W.M. Jones - 1:1.43.4-1 +- New upstream version 1.43.4. + +* Mon Jan 04 2021 Richard W.M. Jones - 1:1.43.3-4 +- Drop explicit deps on perl(Sys::Virt) and perl(Win::Hivex). + +* Wed Dec 02 2020 Richard W.M. Jones - 1:1.43.3-3 +- Unify Fedora and RHEL spec files. + +* Tue Dec 01 2020 Richard W.M. Jones - 1:1.43.3-2 +- New upstream version 1.43.3. +- Disable LTO because of memory running out on ARMv7. + +* Mon Sep 21 2020 Richard W.M. Jones - 1:1.43.2-1 +- New upstream version 1.43.2. +- Replace libvirt-daemon-qemu with libvirt-daemon-kvm. + +* Tue Sep 01 2020 Richard W.M. Jones - 1:1.43.1-7 +- OCaml 4.11.1 rebuild + +* Fri Aug 21 2020 Richard W.M. Jones - 1:1.43.1-6 +- OCaml 4.11.0 rebuild + +* Mon Aug 10 2020 Merlin Mathesius - 1.43.1-5 +- Use ExclusiveArch: %%{kernel_arches} + +* Fri Jul 31 2020 Richard W.M. Jones - 1:1.43.1-4 +- Disable then reenable LTO. + https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/ULGH5JYL7MHKDKTINJLOEN2QG6LOHWH7/ + +* Tue Jul 28 2020 Fedora Release Engineering - 1:1.43.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Mon Jul 6 2020 Richard W.M. Jones - 1:1.43.1-1 +- New development branch 1.43. +- Remove upstream patches. + +* Thu Jun 25 2020 Jitka Plesnikova - 1:1.42.0-8 +- Perl 5.32 rebuild + +* Tue May 26 2020 Miro Hrončok - 1:1.42.0-7 +- Rebuilt for Python 3.9 + +* Wed May 06 2020 Richard W.M. Jones - 1:1.42.0-6 +- Fix path to libguestfs appliance. + +* Tue May 05 2020 Richard W.M. Jones - 1:1.42.0-5 +- OCaml 4.11.0+dev2-2020-04-22 rebuild + +* Wed Apr 22 2020 Richard W.M. Jones - 1:1.42.0-4 +- OCaml 4.11.0 pre-release attempt 2 + +* Sat Apr 04 2020 Richard W.M. Jones - 1:1.42.0-3 +- Update all OCaml dependencies for RPM 4.16. + +* Thu Mar 12 2020 Richard W.M. Jones - 1:1.42.1-1 +- Enable NTFS-3g system compression. + +* Mon Mar 09 2020 Richard W.M. Jones - 1:1.42.0-1 +- New upstream stable version 1.42.0. +- Drop the benchmarking subpackage: moved to a new package upstream. +- Enable Vala bindings. + +* Thu Feb 27 2020 Richard W.M. Jones - 1:1.41.8-9 +- OCaml 4.10.0 final. + +* Wed Jan 29 2020 Fedora Release Engineering - 1:1.41.8-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Mon Jan 20 2020 Vít Ondruch - 1:1.41.8-7 +- Another rebuild against Ruby 2.7. + +* Sun Jan 19 2020 Richard W.M. Jones - 1:1.41.8-5 +- OCaml 4.10.0+beta1 rebuild. + +* Sat Jan 18 2020 Mamoru TASAKA - 1:1.41.8-4 +- F-32: rebuild against ruby27 + +* Fri Dec 06 2019 Richard W.M. Jones - 1:1.41.8-3 +- OCaml 4.09.0 (final) rebuild. + +* Wed Nov 27 2019 Richard W.M. Jones - 1:1.41.8-2 +- Use gpgverify macro instead of explicit gpgv2 command. + +* Tue Nov 19 2019 Richard W.M. Jones - 1:1.41.8-1 +- New upstream version 1.41.8. +- virt-v2v is now in a separate project. +- Drop erlang bindings. + +* Fri Oct 11 2019 Richard W.M. Jones - 1:1.41.5-1 +- New upstream version 1.41.5. + +* Fri Oct 04 2019 Remi Collet - 1:1.41.4-2 +- rebuild for https://fedoraproject.org/wiki/Changes/php74 + +* Tue Sep 17 2019 Pino Toscano - 1:1.41.4-2 +- Drop virt-p2v (virt-p2v-maker subpackage), which is now built from + its own source. + +* Mon Sep 02 2019 Richard W.M. Jones - 1:1.41.4-1 +- New upstream version 1.41.4. + +* Mon Aug 19 2019 Miro Hrončok - 1:1.40.2-10 +- Rebuilt for Python 3.8 + +* Fri Aug 16 2019 Richard W.M. Jones - 1:1.40.2-9 +- OCaml 4.08.1 (final) rebuild. + +* Thu Aug 01 2019 Richard W.M. Jones - 1:1.40.2-8 +- OCaml 4.08.1 (rc2) rebuild. + +* Thu Jul 25 2019 Fedora Release Engineering - 1:1.40.2-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild +- Disable the package entirely on i686 because there is no kernel + https://fedoraproject.org/wiki/Changes/Stop_Building_i686_Kernels + +* Fri May 31 2019 Jitka Plesnikova - 1:1.40.2-6 +- Perl 5.30 rebuild + +* Fri May 31 2019 Richard W.M. Jones - 1:1.40.2-5 +- Add proposed patch for Python 3.8 (RHBZ#1705482). + +* Mon Mar 18 2019 Richard W.M. Jones - 1:1.40.2-4 +- Remove Java bindings. + https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/CW4XMOIKMNRRPAZ4H2ER7VPBY6YV2ODL/#YHTZ7IGVTKPWCBOY5C6UW7BMX7F35R5Q + +* Thu Mar 07 2019 Richard W.M. Jones - 1:1.40.2-3 +- Remove Python 2 bindings completely. + https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal + +* Sun Feb 17 2019 Igor Gnatenko - 1:1.40.2-2 +- Rebuild for readline 8.0 + +* Fri Feb 08 2019 Richard W.M. Jones - 1:1.40.2-1 +- New upstream version 1.40.2. + +* Fri Feb 01 2019 Fedora Release Engineering - 1:1.40.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Tue Jan 22 2019 Mamoru TASAKA - 1:1.40.1-4 +- F-30: rebuild against ruby26 + +* Mon Jan 21 2019 David Abdurachmanov - 1:1.40.1-3 +- Disable ZFS for RISC-V (riscv64) + +* Thu Jan 17 2019 Richard W.M. Jones - 1:1.40.1-2 +- nbdkit Python3 plugin is called "python3" in Fedora, adjust configure line. + +* Thu Jan 17 2019 Richard W.M. Jones - 1:1.40.1-1 +- New upstream version 1.40.1. +- Remove patch which is now upstream. +- Add new virt-v2v man pages. + +* Mon Jan 14 2019 Björn Esser - 1:1.39.11-4 +- Rebuilt for libcrypt.so.2 (#1666033) + +* Tue Jan 08 2019 Richard W.M. Jones - 1:1.39.11-3 +- Small fix for qemu behaviour (RHBZ#1664318). + +* Fri Oct 12 2018 Richard W.M. Jones - 1:1.39.11-2 +- lib: Add Recommends for libvirt-daemon-config-network so that networking + works out of the box. + +* Sat Sep 22 2018 Richard W.M. Jones - 1:1.39.11-1 +- New upstream version 1.39.11. + +* Fri Sep 21 2018 Richard W.M. Jones - 1:1.39.10-1 +- New upstream version 1.39.10. + +* Fri Aug 31 2018 Richard W.M. Jones - 1:1.39.9-1 +- New upstream version 1.39.9. + +* Fri Jul 27 2018 Richard W.M. Jones - 1:1.39.8-1 +- New upstream version 1.39.8. + +* Thu Jul 26 2018 Richard W.M. Jones - 1:1.39.7-3 +- v2v: Recommends nbdkit-plugin-vddk for -it vddk mode. + +* Tue Jul 24 2018 Richard W.M. Jones - 1:1.39.7-2 +- Rebuild for unannounced soname bump in libconfig. + +* Sat Jul 14 2018 Richard W.M. Jones - 1:1.39.7-1 +- New upstream version 1.39.7. +- v2v/TODO was removed upstream. + +* Fri Jul 13 2018 Richard W.M. Jones - 1:1.39.6-10 +- v2v: Recommends nbdkit and the Python 3 plugin. + +* Fri Jul 13 2018 Fedora Release Engineering - 1:1.39.6-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Wed Jul 11 2018 Richard W.M. Jones - 1:1.39.6-7 +- OCaml 4.07.0 (final) rebuild. + +* Tue Jul 10 2018 Richard W.M. Jones - 1:1.39.6-6 +- Update PHP dependencies. + +* Thu Jul 05 2018 Richard W.M. Jones - 1:1.39.6-5 +- Remove ldconfig + https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/SU3LJVDZ7LUSJGZR5MS72BMRAFP3PQQL/ +- BR on python-unversioned-command + https://fedoraproject.org/wiki/Changes/Move_usr_bin_python_into_separate_package + +* Tue Jul 03 2018 Petr Pisar - 1:1.39.6-4 +- Perl 5.28 rebuild + +* Mon Jul 02 2018 Miro Hrončok - 1:1.39.6-3 +- Rebuilt for Python 3.7 + +* Fri Jun 29 2018 Jitka Plesnikova - 1:1.39.6-2 +- Perl 5.28 rebuild + +* Fri Jun 29 2018 Richard W.M. Jones - 1:1.39.6-1 +- New upstream version 1.39.6. +- Add new bash-completion script for libguestfs-test-tool. + +* Wed Jun 20 2018 Richard W.M. Jones - 1:1.39.5-5 +- Bump release and rebuild. + +* Wed Jun 20 2018 Richard W.M. Jones - 1:1.39.5-4 +- Bump release and rebuild. + +* Wed Jun 20 2018 Richard W.M. Jones - 1:1.39.5-3 +- OCaml 4.07.0-rc1 rebuild. + +* Tue Jun 19 2018 Miro Hrončok - 1:1.39.5-2 +- Rebuilt for Python 3.7 + +* Wed May 23 2018 Richard W.M. Jones - 1:1.39.5-1 +- New upstream version 1.39.5. + +* Wed May 02 2018 Richard W.M. Jones - 1:1.39.4-1 +- New upstream version 1.39.4. + +* Sun Apr 22 2018 Richard W.M. Jones - 1:1.39.3-1 +- New upstream version 1.39.3. +- Remove upstream patch. + +* Tue Apr 10 2018 Iryna Shcherbina - 1:1.39.2-3 +- Update Python 2 dependency declarations to new packaging standards + (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) + +* Thu Mar 29 2018 Richard W.M. Jones - 1:1.39.2-2 +- Add patch to fix detection of qemu mandatory locking. + +* Thu Mar 29 2018 Richard W.M. Jones - 1:1.39.2-1 +- New upstream version 1.39.2. + +* Tue Mar 13 2018 Richard W.M. Jones - 1:1.39.1-1 +- New upstream version 1.39.1. + +* Fri Feb 09 2018 Richard W.M. Jones - 1:1.38.0-1 +- New upstream version 1.38.0. +- Enable tarball signing since we are on a stable branch. +- Fix Source URLs. + +* Tue Feb 06 2018 Richard W.M. Jones - 1:1.37.37-1 +- New upstream version 1.37.37. + +* Thu Jan 25 2018 Richard W.M. Jones - 1:1.37.36-1 +- New upstream version 1.37.36. +- Unbreak the linker. + +* Sat Jan 20 2018 Björn Esser - 1:1.37.35-3 +- Rebuilt for switch to libxcrypt + +* Thu Jan 11 2018 Richard W.M. Jones - 1:1.37.35-2 +- Add BR rpcgen, libtirpc-devel and rebuild against updated Ruby. + +* Sun Dec 10 2017 Richard W.M. Jones - 1:1.37.35-1 +- New upstream version 1.37.35. +- Remove upstream patches. +- Add virt-builder-repository and man page. + +* Thu Dec 7 2017 Richard W.M. Jones - 1:1.37.34-4 +- Remove for libvirt >= 3.10. + +* Sun Dec 3 2017 Richard W.M. Jones - 1:1.37.34-3 +- Fix locking on NBD drives. + +* Fri Nov 17 2017 Richard W.M. Jones - 1:1.37.34-2 +- OCaml 4.06.0 rebuild. + +* Fri Nov 17 2017 Richard W.M. Jones - 1:1.37.34-1 +- New upstream version 1.37.34. + +* Thu Oct 19 2017 Richard W.M. Jones - 1:1.37.31-1 +- New upstream version 1.37.31. + +* Tue Oct 10 2017 Richard W.M. Jones - 1:1.37.29-1 +- New upstream version 1.37.29. + +* Thu Oct 05 2017 Richard W.M. Jones - 1:1.37.28-2 +- Add libguestfs-ufs (BSD) subpackage. + +* Thu Sep 28 2017 Richard W.M. Jones - 1:1.37.28-1 +- New upstream version 1.37.28. + +* Sat Sep 23 2017 Richard W.M. Jones - 1:1.37.27-1 +- New upstream version 1.37.27. + +* Sun Sep 17 2017 Richard W.M. Jones - 1:1.37.26-1 +- New upstream version 1.37.26. + +* Sat Sep 16 2017 Richard W.M. Jones - 1:1.37.25-1 +- New upstream version 1.37.25. + +* Tue Sep 05 2017 Richard W.M. Jones - 1:1.37.22-1 +- New upstream version 1.37.22. + +* Sat Aug 19 2017 Richard W.M. Jones - 1:1.37.21-2 +- Disable zfs subpackage on s390, s390x. + +* Wed Aug 09 2017 Richard W.M. Jones - 1:1.37.21-1 +- New upstream version 1.37.21. + +* Tue Aug 08 2017 Richard W.M. Jones - 1:1.37.20-2 +- OCaml 4.05.0 rebuild. + +* Fri Aug 04 2017 Richard W.M. Jones - 1:1.37.20-1 +- New upstream version 1.37.20. + +* Thu Aug 03 2017 Fedora Release Engineering - 1:1.37.19-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Sat Jul 29 2017 Richard W.M. Jones - 1:1.37.19-1 +- New upstream version 1.37.19. + +* Wed Jul 26 2017 Fedora Release Engineering - 1:1.37.18-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Tue Jul 18 2017 Richard W.M. Jones - 1:1.37.18-1 +- New upstream version 1.37.18. + +* Tue Jul 11 2017 Richard W.M. Jones - 1:1.37.17-2 +- New upstream version 1.37.17. +- Drop libguestfs-gobject-doc because gtk-doc is no longer provided upstream. +- Add new man page guestfs-gobject(3) to libguestfs-gobject-devel. + +* Mon Jun 26 2017 Richard W.M. Jones - 1:1.37.16-2 +- OCaml 4.04.2 rebuild. + +* Fri Jun 23 2017 Richard W.M. Jones - 1:1.37.16-1 +- New upstream version 1.37.16. + +* Tue Jun 06 2017 Jitka Plesnikova - 1:1.37.14-3 +- Perl 5.26 rebuild + +* Mon May 22 2017 Richard W.M. Jones - 1:1.37.14-2 +- Bump release and rebuild for ppc64, ppc64le and s390x. + +* Fri May 19 2017 Richard W.M. Jones - 1:1.37.14-1 +- New upstream version 1.37.14. + +* Fri May 12 2017 Richard W.M. Jones - 1:1.37.13-2 +- OCaml 4.04.1 rebuild. + +* Mon May 08 2017 Richard W.M. Jones - 1:1.37.13-1 +- New upstream version 1.37.13. + +* Wed Apr 26 2017 Richard W.M. Jones - 1:1.37.12-1 +- New upstream version 1.37.12. + +* Sat Apr 15 2017 Richard W.M. Jones - 1:1.37.11-1 +- New upstream version 1.37.11. + +* Wed Apr 12 2017 Richard W.M. Jones - 1:1.37.10-1 +- New upstream version 1.37.10. + +* Sat Apr 08 2017 Richard W.M. Jones - 1:1.37.9-1 +- New upstream version 1.37.9. + +* Fri Mar 31 2017 Richard W.M. Jones - 1:1.37.8-1 +- New upstream version 1.37.8. + +* Fri Mar 24 2017 Richard W.M. Jones - 1:1.37.7-1 +- New upstream version 1.37.7. + +* Mon Mar 20 2017 Richard W.M. Jones - 1:1.37.6-1 +- New upstream version 1.37.6. + +* Tue Mar 14 2017 Richard W.M. Jones - 1:1.37.2-1 +- New upstream version 1.37.2. + +* Tue Mar 07 2017 Richard W.M. Jones - 1:1.37.1-1 +- New upstream version 1.37.1. + +* Tue Feb 28 2017 Richard W.M. Jones - 1:1.37.0-1 +- New upstream version 1.37.0. + +* Fri Feb 24 2017 Richard W.M. Jones - 1:1.35.28-1 +- New upstream version 1.35.28. + +* Thu Feb 23 2017 Richard W.M. Jones - 1:1.35.27-1 +- New upstream version 1.35.27. + +* Wed Feb 22 2017 Richard W.M. Jones - 1:1.35.26-1 +- New upstream version 1.35.26. + +* Wed Feb 15 2017 Richard W.M. Jones - 1:1.35.25-1 +- New upstream version 1.35.25. + +* Sat Feb 11 2017 Richard W.M. Jones - 1:1.35.24-1 +- New upstream version 1.35.24. + +* Sat Feb 11 2017 Richard W.M. Jones - 1:1.35.23-1 +- New upstream version 1.35.23. + +* Fri Feb 10 2017 Richard W.M. Jones - 1:1.35.22-1 +- New upstream version 1.35.22. + +* Wed Feb 08 2017 Richard W.M. Jones - 1:1.35.21-1 +- New upstream version 1.35.21. + +* Thu Feb 02 2017 Pino Toscano - 1:1.35.20-2 +- Avoid spurious dependencies on kernel-debug etc. + +* Sat Jan 28 2017 Richard W.M. Jones - 1:1.35.20-1 +- New upstream version 1.35.20. + +* Fri Jan 13 2017 Mamoru TASAKA - 1:1.35.19-4 +- Rebuild again for f26-ruby24 sidetag + +* Thu Jan 12 2017 Igor Gnatenko - 1:1.35.19-3 +- Rebuild for readline 7.x + +* Thu Jan 12 2017 Vít Ondruch - 1:1.35.19-2 +- Rebuilt for https://fedoraproject.org/wiki/Changes/Ruby_2.4 + +* Sat Dec 24 2016 Richard W.M. Jones - 1:1.35.19-1 +- New upstream version 1.35.19. + +* Thu Dec 22 2016 Miro Hrončok - 1:1.35.18-3 +- Second rebuild for Python 3.6 + +* Mon Dec 19 2016 Miro Hrončok - 1:1.35.18-2 +- Rebuild for Python 3.6 + +* Thu Dec 15 2016 Richard W.M. Jones - 1:1.35.18-1 +- New upstream version 1.35.18. + +* Sun Dec 11 2016 Richard W.M. Jones - 1:1.35.17-1 +- New upstream version 1.35.17. + +* Mon Nov 14 2016 Richard W.M. Jones - 1:1.35.14-4 +- Use _isa macro on dependencies (except for noarch packages). + https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/QSQ7CWSFZ3CRHH7DDGAWVUCB2KFC3OWQ/ + +* Fri Nov 11 2016 Richard W.M. Jones - 1:1.35.14-3 +- Drop libguestfs-live-service subpackage. +- Remove setting _hardened_build since it is now the default in Fedora. +- Some tidying up of the description section. +- Require Augeas 1.7.0. + +* Sat Nov 05 2016 Richard W.M. Jones - 1:1.35.14-2 +- Rebuild for OCaml 4.04.0. + +* Wed Oct 26 2016 Richard W.M. Jones - 1:1.35.14-1 +- New upstream version 1.35.14. +- Add dbus-devel BR for virt-p2v. + +* Fri Oct 21 2016 Richard W.M. Jones - 1:1.35.9-1 +- New upstream version 1.35.9. + +* Fri Oct 21 2016 Richard W.M. Jones - 1:1.35.8-2 +- Add 'Suggests: perl' for virt-edit and virt-customize. + +* Wed Oct 12 2016 Richard W.M. Jones - 1:1.35.8-1 +- New upstream version 1.35.8. + +* Thu Oct 06 2016 Richard W.M. Jones - 1:1.35.6-2 +- Split off virt-p2v into virt-p2v-maker so it doesn't depend on X + (RHBZ#1382275). + +* Fri Sep 23 2016 Richard W.M. Jones - 1:1.35.6-1 +- New upstream version 1.35.6. + +* Mon Sep 12 2016 Richard W.M. Jones - 1:1.35.5-1 +- New upstream version 1.35.5. + +* Sat Sep 03 2016 Richard W.M. Jones - 1:1.35.4-1 +- New upstream version 1.35.4. + +* Thu Sep 01 2016 Richard W.M. Jones - 1:1.35.3-1 +- New upstream version 1.35.3. + +* Fri Aug 05 2016 Richard W.M. Jones - 1:1.33.49-1 +- New upstream version 1.33.49. + +* Wed Jul 27 2016 Richard W.M. Jones - 1:1.33.46-1 +- New upstream version 1.33.46. + +* Sat Jul 23 2016 Richard W.M. Jones - 1:1.33.45-1 +- New upstream version 1.33.45. + +* Tue Jul 19 2016 Richard W.M. Jones - 1:1.33.44-1 +- New upstream version 1.33.44. + +* Tue Jul 19 2016 Fedora Release Engineering - 1:1.33.43-3 +- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages + +* Fri Jul 15 2016 Richard W.M. Jones - 1:1.33.43-2 +- Fix missing dependency on policycoreutils. + +* Fri Jul 15 2016 Richard W.M. Jones - 1:1.33.43-1 +- New upstream version 1.33.43. + +* Wed Jul 13 2016 Richard W.M. Jones - 1:1.33.42-2 +- Don't install libtool wrapper scripts in benchmarking subpkg. + +* Sat Jul 09 2016 Richard W.M. Jones - 1:1.33.42-1 +- New upstream version 1.33.42. + +* Wed Jul 06 2016 Richard W.M. Jones - 1:1.33.41-1 +- New upstream version 1.33.41. + +* Fri Jul 01 2016 Richard W.M. Jones - 1:1.33.40-1 +- New upstream version 1.33.40. + +* Fri Jun 24 2016 Richard W.M. Jones - 1:1.33.39-1 +- New upstream version 1.33.39. + +* Tue Jun 21 2016 Richard W.M. Jones - 1:1.33.38-2 +- Bump release and rebuild. + +* Sun Jun 19 2016 Richard W.M. Jones - 1:1.33.38-1 +- New upstream version 1.33.38. + +* Fri Jun 17 2016 Richard W.M. Jones - 1:1.33.37-1 +- New upstream version 1.33.37. + +* Mon Jun 13 2016 Richard W.M. Jones - 1:1.33.36-1 +- New upstream version 1.33.36. + +* Mon Jun 06 2016 Richard W.M. Jones - 1:1.33.35-1 +- New upstream version 1.33.35. + +* Fri Jun 03 2016 Richard W.M. Jones - 1:1.33.34-1 +- New upstream version 1.33.34. +- Now building virt-p2v with gtk3 not gtk2. + +* Fri May 27 2016 Richard W.M. Jones - 1:1.33.32-1 +- New upstream version 1.33.32. + +* Mon May 23 2016 Richard W.M. Jones - 1:1.33.30-1 +- New upstream version 1.33.30. + +* Thu May 19 2016 Jitka Plesnikova - 1:1.33.29-2 +- Perl 5.24 re-rebuild of bootstrapped packages + +* Wed May 18 2016 Richard W.M. Jones - 1:1.33.29-1 +- New upstream version 1.33.29. + +* Tue May 17 2016 Jitka Plesnikova - 1:1.33.28-2 +- Perl 5.24 rebuild + +* Mon May 09 2016 Richard W.M. Jones - 1:1.33.28-1 +- New upstream version 1.33.28. + +* Wed May 04 2016 Richard W.M. Jones - 1:1.33.27-1 +- New upstream version 1.33.27. + +* Tue May 03 2016 Richard W.M. Jones - 1:1.33.26-1 +- New upstream version 1.33.26. + +* Sun May 01 2016 Richard W.M. Jones - 1:1.33.24-1 +- New upstream version 1.33.24. + +* Mon Apr 25 2016 Richard W.M. Jones - 1:1.33.23-1 +- New upstream version 1.33.23. + +* Fri Apr 15 2016 Richard W.M. Jones - 1:1.33.20-1 +- New upstream version 1.33.20. + +* Tue Apr 12 2016 Richard W.M. Jones - 1:1.33.19-2 +- New upstream version 1.33.19. +- Build python3 in a different directory. + +* Fri Apr 08 2016 Richard W.M. Jones - 1:1.33.18-5 +- Disable tests on 32 bit arm because of libvirt RHBZ#1325085. + +* Thu Apr 07 2016 Richard W.M. Jones - 1:1.33.18-4 +- Disable tests on POWER because of RHBZ#1293024. +- Enable tests on 32 bit arm because RHBZ#1303147 supposedly fixed. +- Explicitly depend on rubygem-rdoc, needed to build Ruby docs. + +* Tue Apr 05 2016 Richard W.M. Jones - 1:1.33.18-1 +- New upstream version 1.33.18. + +* Thu Mar 31 2016 Richard W.M. Jones - 1:1.33.16-2 +- Add code to verify tarball signatures (only enabled on stable branches). + +* Fri Mar 25 2016 Richard W.M. Jones - 1:1.33.16-1 +- New upstream version 1.33.16. + +* Thu Mar 17 2016 Richard W.M. Jones - 1:1.33.15-1 +- New upstream version 1.33.15. + +* Mon Mar 07 2016 Richard W.M. Jones - 1:1.33.14-1 +- New upstream version 1.33.14. + +* Fri Feb 26 2016 Richard W.M. Jones - 1:1.33.13-1 +- New upstream version 1.33.13. + +* Thu Feb 18 2016 Orion Poplawski - 1:1.33.12-2 +- Filter perl provides + +* Fri Feb 12 2016 Richard W.M. Jones - 1:1.33.12-1 +- New upstream version 1.33.12. + +* Wed Feb 10 2016 Richard W.M. Jones - 1:1.33.11-1 +- New upstream version 1.33.11. + +* Mon Feb 08 2016 Richard W.M. Jones - 1:1.33.10-2 +- New upstream version 1.33.10. +- Add non-upstream patch to fix 'ssh root@remote virt-xyz ...' + +* Fri Feb 05 2016 Richard W.M. Jones - 1:1.33.9-1 +- New upstream version 1.33.9. + +* Wed Feb 03 2016 Richard W.M. Jones - 1:1.33.8-1 +- New upstream version 1.33.8. + +* Fri Jan 29 2016 Richard W.M. Jones - 1:1.33.7-1 +- New upstream version 1.33.7. + +* Thu Jan 28 2016 Richard W.M. Jones - 1:1.33.6-1 +- New upstream version 1.33.6. + +* Tue Jan 26 2016 Richard W.M. Jones - 1:1.33.5-1 +- New upstream version 1.33.5. + +* Fri Jan 22 2016 Richard W.M. Jones - 1:1.33.4-1 +- New upstream version 1.33.4. +- Add guestfs-building(1), new man page. + +* Thu Jan 21 2016 Richard Jones - 1:1.33.1-3 +- Remove useless python*_site* macros. +- Package python3 pyo files if present. + +* Sat Jan 16 2016 Richard Jones - 1:1.33.1-2 +- Rebuild for updated Ruby in Rawhide. + +* Mon Jan 11 2016 Richard W.M. Jones - 1:1.33.1-1 +- New upstream version 1.33.1. + +* Thu Jan 07 2016 Richard W.M. Jones - 1:1.33.0-1 +- New upstream development version 1.33.0. + +* Wed Dec 16 2015 Richard W.M. Jones - 1:1.31.30-1 +- New upstream version 1.31.30. + +* Sun Dec 06 2015 Richard W.M. Jones - 1:1.31.29-1 +- New upstream version 1.31.29. + +* Wed Nov 25 2015 Richard W.M. Jones - 1:1.31.28-1 +- New upstream version 1.31.28. + +* Fri Nov 20 2015 Richard W.M. Jones - 1:1.31.27-1 +- New upstream version 1.31.27. +- Add new tool: virt-v2v-copy-to-local. + +* Sat Nov 14 2015 Richard W.M. Jones - 1:1.31.26-1 +- New upstream version 1.31.26. + +* Wed Nov 11 2015 Richard W.M. Jones - 1:1.31.25-3 +- Drop __pycache__/*.pyo files, as these are not generated by python 3.5. + +* Tue Nov 10 2015 Fedora Release Engineering - 1:1.31.25-2 +- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5 + +* Fri Nov 06 2015 Richard W.M. Jones - 1:1.31.25-1 +- New upstream version 1.31.25. + +* Fri Nov 06 2015 Richard W.M. Jones - 1:1.31.24-2 +- Rename python-libguestfs -> python2-libguestfs. + See: https://fedoraproject.org/wiki/Packaging:Python + +* Thu Nov 05 2015 Richard W.M. Jones - 1:1.31.24-1 +- New upstream version 1.31.24. + +* Sat Oct 31 2015 Richard W.M. Jones - 1:1.31.23-1 +- New upstream version 1.31.23. + +* Fri Oct 30 2015 Richard W.M. Jones - 1:1.31.22-1 +- New upstream version 1.31.22. +- Add new manual pages guestfs-{hacking,internals,security}(1). + +* Sun Oct 25 2015 Richard W.M. Jones - 1:1.31.20-1 +- New upstream version 1.31.20. +- Perl bindings switched from ExtUtils::MakeMaker to Module::Build. + +* Wed Oct 21 2015 Richard W.M. Jones - 1:1.31.19-1 +- New upstream version 1.31.19. + +* Tue Oct 20 2015 Richard W.M. Jones - 1:1.31.18-1 +- New upstream version 1.31.18. + +* Thu Oct 15 2015 Richard W.M. Jones - 1:1.31.17-1 +- New upstream version 1.31.17. + +* Tue Oct 13 2015 Richard W.M. Jones - 1:1.31.16-2 +- Add hack to supermin to get builds working temporarily. + +* Fri Oct 09 2015 Richard W.M. Jones - 1:1.31.16-1 +- New upstream version 1.31.16. + +* Fri Oct 09 2015 Richard W.M. Jones - 1:1.31.15-1 +- New upstream version 1.31.15. + +* Wed Oct 07 2015 Richard W.M. Jones - 1:1.31.13-1 +- New upstream version 1.31.13. + +* Tue Oct 06 2015 Richard W.M. Jones - 1:1.31.11-2 +- BR ocamldoc so that we build the OCaml documentation. + +* Mon Oct 05 2015 Richard W.M. Jones - 1:1.31.11-1 +- New upstream version 1.31.11. + +* Thu Oct 01 2015 Richard W.M. Jones - 1:1.31.9-4 +- New upstream version 1.31.9. +- Include patch which fixes 'make install' in OCaml directory. +- Switch to using RPM autopatch directive. +- Fix a few RPM "macro expanded in comment" warnings. +- Include OCaml bindings documentation in ocaml-libguestfs-devel package. +- Add opensuse virt-builder files. + +* Tue Sep 29 2015 Richard W.M. Jones - 1:1.31.8-1 +- New upstream version 1.31.8. + +* Mon Sep 21 2015 Richard W.M. Jones - 1:1.31.7-2 +- Remove tests, except sanity check. Testing is now done after the + package has been built. + +* Sun Sep 20 2015 Richard W.M. Jones - 1:1.31.7-1 +- New upstream version 1.31.7. + +* Sat Sep 12 2015 Richard W.M. Jones - 1:1.31.6-1 +- New upstream version 1.31.6. + +* Tue Sep 08 2015 Richard W.M. Jones - 1:1.31.5-1 +- New upstream version 1.31.5. + +* Fri Sep 04 2015 Richard W.M. Jones - 1:1.31.4-1 +- New upstream version 1.31.4. + +* Sat Aug 29 2015 Richard W.M. Jones - 1:1.31.3-1 +- New upstream version 1.31.3. +- Disable tests on armv7 because they take nearly 24 hours to run. + +* Thu Aug 13 2015 Richard W.M. Jones - 1:1.31.2-1 +- New upstream version 1.31.2. +- Enable tests on i686, arm and aarch64. +- Remove patch which is now upstream. + +* Fri Aug 7 2015 Pino Toscano - 1:1.31.1-3 +- Make libguestfs-tools-c recommend libguestfs-xfs, as the default filesystem + is XFS so we want tools to work on XFS by default. +- Remove version suffix from the docdir mentioned in the installed README. + +* Sun Aug 2 2015 Richard W.M. Jones - 1:1.31.1-2 +- Skip virt-sysprep test. + +* Fri Jul 31 2015 Richard W.M. Jones - 1:1.31.1-1 +- New upstream version 1.31.1. + +* Tue Jul 28 2015 Richard W.M. Jones - 1:1.30.0-2 +- OCaml 4.02.3 rebuild. + +* Tue Jul 21 2015 Richard W.M. Jones - 1:1.30.0-1 +- New upstream version 1.30.0. + +* Thu Jul 09 2015 Richard W.M. Jones - 1:1.29.50-1 +- New upstream version 1.29.50. +- Add virt-dib. + +* Thu Jul 02 2015 Richard W.M. Jones - 1:1.29.49-1 +- New upstream version 1.29.49. + +* Tue Jun 30 2015 Richard W.M. Jones - 1:1.29.48-1 +- New upstream version 1.29.48. + +* Thu Jun 18 2015 Richard W.M. Jones - 1:1.29.47-2 +- Bump release and rebuild. + +* Thu Jun 18 2015 Richard W.M. Jones - 1:1.29.47-1 +- New upstream version 1.29.47. +- New tool: virt-get-kernel. +- Skip xfs_admin tests because of RHBZ#1233220. + +* Wed Jun 17 2015 Richard W.M. Jones - 1:1.29.46-4 +- ocaml-4.02.2 rebuild. + +* Wed Jun 17 2015 Fedora Release Engineering - 1:1.29.46-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Tue Jun 09 2015 Jitka Plesnikova - 1:1.29.46-2 +- Perl 5.22 rebuild + +* Sun Jun 07 2015 Richard W.M. Jones - 1:1.29.46-1 +- New upstream version 1.29.46. + +* Sat Jun 06 2015 Jitka Plesnikova - 1:1.29.44-2 +- Perl 5.22 rebuild + +* Thu May 28 2015 Richard W.M. Jones - 1:1.29.44-1 +- New upstream version 1.29.44. + +* Tue May 19 2015 Richard W.M. Jones - 1:1.29.43-2 +- Remove several test SKIP_* variables related to bugs which have + since been fixed. + +* Sat May 16 2015 Richard W.M. Jones - 1:1.29.43-1 +- New upstream version 1.29.43. + +* Thu May 14 2015 Richard W.M. Jones - 1:1.29.42-1 +- New upstream version 1.29.42. + +* Mon May 11 2015 Richard W.M. Jones - 1:1.29.41-1 +- New upstream version 1.29.41. + +* Thu May 07 2015 Richard W.M. Jones - 1:1.29.40-2 +- Add workaround for builder/index-parse.c autotools race. + +* Wed May 06 2015 Richard W.M. Jones - 1:1.29.40-1 +- New upstream version 1.29.40. + +* Sun May 03 2015 Richard W.M. Jones - 1:1.29.39-1 +- New upstream version 1.29.39. + +* Tue Apr 28 2015 Richard W.M. Jones - 1:1.29.38-1 +- New upstream version 1.29.38. + +* Fri Apr 24 2015 Richard W.M. Jones - 1:1.29.37-1 +- New upstream version 1.29.37. + +* Mon Apr 20 2015 Richard W.M. Jones - 1:1.29.36-2 +- Remove deprecated programs: virt-list-partitions, virt-list-filesystems, + virt-tar (RHBZ#1213298). + +* Thu Apr 16 2015 Richard W.M. Jones - 1:1.29.36-1 +- New upstream version 1.29.36. + +* Fri Apr 10 2015 Richard W.M. Jones - 1:1.29.34-1 +- New upstream version 1.29.34. +- Drop the virt-v2v test harness subpackage. + +* Wed Apr 01 2015 Richard W.M. Jones - 1:1.29.33-2 +- New upstream version 1.29.33. + +* Fri Mar 27 2015 Richard W.M. Jones - 1:1.29.32-1 +- New upstream version 1.29.32. + +* Tue Mar 24 2015 Richard W.M. Jones - 1:1.29.31-2 +- New upstream version 1.29.31. +- Remove upstream patches. + +* Fri Mar 20 2015 Richard W.M. Jones - 1:1.29.30-5 +- More upstream patches to fix virt-v2v test harness. +- Do not delete OCaml *.a files, including ones in the virt-v2v test harness. + +* Sun Mar 15 2015 Richard W.M. Jones - 1:1.29.30-4 +- Enable golang on various arches. + +* Thu Mar 12 2015 Richard W.M. Jones - 1:1.29.30-3 +- Add virt-v2v-test-harness subpackage. +- Add a couple of upstream patches to fix the virt-v2v test harness. +- Remove external dependency generator. Use supermin RPM deps instead. +- Depend on fuse (for testing with fusermount etc) (RHBZ#1201507). + +* Wed Mar 11 2015 Richard W.M. Jones - 1:1.29.30-1 +- New upstream version 1.29.30. + +* Thu Mar 5 2015 Richard W.M. Jones - 1:1.29.29-1 +- New upstream version 1.29.29. + +* Mon Mar 2 2015 Richard W.M. Jones - 1:1.29.26-3 +- Add new subpackage libguestfs-inspect-icons (RHBZ#1194158). +- Remove dependency on uml_utilities, since UML is currently broken. +- Speed python3 build by copying over the generator pod2text cache and + disabling non-Python language bindings. +- Disable mdadm test because of mdadm hangs (RHBZ#1197305). + +* Wed Feb 18 2015 Richard W.M. Jones - 1:1.29.26-1 +- New upstream version 1.29.26. +- ocaml-4.02.1 rebuild. + +* Thu Feb 12 2015 Richard W.M. Jones - 1:1.29.25-1 +- New upstream version 1.29.25. +- Remove patches which are now upstream. + +* Thu Feb 05 2015 Richard W.M. Jones - 1:1.29.24-3 +- Upstream patch to fix virt-resize/virt-builder on aarch64 (RHBZ#1189284). + +* Wed Feb 04 2015 Richard W.M. Jones - 1:1.29.24-2 +- Upstream patch to fix performance regression in virt-builder (RHBZ#1188866). +- Change the way Python double-build is done so we only have to + apply patches in one place. + +* Tue Feb 03 2015 Richard W.M. Jones - 1:1.29.24-1 +- New upstream version 1.29.24. +- Add Python 3 bindings. +- Disable btrfs-qgroup-show test. + +* Tue Jan 27 2015 Richard W.M. Jones - 1:1.29.23-1 +- New upstream version 1.29.23. + +* Thu Jan 22 2015 Richard W.M. Jones - 1:1.29.22-2 +- New upstream version 1.29.22. +- BR ounit (will be required for building >= 1.29.23). +- Disable FUSE tests because of a bug in Rawhide. + +* Mon Jan 19 2015 Richard W.M. Jones - 1:1.29.20-2 +- Bump release for f22-ruby. + +* Sun Jan 18 2015 Richard W.M. Jones - 1:1.29.20-1 +- New upstream version 1.29.20. +- Rebuild upstream with automake 1.15. +- Add upstream patch to allow LVM test to be skipped. +- Add upstream patch which fixes LUA 5.3 (beta) in Rawhide. +- Skip a couple of tests which are broken by changes in Rawhide. +- Remove bogus daemon/m4 directory which has not existed for years. + +* Tue Dec 23 2014 Richard W.M. Jones - 1:1.29.19-1 +- New upstream version 1.29.19. + +* Tue Dec 16 2014 Richard W.M. Jones - 1:1.29.18-1 +- New upstream version 1.29.18. + +* Tue Dec 16 2014 Richard W.M. Jones - 1:1.29.17-1 +- New upstream version 1.29.17. + +* Thu Dec 11 2014 Richard W.M. Jones - 1:1.29.14-1 +- New upstream version 1.29.14. + +* Fri Dec 05 2014 Richard W.M. Jones - 1:1.29.13-1 +- New upstream version 1.29.13. + +* Sat Nov 29 2014 Richard W.M. Jones - 1:1.29.12-1 +- New upstream version 1.29.12. + +* Thu Nov 27 2014 Richard W.M. Jones - 1:1.29.11-1 +- New upstream version 1.29.11. + +* Tue Nov 25 2014 Richard W.M. Jones - 1:1.29.10-1 +- New upstream version 1.29.10. + +* Fri Nov 21 2014 Richard W.M. Jones - 1:1.29.9-1 +- New upstream version 1.29.9. + +* Tue Nov 18 2014 Richard W.M. Jones - 1:1.29.8-1 +- New upstream version 1.29.8. + +* Sat Nov 15 2014 Richard W.M. Jones - 1:1.29.7-1 +- New upstream version 1.29.7. + +* Fri Nov 07 2014 Richard W.M. Jones - 1:1.29.6-1 +- New upstream version 1.29.6. +- Remove patch which is now upstream. + +* Wed Nov 05 2014 Richard W.M. Jones - 1:1.29.5-1 +- New upstream version 1.29.5. + +* Wed Nov 5 2014 Richard W.M. Jones - 1:1.29.4-2 +- configure: Don't override upstream's qemu selection. + +* Fri Oct 31 2014 Richard W.M. Jones - 1:1.29.4-1 +- New upstream version 1.29.4. + +* Fri Oct 31 2014 Richard W.M. Jones - 1:1.29.3-1 +- New upstream version 1.29.3. + +* Sat Oct 25 2014 Richard W.M. Jones - 1:1.29.2-1 +- New upstream version 1.29.2. + +* Wed Oct 22 2014 Richard W.M. Jones - 1:1.29.1-1 +- New upstream version 1.29.1. + +* Fri Oct 17 2014 Richard W.M. Jones - 1:1.27.64-1 +- New upstream version 1.27.64. + +* Thu Oct 16 2014 Richard W.M. Jones - 1:1.27.63-1 +- New upstream version 1.27.63. + +* Fri Oct 10 2014 Richard W.M. Jones - 1:1.27.62-1 +- New upstream version 1.27.62. + +* Thu Oct 09 2014 Richard W.M. Jones - 1:1.27.61-1 +- New upstream version 1.27.61. + +* Wed Oct 08 2014 Richard W.M. Jones - 1:1.27.60-1 +- New upstream version 1.27.60. + +* Thu Oct 02 2014 Richard W.M. Jones - 1:1.27.58-1 +- New upstream version 1.27.58. + +* Wed Oct 01 2014 Richard W.M. Jones - 1:1.27.57-1 +- New upstream version 1.27.57. + +* Tue Sep 30 2014 Richard W.M. Jones - 1:1.27.56-1 +- New upstream version 1.27.56. + +* Sat Sep 27 2014 Richard W.M. Jones - 1:1.27.55-1 +- New upstream version 1.27.55. + +* Wed Sep 24 2014 Richard W.M. Jones - 1:1.27.54-1 +- New upstream version 1.27.54. + +* Tue Sep 23 2014 Richard W.M. Jones - 1:1.27.53-1 +- New upstream version 1.27.53. + +* Fri Sep 19 2014 Richard W.M. Jones - 1:1.27.50-1 +- New upstream version 1.27.50. + +* Thu Sep 18 2014 Richard W.M. Jones - 1:1.27.49-1 +- New upstream version 1.27.49. +- Fix guestfish colour prompts when using white-on-black terminal (RHBZ#1144201). + +* Wed Sep 17 2014 Richard W.M. Jones - 1:1.27.48-1 +- New upstream version 1.27.48. + +* Tue Sep 16 2014 Richard W.M. Jones - 1:1.27.47-1 +- New upstream version 1.27.47. + +* Mon Sep 15 2014 Richard W.M. Jones - 1:1.27.46-1 +- New upstream version 1.27.46. + +* Sun Sep 14 2014 Richard W.M. Jones - 1:1.27.45-1 +- New upstream version 1.27.45. + +* Sat Sep 13 2014 Richard W.M. Jones - 1:1.27.44-1 +- New upstream version 1.27.44. + +* Thu Sep 11 2014 Richard W.M. Jones - 1:1.27.43-1 +- New upstream version 1.27.43. + +* Thu Sep 11 2014 Richard W.M. Jones - 1:1.27.42-1 +- New upstream version 1.27.42. + +* Tue Sep 09 2014 Richard W.M. Jones - 1:1.27.41-1 +- New upstream version 1.27.41. + +* Mon Sep 08 2014 Jitka Plesnikova - 1:1.27.39-2 +- Perl 5.20 re-rebuild of bootstrapped packages + +* Sat Sep 06 2014 Richard W.M. Jones - 1:1.27.39-1 +- New upstream version 1.27.39. +- Package virt-p2v ISO build tools together with virt-v2v in + a separate virt-v2v subpackage. + +* Fri Sep 05 2014 Richard W.M. Jones - 1:1.27.38-1 +- New upstream version 1.27.38. + +* Thu Sep 04 2014 Richard W.M. Jones - 1:1.27.37-1 +- New upstream version 1.27.37. + +* Wed Sep 03 2014 Jitka Plesnikova - 1:1.27.36-2 +- Perl 5.20 rebuild + +* Tue Sep 02 2014 Richard W.M. Jones - 1:1.27.36-1 +- New upstream version 1.27.36. + +* Mon Sep 01 2014 Richard W.M. Jones - 1:1.27.35-1 +- New upstream version 1.27.35. + +* Sat Aug 30 2014 Richard W.M. Jones - 1:1.27.34-1 +- New upstream version 1.27.34. + +* Fri Aug 29 2014 Jitka Plesnikova - 1:1.27.33-3 +- Perl 5.20 rebuild + +* Fri Aug 29 2014 Richard W.M. Jones - 1:1.27.33-2 +- New upstream version 1.27.33. +- Enable LVM filtering test (thanks Pino Toscano). + +* Mon Aug 25 2014 Richard W.M. Jones - 1:1.27.31-1 +- New upstream version 1.27.31. + +* Thu Aug 21 2014 Richard W.M. Jones - 1:1.27.30-1 +- New upstream version 1.27.30. + +* Wed Aug 20 2014 Richard W.M. Jones - 1:1.27.28-1 +- New upstream version 1.27.28. + +* Sun Aug 17 2014 Fedora Release Engineering - 1:1.27.27-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Fri Aug 15 2014 Richard W.M. Jones - 1:1.27.27-1 +- New upstream version 1.27.27. + +* Fri Aug 15 2014 Richard W.M. Jones - 1:1.27.26-2 +- Java is now java-1.8.0-openjdk in Rawhide. + +* Thu Aug 14 2014 Richard W.M. Jones - 1:1.27.26-1 +- New upstream version 1.27.26. + +* Thu Aug 14 2014 Richard W.M. Jones - 1:1.27.25-2 +- Require mingw32-srvany >= 1.0-13 because otherwise we have a broken symlink. +- Skip virt-v2v tests since they require rhsrvany.exe which is not + available during the tests. + +* Tue Aug 05 2014 Richard W.M. Jones - 1:1.27.25-1 +- New upstream version 1.27.25. + +* Mon Jul 28 2014 Richard W.M. Jones - 1:1.27.24-3 +- Rebuild on aarch64. + +* Sun Jul 27 2014 Richard W.M. Jones - 1:1.27.24-2 +- New upstream version 1.27.24. +- Remove patch now upstream. + +* Fri Jul 25 2014 Richard W.M. Jones - 1:1.27.23-3 +- Skip LVM test which is failing. + +* Thu Jul 24 2014 Richard W.M. Jones - 1:1.27.23-2 +- Enable tests on aarch64, in order to study which tests fail. + +* Wed Jul 23 2014 Richard W.M. Jones - 1:1.27.23-1 +- New upstream version 1.27.23. + +* Tue Jul 22 2014 Kalev Lember - 1:1.27.22-3 +- Rebuilt for gobject-introspection 1.41.4 + +* Mon Jul 21 2014 Richard W.M. Jones - 1:1.27.22-2 +- New upstream version 1.27.22. +- Disable golang since the Fedora package is broken again. + +* Wed Jul 16 2014 Peter Robinson 1:1.27.21-2 +- Disable tests on aarch64 +- ntfs-3g available on all arches +- hfsplus-tools on all arches +- KVM available on ARMv7 and aarch64 + +* Tue Jul 08 2014 Richard W.M. Jones - 1:1.27.21-1 +- New upstream version 1.27.21. + +* Wed Jul 02 2014 Richard W.M. Jones - 1:1.27.20-1 +- New upstream version 1.27.20. + +* Tue Jun 24 2014 Richard W.M. Jones - 1:1.27.19-1 +- New upstream version 1.27.19. + +* Mon Jun 16 2014 Richard W.M. Jones - 1:1.27.18-1 +- New upstream version 1.27.18. + +* Sat Jun 14 2014 Richard W.M. Jones - 1:1.27.16-2 +- Install guestfish colour prompts. + +* Sat Jun 14 2014 Richard W.M. Jones - 1:1.27.16-1 +- New upstream version 1.27.16. + +* Wed Jun 11 2014 Richard W.M. Jones - 1:1.27.15-1 +- New upstream version 1.27.15. + +* Sat Jun 07 2014 Fedora Release Engineering - 1:1.27.14-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Fri May 30 2014 Richard W.M. Jones - 1:1.27.14-1 +- New upstream version 1.27.14. + +* Sun May 25 2014 Richard W.M. Jones - 1:1.27.13-1 +- New upstream version 1.27.13. + +* Fri May 23 2014 Richard W.M. Jones - 1:1.27.12-2 +- New upstream version 1.27.12. +- Enable golang since it is now working on Rawhide. +- Fix golang installation again. +- Delete guestfs-p2v-iso(1) (internal documentation). + +* Fri May 16 2014 Richard W.M. Jones - 1:1.27.11-3 +- Try re-enabling x86-64 tests. + Requires supermin >= 5.1.8-3 which supports xz-compressed kernel modules. + +* Fri May 16 2014 Richard W.M. Jones - 1:1.27.11-2 +- New upstream version 1.27.11. + +* Fri May 16 2014 Richard W.M. Jones - 1:1.27.10-1 +- New upstream version 1.27.10. + +* Thu May 08 2014 Richard W.M. Jones - 1:1.27.9-1 +- New upstream version 1.27.9. + +* Sat May 3 2014 Richard W.M. Jones - 1:1.27.8-2 +- Remove ruby(release) version. Fix for Ruby 2.1. + +* Fri May 02 2014 Richard W.M. Jones - 1:1.27.8-1 +- New upstream version 1.27.8. + +* Sat Apr 26 2014 Richard W.M. Jones - 1:1.27.7-1 +- New upstream version 1.27.7. + +* Tue Apr 22 2014 Richard W.M. Jones - 1:1.27.6-1 +- New upstream version 1.27.6. + +* Wed Apr 16 2014 Richard W.M. Jones - 1:1.27.5-2 +- Remove /var/run/libguestfs, which is not used. + +* Wed Apr 16 2014 Richard W.M. Jones - 1:1.27.5-1 +- New upstream version 1.27.5. + +* Tue Apr 15 2014 Richard W.M. Jones - 1:1.27.4-1 +- New upstream version 1.27.4. + +* Tue Apr 8 2014 Richard W.M. Jones - 1:1.27.3-3 +- Re-enable virt-sparsify --in-place test, see: + https://bugzilla.redhat.com/show_bug.cgi?id=1079210#c4 + +* Mon Apr 07 2014 Richard W.M. Jones - 1:1.27.3-2 +- Do not use rubygem-minitest. Temporary workaround, see: + https://bugzilla.redhat.com/show_bug.cgi?id=1085029#c2 + +* Sun Apr 06 2014 Richard W.M. Jones - 1:1.27.3-1 +- New upstream version 1.27.3. + +* Mon Mar 31 2014 Richard W.M. Jones - 1:1.27.2-1 +- New upstream version 1.27.2. + +* Fri Mar 28 2014 Richard W.M. Jones - 1:1.27.0-1 +- New upstream version 1.27.0. + +* Wed Mar 26 2014 Richard W.M. Jones - 1:1.25.49-1 +- New upstream version 1.25.49. + +* Tue Mar 25 2014 Richard W.M. Jones - 1:1.25.47-1 +- New upstream version 1.25.47. +- Include new tool: virt-customize. + +* Thu Mar 20 2014 Richard W.M. Jones - 1:1.25.46-1 +- New upstream version 1.25.46. + +* Thu Mar 20 2014 Richard W.M. Jones - 1:1.25.45-2 +- Further split libguestfs appliance dependencies. + +* Mon Mar 17 2014 Richard W.M. Jones - 1:1.25.45-1 +- New upstream version 1.25.45. + +* Fri Mar 14 2014 Richard W.M. Jones - 1:1.25.44-2 +- Try to patch fstrim so it works in Koji/Rawhide. + +* Thu Mar 13 2014 Richard W.M. Jones - 1:1.25.44-1 +- New upstream version 1.25.44. + +* Sat Mar 08 2014 Richard W.M. Jones - 1:1.25.43-1 +- New upstream version 1.25.43. + +* Thu Mar 06 2014 Richard W.M. Jones - 1:1.25.42-1 +- New upstream version 1.25.42. + +* Tue Mar 04 2014 Richard W.M. Jones - 1:1.25.41-1 +- New upstream version 1.25.41. + +* Mon Mar 03 2014 Richard W.M. Jones - 1:1.25.40-1 +- New upstream version 1.25.40. + +* Sun Mar 02 2014 Richard W.M. Jones - 1:1.25.39-2 +- New upstream version 1.25.39. + +* Fri Feb 28 2014 Richard W.M. Jones - 1:1.25.38-4 +- Disable hfsplus subpackage on arm & ppc. +- Disable zfs subpackage on arm. +- Disable tests on x86. + +* Thu Feb 27 2014 Richard W.M. Jones - 1:1.25.38-3 +- Ensure dependencies needed by the daemon are added to base libguestfs. + +* Wed Feb 26 2014 Richard W.M. Jones - 1:1.25.38-2 +- New upstream version 1.25.38. +- Requires new supermin 5.1.0. +- Split the dependencies into subpackages, at least for the less common + filesystem types. +- In the dependency generator, we can now generate ordinary dependencies! + +* Sat Feb 22 2014 Richard W.M. Jones - 1:1.25.37-2 +- New upstream version 1.25.37. +- Disable tests on ARM because of RHBZ#1066581. + +* Tue Feb 18 2014 Richard W.M. Jones - 1:1.25.36-5 +- Add upstream patches, workaround for libvirt on ARM / ppc64 bug. +- Run make quickcheck (and fail early) before doing full make check. + +* Mon Feb 17 2014 Richard W.M. Jones - 1:1.25.36-1 +- New upstream version 1.25.36. + +* Sun Feb 16 2014 Richard W.M. Jones - 1:1.25.34-1 +- Enable tests on i686 as both of the referenced bugs (RHBZ#998722 & + RHBZ#998692) are now supposed to be fixed. +- Enable tests on ARM as the bug (RHBZ#990258) is supposed to be fixed. + +* Thu Feb 13 2014 Richard W.M. Jones - 1:1.25.34-1 +- New upstream version 1.25.34. +- Reenable tests as the kernel bug is fixed. + +* Wed Feb 05 2014 Richard W.M. Jones - 1:1.25.33-1 +- New upstream version 1.25.33. + +* Tue Feb 04 2014 Richard W.M. Jones - 1:1.25.32-2 +- Since Python package is not noarch, do not put Python files into + shared /usr/lib/python2.X/site-packages (RHBZ#1061155). + +* Tue Feb 04 2014 Richard W.M. Jones - 1:1.25.32-1 +- New upstream version 1.25.32. + +* Wed Jan 29 2014 Richard W.M. Jones - 1:1.25.31-2 +- virt-make-fs has been rewritten in C. +- qemu-img is now required by the core library (for guestfs_disk_create). +- perl(String::ShellQuote) is no longer used. + +* Wed Jan 29 2014 Richard W.M. Jones - 1:1.25.31-1 +- New upstream version 1.25.31. + +* Sat Jan 25 2014 Richard W.M. Jones - 1:1.25.29-1 +- New upstream version 1.25.29. + +* Fri Jan 24 2014 Richard W.M. Jones - 1:1.25.27-1 +- New upstream version 1.25.27. + +* Wed Jan 22 2014 Richard W.M. Jones - 1:1.25.26-1 +- New upstream version 1.25.26. + +* Wed Jan 22 2014 Richard W.M. Jones - 1:1.25.25-2 +- Update to latest Fedora golang packaging draft. +- See: https://fedoraproject.org/wiki/PackagingDrafts/Go + +* Tue Jan 21 2014 Richard W.M. Jones - 1:1.25.25-1 +- New upstream version 1.25.25. + +* Sun Jan 19 2014 Richard W.M. Jones - 1:1.25.24-1 +- New upstream version 1.25.24. + +* Sat Jan 18 2014 Richard W.M. Jones - 1:1.25.23-1 +- New upstream version 1.25.23. + +* Tue Jan 14 2014 Richard W.M. Jones - 1:1.25.21-1 +- New upstream version 1.25.21. + +* Mon Jan 13 2014 Richard W.M. Jones - 1:1.25.20-1 +- New upstream version 1.25.20. + +* Thu Jan 02 2014 Richard W.M. Jones - 1:1.25.19-1 +- New upstream version 1.25.19. + +* Thu Dec 19 2013 Richard W.M. Jones - 1:1.25.18-1 +- New upstream version 1.25.18. + +* Sat Dec 14 2013 Richard W.M. Jones - 1:1.25.15-1 +- New upstream version 1.25.15. + +* Thu Dec 12 2013 Richard W.M. Jones - 1:1.25.14-1 +- New upstream version 1.25.14. + +* Mon Dec 09 2013 Richard W.M. Jones - 1:1.25.13-1 +- New upstream version 1.25.13. + +* Fri Dec 06 2013 Richard W.M. Jones - 1:1.25.12-3 +- Build golang package only on x86 and ARM. The golang package in Fedora + uses the same ExclusiveArch. Thanks: Dan Horák. + +* Wed Dec 04 2013 Richard W.M. Jones - 1:1.25.12-2 +- Rebuild for procps SONAME bump. + +* Mon Dec 02 2013 Richard W.M. Jones - 1:1.25.12-1 +- New upstream version 1.25.12. + +* Mon Nov 25 2013 Richard W.M. Jones - 1:1.25.11-3 +- Disable NBD test, buggy in qemu 1.7.0 (filed as RHBZ#1034433). + +* Sat Nov 23 2013 Richard W.M. Jones - 1:1.25.11-2 +- Disable mdadm test, buggy in kernel 3.13 (filed as RHBZ#1033971). + +* Sat Nov 23 2013 Richard W.M. Jones - 1:1.25.11-1 +- New upstream version 1.25.11. + +* Wed Nov 20 2013 Richard W.M. Jones - 1:1.25.8-2 +- Rebuild to resolve broken dependency on krb libraries. +- Remove obsolete Obsoletes. +- Fix Source URL. +- Require java-headless instead of java: + https://fedoraproject.org/wiki/Changes/HeadlessJava +- Backport upstream patch to fix btrfs. + +* Thu Nov 14 2013 Richard W.M. Jones - 1:1.25.8-1 +- New upstream version 1.25.8. + +* Sat Nov 09 2013 Richard W.M. Jones - 1:1.25.7-1 +- New upstream version 1.25.7. + +* Tue Nov 05 2013 Richard W.M. Jones - 1:1.25.6-2 +- New upstream version 1.25.6. +- Add virt-index-validate tool & man page. + +* Tue Nov 05 2013 Richard W.M. Jones - 1:1.25.3-2 +- Remove patches, now upstream. +- +BR flex & bison, required by libguestfs >= 1.25.4. +- +BR xz-devel (for liblzma) to accelerate virt-builder in >= 1.25.5. + +* Fri Nov 01 2013 Richard W.M. Jones - 1:1.25.3-1 +- New upstream version 1.25.3. + +* Wed Oct 30 2013 Richard W.M. Jones - 1:1.25.2-1 +- New upstream version 1.25.2. + +* Sat Oct 26 2013 Richard W.M. Jones - 1:1.25.1-1 +- New upstream version 1.25.1. + +* Tue Oct 22 2013 Richard W.M. Jones - 1:1.25.0-2 +- Don't use versioned jar file (RHBZ#1022133). + +* Sat Oct 19 2013 Richard W.M. Jones - 1:1.25.0-1 +- New upstream version 1.25.0. + +* Tue Oct 15 2013 Richard W.M. Jones - 1:1.23.33-1 +- New upstream version 1.23.33. + +* Mon Oct 14 2013 Richard W.M. Jones - 1:1.23.32-1 +- New upstream version 1.23.32. + +* Sun Oct 13 2013 Richard W.M. Jones - 1:1.23.31-1 +- New upstream version 1.23.31. + +* Fri Oct 11 2013 Richard W.M. Jones - 1:1.23.30-1 +- New upstream version 1.23.30. + +* Tue Oct 08 2013 Richard W.M. Jones - 1:1.23.28-1 +- New upstream version 1.23.28. + +* Mon Oct 07 2013 Richard W.M. Jones - 1:1.23.27-1 +- New upstream version 1.23.27. + +* Fri Oct 4 2013 Richard W.M. Jones - 1:1.23.25-1 +- New upstream version 1.23.25. +- Add virt-builder and its dependencies. + +* Mon Sep 30 2013 Richard W.M. Jones - 1:1.23.23-2 +- New upstream version 1.23.23. +- Remove patch which is now upstream. + +* Thu Sep 12 2013 Richard W.M. Jones - 1:1.23.22-2 +- Add patch to debug parallel tests. + +* Wed Sep 11 2013 Richard W.M. Jones - 1:1.23.22-1 +- New upstream version 1.23.22. + +* Mon Sep 9 2013 Richard W.M. Jones - 1:1.23.21-2 +- Disable golang bindings on ppc64 (no golang package available). + +* Sat Sep 7 2013 Richard W.M. Jones - 1:1.23.21-1 +- New upstream version 1.23.21. +- Remove patches which are now upstream. +- Requires supermin >= 4.1.5 (technically only on ARM for device tree + support, but might as well have it everywhere). + +* Tue Sep 3 2013 Richard W.M. Jones - 1:1.23.20-5 +- Enable debugging messages in parallel virt-alignment-scan, virt-df + in order to debug possible race condition seen in Koji. + +* Mon Sep 2 2013 Richard W.M. Jones - 1:1.23.20-4 +- Rebuild now that RHBZ#1003495 is supposed to be fixed. + +* Sun Sep 1 2013 Richard W.M. Jones - 1:1.23.20-2 +- New upstream version 1.23.20. + +* Thu Aug 29 2013 Richard W.M. Jones - 1:1.23.19-1 +- New upstream version 1.23.19. +- Remove 2 x patches which are upstream. + +* Thu Aug 29 2013 Richard W.M. Jones - 1:1.23.18-4 +- Enable gzip-compressed appliance. +- Note this requires supermin >= 4.1.4. + +* Wed Aug 28 2013 Richard W.M. Jones - 1:1.23.18-3 +- Fix javadoc location to use _javadocdir macro. +- Call ldconfig in java post and postun scripts. +- Do not explicitly depend on perl-devel. +- Compress the ChangeLog and *.xml files in devel package. +- Create new subpackage gobject-doc for the huge HTML documentation. +- Make javadoc, gobject-doc, bash-completion, man-pages-*, tools packages + 'noarch'. + +* Mon Aug 19 2013 Richard W.M. Jones - 1:1.23.18-2 +- New upstream version 1.23.18. +- Disable 32 bit x86 tests because of RHBZ#998722 & RHBZ#998692. + +* Thu Aug 15 2013 Richard W.M. Jones - 1:1.23.17-1 +- New upstream version 1.23.17. +- Enable tests as cpu host-model is no longer used on TCG. + +* Tue Aug 13 2013 Richard W.M. Jones - 1:1.23.16-1 +- New upstream version 1.23.16. + +* Sun Aug 11 2013 Richard W.M. Jones - 1:1.23.15-1 +- New upstream version 1.23.15. + +* Tue Aug 6 2013 Richard W.M. Jones - 1:1.23.14-1 +- New upstream version 1.23.14. + +* Sun Aug 4 2013 Richard W.M. Jones - 1:1.23.13-2 +- Disable all tests because Rawhide kernel is broken (RHBZ#991808). + +* Sat Aug 3 2013 Richard W.M. Jones - 1:1.23.13-1 +- New upstream version 1.23.13. + +* Fri Aug 02 2013 Petr Pisar - 1:1.23.12-2 +- Perl 5.18 rebuild + +* Tue Jul 30 2013 Richard W.M. Jones - 1:1.23.12-1 +- New upstream version 1.23.12. +- Disable ARM tests because of libvirt error: + XML error: No PCI buses available [code=27 domain=10] (RHBZ#990258). + +* Tue Jul 30 2013 Richard W.M. Jones - 1:1.23.11-2 +- Enable ARM builds (thanks Dan Berrange). + +* Mon Jul 29 2013 Richard W.M. Jones - 1:1.23.11-1 +- New upstream version 1.23.11. +- +BR systemd-devel (for systemd journal processing). +- Disable ARM builds for now. + +* Tue Jul 23 2013 Richard W.M. Jones - 1:1.23.10-1 +- New upstream version 1.23.10. + +* Fri Jul 19 2013 Richard W.M. Jones - 1:1.23.9-1 +- New upstream version 1.23.9. +- Remove 5 x patches which are all upstream. + +* Thu Jul 11 2013 Richard W.M. Jones - 1:1.23.8-5 +- Add patches to ./run so we capture errors when i686 tests time out. +- Include upstream patch to fix double-free if appliance + building fails (RHBZ#983218). + +* Tue Jul 9 2013 Richard W.M. Jones - 1:1.23.8-2 +- New upstream version 1.23.8. +- Try enabling golang bindings. +- Add upstream patch to fix golang bindings. + +* Wed Jul 3 2013 Richard W.M. Jones - 1:1.23.7-1 +- New upstream version 1.23.7. +- Disable golang bindings. + +* Thu Jun 27 2013 Richard W.M. Jones - 1:1.23.6-2 +- Re-enable tests on i686, supposedly TCG problems are fixed + (RHBZ#857026 etc.). + +* Wed Jun 26 2013 Richard W.M. Jones - 1:1.23.6-1 +- New upstream version 1.23.6. + +* Tue Jun 18 2013 Richard W.M. Jones - 1:1.23.5-1 +- New upstream version 1.23.5. +- Fix hostname inspection because of change in Augeas (RHBZ#975412). +- Upstream libguestfs now requires Augeas >= 1.0.0. +- Kernel bug which affected mdadm is fixed (RHBZ#962079). + +* Fri Jun 14 2013 Richard W.M. Jones - 1:1.23.4-1 +- New upstream version 1.23.4. + +* Mon Jun 10 2013 Richard W.M. Jones - 1:1.23.3-1 +- New upstream version 1.23.3. + +* Wed Jun 5 2013 Richard W.M. Jones - 1:1.23.2-2 +- libguestfs-devel should depend on an explicit version of + libguestfs-tools-c, in order that the latest package is pulled in. + +* Mon Jun 3 2013 Richard W.M. Jones - 1:1.23.2-1 +- New upstream version 1.23.2. + +* Tue May 28 2013 Richard W.M. Jones - 1:1.23.1-1 +- New upstream development branch 1.23. +- New upstream version 1.21.1. + +* Tue May 21 2013 Richard W.M. Jones - 1:1.21.40-3 +- New upstream version 1.21.40. + +* Wed May 15 2013 Richard W.M. Jones - 1:1.21.39-1 +- New upstream version 1.21.39. + +* Mon May 13 2013 Richard W.M. Jones - 1:1.21.38-2 +- Bump and rebuild. + +* Sat May 11 2013 Richard W.M. Jones - 1:1.21.38-1 +- New upstream version 1.21.38. + +* Thu May 9 2013 Richard W.M. Jones - 1:1.21.37-1 +- New upstream version 1.21.37. + +* Sun May 5 2013 Richard W.M. Jones - 1:1.21.36-2 +- Bump and rebuild. + +* Thu May 2 2013 Richard W.M. Jones - 1:1.21.36-1 +- New upstream version 1.21.36. + +* Tue Apr 30 2013 Richard W.M. Jones - 1:1.21.35-1 +- New upstream version 1.21.35. + +* Mon Apr 29 2013 Richard W.M. Jones - 1:1.21.34-2 +- New upstream version 1.21.34. + +* Thu Apr 25 2013 Richard W.M. Jones - 1:1.21.33-1 +- New upstream version 1.21.33. + +* Tue Apr 23 2013 Richard W.M. Jones - 1:1.21.32-1 +- New upstream version 1.21.32. +- Fix stray backslash in spec file. +- Enable btrfs tests, since these are now stable enough not to fail usually. +- Skip gnulib tests which fail. + +* Wed Apr 17 2013 Richard W.M. Jones - 1:1.21.31-1 +- New upstream version 1.21.31. +- Rebuild against new krb5 (RHBZ#953001). + +* Tue Apr 16 2013 Richard W.M. Jones - 1:1.21.30-1 +- New upstream version 1.21.30. + +* Sat Apr 13 2013 Richard W.M. Jones - 1:1.21.29-1 +- New upstream version 1.21.29. + +* Thu Apr 11 2013 Richard W.M. Jones - 1:1.21.28-3 +- SYSLINUX only exists on x86 arches so make that dependency conditional + (thanks Dennis Gilmore). + +* Tue Apr 9 2013 Richard W.M. Jones - 1:1.21.28-2 +- New upstream version 1.21.28. +- Change attach-method -> backend in a few places. +- Simplify make install section so it fits on a single page. + +* Thu Apr 4 2013 Richard W.M. Jones - 1:1.21.27-1 +- New upstream version 1.21.27. +- Add new appliance BRs: syslinux, syslinux-extlinux. +- Add a dependency on libosinfo (partial fix for RHBZ#948324). + +* Tue Apr 2 2013 Richard W.M. Jones - 1:1.21.26-4 +- New upstream version 1.21.26. +- Use ./configure --with-default-backend=.. instead of attach-method. +- Remove Sys::Guestfs::Lib (removed upstream). +- Detect if network is available. + libguestfs_buildnet macro no longer needed. +- Enable hardened build (-fPIE, RELRO). +- Remove BRs: ncurses-devel and versioned parted. + +* Sat Mar 30 2013 Richard W.M. Jones - 1:1.21.25-1 +- New upstream version 1.21.25. + +* Fri Mar 29 2013 Richard W.M. Jones - 1:1.21.24-1 +- New upstream version 1.21.24. +- Remove patches, now upstream. + +* Fri Mar 29 2013 Richard W.M. Jones - 1:1.21.23-3 +- Add patch for broken 'file' command in Rawhide (RHBZ#928995). + +* Thu Mar 28 2013 Richard W.M. Jones - 1:1.21.23-2 +- New upstream version 1.21.23. +- Remove 'Group' which is not required by modern RPM. +- Add patch to use new-style demand-loaded bash-completion scripts. +- Spin bash-completion scripts into a new libguestfs-bash-completion package. + +* Mon Mar 18 2013 Richard W.M. Jones - 1:1.21.22-1 +- New upstream version 1.21.22. + +* Sat Mar 16 2013 Richard W.M. Jones - 1:1.21.21-2 +- Set INSTALLDIRS on both make and make install rules. + +* Fri Mar 15 2013 Richard W.M. Jones - 1:1.21.21-1 +- New upstream version 1.21.21. +- Remove ruby vendor patch. + +* Wed Mar 13 2013 Richard W.M. Jones - 1:1.21.20-1 +- New upstream version 1.21.20. +- In Fedora 19, 'ruby(abi)' has been replaced by 'ruby(release)' + and the version of the ruby ABI/release is now 2.0.0. + +* Mon Mar 11 2013 Richard W.M. Jones - 1:1.21.19-1 +- New upstream version 1.21.19. + +* Thu Mar 7 2013 Richard W.M. Jones - 1:1.21.18-1 +- New upstream version 1.21.18. + +* Tue Mar 5 2013 Richard W.M. Jones - 1:1.21.17-1 +- New upstream version 1.21.17. +- New program 'guestunmount'. + +* Fri Mar 1 2013 Richard W.M. Jones - 1:1.21.16-1 +- New upstream version 1.21.16. +- Re-enable tests, since kernel patch is upstream. + +* Tue Feb 26 2013 Richard W.M. Jones - 1:1.21.15-1 +- New upstream version 1.21.15. + +* Mon Feb 25 2013 Richard W.M. Jones - 1:1.21.14-2 +- New upstream version 1.21.14. +- Disable tests because of Rawhide kernel bug that prevents booting. + +* Wed Feb 20 2013 Richard W.M. Jones - 1:1.21.13-1 +- New upstream version 1.21.13. + +* Tue Feb 19 2013 Richard W.M. Jones - 1:1.21.12-1 +- New upstream version 1.21.12. +- Remove patch, now upstream. + +* Thu Feb 14 2013 Richard W.M. Jones - 1:1.21.11-2 +- New upstream version 1.21.11. +- Add experimental patch to capture stack trace of segfaults in the appliance. + +* Mon Feb 11 2013 Richard W.M. Jones - 1:1.21.10-1 +- New upstream version 1.21.10. + +* Sat Feb 9 2013 Richard W.M. Jones - 1:1.21.9-1 +- New upstream version 1.21.9. + +* Thu Feb 7 2013 Richard W.M. Jones - 1:1.21.8-2 +- Bump and rebuild. + +* Tue Feb 5 2013 Richard W.M. Jones - 1:1.21.8-1 +- New upstream version 1.21.8. +- Remove patch which is now upstream. +- 'febootstrap' with renamed to 'supermin' upstream. + . Depend on supermin >= 4.1.1. + . Use new --with-supermin-packager-config option. + +* Tue Feb 5 2013 Richard W.M. Jones - 1:1.21.7-4 +- Skip set_label tests because of RHBZ#906777. +- Disable btrfs tests again because RHBZ#863978 is not fixed. + +* Mon Feb 4 2013 Richard W.M. Jones - 1:1.21.7-2 +- New development version 1.21.7. +- Re-enable btrfs tests, apparently fixed upstream. + +* Mon Jan 28 2013 Richard W.M. Jones - 1:1.21.6-1 +- New development version 1.21.6. + +* Sat Jan 26 2013 Richard W.M. Jones - 1:1.21.5-3 +- Bump and rebuild. + +* Fri Jan 25 2013 Richard W.M. Jones - 1:1.21.5-2 +- Bump and rebuild. + +* Mon Jan 21 2013 Richard W.M. Jones - 1:1.21.5-1 +- New development version 1.21.5. +- Remove upstream patch. + +* Mon Jan 21 2013 Richard W.M. Jones - 1:1.21.4-3 +- Add upstream patch to allow btrfs tests to be skipped. +- Skip btrfs tests because btrfs has been broken forever (RHBZ#863978). + +* Sat Jan 19 2013 Richard W.M. Jones - 1:1.21.4-2 +- Depend on openjdk instead of java. + +* Thu Jan 17 2013 Richard W.M. Jones - 1:1.21.4-1 +- New upstream version 1.21.4. +- Add libguestfs-gobject-1.0.pc. +- Remove automake 1.13 hack, fixed upstream. +- Add explicit dependency on libcap, needed by the appliance. + +* Thu Jan 17 2013 Richard W.M. Jones - 1:1.21.3-2 +- New upstream version 1.21.3. + +* Sat Jan 12 2013 Richard W.M. Jones - 1:1.21.2-3 +- Bump and rebuild. + +* Sat Dec 22 2012 Richard W.M. Jones - 1:1.21.2-2 +- New upstream version 1.21.2. +- Use new --with-febootstrap-packager-config option. + +* Mon Dec 17 2012 Richard W.M. Jones - 1:1.21.1-3 +- Remove all RHEL-specific hacks since I've now branched RHEL 7. +- Add BR gdisk. + +* Mon Dec 17 2012 Richard W.M. Jones - 1:1.21.1-2 +- New upstream version 1.21.1 (development branch). +- Fix source URL. +- Rebase ruby site/vendor patch. +- Use 'make check -k' so we get to see all test failures at once. +- For RHEL 7: + * Do not depend on perl(Expect) (only needed to test virt-rescue). + * Depend on /usr/bin/qemu-img instead of qemu-img package, since the + package name (but not the binary) is different in RHEL 7. + * Add workaround for libvirt/KVM bug RHBZ#878406. + * Do not depend on libvirt-daemon-qemu. + * Do not depend on libldm (not yet in RHEL 7: RHBZ#887894). + +* Thu Dec 13 2012 Richard W.M. Jones - 1:1.20.0-1 +- New upstream version 1.20.0. +- New source URL for this branch. +- Reconcile upstream packagelist, BRs and Requires lists. +- Requires newest SELinux policy so that SVirt works. +- Fix patch 2. Actually, remove and replace with a small script. + +* Sat Dec 01 2012 Richard W.M. Jones - 1:1.19.66-1 +- New upstream version 1.19.66. + +* Fri Nov 30 2012 Richard W.M. Jones - 1:1.19.65-2 +- Add a hack to work around glibc header bug . + +* Thu Nov 29 2012 Richard W.M. Jones - 1:1.19.65-1 +- New upstream version 1.19.65. + +* Sat Nov 24 2012 Richard W.M. Jones - 1:1.19.64-1 +- New upstream version 1.19.64. + +* Sat Nov 24 2012 Richard W.M. Jones - 1:1.19.63-3 +- Re-add: Non-upstream patch to add the noapic flag on the kernel + command line on i386 only. This works around a bug in 32-bit qemu, + https://bugzilla.redhat.com/show_bug.cgi?id=857026 + +* Fri Nov 23 2012 Richard W.M. Jones - 1:1.19.63-2 +- Remove non-upstream patch designed to work around + https://bugzilla.redhat.com/show_bug.cgi?id=857026 + to see if this has been fixed. +- Re-enable tests on i686 to see if + https://bugzilla.redhat.com/show_bug.cgi?id=870042 + has been fixed. + +* Fri Nov 23 2012 Richard W.M. Jones - 1:1.19.63-1 +- New upstream version 1.19.63. + +* Tue Nov 20 2012 Richard W.M. Jones - 1:1.19.62-1 +- New upstream version 1.19.62. + +* Mon Nov 19 2012 Richard W.M. Jones - 1:1.19.61-1 +- New upstream version 1.19.61. + +* Sat Nov 17 2012 Richard W.M. Jones - 1:1.19.60-2 +- Remove Lua bogus libtool *.la file. + +* Sat Nov 17 2012 Richard W.M. Jones - 1:1.19.60-1 +- New upstream version 1.19.60. + +* Tue Nov 13 2012 Richard W.M. Jones - 1:1.19.59-1 +- New upstream version 1.19.59. + +* Sat Nov 10 2012 Richard W.M. Jones - 1:1.19.58-1 +- New upstream version 1.19.58. + +* Thu Nov 08 2012 Richard W.M. Jones - 1:1.19.57-1 +- New upstream version 1.19.57. + +* Tue Nov 06 2012 Richard W.M. Jones - 1:1.19.56-3 +- Add upstream patch to disable virt-format test, and disable + it because wipefs utility is broken. + +* Sat Nov 03 2012 Richard W.M. Jones - 1:1.19.56-2 +- Add upstream patch to fix wipefs test. + +* Fri Nov 02 2012 Richard W.M. Jones - 1:1.19.56-1 +- New upstream version 1.19.56. + +* Tue Oct 30 2012 Richard W.M. Jones - 1:1.19.55-1 +- New upstream version 1.19.55. + +* Mon Oct 29 2012 Richard W.M. Jones - 1:1.19.54-1 +- New upstream version 1.19.54. + +* Wed Oct 24 2012 Richard W.M. Jones - 1:1.19.53-3 +- Disable tests on ix86 because qemu/kernel is broken (RHBZ#870042). + +* Wed Oct 24 2012 Richard W.M. Jones - 1:1.19.53-2 +- Add upstream patch to fix guestfish tests. + +* Fri Oct 19 2012 Richard W.M. Jones - 1:1.19.53-1 +- New upstream version 1.19.53. + +* Sun Oct 14 2012 Richard W.M. Jones - 1:1.19.52-1 +- New upstream version 1.19.52. + +* Thu Oct 11 2012 Richard W.M. Jones - 1:1.19.51-1 +- New upstream version 1.19.51. + +* Thu Oct 11 2012 Petr Pisar - 1:1.19.50-2 +- Correct perl dependencies + +* Thu Oct 11 2012 Richard W.M. Jones - 1:1.19.50-1 +- New upstream version 1.19.50. + +* Wed Oct 10 2012 Richard W.M. Jones - 1:1.19.49-3 +- Upstream patch to workaround btrfs problems with kernel 3.7.0. + +* Tue Oct 09 2012 Richard W.M. Jones - 1:1.19.49-2 +- Install all libguestfs-live-service udev rules into /usr/lib/udev/rules.d. + +* Tue Oct 09 2012 Richard W.M. Jones - 1:1.19.49-1 +- New upstream version 1.19.49. + +* Sun Oct 07 2012 Richard W.M. Jones - 1:1.19.48-1 +- New upstream version 1.19.48. + +* Mon Oct 01 2012 Richard W.M. Jones - 1:1.19.46-1 +- New upstream version 1.19.46. + +* Wed Sep 26 2012 Richard W.M. Jones - 1:1.19.45-1 +- New upstream version 1.19.45. + +* Tue Sep 25 2012 Richard W.M. Jones - 1:1.19.44-2 +- Enable sVirt (NB: requires libvirt >= 0.10.2-3, selinux-policy >= 3.11.1-23). +- Add upstream patch to label the custom $TMPDIR used in test-launch-race. + +* Mon Sep 24 2012 Richard W.M. Jones - 1:1.19.44-1 +- New upstream version 1.19.44. + +* Sat Sep 22 2012 Richard W.M. Jones - 1:1.19.43-1 +- New upstream version 1.19.43. + +* Tue Sep 18 2012 Richard W.M. Jones - 1:1.19.42-2 +- New upstream version 1.19.42. +- Rebase sVirt (disable) patch. + +* Sun Sep 16 2012 Richard W.M. Jones - 1:1.19.41-1 +- New upstream version 1.19.41. + +* Fri Sep 14 2012 Richard W.M. Jones - 1:1.19.40-3 +- Add (non-upstream) patch to add the noapic flag on the kernel + command line on i386 only. This works around a bug in 32-bit qemu. + +* Wed Sep 12 2012 Richard W.M. Jones - 1:1.19.40-2 +- Enable tests because RHBZ#853408 has been fixed in qemu-1.2.0-3.fc18. + +* Wed Sep 05 2012 Richard W.M. Jones - 1:1.19.40-1 +- New upstream version 1.19.40. + +* Tue Sep 04 2012 Richard W.M. Jones - 1:1.19.39-1 +- New upstream version 1.19.39. + +* Mon Sep 03 2012 Richard W.M. Jones - 1:1.19.38-1 +- New upstream version 1.19.38. + +* Fri Aug 31 2012 Richard W.M. Jones - 1:1.19.37-1 +- New upstream version 1.19.37. + +* Thu Aug 30 2012 Richard W.M. Jones - 1:1.19.36-2 +- New upstream version 1.19.36. +- Require libvirt-daemon-qemu (for libvirt attach method). + +* Thu Aug 30 2012 Richard W.M. Jones - 1:1.19.36-1 +- Switch to using libvirt as the backend for running the appliance. See: + https://www.redhat.com/archives/libguestfs/2012-August/msg00070.html +- Use configure RPM macro instead of ./configure. + +* Wed Aug 29 2012 Richard W.M. Jones - 1:1.19.35-1 +- New upstream version 1.19.35. + +* Wed Aug 29 2012 Richard W.M. Jones - 1:1.19.34-2 +- Add upstream patch to fix Perl bindtests on 32 bit. + +* Tue Aug 28 2012 Richard W.M. Jones - 1:1.19.34-1 +- New upstream version 1.19.34. + +* Tue Aug 28 2012 Richard W.M. Jones - 1:1.19.33-1 +- New upstream version 1.19.33. + +* Mon Aug 27 2012 Richard W.M. Jones - 1:1.19.33-3 +- Fix Perl examples directory so we only include the examples. +- Add Java examples to java-devel RPM. + +* Tue Aug 21 2012 Richard W.M. Jones - 1:1.19.33-2 +- New upstream version 1.19.33. +- Reenable tests. + +* Sat Aug 18 2012 Richard W.M. Jones - 1:1.19.32-1 +- New upstream version 1.19.32. + +* Wed Aug 15 2012 Richard W.M. Jones - 1:1.19.31-1 +- New upstream version 1.19.31. + +* Tue Aug 14 2012 Richard W.M. Jones - 1:1.19.30-1 +- New upstream version 1.19.30. + +* Sat Aug 11 2012 Richard W.M. Jones - 1:1.19.29-2 +- New upstream version 1.19.29. +- Remove RELEASE NOTES from doc section, and add equivalent man page. + +* Fri Aug 10 2012 Richard W.M. Jones - 1:1.19.28-4 +- Bump and rebuild. + +* Thu Aug 02 2012 Richard W.M. Jones - 1:1.19.28-3 +- New upstream version 1.19.28. +- Update libguestfs-find-requires to generate ordinary lib dependencies. + +* Wed Aug 1 2012 Richard W.M. Jones - 1:1.19.27-2 +- Disable tests because of RHBZ#844485. + +* Mon Jul 30 2012 Richard W.M. Jones - 1:1.19.27-1 +- New upstream version 1.19.27. + +* Thu Jul 26 2012 Richard W.M. Jones - 1:1.19.26-2 +- Remove old RPM-isms like defattr. +- Add upstream patches to fix use of 'run' script in tests. + +* Thu Jul 26 2012 Richard W.M. Jones - 1:1.19.26-1 +- New upstream version 1.19.26. + +* Tue Jul 24 2012 Richard W.M. Jones - 1:1.19.25-1 +- New upstream version 1.19.25. + +* Mon Jul 23 2012 Richard W.M. Jones - 1:1.19.24-1 +- New upstream version 1.19.24. + +* Sun Jul 22 2012 Richard W.M. Jones - 1:1.19.23-1 +- New upstream version 1.19.23. + +* Thu Jul 19 2012 Richard W.M. Jones - 1:1.19.22-2 +- Add upstream patch to skip mount-local test if /dev/fuse not writable. + +* Thu Jul 19 2012 Richard W.M. Jones - 1:1.19.22-1 +- New upstream version 1.19.22. + +* Wed Jul 18 2012 Richard W.M. Jones - 1:1.19.21-1 +- New upstream version 1.19.21. + +* Tue Jul 17 2012 Richard W.M. Jones - 1:1.19.20-1 +- New upstream version 1.19.20. + +* Mon Jul 16 2012 Richard W.M. Jones - 1:1.19.19-1 +- New upstream version 1.19.19. + +* Tue Jul 10 2012 Petr Pisar - 1:1.19.18-2 +- Perl 5.16 rebuild + +* Mon Jul 09 2012 Richard W.M. Jones - 1:1.19.18-1 +- New upstream version 1.19.18. + +* Fri Jul 06 2012 Richard W.M. Jones - 1:1.19.17-1 +- New upstream version 1.19.17. + +* Wed Jul 04 2012 Richard W.M. Jones - 1:1.19.16-1 +- New upstream version 1.19.16. + +* Fri Jun 29 2012 Richard W.M. Jones - 1:1.19.15-1 +- New upstream version 1.19.15. + +* Thu Jun 28 2012 Richard W.M. Jones - 1:1.19.14-1 +- New upstream version 1.19.14. + +* Wed Jun 27 2012 Richard W.M. Jones - 1:1.19.13-2 +- New upstream version 1.19.13. +- Add upstream patch to fix GObject/Javascript tests. + +* Tue Jun 26 2012 Richard W.M. Jones - 1:1.19.12-1 +- New upstream version 1.19.12. + +* Mon Jun 25 2012 Richard W.M. Jones - 1:1.19.11-1 +- New upstream version 1.19.11. + +* Fri Jun 22 2012 Richard W.M. Jones - 1:1.19.10-1 +- New upstream version 1.19.10. + +* Mon Jun 18 2012 Richard W.M. Jones - 1:1.19.9-1 +- New upstream version 1.19.9. + +* Thu Jun 14 2012 Richard W.M. Jones - 1:1.19.8-1 +- New upstream version 1.19.8. + +* Thu Jun 14 2012 Richard W.M. Jones - 1:1.19.7-2 +- New upstream version 1.19.7. +- Require febotstrap >= 3.17. + +* Tue Jun 12 2012 Richard W.M. Jones - 1:1.19.6-2 +- Require febootstrap >= 3.16. + +* Tue Jun 12 2012 Richard W.M. Jones - 1:1.19.6-1 +- New upstream version 1.19.6. + +* Tue Jun 12 2012 Richard W.M. Jones - 1:1.19.6-1 +- New upstream version 1.19.6. +- This version defaults to using virtio-scsi. +- Requires qemu >= 1.0. +- Requires febootstrap >= 3.15. + +* Mon Jun 11 2012 Petr Pisar - 1:1.19.5-2 +- Perl 5.16 rebuild + +* Sat Jun 09 2012 Richard W.M. Jones - 1:1.19.5-1 +- New upstream version 1.19.5. + +* Thu Jun 07 2012 Richard W.M. Jones - 1:1.19.4-1 +- New upstream version 1.19.4. + +* Fri Jun 01 2012 Richard W.M. Jones - 1:1.19.3-2 +- New upstream version 1.19.3. +- Remove patches which are now upstream. + +* Tue May 29 2012 Richard W.M. Jones - 1:1.19.2-3 +- Remove obsolete list of bugs in make check rule. +- Remove some obsolete test workarounds. +- Disable i386 tests (because of RHBZ#825944). + +* Mon May 28 2012 Richard W.M. Jones - 1:1.19.2-2 +- Include patches to fix udev. + +* Mon May 28 2012 Richard W.M. Jones - 1:1.19.2-1 +- New upstream version 1.19.2. + +* Sat May 26 2012 Richard W.M. Jones - 1:1.19.1-1 +- New upstream version 1.19.1. + +* Mon May 21 2012 Richard W.M. Jones - 1:1.19.0-1 +- New upstream version 1.19.0. + +* Thu May 17 2012 Richard W.M. Jones - 1:1.17.43-1 +- New upstream version 1.17.43. + +* Thu May 17 2012 Richard W.M. Jones - 1:1.17.42-4 +- On RHEL 7 only, remove reiserfs-utils, zerofree. + +* Thu May 17 2012 Richard W.M. Jones - 1:1.17.42-3 +- On RHEL 7 only, remove nilfs-utils. + +* Tue May 15 2012 Richard W.M. Jones - 1:1.17.42-2 +- Bundled gnulib (RHBZ#821767). + +* Mon May 14 2012 Richard W.M. Jones - 1:1.17.42-1 +- New upstream version 1.17.42. + +* Fri May 11 2012 Richard W.M. Jones - 1:1.17.41-1 +- New upstream version 1.17.41. + +* Tue May 08 2012 Richard W.M. Jones - 1:1.17.40-1 +- New upstream version 1.17.40. + +* Tue May 8 2012 Richard W.M. Jones - 1:1.17.39-3 +- Disable hfsplus-tools on RHEL 7. + +* Thu May 03 2012 Richard W.M. Jones - 1:1.17.39-2 +- BR perl-XML-XPath to run the new XML test. + +* Thu May 03 2012 Richard W.M. Jones - 1:1.17.39-1 +- New upstream version 1.17.39. + +* Wed May 02 2012 Richard W.M. Jones - 1:1.17.38-3 +- Remove explicit runtime deps for old virt-sysprep. +- Add explicit runtime dep on fuse (RHBZ#767852, thanks Pádraig Brady). +- Remove explicit versioned dep on glibc. + +* Tue May 1 2012 Peter Robinson - 1:1.17.38-2 +- Update supported filesystems for ARM + +* Tue May 01 2012 Richard W.M. Jones - 1:1.17.38-1 +- New upstream version 1.17.38. + +* Tue May 01 2012 Richard W.M. Jones - 1:1.17.37-2 +- Add guestfs-faq(1) (FAQ is now a man page). + +* Tue May 01 2012 Richard W.M. Jones - 1:1.17.37-1 +- New upstream version 1.17.37. + +* Fri Apr 27 2012 Richard W.M. Jones - 1:1.17.36-2 +- Add upstream patch to fix installation of gobject headers. + +* Thu Apr 26 2012 Richard W.M. Jones - 1:1.17.36-1 +- New upstream version 1.17.36. + +* Thu Apr 26 2012 Richard W.M. Jones - 1:1.17.35-1 +- New upstream version 1.17.35. + +* Tue Apr 24 2012 Richard W.M. Jones - 1:1.17.34-1 +- New upstream version 1.17.34. + +* Mon Apr 23 2012 Richard W.M. Jones - 1:1.17.33-1 +- New upstream version 1.17.33. + +* Tue Apr 17 2012 Richard W.M. Jones - 1:1.17.32-1 +- New upstream version 1.17.32. + +* Mon Apr 16 2012 Richard W.M. Jones - 1:1.17.31-1 +- New upstream version 1.17.31. + +* Fri Apr 13 2012 Richard W.M. Jones - 1:1.17.30-1 +- New upstream version 1.17.30. + +* Thu Apr 12 2012 Richard W.M. Jones - 1:1.17.29-1 +- New upstream version 1.17.29. + +* Thu Apr 12 2012 Richard W.M. Jones - 1:1.17.28-2 +- Enable ruby 1.9 patch in RHEL 7 (RHBZ#812139). + +* Thu Apr 12 2012 Richard W.M. Jones - 1:1.17.28-1 +- New upstream version 1.17.28. + +* Wed Apr 11 2012 Richard W.M. Jones - 1:1.17.27-2 +- Add guestfs-performance(1) manual page. + +* Tue Apr 10 2012 Richard W.M. Jones - 1:1.17.27-1 +- New upstream version 1.17.27. + +* Tue Apr 03 2012 Richard W.M. Jones - 1:1.17.26-1 +- New upstream version 1.17.26. + +* Mon Apr 02 2012 Richard W.M. Jones - 1:1.17.25-1 +- New upstream version 1.17.25. + +* Sun Apr 01 2012 Richard W.M. Jones - 1:1.17.24-1 +- New upstream version 1.17.24. + +* Sun Apr 01 2012 Richard W.M. Jones - 1:1.17.23-1 +- New upstream version 1.17.23. + +* Thu Mar 29 2012 Richard W.M. Jones - 1:1.17.22-2 +- Include all gobject header files. +- Include gtk-doc, and depend on the gtk-doc package at runtime. + +* Thu Mar 29 2012 Richard W.M. Jones - 1:1.17.22-1 +- New upstream version 1.17.22. + +* Thu Mar 29 2012 Richard W.M. Jones - 1:1.17.21-2 +- Bump and rebuild. + +* Wed Mar 21 2012 Richard W.M. Jones - 1:1.17.21-1 +- New upstream version 1.17.21. + +* Mon Mar 19 2012 Richard W.M. Jones - 1:1.17.20-3 +- Reenable LUKS, since RHBZ#804345 is reported to be fixed. + +* Sun Mar 18 2012 Richard W.M. Jones - 1:1.17.20-2 +- Disable LUKS tests because LUKS is broken in Rawhide (RHBZ#804345). + +* Sat Mar 17 2012 Richard W.M. Jones - 1:1.17.20-1 +- New upstream version 1.17.20. + +* Sat Mar 17 2012 Richard W.M. Jones - 1:1.17.19-2 +- Add libguestfs-make-fixed-appliance (with man page). + +* Fri Mar 16 2012 Richard W.M. Jones - 1:1.17.19-1 +- New upstream version 1.17.19. + +* Thu Mar 15 2012 Richard W.M. Jones - 1:1.17.18-1 +- New upstream version 1.17.18. + +* Wed Mar 14 2012 Richard W.M. Jones - 1:1.17.17-1 +- New upstream version 1.17.17. + +* Wed Mar 14 2012 Richard W.M. Jones - 1:1.17.16-2 +- Bump and rebuild. + +* Tue Mar 13 2012 Richard W.M. Jones - 1:1.17.16-1 +- New upstream version 1.17.16. + +* Mon Mar 12 2012 Richard W.M. Jones - 1:1.17.15-1 +- New upstream version 1.17.15. + +* Fri Mar 09 2012 Richard W.M. Jones - 1:1.17.14-1 +- New upstream version 1.17.14. + +* Thu Mar 08 2012 Richard W.M. Jones - 1:1.17.13-1 +- New upstream version 1.17.13. + +* Thu Mar 08 2012 Richard W.M. Jones - 1:1.17.12-2 +- Enable Japanese man pages, since these are in a better state upstream. + +* Wed Mar 07 2012 Richard W.M. Jones - 1:1.17.12-1 +- New upstream version 1.17.12. + +* Wed Mar 07 2012 Richard W.M. Jones - 1:1.17.11-2 +- Require netpbm-progs, icoutils. These are needed for icon generation + during inspection, but were not being pulled in before. + +* Mon Mar 05 2012 Richard W.M. Jones - 1:1.17.11-1 +- New upstream version 1.17.11. + +* Sat Mar 03 2012 Richard W.M. Jones - 1:1.17.10-2 +- New upstream version 1.17.10. +- Rebase Ruby patch against new libguestfs. + +* Wed Feb 29 2012 Richard W.M. Jones - 1:1.17.9-1 +- New upstream version 1.17.9. + +* Wed Feb 15 2012 Richard W.M. Jones - 1:1.17.8-1 +- New upstream version 1.17.8. + +* Mon Feb 13 2012 Richard W.M. Jones - 1:1.17.7-1 +- New upstream version 1.17.7. + +* Fri Feb 10 2012 Richard W.M. Jones - 1:1.17.6-1 +- +BR ruby-irb. +- Make virtio unconditional. It's been a very long time since disabling + virtio was a good idea. +- Disable some packages not available in RHEL 7. +- New upstream version 1.17.6. + +* Fri Feb 10 2012 Petr Pisar - 1:1.17.5-3 +- Rebuild against PCRE 8.30 + +* Thu Feb 9 2012 Richard W.M. Jones - 1:1.17.5-2 +- Rebuild with ruby(abi) = 1.9.1. + +* Wed Feb 8 2012 Richard W.M. Jones - 1:1.17.5-1 +- New upstream version 1.17.5. +- Remove usrmove workaround patch, now upstream. + +* Wed Feb 8 2012 Richard W.M. Jones - 1:1.17.4-8 +- Further Ruby 1.9 changes. + +* Tue Feb 07 2012 Richard W.M. Jones - 1:1.17.4-7 +- Bump and rebuild for Ruby update. + +* Mon Feb 6 2012 Richard W.M. Jones - 1:1.17.4-6 +- Add workaround for usrmove in Fedora. + +* Wed Feb 1 2012 Richard W.M. Jones - 1:1.17.4-1 +- New upstream version 1.17.4. +- Remove patch now upstream. + +* Sat Jan 28 2012 Richard W.M. Jones - 1:1.17.3-2 +- New upstream version 1.17.3. +- Remove patch now upstream. +- Add upstream patch to fix OCaml bytecode compilation. + +* Fri Jan 27 2012 Richard W.M. Jones - 1:1.17.2-3 +- Upstream patch to work with udev >= 176. + +* Thu Jan 26 2012 Richard W.M. Jones - 1:1.17.2-2 +- New upstream version 1.17.2. +- Use libdb-utils instead of old db4-utils. +- net-tools is no longer used; replaced by iproute (RHBZ#784647). +- Try re-enabling tests on i686. + +* Tue Jan 24 2012 Richard W.M. Jones - 1:1.17.1-1 +- New upstream version 1.17.1. + +* Mon Jan 23 2012 Richard W.M. Jones - 1:1.16.0-1 +- New upstream version 1.16.0. +- Remove patches which are now upstream. +- GObject: Move *.typelib file to base gobject package. + +* Sun Jan 22 2012 Richard W.M. Jones - 1:1.15.19-1 +- New upstream version 1.15.19. +- +BR psmisc for the appliance. +- Includes GObject bindings in libguestfs-gobject and + libguestfs-gobject-devel subpackages. +- Include upstream patches for PHP 5.4. + +* Thu Jan 19 2012 Richard W.M. Jones - 1:1.15.18-1 +- New upstream version 1.15.18. + +* Wed Jan 18 2012 Richard W.M. Jones - 1:1.15.17-1 +- New upstream version 1.15.17. +- New tool: virt-format. + +* Tue Jan 10 2012 Richard W.M. Jones - 1:1.15.16-1 +- New upstream version 1.15.16. + +* Sun Jan 8 2012 Richard W.M. Jones - 1:1.15.15-2 +- New upstream version 1.15.15. +- Updated gnulib fixes builds with gcc 4.7. +- Rebuild for OCaml 3.12.1. +- Add explicit BR perl-hivex, required for various Perl virt tools. + +* Fri Dec 23 2011 Richard W.M. Jones - 1:1.15.14-1 +- New upstream version 1.15.14. +- Remove three patches, now upstream. + +* Thu Dec 22 2011 Richard W.M. Jones - 1:1.15.13-4 +- New upstream version 1.15.13. +- Fixes Security: Mitigate possible privilege escalation via SG_IO ioctl + (CVE-2011-4127, RHBZ#757071). +- Add three upstream patches to fix 'make check'. + +* Thu Dec 22 2011 Richard W.M. Jones - 1:1.15.12-1 +- New upstream version 1.15.12. + +* Fri Dec 9 2011 Richard W.M. Jones - 1:1.15.11-1 +- New upstream version 1.15.11. + +* Tue Dec 6 2011 Richard W.M. Jones - 1:1.15.10-1 +- New upstream version 1.15.10. +- Remove patch, now upstream. + +* Sat Dec 3 2011 Richard W.M. Jones - 1:1.15.9-2 +- New upstream version 1.15.9. +- Add upstream patch to fix Augeas library detection. +- Appliance explicitly requires libxml2 (because Augeas >= 0.10 requires it), + although it was implicitly included already. + +* Tue Nov 29 2011 Richard W.M. Jones - 1:1.15.8-1 +- New upstream version 1.15.8. + +* Tue Nov 29 2011 Richard W.M. Jones - 1:1.15.7-1 +- New upstream version 1.15.7. + +* Thu Nov 24 2011 Richard W.M. Jones - 1:1.15.6-1 +- New upstream version 1.15.6. + +* Mon Nov 21 2011 Richard W.M. Jones - 1:1.15.5-1 +- New upstream version 1.15.5. +- Add guestfs-testing(1) man page. + +* Thu Nov 17 2011 Richard W.M. Jones - 1:1.15.4-2 +- New upstream version 1.15.4. +- Remove patch which is now upstream. +- libguestfs_jni.a is no longer built. + +* Fri Nov 11 2011 Richard W.M. Jones - 1:1.15.3-3 +- Add upstream patch to disable part of virt-df test. + +* Thu Nov 10 2011 Richard W.M. Jones - 1:1.15.3-1 +- New upstream version 1.15.3. +- Fix list of BuildRequires so they precisely match the appliance. + +* Thu Nov 3 2011 Richard W.M. Jones - 1:1.15.2-1 +- New upstream version 1.15.2. +- ocaml-pcre is no longer required for virt-resize. +- xmlstarlet is no longer required for virt-sysprep. + +* Tue Nov 1 2011 Richard W.M. Jones - 1:1.15.1-1 +- New upstream version 1.15.1. + +* Fri Oct 28 2011 Richard W.M. Jones - 1:1.15.0-1 +- Stable branch 1.14.0 was released. This is the new development + branch version 1.15.0. + +* Wed Oct 26 2011 Richard W.M. Jones - 1:1.13.26-1 +- New upstream version 1.13.26. + +* Wed Oct 26 2011 Richard W.M. Jones - 1:1.13.25-1 +- New upstream version 1.13.25. + +* Mon Oct 24 2011 Richard W.M. Jones - 1:1.13.24-1 +- New upstream version 1.13.24. +- This version includes upstream workarounds for broken qemu, so both + non-upstream patches have now been removed from Fedora. + +* Fri Oct 21 2011 Marcela Mašláňová - 1:1.13.23-1.1 +- rebuild with new gmp without compat lib + +* Thu Oct 20 2011 Richard W.M. Jones - 1:1.13.23-1 +- New upstream version 1.13.23. + +* Wed Oct 19 2011 Richard W.M. Jones - 1:1.13.22-2 +- New upstream version 1.13.22. +- Remove 3x upstream patches. +- Renumber the two remaining non-upstream patches as patch0, patch1. +- Rebase patch1. + +* Mon Oct 17 2011 Richard W.M. Jones - 1:1.13.21-4 +- Add upstream patch to skip FUSE tests if there is no /dev/fuse. + This allows us also to remove the Fedora-specific patch which + disabled these tests before. + +* Sat Oct 15 2011 Richard W.M. Jones - 1:1.13.21-3 +- Add upstream patch to fix virt-sysprep test. + +* Fri Oct 14 2011 Richard W.M. Jones - 1:1.13.21-2 +- New upstream version 1.13.21. +- Move virt-sysprep to libguestfs-tools, to avoid pulling in extra + dependencies for RHEV-H. This tool is not likely to be useful + for RHEV-H in its current form anyway. +- Change BR cryptsetup-luks -> cryptsetup since that package changed. + +* Wed Oct 12 2011 Peter Schiffer - 1:1.13.20-1.1 +- rebuild with new gmp + +* Tue Oct 11 2011 Richard W.M. Jones - 1:1.13.20-1 +- New upstream version 1.13.20. + +* Sat Oct 8 2011 Richard W.M. Jones - 1:1.13.19-1 +- New upstream version 1.13.19. +- New tool: virt-sysprep. +- Remove the old guestfish and libguestfs-mount packages, and put these + tools into libguestfs-tools. This change is long overdue, but is also + necessitated by the new virt-sysprep tool. This new tool would pull + in guestfish anyway, so having separate packages makes no sense. +- Remove old obsoletes for virt-cat, virt-df, virt-df2 and virt-inspector, + since those packages existed only in much older Fedora. + +* Wed Oct 5 2011 Richard W.M. Jones - 1:1.13.18-1 +- New upstream version 1.13.18. +- New tool: virt-alignment-scan. + +* Tue Oct 4 2011 Richard W.M. Jones - 1:1.13.17-1 +- New upstream version 1.13.17. +- New tool: virt-sparsify. + +* Sat Oct 1 2011 Richard W.M. Jones - 1:1.13.16-1 +- New upstream version 1.13.16. + +* Thu Sep 29 2011 Richard W.M. Jones - 1:1.13.15-2 +- Rearrange description to make it clearer. +- virt-resize was written in OCaml. Move it to libguestfs-tools-c + subpackage since it doesn't require Perl. + +* Wed Sep 28 2011 Richard W.M. Jones - 1:1.13.15-1 +- New upstream version 1.13.15. +- Add lzop program to the appliance (for compress-out API). +- Remove upstream patch. + +* Mon Sep 26 2011 Richard W.M. Jones - 1:1.13.14-2 +- Upstream patch to fix timer check failures during boot (RHBZ#502058). + +* Sat Sep 24 2011 Richard W.M. Jones - 1:1.13.14-1 +- New upstream version 1.13.14. + +* Wed Sep 21 2011 Richard W.M. Jones - 1:1.13.13-1 +- Add Erlang bindings in erlang-libguestfs subpackage. +- Remove upstream patch. + +* Fri Sep 16 2011 Richard W.M. Jones - 1:1.13.12-4 +- Don't require grub. See RHBZ#737261. +- Note this (hopefully temporarily) breaks guestfs_grub_install API. +- Include upstream patch to add guestfs_grub_install into an optional group. + +* Wed Sep 14 2011 Richard W.M. Jones - 1:1.13.12-1 +- New upstream version 1.13.12. + +* Thu Sep 1 2011 Richard W.M. Jones - 1:1.13.11-1 +- New upstream version 1.13.11. + +* Tue Aug 30 2011 Richard W.M. Jones - 1:1.13.10-2 +- Remove MAKEDEV dependency (RHBZ#727247). + +* Sun Aug 28 2011 Richard W.M. Jones - 1:1.13.10-1 +- New upstream version 1.13.10. + +* Fri Aug 26 2011 Richard W.M. Jones - 1:1.13.9-1 +- New upstream version 1.13.9. + +* Fri Aug 26 2011 Richard W.M. Jones - 1:1.13.8-1 +- New upstream version 1.13.8. +- Static python library is no longer built, so don't rm it. + +* Tue Aug 23 2011 Richard W.M. Jones - 1:1.13.7-1 +- New upstream version 1.13.7. +- configure --with-extra version string contains Fedora release. +- Build with make V=1 to display full compile commands. +- Remove /usr/sbin PATH setting, not used for a very long time. + +* Fri Aug 19 2011 Richard W.M. Jones - 1:1.13.6-2 +- New upstream version 1.13.6. +- Rebase non-upstream patch to fix qemu -machine option. + +* Wed Aug 17 2011 Richard W.M. Jones - 1:1.13.5-1 +- New upstream version 1.13.5. + +* Thu Aug 11 2011 Richard W.M. Jones - 1:1.13.4-1 +- New upstream version 1.13.4. + +* Mon Aug 8 2011 Richard W.M. Jones - 1:1.13.3-4 +- New upstream version 1.13.3. +- 'test-getlogin_r.c:55: assertion failed' test must now be fixed in + gnulib/tests directory instead of daemon/tests (the latter directory + no longer exists). +- Only run testsuite on x86_64 because of qemu bug. + +* Tue Aug 2 2011 Richard W.M. Jones - 1:1.13.2-3 +- Switch Rawhide to use the new development branch (1.13). +- New upstream version 1.13.2. +- Remove upstream patch. +- Ensure config.log is printed, even in the error case. + +* Tue Jul 26 2011 Richard W.M. Jones - 1:1.12.1-4 +- New upstream stable branch version 1.12.1. +- Remove 5 x upstream patches. +- Add non-upstream patch to deal with broken qemu -machine option. +- Add upstream patch to fix segfault in OCaml bindings. + +* Tue Jul 26 2011 Richard W.M. Jones - 1:1.12.0-11 +- Bump and rebuild. + +* Fri Jul 22 2011 Richard W.M. Jones - 1:1.12.0-10 +- Rebuild against fixed hivex 1.2.7-7 in dist-f16-perl. + +* Thu Jul 21 2011 Richard W.M. Jones - 1:1.12.0-9 +- Attempt rebuild in dist-f16-perl. + +* Thu Jul 21 2011 Petr Sabata - 1:1.12.0-8 +- Perl mass rebuild + +* Thu Jul 21 2011 Richard W.M. Jones - 1:1.12.0-4 +- Disable tests, use quickcheck, because of RHBZ#723555, RHBZ#723822. + +* Wed Jul 20 2011 Richard W.M. Jones - 1:1.12.0-2 +- Readd patch to fix virtio-serial test for qemu 0.15. + +* Wed Jul 20 2011 Richard W.M. Jones - 1:1.12.0-1 +- New stable version 1.12.0 for Fedora 16. +- Remove upstream patch. +- Disable tests on i686 (because of RHBZ#723555). + +* Wed Jul 20 2011 Petr Sabata - 1:1.11.20-3 +- Perl mass rebuild + +* Tue Jul 19 2011 Richard W.M. Jones - 1:1.11.20-2 +- Add upstream patch to fix virtio-serial test for qemu 0.15. + +* Tue Jul 19 2011 Richard W.M. Jones - 1:1.11.20-1 +- New upstream version 1.11.20. +- Replace standard README file with one suited for Fedora. +- Add guestfs-java(3) manpage to libguestfs-java-devel package. + +* Mon Jul 18 2011 Richard W.M. Jones - 1:1.11.19-1 +- New upstream version 1.11.19. +- Remove upstream patch. +- Add Ukrainian (uk) man pages subpackage. + +* Fri Jul 15 2011 Richard W.M. Jones - 1:1.11.18-2 +- Add upstream patch to fix regression test. + +* Fri Jul 15 2011 Richard W.M. Jones - 1:1.11.18-1 +- New upstream version 1.11.18. +- Force febootstrap >= 3.7 which contains a fix for latest Rawhide. +- Use --enable-install-daemon to install guestfsd. + +* Thu Jul 14 2011 Richard W.M. Jones - 1:1.11.17-1 +- New upstream version 1.11.17. + +* Wed Jul 13 2011 Richard W.M. Jones - 1:1.11.16-1 +- New upstream version 1.11.16. + +* Tue Jul 12 2011 Richard W.M. Jones - 1:1.11.15-1 +- New upstream version 1.11.15. + +* Wed Jul 6 2011 Richard W.M. Jones - 1:1.11.14-1 +- New upstream version 1.11.14. + +* Wed Jul 6 2011 Richard W.M. Jones - 1:1.11.13-3 +- Further updates to libguestfs-live-service after feedback from + Dan Berrange and Lennart Poettering. + +* Tue Jul 5 2011 Richard W.M. Jones - 1:1.11.13-2 +- Add libguestfs-live-service subpackage. This can be installed in + virtual machines in order to enable safe editing of files in running + guests (eg. guestfish --live). + +* Thu Jun 30 2011 Richard W.M. Jones - 1:1.11.13-1 +- New upstream version 1.11.13. + +* Wed Jun 29 2011 Richard W.M. Jones - 1:1.11.12-3 +- Bump and rebuild for parted 3.0. +- Depend on fixed parted >= 3.0-2. + +* Tue Jun 28 2011 Richard W.M. Jones - 1:1.11.12-1 +- New upstream version 1.11.12. + +* Tue Jun 21 2011 Richard W.M. Jones - 1:1.11.11-1 +- New upstream version 1.11.11. + +* Mon Jun 20 2011 Richard W.M. Jones - 1:1.11.10-3 +- Temporarily stop setting CCFLAGS in perl subdirectory. + See: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=628522 + +* Fri Jun 17 2011 Marcela Mašláňová - 1:1.11.10-2 +- Perl mass rebuild + +* Fri Jun 10 2011 Richard W.M. Jones - 1:1.11.10-1 +- New upstream version 1.11.10. +- Enable tests since fix for RHBZ#710921 is in Rawhide kernel package. + +* Fri Jun 10 2011 Marcela Mašláňová - 1:1.11.9-8 +- Perl 5.14 mass rebuild + +* Sun Jun 5 2011 Richard W.M. Jones - 1:1.11.9-7 +- Build against new parted. +- Disable tests on i686 because of RHBZ#710921. +- Remove recipes/ doc directory. This is no longer present because it + was replaced by a guestfs-recipes(1) man page. + +* Sat Jun 4 2011 Richard W.M. Jones - 1:1.11.9-1 +- New upstream version 1.11.9. + +* Wed May 18 2011 Richard W.M. Jones - 1:1.11.8-1 +- New upstream version 1.11.8. +- "zero" command test is fixed now, so we don't need to skip it. + +* Tue May 17 2011 Richard W.M. Jones - 1:1.11.7-3 +- New upstream version 1.11.7. +- Depends on hivex >= 1.2.7. +- Remove upstream patch. +- Skip test of "zero" command (RHBZ#705499). + +* Mon May 9 2011 Richard W.M. Jones - 1:1.11.5-2 +- configure: Use Python platform-dependent site-packages. + +* Mon May 9 2011 Richard W.M. Jones - 1:1.11.5-1 +- New upstream version 1.11.5. +- virt-edit has been rewritten in C, therefore this tool has been moved + into the libguestfs-tools-c package. + +* Sun May 8 2011 Richard W.M. Jones - 1:1.11.4-1 +- New upstream version 1.11.4. + +* Fri Apr 22 2011 Richard W.M. Jones - 1:1.11.3-1 +- New upstream version 1.11.3. + +* Mon Apr 18 2011 Richard W.M. Jones - 1:1.11.2-1 +- New upstream version 1.11.2. +- Fixes Python bindings when used in Python threads. +- Remove upstream patch. + +* Sat Apr 16 2011 Richard W.M. Jones - 1:1.11.1-2 +- New upstream version 1.11.1. +- Add upstream patch so we don't depend on libtool. + +* Fri Apr 15 2011 Richard W.M. Jones - 1:1.11.0-2 +- Bump and rebuild. + +* Tue Apr 12 2011 Richard W.M. Jones - 1:1.11.0-1 +- New upstream development branch 1.11.0. +- New Source URL. +- Remove patches which are now upstream. + +* Sun Apr 10 2011 Richard W.M. Jones - 1:1.9.18-4 +- Include further fixes to virt-resize from upstream. + +* Sat Apr 9 2011 Richard W.M. Jones - 1:1.9.18-2 +- New upstream version 1.9.18. +- Requires ocaml-pcre for new virt-resize. +- Remove libguestfs-test-tool-helper program which is no longer used. +- Include upstream fix for virt-resize build. + +* Wed Apr 6 2011 Richard W.M. Jones - 1:1.9.17-2 +- Remove partially translated Ukrainian manpages. + +* Tue Apr 5 2011 Richard W.M. Jones - 1:1.9.17-1 +- New upstream version 1.9.17. + +* Fri Apr 1 2011 Richard W.M. Jones - 1:1.9.16-1 +- New upstream version 1.9.16. + +* Fri Apr 1 2011 Richard W.M. Jones - 1:1.9.15-1 +- New upstream version 1.9.15. +- Add BR libconfig-devel. +- Add /etc/libguestfs-tools.conf (config file for guestfish, guestmount, + virt-rescue; in future for other tools as well). + +* Mon Mar 28 2011 Richard W.M. Jones - 1:1.9.14-1 +- New upstream version 1.9.14. +- Include 'acl' as BR so virt-rescue gets getfacl and setfacl programs. + +* Mon Mar 28 2011 Richard W.M. Jones - 1:1.9.13-2 +- Include 'attr' as BR (required for getfattr, setfattr programs in + virt-rescue). + +* Thu Mar 24 2011 Richard W.M. Jones - 1:1.9.13-1 +- New upstream version 1.9.13. + +* Fri Mar 18 2011 Richard W.M. Jones - 1:1.9.12-1 +- New upstream version 1.9.12. + +* Wed Mar 16 2011 Richard W.M. Jones - 1:1.9.11-2 +- Add runtime requires on minimum glibc because of newly readable binaries. + +* Tue Mar 15 2011 Richard W.M. Jones - 1:1.9.11-1 +- New upstream version 1.9.11. +- Add generated Ruby documentation (rdoc). + +* Tue Mar 8 2011 Richard W.M. Jones - 1:1.9.10-1 +- New upstream version 1.9.10. +- Remove patches (now upstream). + +* Fri Mar 4 2011 Richard W.M. Jones - 1:1.9.9-2 +- Include upstream patches to fix virt-make-fs with qemu-img 0.14. + +* Fri Mar 4 2011 Richard W.M. Jones - 1:1.9.9-1 +- New upstream version 1.9.9. + +* Tue Feb 08 2011 Fedora Release Engineering - 1:1.9.8-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Sun Feb 6 2011 Richard W.M. Jones - 1:1.9.8-1 +- New upstream version 1.9.8. + +* Sun Feb 6 2011 Richard W.M. Jones - 1:1.9.7-7 +- Rebuild against rpm-4.9.0-0.beta1.6.fc15 to fix OCaml deps. See discussion: + http://lists.fedoraproject.org/pipermail/devel/2011-February/148398.html + +* Wed Feb 2 2011 Richard W.M. Jones - 1:1.9.7-6 +- Add temporary non-upstream patch to fix /etc/mtab. + See: https://www.redhat.com/archives/libguestfs/2011-February/msg00006.html +- Add fix for regressions/rhbz557655.sh so it works when tracing is enabled. +- Add guestfs-perl(3) man page. + +* Tue Feb 1 2011 Richard W.M. Jones - 1:1.9.7-3 +- Enable trace in 'make check' section. + +* Sun Jan 30 2011 Richard W.M. Jones - 1:1.9.7-1 +- New upstream version 1.9.7. + +* Wed Jan 26 2011 Richard W.M. Jones - 1:1.9.6-2 +- Bump and rebuild. + +* Sat Jan 22 2011 Richard W.M. Jones - 1:1.9.6-1 +- New upstream version 1.9.6. + +* Tue Jan 18 2011 Richard W.M. Jones - 1:1.9.5-1 +- New upstream version 1.9.5. + +* Sat Jan 15 2011 Richard W.M. Jones - 1:1.9.4-1 +- New upstream version 1.9.4. + +* Fri Jan 14 2011 Richard W.M. Jones - 1:1.9.3-2 +- Only runtime require febootstrap-supermin-helper (not whole of + febootstrap). + +* Tue Jan 11 2011 Richard W.M. Jones - 1:1.9.3-1 +- New upstream version 1.9.3. + +* Wed Jan 05 2011 Richard W.M. Jones - 1:1.9.2-2 +- Bump and rebuild. + +* Mon Jan 3 2011 Richard W.M. Jones - 1:1.9.2-1 +- New upstream version 1.9.2. +- New tools: virt-copy-in, virt-copy-out, virt-tar-in, virt-tar-out. + These are just shell script wrappers around guestfish so they are + included in the guestfish package. + +* Fri Dec 31 2010 Richard W.M. Jones - 1:1.9.1-1 +- New upstream version 1.9.1. + +* Tue Dec 21 2010 Richard W.M. Jones - 1:1.9.0-2 +- Bump and rebuild. + +* Sun Dec 19 2010 Richard W.M. Jones - 1:1.9.0-1 +- New upstream development branch 1.9.0. +- Include ROADMAP in devel package. + +* Thu Dec 16 2010 Richard Jones - 1:1.7.24-1 +- New upstream version 1.7.24. +- Adds getxattr/lgetxattr APIs to support guestfs-browser. + +* Sat Dec 11 2010 Richard Jones - 1:1.7.23-1 +- New upstream version 1.7.23. + +* Sat Dec 11 2010 Richard Jones - 1:1.7.22-1 +- New upstream version 1.7.22. +- Depend on febootstrap 3.3 which fixes the checksum stability problem. + +* Fri Dec 10 2010 Richard Jones - 1:1.7.21-1 +- New upstream version 1.7.21. + +* Tue Dec 7 2010 Richard Jones - 1:1.7.20-1 +- New upstream version 1.7.20. +- Remove patches which are upstream. + +* Tue Dec 7 2010 Richard Jones - 1:1.7.19-15 +- Rebuild appliance with febootstrap 3.1-5 because we accidentally + reopened RHBZ#654638. + +* Mon Dec 6 2010 Richard Jones - 1:1.7.19-14 +- Rebuild appliance properly using febootstrap 3.1 and alternate yum repo. + +* Sun Dec 5 2010 Richard Jones - 1:1.7.19-1 +- New upstream development version 1.7.19. +- Appliance building in this version has been substantially rewritten + and this requires febootstrap >= 3.0 to build. +- createrepo no longer required. +- Supermin appliance is the default. + +* Wed Dec 1 2010 Richard Jones - 1:1.7.18-1 +- New upstream development version 1.7.18. + +* Tue Nov 30 2010 Richard Jones - 1:1.7.17-1 +- New upstream development version 1.7.17. + +* Fri Nov 26 2010 Richard Jones - 1:1.7.16-1 +- New upstream development version 1.7.16. +- guestfish no longer requires pod2text, hence no longer requires perl. +- Require febootstrap >= 2.11. + +* Fri Nov 26 2010 Richard Jones - 1:1.7.15-2 +- New upstream development version 1.7.15. +- Split out new libguestfs-tools-c package from libguestfs-tools. + . This is so that the -tools-c package can be pulled in by people + wanting to avoid a dependency on Perl, while -tools pulls in everything + as before. + . The C tools currently are: cat, df, filesystems, fish, inspector, ls, + mount, rescue. + . guestfish still requires pod2text which requires perl. This will be + rectified in the next release. + . libguestfs-tools no longer pulls in guestfish. +- guestfish also depends on: less, man, vi +- Add BR db4-utils (although since RPM needs it, it not really necessary). +- Runtime requires on db4-utils should be on core lib, not tools package. +- Change all "Requires: perl-Foo" to "Requires: perl(Foo)". + +* Thu Nov 25 2010 Richard Jones - 1:1.7.14-1 +- New upstream development version 1.7.14. + +* Wed Nov 24 2010 Richard Jones - 1:1.7.13-3 +- New upstream development version 1.7.13. +- New manual pages containing example code. +- Ship examples for C, OCaml, Ruby, Python. +- Don't ship HTML versions of man pages. +- Rebase no-fuse-test patch to latest version. + +* Tue Nov 23 2010 Richard Jones - 1:1.7.12-1 +- New upstream development version 1.7.12. +- New tool: virt-filesystems. virt-list-filesystems and virt-list-partitions + are deprecated, but still included in the package. + +* Wed Nov 17 2010 Richard Jones - 1:1.7.11-1 +- New upstream development version 1.7.11. +- Fix Source0 URL which had pointed to the 1.5 directory. +- virt-inspector is not a dependency of guestmount. + +* Wed Nov 17 2010 Richard Jones - 1:1.7.10-1 +- New upstream development version 1.7.10. + +* Tue Nov 16 2010 Richard Jones - 1:1.7.9-1 +- New upstream development version 1.7.9. + +* Mon Nov 15 2010 Richard Jones - 1:1.7.8-1 +- New upstream development version 1.7.8. +- Add Obsoletes so perl-Sys-Guestfs overrides perl-libguestfs (RHBZ#652587). + +* Mon Nov 15 2010 Richard Jones - 1:1.7.7-1 +- New upstream development version 1.7.7. +- Rename perl-libguestfs as perl-Sys-Guestfs (RHBZ#652587). + +* Sat Nov 13 2010 Richard Jones - 1:1.7.6-1 +- New upstream development version 1.7.6. + +* Sat Nov 13 2010 Richard Jones - 1:1.7.5-2 +- New upstream development version 1.7.5. +- Remove hand-installation of Ruby bindings. +- Remove upstream patch. + +* Thu Nov 11 2010 Richard Jones - 1:1.7.4-2 +- New upstream development version 1.7.4. +- ocaml-xml-light is no longer required. +- Remove guestfs-actions.h and guestfs-structs.h. Libguestfs now + only exports a single header file. +- Add patch to fix broken Perl test. +- Remove workaround for RHBZ#563103. + +* Mon Nov 8 2010 Richard Jones - 1:1.7.3-1 +- New upstream development version 1.7.3. +- Add AUTHORS file from tarball. + +* Fri Nov 5 2010 Richard Jones - 1:1.7.2-1 +- New upstream development version 1.7.2. +- Add requires ruby to ruby-libguestfs package. + +* Wed Nov 3 2010 Richard Jones - 1:1.7.1-1 +- New upstream development version 1.7.1. +- Add BR gperf. + +* Tue Nov 2 2010 Richard Jones - 1:1.7.0-1 +- New upstream development branch and version 1.7.0. + +* Fri Oct 29 2010 Richard Jones - 1:1.5.26-1 +- New upstream development version 1.5.26. + +* Thu Oct 28 2010 Richard Jones - 1:1.5.25-1 +- New upstream development version 1.5.25. +- Rewritten virt-inspector. +- Requires febootstrap >= 2.10. +- New virt-inspector requires db_dump program. + +* Wed Oct 27 2010 Richard Jones - 1:1.5.24-2 +- Attempt to run tests. + +* Wed Oct 27 2010 Richard Jones - 1:1.5.24-1 +- New upstream development version 1.5.24. + +* Sat Oct 23 2010 Richard Jones - 1:1.5.23-1 +- Fix for libguestfs: missing disk format specifier when adding a disk + (RHBZ#642934, CVE-2010-3851). + +* Tue Oct 19 2010 Richard Jones - 1:1.5.22-1 +- New upstream development version 1.5.22. + +* Sat Oct 9 2010 Richard Jones - 1:1.5.21-2 +- guestfish no longer requires virt-inspector. + +* Fri Oct 1 2010 Richard Jones - 1:1.5.21-1 +- New upstream development version 1.5.21. + +* Sun Sep 26 2010 Richard Jones - 1:1.5.20-1 +- New upstream development version 1.5.20. + +* Wed Sep 22 2010 Richard Jones - 1:1.5.18-1 +- New upstream development version 1.5.18. +- Note that guestfish '-a' and '-d' options were broken in 1.5.17, so + upgrading to this version is highly recommended. + +* Tue Sep 21 2010 Richard Jones - 1:1.5.17-1 +- New upstream development version 1.5.17. + +* Wed Sep 15 2010 Richard Jones - 1:1.5.16-1 +- New upstream development version 1.5.16. + +* Wed Sep 15 2010 Richard Jones - 1:1.5.15-1 +- New upstream development version 1.5.15. + +* Tue Sep 14 2010 Richard Jones - 1:1.5.14-1 +- New upstream development version 1.5.14. + +* Mon Sep 13 2010 Richard Jones - 1:1.5.13-1 +- New upstream version 1.5.13. +- Removed the patch workaround for RHBZ#630583. The same workaround + is now upstream (the bug is not fixed). + +* Sat Sep 11 2010 Richard Jones - 1:1.5.12-1 +- New upstream version 1.5.12. + +* Fri Sep 10 2010 Richard Jones - 1:1.5.11-1 +- New upstream version 1.5.11. +- Note: fixes a serious bug in guestfish 'copy-out' command. + +* Thu Sep 9 2010 Richard Jones - 1:1.5.10-1 +- New upstream version 1.5.10. + +* Wed Sep 8 2010 Richard Jones - 1:1.5.9-2 +- Disable tests, still failing because of RHBZ#630777. + +* Wed Sep 8 2010 Richard Jones - 1:1.5.9-1 +- New upstream version 1.5.9. + +* Mon Sep 6 2010 Richard Jones - 1:1.5.8-2 +- Add patch to work around RHBZ#630583 and reenable tests. + +* Sat Sep 4 2010 Richard Jones - 1:1.5.8-1 +- New upstream version 1.5.8. +- Add BR po4a for translations of man pages. +- Add PHP bindings. +- Remove partially-translated Japanese webpages. + +* Wed Sep 1 2010 Richard Jones - 1:1.5.7-1 +- New upstream version 1.5.7. +- 'debug' command is enabled by default now. + +* Fri Aug 27 2010 Richard Jones - 1:1.5.6-1 +- New upstream version 1.5.6. + +* Fri Aug 27 2010 Richard Jones - 1:1.5.5-2 +- Use bug-fixed febootstrap 2.9. + +* Thu Aug 26 2010 Richard Jones - 1:1.5.5-1 +- New upstream version 1.5.5. + +* Tue Aug 24 2010 Richard Jones - 1:1.5.4-2 +- Disable tests again, because the Rawhide kernel still won't boot. + +* Tue Aug 24 2010 Richard Jones - 1:1.5.4-1 +- New upstream development version 1.5.4. +- Now requires febootstrap >= 2.8 and qemu >= 0.12. +- Re-enable tests because RHBZ#624854 is supposed to be fixed. +- Upstream Source URL has changed. + +* Wed Aug 18 2010 Richard Jones - 1:1.5.3-2 +- Disable tests because of RHBZ#624854. + +* Tue Aug 17 2010 Richard Jones - 1:1.5.3-1 +- New upstream development version 1.5.3. + +* Wed Aug 11 2010 Richard Jones - 1:1.5.2-6 +- Bump and rebuild. + +* Thu Aug 05 2010 Richard Jones - 1:1.5.2-5 +- Bump and rebuild. + +* Fri Jul 23 2010 David Malcolm - 1:1.5.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild + +* Fri Jul 23 2010 David Malcolm - 1:1.5.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild + +* Thu Jul 22 2010 Richard W.M. Jones - 1:1.5.2-2 +- New upstream development version 1.5.2. +- +BuildRequires: cryptsetup-luks. + +* Wed Jul 21 2010 Richard W.M. Jones - 1:1.5.1-1 +- New upstream development version 1.5.1. + +* Tue Jul 20 2010 Richard W.M. Jones - 1:1.5.0-7 +- Requires binutils (RHBZ#616437). + +* Mon Jul 19 2010 Richard W.M. Jones - 1:1.5.0-6 +- Fix libguestfs-find-requires.sh for new location of hostfiles (RHBZ#615946). + +* Thu Jul 8 2010 Richard W.M. Jones - 1:1.5.0-5 +- Include RELEASE-NOTES in devel package. + +* Thu Jul 8 2010 Richard W.M. Jones - 1:1.5.0-4 +- New development branch 1.5.0. +- Remove two upstream patches. +- Work around permanently broken test-getlogin_r Gnulib test. + +* Mon Jun 28 2010 Richard W.M. Jones - 1:1.3.21-4 +- Explicitly depend on e2fsprogs. +- Add patch to add e2fsprogs to the appliance. +- Add patch to fix GFS kernel module problem. + +* Fri Jun 25 2010 Mamoru Tasaka - 1:1.3.21-2 +- Rebuild + +* Wed Jun 16 2010 Richard W.M. Jones - 1:1.3.21-1 +- New upstream version 1.3.21. + +* Tue Jun 8 2010 Richard W.M. Jones - 1:1.3.20-1 +- New upstream version 1.3.20. +- Since upstream commit a043b6854a0c4 we don't need to run make install + twice. + +* Fri Jun 4 2010 Richard W.M. Jones - 1:1.3.19-1 +- New upstream version 1.3.19. + +* Wed Jun 2 2010 Richard W.M. Jones - 1:1.3.18-1 +- New upstream version 1.3.18. + +* Thu May 27 2010 Richard W.M. Jones - 1:1.3.17-1 +- New upstream version 1.3.17. +- Change repo name to 'fedora-14'. + +* Wed May 26 2010 Richard W.M. Jones - 1:1.3.16-6 +- Co-own bash_completion.d directory. + +* Tue May 25 2010 Richard W.M. Jones - 1:1.3.16-4 +- New upstream version 1.3.16. +- Add guestfish bash tab completion script. + +* Mon May 24 2010 Richard W.M. Jones - 1:1.3.14-1 +- New upstream version 1.3.14. + +* Sun May 16 2010 Richard W.M. Jones - 1:1.3.13-1 +- New upstream version 1.3.13. +- Add BUGS to documentation. +- Force update of hivex dependency to 1.2.2 since it contains + important registry import fixes. +- Remove patch1, now upstream. + +* Fri May 14 2010 Richard W.M. Jones - 1:1.3.12-3 +- Backport supermin build fix from upstream. +- Further changes required for new layout of supermin appliance. + +* Fri May 14 2010 Richard W.M. Jones - 1:1.3.12-1 +- New upstream version 1.3.12. +- febootstrap >= 2.7 is required at compile time and at runtime (at runtime + because of the new febootstrap-supermin-helper). +- Bugs fixed: 591155 591250 576879 591142 588651 507810 521674 559963 516096. + +* Sat May 8 2010 Richard W.M. Jones - 1:1.3.11-1 +- New upstream version 1.3.11. + +* Fri May 7 2010 Richard W.M. Jones - 1:1.3.10-2 +- New upstream version 1.3.10. + +* Thu May 06 2010 Richard W.M. Jones - 1:1.3.9-2 +- Bump and rebuild against updated libconfig + +* Fri Apr 30 2010 Richard W.M. Jones - 1:1.3.9-1 +- New upstream version 1.3.9. + +* Thu Apr 29 2010 Marcela Maslanova - 1:1.3.8-2 +- Mass rebuild with perl-5.12.0 + +* Tue Apr 27 2010 Richard W.M. Jones - 1:1.3.8-1 +- New upstream version 1.3.8. + +* Fri Apr 23 2010 Richard W.M. Jones - 1:1.3.7-1 +- New upstream version 1.3.7. +- NOTE: fixes a segfault in guestfish 1.3.6 when using the -a option. + +* Thu Apr 22 2010 Richard W.M. Jones - 1:1.3.6-1 +- New upstream version 1.3.6. + +* Mon Apr 19 2010 Richard W.M. Jones - 1:1.3.5-1 +- New upstream version 1.3.5. + +* Sat Apr 17 2010 Richard W.M. Jones - 1:1.3.4-1 +- New upstream version 1.3.4. + +* Sun Apr 11 2010 Richard W.M. Jones - 1:1.3.3-1 +- New upstream version 1.3.3. +- New virt-resize option --LV-expand. +- New API: lvresize-free. +- Fixes RHBZ#581501. + +* Sun Apr 11 2010 Richard W.M. Jones - 1:1.3.2-3 +- Disable checksum-device test. + +* Sat Apr 10 2010 Richard W.M. Jones - 1:1.3.2-2 +- Bump and rebuild. + +* Sat Apr 10 2010 Richard W.M. Jones - 1:1.3.2-1 +- New upstream version 1.3.2. +- New APIs: checksum-device, part-del, part-get-bootable, part-get-mbr-id, + part-set-mbr-id, vgscan, ntfsresize, txz-in, txz-out. +- Enhanced/fixed virt-resize tool. +- Enhanced virt-list-partitions tool. +- Fixes: 580016, 580650, 579155, 580556. + +* Sat Apr 10 2010 Richard W.M. Jones - 1:1.3.1-4 +- Bump and rebuild. + +* Thu Apr 8 2010 Richard W.M. Jones - 1:1.3.1-3 +- Runtime requires should only be on libguestfs-tools subpackage. + +* Thu Apr 8 2010 Richard W.M. Jones - 1:1.3.1-2 +- Missing BR on qemu-img package. + +* Thu Apr 8 2010 Richard W.M. Jones - 1:1.3.1-1 +- New upstream version 1.3.1. +- For explanation of apparently large version jump, see: + https://www.redhat.com/archives/libguestfs/2010-April/msg00057.html +- New tool: virt-make-fs. +- New API: guestfs_zero_device. +- Fixes RHBZ#580246 (tar-in command hangs if uploading more than + available space) +- Fixes RHBZ#579664 (guestfish doesn't report error when there is not + enough space for image allocation) +- +BR perl-String-ShellQuote (for virt-make-fs). + +* Tue Mar 30 2010 Richard W.M. Jones - 1:1.0.89-1 +- New upstream version 1.0.89. +- Improved version of virt-win-reg. +- Many smaller bugfixes. +- Requires hivex >= 1.2.1. +- Remove TERM=dumb patch which is now upstream. + +* Tue Mar 30 2010 Richard W.M. Jones - 1:1.0.88-7 +- Backport of TERM=dumb patch from upstream. +- Workaround failure caused by RHBZ#575734. +- Workaround unknown failure of test_swapon_label_0. + +* Tue Mar 30 2010 Richard W.M. Jones - 1:1.0.88-5 +- Attempted workaround for RHBZ#563103, so we can reenable tests. + +* Fri Mar 26 2010 Richard W.M. Jones - 1:1.0.88-2 +- Remember to check in the new sources. + +* Fri Mar 26 2010 Richard W.M. Jones - 1:1.0.88-1 +- New upstream version 1.0.88. +- Mainly small bugfixes. +- Update Spanish translation of libguestfs (RHBZ#576876). +- Use ext4 dev tools on RHEL 5 (RHBZ#576688). +- Add support for minix filesystem (RHBZ#576689). + +* Fri Mar 26 2010 Richard W.M. Jones - 1:1.0.87-2 +- Add vim-minimal to BR, it is now required by the appliance. + +* Tue Mar 23 2010 Richard W.M. Jones - 1:1.0.87-1 +- New upstream version 1.0.87. +- New tools: virt-resize and virt-list-partitions. +- New APIs: guestfs_copy_size; APIs for querying the relationship between + LVM objects. +- Add vim to the virt-rescue appliance. + +* Fri Mar 12 2010 Richard W.M. Jones - 1:1.0.86-1 +- New upstream version 1.0.86. +- libguestfs-supermin-helper rewritten in C (from shell), reduces + appliance boot time by 2-3 seconds. +- Fix parsing of integers in guestfish on 32 bit platforms (RHBZ#569757 + and RHBZ#567567). +- Enhance virt-inspector output for Windows guests. +- Add product_name field to virt-inspector output for all guests. +- Weaken dependencies on libntfs-3g.so, don't include SONAME in dep. +- Remove false dependency on libply (plymouth libraries). +- Spanish translation (RHBZ#570181). +- Fix bash regexp quoting bug. + +* Fri Mar 12 2010 Richard W.M. Jones - 1:1.0.85-4 +- Bump and rebuild. + +* Thu Mar 11 2010 Richard W.M. Jones - 1:1.0.85-3 +- Bump and rebuild. + +* Sat Mar 06 2010 Richard W.M. Jones - 1:1.0.85-2 +- Bump and rebuild. + +* Mon Mar 1 2010 Richard W.M. Jones - 1:1.0.85-1 +- New upstream version 1.0.85. +- Remove hivex, now a separate upstream project and package. +- Remove supermin quoting patch, now upstream. + +* Mon Mar 1 2010 Richard W.M. Jones - 1:1.0.84-6 +- Fix quoting in supermin-split script (RHBZ#566511). +- Don't include bogus './builddir' entries in supermin hostfiles + (RHBZ#566512). + +* Mon Feb 22 2010 Richard W.M. Jones - 1:1.0.84-4 +- Don't include generator.ml in rpm. It's 400K and almost no one will need it. +- Add comments to spec file about how repo building works. +- Whitespace changes in the spec file. + +* Mon Feb 22 2010 Richard W.M. Jones - 1:1.0.84-3 +- Bump and rebuild. + +* Tue Feb 16 2010 Richard W.M. Jones - 1:1.0.84-2 +- Bump and rebuild. + +* Fri Feb 12 2010 Richard W.M. Jones - 1:1.0.84-1 +- New upstream version 1.0.84. + +* Fri Feb 12 2010 Richard W.M. Jones - 1:1.0.83-8 +- Bump and rebuild. + +* Thu Feb 11 2010 Richard W.M. Jones - 1.0.83-7 +- Disable tests. These fail in Koji (on RHEL 5 kernel) because of a + bug in preadv/pwritev emulation in glibc (RHBZ#563103). + +* Tue Feb 9 2010 Matthew Booth - 1.0.83-6 +- Change buildnonet to buildnet +- Allow buildnet, mirror, updates, virtio and runtests to be configured by user + macros. + +* Mon Feb 8 2010 Richard W.M. Jones - 1.0.83-5 +- libguestfs-tools should require perl-XML-Writer (RHBZ#562858). + +* Mon Feb 8 2010 Richard W.M. Jones - 1.0.83-4 +- Use virtio for block device access (RHBZ#509383 is fixed). + +* Fri Feb 5 2010 Richard W.M. Jones - 1.0.83-3 +- Rebuild: possible timing-related build problem in Koji. + +* Fri Feb 5 2010 Richard W.M. Jones - 1.0.83-2 +- New upstream release 1.0.83. +- This release fixes: + Add Marathi translations (RHBZ#561671). + Polish translations (RHBZ#502533). + Add Gujarti translations (Sweta Kothari) (RHBZ#560918). + Update Oriya translations (thanks Manoj Kumar Giri) (RHBZ#559498). + Set locale in C programs so l10n works (RHBZ#559962). + Add Tamil translation (RHBZ#559877) (thanks to I.Felix) + Update Punjabi translation (RHBZ#559480) (thanks Jaswinder Singh) +- There are significant fixes to hive file handling. +- Add hivexsh and manual page. +- Remove two patches, now upstream. + +* Sun Jan 31 2010 Richard W.M. Jones - 1:1.0.82-7 +- Bump and rebuild. + +* Fri Jan 29 2010 Richard W.M. Jones - 1.0.82-6 +- Backport a better fix for RHBZ557655 test from upstream. +- Backport fix for unreadable yum.log from upstream. + +* Thu Jan 28 2010 Richard W.M. Jones - 1.0.82-3 +- Backport RHBZ557655 test fix from upstream. + +* Thu Jan 28 2010 Richard W.M. Jones - 1.0.82-1 +- New upstream version 1.0.82. This includes the two patches + we were carrying, so those are now removed. +- This release fixes: + RHBZ#559498 (Oriya translation). + RHBZ#559480 (Punjabi translation). + RHBZ#558593 (Should prevent corruption by multilib). + RHBZ#559237 (Telugu translation). + RHBZ#557655 (Use xstrtol/xstrtoll to parse integers in guestfish). + RHBZ#557195 (Missing crc kernel modules for recent Linux). +- In addition this contains numerous fixes to the hivex library + for parsing Windows Registry files, making hivex* and virt-win-reg + more robust. +- New API call 'filesize'. + +* Thu Jan 28 2010 Richard W.M. Jones - 1.0.81-8 +- Backport special handling of libgcc_s.so. +- Backport unreadable files patch from RHEL 6 / upstream. + +* Fri Jan 22 2010 Richard W.M. Jones - 1.0.81-5 +- Require febootstrap >= 2.6 (RHBZ#557262). + +* Thu Jan 21 2010 Richard W.M. Jones - 1.0.81-4 +- Rebuild for unannounced soname bump (libntfs-3g.so). + +* Fri Jan 15 2010 Richard W.M. Jones - 1.0.81-3 +- Rebuild for unannounced soname bump (libplybootsplash.so). + +* Thu Jan 14 2010 Richard W.M. Jones - 1.0.81-2 +- Rebuild for broken dependency (iptables soname bump). + +* Wed Jan 13 2010 Richard W.M. Jones - 1.0.81-1 +- New upstream version 1.0.81. +- Remove two upstream patches. +- virt-inspector: Make RPM application data more specific (RHBZ#552718). + +* Tue Jan 12 2010 Richard W.M. Jones - 1.0.80-14 +- Reenable tests because RHBZ#553689 is fixed. + +* Tue Jan 12 2010 Richard W.M. Jones - 1.0.80-13 +- Rebuild because of libparted soname bump (1.9 -> 2.1). + +* Fri Jan 8 2010 Richard W.M. Jones - 1.0.80-12 +- qemu in Rawhide is totally broken (RHBZ#553689). Disable tests. + +* Thu Jan 7 2010 Richard W.M. Jones - 1.0.80-11 +- Remove gfs-utils (deprecated and removed from Fedora 13 by the + upstream Cluster Suite developers). +- Include patch to fix regression in qemu -serial stdio option. + +* Tue Dec 29 2009 Richard W.M. Jones - 1.0.80-10 +- Remove some debugging statements which were left in the requires + script by accident. + +* Mon Dec 21 2009 Richard W.M. Jones - 1.0.80-9 +- Generate additional requires for supermin (RHBZ#547496). + +* Fri Dec 18 2009 Richard W.M. Jones - 1.0.80-3 +- Work around udevsettle command problem (RHBZ#548121). +- Enable tests. + +* Wed Dec 16 2009 Richard W.M. Jones - 1.0.80-2 +- Disable tests because of RHBZ#548121. + +* Wed Dec 16 2009 Richard W.M. Jones - 1.0.80-1 +- New upstream release 1.0.80. +- New Polish translations (RHBZ#502533). +- Give a meaningful error if no usable kernels are found (RHBZ#539746). +- New tool: virt-list-filesystems + +* Fri Dec 4 2009 Stepan Kasal - 1:1.0.79-3 +- rebuild against perl 5.10.1 + +* Wed Nov 18 2009 Richard W.M. Jones - 1.0.79-2 +- New upstream release 1.0.79. +- Adds FUSE test script and multiple fixes for FUSE (RHBZ#538069). +- Fix virt-df in Xen (RHBZ#538041). +- Improve speed of supermin appliance. +- Disable FUSE-related tests because Koji doesn't currently allow them. + fuse: device not found, try 'modprobe fuse' first + +* Tue Nov 10 2009 Richard W.M. Jones - 1.0.78-2 +- New upstream release 1.0.78. +- Many more filesystem types supported by this release - add them + as dependencies. + +* Tue Nov 3 2009 Richard W.M. Jones - 1.0.77-1 +- New upstream release 1.0.77. +- Support for mounting guest in host using FUSE (guestmount command). +- hivex*(1) man pages should be in main package, not -devel, since + they are user commands. +- libguestfs-tools: Fix "self-obsoletion" issue raised by rpmlint. +- perl: Remove bogus script Sys/bindtests.pl. + +* Thu Oct 29 2009 Richard W.M. Jones - 1.0.75-2 +- New upstream release 1.0.75. +- New library: libhivex. +- New tools: virt-win-reg, hivexml, hivexget. +- Don't require chntpw. +- Add BR libxml2-devel, accidentally omitted before. + +* Tue Oct 20 2009 Richard W.M. Jones - 1.0.74-1 +- New upstream release 1.0.74. +- New API call: guestfs_find0. +- New tools: virt-ls, virt-tar. + +* Wed Oct 14 2009 Richard W.M. Jones - 1.0.73-1 +- New upstream release 1.0.73. +- OCaml library now depends on xml-light. +- Deal with installed documentation. + +* Tue Sep 29 2009 Richard W.M. Jones - 1.0.72-2 +- Force rebuild. + +* Wed Sep 23 2009 Richard W.M. Jones - 1.0.72-1 +- New upstream release 1.0.72. +- New tools: virt-edit, virt-rescue. +- Combine virt-cat, virt-df, virt-edit, virt-inspector and virt-rescue + into a single package called libguestfs-tools. + +* Tue Sep 22 2009 Richard W.M. Jones - 1.0.71-2 +- New upstream release 1.0.71. + +* Fri Sep 18 2009 Richard W.M. Jones - 1.0.70-2 +- Perl bindings require perl-XML-XPath (fixed RHBZ#523547). + +* Tue Sep 15 2009 Richard W.M. Jones - 1.0.70-1 +- New upstream release 1.0.70. +- Fixes build problem related to old version of GNU gettext. + +* Tue Sep 15 2009 Richard W.M. Jones - 1.0.69-1 +- New upstream release 1.0.69. +- Reenable the tests (because RHBZ#516543 is supposed to be fixed). +- New main loop code should fix RHBZ#501888, RHBZ#504418. +- Add waitpid along guestfs_close path (fixes RHBZ#518747). + +* Wed Aug 19 2009 Richard W.M. Jones - 1.0.68-2 +- New upstream release 1.0.68. +- BR genisoimage. + +* Thu Aug 13 2009 Richard W.M. Jones - 1.0.67-2 +- New upstream release 1.0.67. + +* Fri Aug 7 2009 Richard W.M. Jones - 1.0.66-5 +- Set network interface to ne2k_pci (workaround for RHBZ#516022). +- Rerun autoconf because patch touches configure script. + +* Thu Aug 6 2009 Richard W.M. Jones - 1.0.66-1 +- New upstream release 1.0.66. + +* Wed Jul 29 2009 Richard W.M. Jones - 1.0.65-1 +- New upstream release 1.0.65. +- Add Obsoletes for virt-df2 (RHBZ#514309). +- Disable tests because of ongoing TCG problems with newest qemu in Rawhide. + +* Thu Jul 23 2009 Richard W.M. Jones - 1.0.64-3 +- RHBZ#513249 bug in qemu is now fixed, so try to rebuild and run tests. +- However RHBZ#503236 still prevents us from testing on i386. + +* Thu Jul 23 2009 Richard W.M. Jones - 1.0.64-1 +- New upstream release 1.0.64. +- New tool 'libguestfs-test-tool'. + +* Wed Jul 15 2009 Richard W.M. Jones - 1.0.61-1 +- New upstream release 1.0.61. +- New tool / subpackage 'virt-cat'. +- New BR perl-libintl. + +* Wed Jul 15 2009 Richard W.M. Jones - 1.0.60-2 +- Fix runtime Requires so they use epoch correctly. + +* Tue Jul 14 2009 Richard W.M. Jones - 1.0.60-1 +- New upstream release 1.0.60. + +* Fri Jul 10 2009 Richard W.M. Jones - 1.0.58-2 +- New upstream release 1.0.58. + +* Fri Jul 10 2009 Richard W.M. Jones - 1.0.57-1 +- New upstream release 1.0.57. +- New tool virt-df (obsoletes existing package with this name). +- RHBZ#507066 may be fixed, so reenable tests. + +* Tue Jul 7 2009 Richard W.M. Jones - 1.0.56-2 +- New upstream release 1.0.56. +- Don't rerun generator. + +* Thu Jul 2 2009 Richard W.M. Jones - 1.0.55-1 +- New upstream release 1.0.55. +- New manual page libguestfs(3). + +* Mon Jun 29 2009 Richard W.M. Jones - 1.0.54-2 +- New upstream release 1.0.54. +- +BR perl-XML-Writer. + +* Wed Jun 24 2009 Richard W.M. Jones - 1.0.53-1 +- New upstream release 1.0.53. +- Disable all tests (because of RHBZ#507066). + +* Wed Jun 24 2009 Richard W.M. Jones - 1.0.52-1 +- New upstream release 1.0.52. + +* Mon Jun 22 2009 Richard W.M. Jones - 1.0.51-1 +- New upstream release 1.0.51. +- Removed patches which are now upstream. + +* Sat Jun 20 2009 Richard W.M. Jones - 1.0.49-5 +- Remove workaround for RHBZ#507007, since bug is now fixed. +- Pull in upstream patch to fix pclose checking + (testing as possible fix for RHBZ#507066). +- Pull in upstream patch to check waitpid return values + (testing as possible fix for RHBZ#507066). + +* Fri Jun 19 2009 Richard W.M. Jones - 1.0.49-2 +- New upstream release 1.0.49. +- Add workaround for RHBZ#507007. + +* Tue Jun 16 2009 Richard W.M. Jones - 1.0.48-2 +- Accidentally omitted the supermin image from previous version. + +* Tue Jun 16 2009 Richard W.M. Jones - 1.0.48-1 +- New upstream release 1.0.48. +- Should fix all the brokenness from 1.0.47. +- Requires febootstrap >= 2.3. + +* Mon Jun 15 2009 Richard W.M. Jones - 1.0.47-2 +- New upstream release 1.0.47. +- Enable experimental supermin appliance build. +- Fix path to appliance. + +* Fri Jun 12 2009 Richard W.M. Jones - 1.0.45-2 +- New upstream release 1.0.45. + +* Wed Jun 10 2009 Richard W.M. Jones - 1.0.44-2 +- Disable ppc/ppc64 tests again because of RHBZ#505109. + +* Wed Jun 10 2009 Richard W.M. Jones - 1.0.44-1 +- New upstream version 1.0.44. +- Try enabling tests on ppc & ppc64 since it looks like the bug(s?) + in qemu which might have caused them to fail have been fixed. + +* Tue Jun 9 2009 Richard W.M. Jones - 1.0.43-1 +- New upstream version 1.0.43. +- New upstream URL. +- Requires chntpw program. + +* Sat Jun 6 2009 Richard W.M. Jones - 1.0.42-1 +- New upstream version 1.0.42. + +* Thu Jun 4 2009 Richard W.M. Jones - 1.0.41-1 +- New upstream version 1.0.41. +- Fixes a number of regressions in RHBZ#503169. + +* Thu Jun 4 2009 Richard W.M. Jones - 1.0.40-1 +- New upstream version 1.0.40. + +* Thu Jun 4 2009 Richard W.M. Jones - 1.0.39-1 +- New upstream version 1.0.39. +- Fixes: + . libguestfs /dev is too sparse for kernel installation/upgrade (RHBZ#503169) + . OCaml bindings build failure (RHBZ#502309) + +* Tue Jun 2 2009 Richard W.M. Jones - 1.0.38-2 +- Disable tests on ix86 because of RHBZ#503236. + +* Tue Jun 2 2009 Richard W.M. Jones - 1.0.38-1 +- New upstream version 1.0.38. + +* Fri May 29 2009 Richard W.M. Jones - 1.0.37-1 +- New upstream version 1.0.37. +- Fixes: + . "mkdir-p" should not throw errors on preexisting directories (RHBZ#503133) + . cramfs and squashfs modules should be available in libguestfs appliances + (RHBZ#503135) + +* Thu May 28 2009 Richard W.M. Jones - 1.0.36-2 +- New upstream version 1.0.36. +- Rerun the generator in prep section. + +* Thu May 28 2009 Richard W.M. Jones - 1.0.35-1 +- New upstream version 1.0.35. +- Fixes multiple bugs in bindings parameters (RHBZ#501892). + +* Wed May 27 2009 Richard W.M. Jones - 1.0.34-1 +- New upstream version 1.0.34. + +* Wed May 27 2009 Richard W.M. Jones - 1.0.33-1 +- New upstream version 1.0.33. +- --with-java-home option is no longer required. +- Upstream contains potential fixes for: + 501878 built-in commands like 'alloc' and 'help' don't autocomplete + 501883 javadoc messed up in libguestfs java documentation + 501885 Doesn't detect missing Java, --with-java-home=no should not be needed + 502533 Polish translation of libguestfs + n/a Allow more ext filesystem kmods (Charles Duffy) + +* Tue May 26 2009 Richard W.M. Jones - 1.0.32-2 +- New upstream version 1.0.32. +- Use %%find_lang macro. + +* Sat May 23 2009 Richard W.M. Jones - 1.0.31-1 +- Rebuild for OCaml 3.11.1. +- New upstream version 1.0.31. + +* Thu May 21 2009 Richard Jones - 1.0.30-1 +- New upstream version 1.0.30. Now includes test-bootbootboot.sh script. + +* Thu May 21 2009 Richard Jones - 1.0.29-3 +- New upstream version 1.0.29 (fixes RHBZ#502007 RHBZ#502018). +- This should allow us to enable tests for i386 and x86-64. +- Added test-bootbootboot.sh script which was missed from 1.0.29 tarball. +- Pass kernel noapic flag to workaround RHBZ#502058. + +* Thu May 21 2009 Richard Jones - 1.0.28-1 +- New upstream version 1.0.28. Nothing has visibly changed, but + the source has been gettextized and we want to check that doesn't + break anything. + +* Thu May 21 2009 Richard Jones - 1.0.27-3 +- Change requirement from qemu -> qemu-kvm (RHBZ#501761). + +* Tue May 19 2009 Richard Jones - 1.0.27-2 +- New upstream version 1.0.27. + +* Mon May 18 2009 Richard Jones - 1.0.26-6 +- Experimentally try to reenable ppc and ppc64 builds. +- Note BZ numbers which are causing tests to fail. + +* Mon May 18 2009 Richard Jones - 1.0.26-1 +- New upstream version 1.0.26. + +* Tue May 12 2009 Richard Jones - 1.0.25-4 +- New upstream version 1.0.25. +- Enable debugging when running the tests. +- Disable tests - don't work correctly in Koji. + +* Tue May 12 2009 Richard Jones - 1.0.24-1 +- New upstream version 1.0.24. +- BRs glibc-static for the new command tests. +- Enable tests. + +* Mon May 11 2009 Richard Jones - 1.0.23-2 +- New upstream version 1.0.23. +- Don't try to use updates during build. + +* Fri May 8 2009 Richard Jones - 1.0.21-3 +- New upstream version 1.0.21. + +* Thu May 7 2009 Richard Jones - 1.0.20-2 +- New upstream version 1.0.20. + +* Thu May 7 2009 Richard Jones - 1.0.19-1 +- New upstream version 1.0.19. + +* Tue Apr 28 2009 Richard Jones - 1.0.15-1 +- New upstream version 1.0.15. + +* Fri Apr 24 2009 Richard Jones - 1.0.12-1 +- New upstream version 1.0.12. + +* Wed Apr 22 2009 Richard Jones - 1.0.6-1 +- New upstream version 1.0.6. + +* Mon Apr 20 2009 Richard Jones - 1.0.2-1 +- New upstream version 1.0.2. + +* Thu Apr 16 2009 Richard Jones - 0.9.9-12 +- Multiple fixes to get it to scratch build in Koji. + +* Sat Apr 4 2009 Richard Jones - 0.9.9-1 +- Initial build.