commit libguestfs for openSUSE:Factory

2020-07-17 Thread root
Hello community,

here is the log from the commit of package libguestfs for openSUSE:Factory 
checked in at 2020-07-17 20:48:11

Comparing /work/SRC/openSUSE:Factory/libguestfs (Old)
 and  /work/SRC/openSUSE:Factory/.libguestfs.new.3592 (New)


Package is "libguestfs"

Fri Jul 17 20:48:11 2020 rev:72 rq:821362 version:1.42.0

Changes:

--- /work/SRC/openSUSE:Factory/libguestfs/libguestfs.changes2020-06-03 
20:33:19.621323920 +0200
+++ /work/SRC/openSUSE:Factory/.libguestfs.new.3592/libguestfs.changes  
2020-07-17 20:48:56.456800799 +0200
@@ -1,0 +2,6 @@
+Tue Jul  7 15:48:08 MDT 2020 - carn...@suse.com
+
+- bsc#1172818 - libguestfs: inconsistent LIBGUESTFS_PATH
+  libguestfs.spec
+
+---



Other differences:
--
++ libguestfs.spec ++
--- /var/tmp/diff_new_pack.ag87OB/_old  2020-07-17 20:48:58.248802669 +0200
+++ /var/tmp/diff_new_pack.ag87OB/_new  2020-07-17 20:48:58.252802673 +0200
@@ -602,6 +602,7 @@
--docdir=%{guestfs_docdir} \
--enable-daemon \
--enable-install-daemon \
+   --with-guestfs-path=%{_libdir}/guestfs \
--with-qemu=$QEMU \
--without-java \
--with-supermin-packager-config="$PWD/zypper.priv.conf --use-installed 
--verbose" \




commit libguestfs for openSUSE:Factory

2020-06-03 Thread root
Hello community,

here is the log from the commit of package libguestfs for openSUSE:Factory 
checked in at 2020-06-03 20:32:59

Comparing /work/SRC/openSUSE:Factory/libguestfs (Old)
 and  /work/SRC/openSUSE:Factory/.libguestfs.new.3606 (New)


Package is "libguestfs"

Wed Jun  3 20:32:59 2020 rev:71 rq:810262 version:1.42.0

Changes:

--- /work/SRC/openSUSE:Factory/libguestfs/libguestfs.changes2020-05-14 
23:26:23.825190821 +0200
+++ /work/SRC/openSUSE:Factory/.libguestfs.new.3606/libguestfs.changes  
2020-06-03 20:33:19.621323920 +0200
@@ -54,6 +53,0 @@
-Tue Jan 21 18:54:11 UTC 2020 - Larry Dewey 
-
-- Added patches to configure sparsify to ignore readonly images.
-  (bsc#1161169, rhbz#1064041)
-




Other differences:
--



commit libguestfs for openSUSE:Factory

2020-05-14 Thread root
Hello community,

here is the log from the commit of package libguestfs for openSUSE:Factory 
checked in at 2020-05-14 23:26:19

Comparing /work/SRC/openSUSE:Factory/libguestfs (Old)
 and  /work/SRC/openSUSE:Factory/.libguestfs.new.2738 (New)


Package is "libguestfs"

Thu May 14 23:26:19 2020 rev:70 rq:805394 version:1.42.0

Changes:

--- /work/SRC/openSUSE:Factory/libguestfs/libguestfs.changes2020-03-20 
23:55:02.716856375 +0100
+++ /work/SRC/openSUSE:Factory/.libguestfs.new.2738/libguestfs.changes  
2020-05-14 23:26:23.825190821 +0200
@@ -1,0 +2,46 @@
+Wed Apr 22 14:23:36 MDT 2020 - carn...@suse.com
+
+- Update to version 1.42.0
+  * virt-v2v is moved out from libguestfs into its own package
+  * virt-p2v is moved out from libguestfs into its own package
+  * Add support for the Vala language
+  * Add support for the Rust language
+  * Reproducible builds
+  * Advanced Format disks (which use 4K sectors) can now be
+processed by libguestfs. Use the new optional blocksize
+parameter to guestfs_add_drive_opts, and the --blocksize option
+added to several tools
+  * Windows CompactOS (NTFS file compression) is now supported.
+  * Advanced machine readable output in various virt tools now
+supports JSON output, and writing logs to a numbered file
+descriptor
+  * virt-filesystems tool now more accurately reports filesystem
+total size, in the case where for example the filesystem does
+not occupy the whole of its containing device
+  * Python ≥ 2.7 is required.
+  * Python bindings are now more extensively tested
+  * Python bindings should now work with Python ≥ 3.8.
+  * Multiple fixes to avoid crashes in the Python bindings
+  * OCaml bindings are compiled with -DCAML_NAME_SPACE to ensure no
+non-caml_-namespaced symbols are used
+  * OCaml bindings should now work with OCaml 4.09 and 4.10.
+  * Fix compatibility with newer cgo for Go bindings
+  * Go API error handling is now more idiomatic
+  * Update documentation about how to handle boolean parameters in
+Ruby bindings
+  * Libguestfs can now extract icons for Gentoo, newer SUSE and
+OpenMandriva guests. Improved extraction of RHEL icons.
+  * Inspection returns the osinfo IDs of newer Windows versions,
+and rolling Linux distros
+- Added patches
+  31e6b187-po-Remove-virt-v2v-related-dependency-from-POTFILES-ml..patch
+  7265f08c-lib-remove-extra-LIBS-from-pkg-config-file.patch
+- Patches dropped
+  0a55098f-builder-repository-fix-compute_short_id-for-sles-X.0.patch
+  28bd06227b-inspect-handle-os-release-opensuse-tumbleweed-as-ope.patch
+  
500acb15-v2v-linux-fix-kernel-detection-when-split-in-different-packages.patch
+  70407cd622-inspection-Parse-os-release-opensuse-leap-as-opensus.patch
+  d0e5a819-python-Fix-missing-additional-backslashes.patch
+  fd43730e-error-with-uninstall-option-on-SUSE.patch
+
+---

Old:

  0a55098f-builder-repository-fix-compute_short_id-for-sles-X.0.patch
  28bd06227b-inspect-handle-os-release-opensuse-tumbleweed-as-ope.patch
  500acb15-v2v-linux-fix-kernel-detection-when-split-in-different-packages.patch
  70407cd622-inspection-Parse-os-release-opensuse-leap-as-opensus.patch
  d0e5a819-python-Fix-missing-additional-backslashes.patch
  fd43730e-error-with-uninstall-option-on-SUSE.patch
  libguestfs-1.38.0.tar.gz

New:

  31e6b187-po-Remove-virt-v2v-related-dependency-from-POTFILES-ml..patch
  7265f08c-lib-remove-extra-LIBS-from-pkg-config-file.patch
  libguestfs-1.42.0.tar.gz



Other differences:
--
++ libguestfs.spec ++
--- /var/tmp/diff_new_pack.uaBA5w/_old  2020-05-14 23:26:25.725194968 +0200
+++ /var/tmp/diff_new_pack.uaBA5w/_new  2020-05-14 23:26:25.729194977 +0200
@@ -18,7 +18,7 @@
 # needsbinariesforbuild
 
 
-Version:1.38.0
+Version:1.42.0
 Release:0
 %{ocaml_preserve_bytecode}
 
@@ -99,6 +99,7 @@
 %endif
 BuildRequires:  db48-utils
 BuildRequires:  dhcp-client
+BuildRequires:  libjansson-devel
 BuildRequires:  pcre-devel
 BuildRequires:  pkg-config
 BuildRequires:  qemu-tools
@@ -142,12 +143,8 @@
 # Upstream patches
 License:GPL-2.0-only
 Group:  System/Filesystems
-Patch0: d0e5a819-python-Fix-missing-additional-backslashes.patch
-Patch1: 
0a55098f-builder-repository-fix-compute_short_id-for-sles-X.0.patch
-Patch2: fd43730e-error-with-uninstall-option-on-SUSE.patch
-Patch3: 
70407cd622-inspection-Parse-os-release-opensuse-leap-as-opensus.patch
-Patch4: 
28bd06227b-inspect-handle-os-release-opensuse-tumbleweed-as-ope.patch
-Patch5: 
500acb15-v2v-linux-fix-kernel-detection-when-split-in-different-packages.patch
+Patch1: 

commit libguestfs for openSUSE:Factory

2020-03-20 Thread root
Hello community,

here is the log from the commit of package libguestfs for openSUSE:Factory 
checked in at 2020-03-20 23:54:50

Comparing /work/SRC/openSUSE:Factory/libguestfs (Old)
 and  /work/SRC/openSUSE:Factory/.libguestfs.new.3160 (New)


Package is "libguestfs"

Fri Mar 20 23:54:50 2020 rev:69 rq:786530 version:1.38.0

Changes:

--- /work/SRC/openSUSE:Factory/libguestfs/libguestfs.changes2019-09-13 
14:59:46.177280925 +0200
+++ /work/SRC/openSUSE:Factory/.libguestfs.new.3160/libguestfs.changes  
2020-03-20 23:55:02.716856375 +0100
@@ -1,0 +2,12 @@
+Thu Mar 19 10:25:01 MDT 2020 - carn...@suse.com
+
+- bsc#1167131 - virt-v2v fails importing ubuntu 18.04 LTS ova
+  
500acb15-v2v-linux-fix-kernel-detection-when-split-in-different-packages.patch
+
+---
+Tue Jan 21 18:54:11 UTC 2020 - Larry Dewey 
+
+- Added patches to configure sparsify to ignore readonly images.
+  (bsc#1161169, rhbz#1064041)
+
+---

New:

  500acb15-v2v-linux-fix-kernel-detection-when-split-in-different-packages.patch



Other differences:
--
++ libguestfs.spec ++
--- /var/tmp/diff_new_pack.Ps8WfQ/_old  2020-03-20 23:55:08.064859765 +0100
+++ /var/tmp/diff_new_pack.Ps8WfQ/_new  2020-03-20 23:55:08.068859769 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libguestfs
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
 # Copyright (c) 2011 Michal Hrusecky 
 #
 # All modifications and additions to the file contributed by third parties
@@ -13,7 +13,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via https://bugs.opensuse.org/
+# Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 # needsbinariesforbuild
 
@@ -147,6 +147,8 @@
 Patch2: fd43730e-error-with-uninstall-option-on-SUSE.patch
 Patch3: 
70407cd622-inspection-Parse-os-release-opensuse-leap-as-opensus.patch
 Patch4: 
28bd06227b-inspect-handle-os-release-opensuse-tumbleweed-as-ope.patch
+Patch5: 
500acb15-v2v-linux-fix-kernel-detection-when-split-in-different-packages.patch
+
 # Pending upstram review
 Patch50:0001-Introduce-a-wrapper-around-xmlParseURI.patch
 Patch51:0002-common-extract-UTF-8-conversion-function.patch
@@ -566,6 +568,7 @@
 %patch2 -p1
 %patch3 -p1
 %patch4 -p1
+%patch5 -p1
 %patch50 -p1
 %patch51 -p1
 %patch52 -p1

++ 
500acb15-v2v-linux-fix-kernel-detection-when-split-in-different-packages.patch 
++
Subject: v2v: linux: fix kernel detection when split in different packages
From: Pino Toscano ptosc...@redhat.com Tue May 22 10:46:21 2018 +0200
Date: Tue May 22 10:46:21 2018 +0200:
Git: 500acb15f8f777e9fe99a60c4216daf84a92aae3

The current detection code for Linux kernels assumes that a kernel
package contains everything in it, i.e. the kernel itself, its modules,
and its configuration.  However, since recent Ubuntu versions (e.g.
starting from 18.04) modules & config (with few more files) are split in
an own package, thus not detecting the modpath from installed vmlinuz
files.

To overcome this situation, rework this detection a bit:
1) find the vmlinuz file as before, but then immediately make sure it
   exists by stat'ing it
2) find the modules path from the package as before:
2a) if found, extract the version in the same step
2b) if not found, get the kernel version from the vmlinuz filename,
and use it to detect the modules path
3) check that the modules path exists

The detection done in (2b) is based on the current packaging scheme
found in the most important Linux distributions (Fedora, RHEL, CentOS,
Debian, Ubuntu, openSUSE, AltLinux, and possibly more).  The notable
exception is Arch Linux.

As additional change, do not assume the config file is in the same
package as vmlinuz, but directly look into the filesystem using the
version we already have.

diff --git a/v2v/linux_kernels.ml b/v2v/linux_kernels.ml
index c047d6deb..24f61429d 100644
--- a/v2v/linux_kernels.ml
+++ b/v2v/linux_kernels.ml
@@ -103,27 +103,42 @@ let detect_kernels (g : G.guestfs) inspect family 
bootloader =
  None
)
else (
- (* Which of these is the kernel itself? *)
+ (* Which of these is the kernel itself?  Also, make sure to check
+  * it exists by stat'ing it.
+  *)
  let vmlinuz = List.find (
fun filename -> String.is_prefix filename "/boot/vmlinuz-"
  ) files in
- (* Which of these is the modpath? *)
- let 

commit libguestfs for openSUSE:Factory

2019-09-13 Thread root
Hello community,

here is the log from the commit of package libguestfs for openSUSE:Factory 
checked in at 2019-09-13 14:59:43

Comparing /work/SRC/openSUSE:Factory/libguestfs (Old)
 and  /work/SRC/openSUSE:Factory/.libguestfs.new.7948 (New)


Package is "libguestfs"

Fri Sep 13 14:59:43 2019 rev:68 rq:730191 version:1.38.0

Changes:

--- /work/SRC/openSUSE:Factory/libguestfs/libguestfs.changes2019-08-23 
11:07:47.378472880 +0200
+++ /work/SRC/openSUSE:Factory/.libguestfs.new.7948/libguestfs.changes  
2019-09-13 14:59:46.177280925 +0200
@@ -1,0 +2,18 @@
+Tue Sep 10 09:59:19 UTC 2019 - Christophe Giboudeaux 
+
+- Use -ffat-lto-objects when building static libraries.
+
+---
+Mon Sep  9 16:32:56 UTC 2019 - Larry Dewey 
+
+- Added lvm2 to Requires for using virt-resize of xfs images.
+  (bsc#1138860)
+
+---
+Wed Aug 28 20:10:11 UTC 2019 - Guilherme Moro 
+
+- Add sysconfig-netconfig to appliance (boo#1136878)
+  Patches added:
+netconfig.patch
+
+---

New:

  netconfig.patch



Other differences:
--
++ libguestfs.spec ++
--- /var/tmp/diff_new_pack.Xr8EyN/_old  2019-09-13 14:59:46.921280957 +0200
+++ /var/tmp/diff_new_pack.Xr8EyN/_new  2019-09-13 14:59:46.921280957 +0200
@@ -153,6 +153,7 @@
 Patch52:0003-inspector-rpm-summary-and-description-may-not-be-utf.patch
 # Our patches
 Patch100:   appliance.patch
+Patch101:   netconfig.patch
 
 Source0:
http://download.libguestfs.org/1.38-stable/libguestfs-%{version}.tar.gz
 Source1:libguestfs.rpmlintrc
@@ -168,6 +169,7 @@
 
 #
 Requires:   guestfs-tools
+Requires:   lvm2
 Requires:   virt-v2v = %{version}
 
 %description
@@ -409,7 +411,6 @@
 BuildRequires:  syslinux
 %endif
 BuildRequires:  ldmtool
-BuildRequires:  pkgconfig(systemd)
 BuildRequires:  systemd-sysvinit
 BuildRequires:  tar
 BuildRequires:  terminfo-base
@@ -419,6 +420,7 @@
 BuildRequires:  util-linux-lang
 BuildRequires:  xfsprogs
 BuildRequires:  xz
+BuildRequires:  pkgconfig(systemd)
 
 # Needed by guestfsd which is burried in the appliance
 #
@@ -568,8 +570,10 @@
 %patch51 -p1
 %patch52 -p1
 %patch100 -p1
+%patch101 -p1
 
 %build
+%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
 bison --version
 # [Bug 789653] sles11 perl obsoletes perl-Pod-Simple unconditionally
 export PERLLIB=`echo $PWD/Pod-Simple-*/lib`

++ netconfig.patch ++
diff -up ./appliance/packagelist.in.netconfig ./appliance/packagelist.in
--- ./appliance/packagelist.in.netconfig2019-08-28 19:26:50.290462768 
+0100
+++ ./appliance/packagelist.in  2019-08-28 19:27:05.530462557 +0100
@@ -161,6 +161,7 @@ ifelse(SUSE,1,
   ntfs-3g
   reiserfs
   squashfs
+  sysconfig-netconfig
   systemd
   vim
   xz



commit libguestfs for openSUSE:Factory

2019-08-23 Thread root
Hello community,

here is the log from the commit of package libguestfs for openSUSE:Factory 
checked in at 2019-08-23 11:07:41

Comparing /work/SRC/openSUSE:Factory/libguestfs (Old)
 and  /work/SRC/openSUSE:Factory/.libguestfs.new.7948 (New)


Package is "libguestfs"

Fri Aug 23 11:07:41 2019 rev:67 rq:725337 version:1.38.0

Changes:

--- /work/SRC/openSUSE:Factory/libguestfs/libguestfs.changes2019-06-26 
16:05:25.215747082 +0200
+++ /work/SRC/openSUSE:Factory/.libguestfs.new.7948/libguestfs.changes  
2019-08-23 11:07:47.378472880 +0200
@@ -1,0 +2,5 @@
+Thu Aug 22 13:39:11 UTC 2019 - oher...@suse.de
+
+- Remove empty /etc/libguestfs-tools.conf
+
+---



Other differences:
--
++ libguestfs.spec ++
--- /var/tmp/diff_new_pack.FvjiH1/_old  2019-08-23 11:07:48.482472744 +0200
+++ /var/tmp/diff_new_pack.FvjiH1/_new  2019-08-23 11:07:48.486472743 +0200
@@ -642,6 +642,7 @@
 rm -rfv %{buildroot}/%{_libdir}/ocaml
 %endif
 rm -rfv %{buildroot}/%{guestfs_docdir}
+rm -rfv %{buildroot}/etc/libguestfs-tools.conf
 find %{buildroot}/ -type f \( \
-name "virt-list-filesystems" -o -name "virt-list-filesystems.*" -o \
-name "virt-list-partitions" -o -name "virt-list-partitions.*" -o \
@@ -839,7 +840,6 @@
 %if %{with p2v}
 %exclude %{_bindir}/virt-p2v-*
 %endif
-%config(noreplace) /etc/libguestfs-tools.conf
 /etc/virt-builder
 %dir /etc/xdg/virt-builder
 %dir /etc/xdg/virt-builder/repos.d




commit libguestfs for openSUSE:Factory

2019-06-26 Thread root
Hello community,

here is the log from the commit of package libguestfs for openSUSE:Factory 
checked in at 2019-06-26 16:04:47

Comparing /work/SRC/openSUSE:Factory/libguestfs (Old)
 and  /work/SRC/openSUSE:Factory/.libguestfs.new.4615 (New)


Package is "libguestfs"

Wed Jun 26 16:04:47 2019 rev:66 rq:712071 version:1.38.0

Changes:

--- /work/SRC/openSUSE:Factory/libguestfs/libguestfs.changes2019-04-18 
09:57:28.545380914 +0200
+++ /work/SRC/openSUSE:Factory/.libguestfs.new.4615/libguestfs.changes  
2019-06-26 16:05:25.215747082 +0200
@@ -1,0 +2,6 @@
+Wed Jun 12 14:22:29 UTC 2019 - Dominique Leuenberger 
+
+- BuildRequire pkgconfig(systemd) instead of systemd: allow OBS to
+  shortcut the build queues by allowing usage of systemd-mini
+
+---



Other differences:
--
++ libguestfs.spec ++
--- /var/tmp/diff_new_pack.0egFPA/_old  2019-06-26 16:05:26.339748672 +0200
+++ /var/tmp/diff_new_pack.0egFPA/_new  2019-06-26 16:05:26.343748678 +0200
@@ -409,7 +409,7 @@
 BuildRequires:  syslinux
 %endif
 BuildRequires:  ldmtool
-BuildRequires:  systemd
+BuildRequires:  pkgconfig(systemd)
 BuildRequires:  systemd-sysvinit
 BuildRequires:  tar
 BuildRequires:  terminfo-base




commit libguestfs for openSUSE:Factory

2019-04-18 Thread root
Hello community,

here is the log from the commit of package libguestfs for openSUSE:Factory 
checked in at 2019-04-18 09:57:24

Comparing /work/SRC/openSUSE:Factory/libguestfs (Old)
 and  /work/SRC/openSUSE:Factory/.libguestfs.new.17052 (New)


Package is "libguestfs"

Thu Apr 18 09:57:24 2019 rev:65 rq:695339 version:1.38.0

Changes:

--- /work/SRC/openSUSE:Factory/libguestfs/libguestfs.changes2019-04-09 
20:19:09.909881624 +0200
+++ /work/SRC/openSUSE:Factory/.libguestfs.new.17052/libguestfs.changes 
2019-04-18 09:57:28.545380914 +0200
@@ -1,0 +2,9 @@
+Wed Apr 17 17:37:04 UTC 2019 - Larry Dewey 
+
+- Fixing issue with virt-customize in SLES and openSUSE guests
+  (boo#1132790)
+  Patches added:
+28bd06227b-inspect-handle-os-release-opensuse-tumbleweed-as-ope.patch
+70407cd622-inspection-Parse-os-release-opensuse-leap-as-opensus.patch
+
+---

New:

  28bd06227b-inspect-handle-os-release-opensuse-tumbleweed-as-ope.patch
  70407cd622-inspection-Parse-os-release-opensuse-leap-as-opensus.patch



Other differences:
--
++ libguestfs.spec ++
--- /var/tmp/diff_new_pack.eIFnL1/_old  2019-04-18 09:57:29.873381742 +0200
+++ /var/tmp/diff_new_pack.eIFnL1/_new  2019-04-18 09:57:29.877381744 +0200
@@ -145,6 +145,8 @@
 Patch0: d0e5a819-python-Fix-missing-additional-backslashes.patch
 Patch1: 
0a55098f-builder-repository-fix-compute_short_id-for-sles-X.0.patch
 Patch2: fd43730e-error-with-uninstall-option-on-SUSE.patch
+Patch3: 
70407cd622-inspection-Parse-os-release-opensuse-leap-as-opensus.patch
+Patch4: 
28bd06227b-inspect-handle-os-release-opensuse-tumbleweed-as-ope.patch
 # Pending upstram review
 Patch50:0001-Introduce-a-wrapper-around-xmlParseURI.patch
 Patch51:0002-common-extract-UTF-8-conversion-function.patch
@@ -560,6 +562,8 @@
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
+%patch4 -p1
 %patch50 -p1
 %patch51 -p1
 %patch52 -p1
@@ -808,7 +812,7 @@
 
 %files -n libguestfs0
 %defattr(-,root,root)
-%doc COPYING.LIB
+%license COPYING.LIB
 %{_libdir}/*.so.*
 
 %files devel
@@ -828,7 +832,7 @@
 
 %files -n guestfs-tools -f %{name}.lang
 %defattr(-,root,root)
-%doc COPYING
+%license COPYING
 %{_sbindir}/libguestfs-make-fixed-appliance
 %{_bindir}/*
 %exclude %{_bindir}/virt-v2v

++ 28bd06227b-inspect-handle-os-release-opensuse-tumbleweed-as-ope.patch 
++
>From 2e6b8af52042eadc0ca9f8cac3a8c384671e157b Mon Sep 17 00:00:00 2001
From: Pino Toscano 
Date: Fri, 30 Nov 2018 12:41:03 +0100
Subject: [PATCH 2/2] inspect: handle os-release "opensuse-tumbleweed" as
 opensuse

Followup of commit 70407cd622dda6f088a0876e1e1ae669e9f8a281 for openSUSE
Thumbleweed.

(cherry picked from commit 28bd06227b1633fa08c073fe8dbe65d013d7dc9e)
Signed-off-by: Larry Dewey 
---
 daemon/inspect_fs_unix.ml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/daemon/inspect_fs_unix.ml b/daemon/inspect_fs_unix.ml
index c0c0a75a4..b6a9af707 100644
--- a/daemon/inspect_fs_unix.ml
+++ b/daemon/inspect_fs_unix.ml
@@ -142,7 +142,8 @@ and distro_of_os_release_id = function
   | "frugalware" -> Some DISTRO_FRUGALWARE
   | "mageia" -> Some DISTRO_MAGEIA
   | "neokylin" -> Some DISTRO_NEOKYLIN
-  | "opensuse" | "opensuse-leap" -> Some DISTRO_OPENSUSE
+  | "opensuse" -> Some DISTRO_OPENSUSE
+  | s when String.is_prefix s "opensuse-" -> Some DISTRO_OPENSUSE
   | "pld" -> Some DISTRO_PLD_LINUX
   | "rhel" -> Some DISTRO_RHEL
   | "sles" | "sled" -> Some DISTRO_SLES
-- 
2.21.0

++ 70407cd622-inspection-Parse-os-release-opensuse-leap-as-opensus.patch 
++
>From d22e678ba961b0b23376db2b290340700e1c2c9c Mon Sep 17 00:00:00 2001
From: "Richard W.M. Jones" 
Date: Mon, 1 Oct 2018 09:51:15 +0100
Subject: [PATCH 1/2] inspection: Parse os-release "opensuse-leap" as opensuse
 (RHBZ#1634248).

(cherry picked from commit 70407cd622dda6f088a0876e1e1ae669e9f8a281)
Signed-off-by: Larry Dewey 
---
 daemon/inspect_fs_unix.ml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/daemon/inspect_fs_unix.ml b/daemon/inspect_fs_unix.ml
index d0323af3f..c0c0a75a4 100644
--- a/daemon/inspect_fs_unix.ml
+++ b/daemon/inspect_fs_unix.ml
@@ -142,7 +142,7 @@ and distro_of_os_release_id = function
   | "frugalware" -> Some DISTRO_FRUGALWARE
   | "mageia" -> Some DISTRO_MAGEIA
   | "neokylin" -> Some DISTRO_NEOKYLIN
-  | "opensuse" -> Some DISTRO_OPENSUSE
+  | "opensuse" | "opensuse-leap" -> Some DISTRO_OPENSUSE
   | "pld" -> Some DISTRO_PLD_LINUX
   | "rhel" -> Some DISTRO_RHEL
   | "sles" | "sled" -> Some DISTRO_SLES
-- 
2.21.0




commit libguestfs for openSUSE:Factory

2019-04-09 Thread root
Hello community,

here is the log from the commit of package libguestfs for openSUSE:Factory 
checked in at 2019-04-09 20:19:07

Comparing /work/SRC/openSUSE:Factory/libguestfs (Old)
 and  /work/SRC/openSUSE:Factory/.libguestfs.new.3908 (New)


Package is "libguestfs"

Tue Apr  9 20:19:07 2019 rev:64 rq:692565 version:1.38.0

Changes:

--- /work/SRC/openSUSE:Factory/libguestfs/libguestfs.changes2018-06-19 
11:58:04.674475368 +0200
+++ /work/SRC/openSUSE:Factory/.libguestfs.new.3908/libguestfs.changes  
2019-04-09 20:19:09.909881624 +0200
@@ -1,0 +2,8 @@
+Mon Apr  8 18:50:31 UTC 2019 - Larry Dewey 
+
+- Fixing issue with virt-customize uninstall and '-l'
+  (bnc#1131342)
+  Patches added:
+fd43730e-error-with-uninstall-option-on-SUSE.patch
+
+---

New:

  fd43730e-error-with-uninstall-option-on-SUSE.patch



Other differences:
--
++ libguestfs.spec ++
--- /var/tmp/diff_new_pack.ZN6xVP/_old  2019-04-09 20:19:11.093883238 +0200
+++ /var/tmp/diff_new_pack.ZN6xVP/_new  2019-04-09 20:19:11.097883243 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libguestfs
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 # Copyright (c) 2011 Michal Hrusecky 
 #
 # All modifications and additions to the file contributed by third parties
@@ -13,7 +13,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 # needsbinariesforbuild
 
@@ -140,10 +140,11 @@
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Summary:Compatibility package for guestfs-tools
 # Upstream patches
-License:GPL-2.0
+License:GPL-2.0-only
 Group:  System/Filesystems
 Patch0: d0e5a819-python-Fix-missing-additional-backslashes.patch 
 Patch1: 
0a55098f-builder-repository-fix-compute_short_id-for-sles-X.0.patch
+Patch2: fd43730e-error-with-uninstall-option-on-SUSE.patch
 # Pending upstram review
 Patch50:0001-Introduce-a-wrapper-around-xmlParseURI.patch
 Patch51:0002-common-extract-UTF-8-conversion-function.patch
@@ -175,7 +176,7 @@
 
 %package -n guestfs-tools
 Summary:Tools for accessing and modifying virtual machine disk images
-License:GPL-2.0
+License:GPL-2.0-only
 Group:  System/Filesystems
 Provides:   %{name} = %{version}
 Obsoletes:  %{name} < %{version}
@@ -228,7 +229,7 @@
 
 %package -n guestfsd
 Summary:Daemon for the libguestfs appliance
-License:GPL-2.0
+License:GPL-2.0-only
 Group:  System/Filesystems
 Conflicts:  libaugeas0 < 1.0.0
 
@@ -242,7 +243,7 @@
 %package -n ocaml-libguestfs
 Summary:OCaml bindings for libguestfs
 #
-License:GPL-2.0
+License:GPL-2.0-only
 Group:  Development/Languages/OCaml
 
 %description -n ocaml-libguestfs
@@ -250,7 +251,7 @@
 
 %package -n ocaml-libguestfs-devel
 Summary:Development files for libguesfs OCaml bindings
-License:GPL-2.0
+License:GPL-2.0-only
 Group:  Development/Languages/OCaml
 
 %description -n ocaml-libguestfs-devel
@@ -260,7 +261,7 @@
 %if %{with perl_bindings}
 %package -n perl-Sys-Guestfs
 Summary:Perl bindings for libguestfs
-License:GPL-2.0
+License:GPL-2.0-only
 Group:  Development/Languages/Perl
 BuildRequires:  perl
 BuildRequires:  perl(Data::Dumper)
@@ -288,7 +289,7 @@
 %if %{with lua_bindings}
 %package -n lua-libguestfs
 Summary:Lua bindings for libguestfs
-License:GPL-2.0
+License:GPL-2.0-only
 Group:  Development/Languages/Lua
 BuildRequires:  lua-devel
 %define _configure_lua --enable-lua
@@ -303,7 +304,7 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %package -n python2-libguestfs
 Summary:Python 2 bindings for libguestfs
-License:GPL-2.0
+License:GPL-2.0-only
 Group:  Development/Languages/Python
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module setuptools}
@@ -321,7 +322,7 @@
 
 %package -n python3-libguestfs
 Summary:Python 3 bindings for libguestfs
-License:GPL-2.0
+License:GPL-2.0-only
 Group:  Development/Languages/Python
 BuildRequires:  python3
 BuildRequires:  python3-devel
@@ -338,11 +339,11 @@
 %if %{with ruby_bindings}
 %package -n rubygem-libguestfs
 Summary:Ruby bindings for libguestfs
-License:GPL-2.0
+License:GPL-2.0-only
 Group:  

commit libguestfs for openSUSE:Factory

2018-06-19 Thread root
Hello community,

here is the log from the commit of package libguestfs for openSUSE:Factory 
checked in at 2018-06-19 11:57:55

Comparing /work/SRC/openSUSE:Factory/libguestfs (Old)
 and  /work/SRC/openSUSE:Factory/.libguestfs.new (New)


Package is "libguestfs"

Tue Jun 19 11:57:55 2018 rev:63 rq:616447 version:1.38.0

Changes:

--- /work/SRC/openSUSE:Factory/libguestfs/libguestfs.changes2018-04-19 
15:33:16.829704754 +0200
+++ /work/SRC/openSUSE:Factory/.libguestfs.new/libguestfs.changes   
2018-06-19 11:58:04.674475368 +0200
@@ -1,0 +2,6 @@
+Mon Jun 11 13:39:04 UTC 2018 - oher...@suse.de
+
+- Remove zerofree from BuildRequires because only supermin will
+  consider this feature at runtime.
+
+---



Other differences:
--
++ libguestfs.spec ++
--- /var/tmp/diff_new_pack.3Mq59S/_old  2018-06-19 11:58:06.318414327 +0200
+++ /var/tmp/diff_new_pack.3Mq59S/_new  2018-06-19 11:58:06.322414178 +0200
@@ -27,7 +27,6 @@
 %bcond_without python_bindings
 %bcond_without perl_bindings
 %bcond_without hivex
-%bcond_without zerofree
 
 %bcond_without fuse
 
@@ -416,9 +415,6 @@
 BuildRequires:  util-linux-lang
 BuildRequires:  xfsprogs
 BuildRequires:  xz
-%if %{with zerofree}
-BuildRequires:  zerofree
-%endif
 BuildRequires:  ldmtool
 
 # Needed by guestfsd which is burried in the appliance




commit libguestfs for openSUSE:Factory

2018-04-19 Thread root
Hello community,

here is the log from the commit of package libguestfs for openSUSE:Factory 
checked in at 2018-04-19 15:33:14

Comparing /work/SRC/openSUSE:Factory/libguestfs (Old)
 and  /work/SRC/openSUSE:Factory/.libguestfs.new (New)


Package is "libguestfs"

Thu Apr 19 15:33:14 2018 rev:62 rq:598474 version:1.38.0

Changes:

--- /work/SRC/openSUSE:Factory/libguestfs/libguestfs.changes2018-03-01 
12:07:41.802339646 +0100
+++ /work/SRC/openSUSE:Factory/.libguestfs.new/libguestfs.changes   
2018-04-19 15:33:16.829704754 +0200
@@ -1,0 +2,5 @@
+Thu Apr 19 09:07:54 UTC 2018 - cbosdon...@suse.com
+
+- Build against libtirpc
+
+---



Other differences:
--
++ libguestfs.spec ++
--- /var/tmp/diff_new_pack.fJxnls/_old  2018-04-19 15:33:18.677628528 +0200
+++ /var/tmp/diff_new_pack.fJxnls/_new  2018-04-19 15:33:18.685628198 +0200
@@ -94,6 +94,7 @@
 BuildRequires:  libvirt-devel >= 1.2.20
 BuildRequires:  libxml2-devel
 BuildRequires:  ncurses-devel
+BuildRequires:  pkgconfig(libtirpc)
 %if %{with perl_bindings}
 BuildRequires:  perl(Module::Build)
 %endif




commit libguestfs for openSUSE:Factory

2018-03-01 Thread root
Hello community,

here is the log from the commit of package libguestfs for openSUSE:Factory 
checked in at 2018-03-01 12:07:41

Comparing /work/SRC/openSUSE:Factory/libguestfs (Old)
 and  /work/SRC/openSUSE:Factory/.libguestfs.new (New)


Package is "libguestfs"

Thu Mar  1 12:07:41 2018 rev:61 rq:580951 version:1.38.0

Changes:

--- /work/SRC/openSUSE:Factory/libguestfs/libguestfs.changes2018-02-23 
15:32:23.420902968 +0100
+++ /work/SRC/openSUSE:Factory/.libguestfs.new/libguestfs.changes   
2018-03-01 12:07:41.802339646 +0100
@@ -1,0 +2,13 @@
+Tue Feb 27 13:14:35 UTC 2018 - cbosdon...@suse.com
+
+- Remove unneeded createrepo build dependency (bsc#1082689)
+- builder-repository: fix SLES short id computation
+  Patch added:
+0a55098f-builder-repository-fix-compute_short_id-for-sles-X.0.patch
+- Fix handling of Latin-1 encoding in rpmdb (bsc#1075803)
+  Patches added:
+0001-Introduce-a-wrapper-around-xmlParseURI.patch
+0002-common-extract-UTF-8-conversion-function.patch
+0003-inspector-rpm-summary-and-description-may-not-be-utf.patch
+
+---

New:

  0001-Introduce-a-wrapper-around-xmlParseURI.patch
  0002-common-extract-UTF-8-conversion-function.patch
  0003-inspector-rpm-summary-and-description-may-not-be-utf.patch
  0a55098f-builder-repository-fix-compute_short_id-for-sles-X.0.patch



Other differences:
--
++ libguestfs.spec ++
--- /var/tmp/diff_new_pack.JfUvgA/_old  2018-03-01 12:07:42.838302459 +0100
+++ /var/tmp/diff_new_pack.JfUvgA/_new  2018-03-01 12:07:42.842302316 +0100
@@ -97,7 +97,6 @@
 %if %{with perl_bindings}
 BuildRequires:  perl(Module::Build)
 %endif
-BuildRequires:  createrepo
 BuildRequires:  db48-utils
 BuildRequires:  dhcp-client
 BuildRequires:  pcre-devel
@@ -140,9 +139,16 @@
 Url:http://libguestfs.org/
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Summary:Compatibility package for guestfs-tools
+# Upstream patches
 License:GPL-2.0
 Group:  System/Filesystems
 Patch0: d0e5a819-python-Fix-missing-additional-backslashes.patch 
+Patch1: 
0a55098f-builder-repository-fix-compute_short_id-for-sles-X.0.patch
+# Pending upstram review
+Patch50:0001-Introduce-a-wrapper-around-xmlParseURI.patch
+Patch51:0002-common-extract-UTF-8-conversion-function.patch
+Patch52:0003-inspector-rpm-summary-and-description-may-not-be-utf.patch
+# Our patches
 Patch100:   appliance.patch
 
 Source0:
http://download.libguestfs.org/1.38-stable/libguestfs-%{version}.tar.gz
@@ -554,6 +560,10 @@
 : _ignore_exclusive_arch '%{?_ignore_exclusive_arch}'
 %setup -q -a 789653
 %patch0 -p1
+%patch1 -p1
+%patch50 -p1
+%patch51 -p1
+%patch52 -p1
 %patch100 -p1
 
 %build

++ 0001-Introduce-a-wrapper-around-xmlParseURI.patch ++
>From 66dbffd38377abeb64144990421e52293613840a Mon Sep 17 00:00:00 2001
From: "Richard W.M. Jones" 
Date: Thu, 15 Feb 2018 15:55:35 +
Subject: [PATCH 1/3] Introduce a wrapper around xmlParseURI.
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

We only use xmlParseURI to parse our own "homebrew" URIs, for example
the ones used by guestfish --add or virt-v2v.  Unfortunately
xmlParseURI cannot handle URIs with spaces or other non-RFC-compliant
characters so simple commands like these fail:

  $ guestfish -a 'ssh://example.com/virtual machine.img'
  guestfish: --add: could not parse URI 'ssh://example.com/virtual machine.img'

  $ guestfish -a 'ssh://example.com/バーチャルマシン.img'
  guestfish: --add: could not parse URI 'ssh://example.com/バーチャルマシン.img'

This is a usability problem.  However since these are not expected to
be generic RFC-compliant URIs we can perform the required
percent-escaping ourselves instead of demanding that the user does
this.

Note that the wrapper function should not be used on real URLs or
libvirt URLs.
---
 common/mlxml/Makefile.am |   1 +
 common/mlxml/xml-c.c |  45 +--
 common/mlxml/xml.ml  |   1 +
 common/mlxml/xml.mli |   4 +
 common/options/uri.c |   5 +-
 common/utils/Makefile.am |   2 +
 common/utils/libxml2-utils.c | 178 +++
 common/utils/libxml2-utils.h |  27 +++
 v2v/input_vmx.ml |   8 +-
 v2v/virt-v2v.pod |   5 +-
 10 files changed, 258 insertions(+), 18 deletions(-)
 create mode 100644 common/utils/libxml2-utils.c
 create mode 100644 common/utils/libxml2-utils.h

diff --git a/common/mlxml/Makefile.am b/common/mlxml/Makefile.am
index 083c7a64b..739b58ae4 100644
--- a/common/mlxml/Makefile.am
+++ b/common/mlxml/Makefile.am
@@ -53,6 +53,7 @@ 

commit libguestfs for openSUSE:Factory

2018-02-23 Thread root
Hello community,

here is the log from the commit of package libguestfs for openSUSE:Factory 
checked in at 2018-02-23 15:32:03

Comparing /work/SRC/openSUSE:Factory/libguestfs (Old)
 and  /work/SRC/openSUSE:Factory/.libguestfs.new (New)


Package is "libguestfs"

Fri Feb 23 15:32:03 2018 rev:60 rq:579511 version:1.38.0

Changes:

--- /work/SRC/openSUSE:Factory/libguestfs/libguestfs.changes2018-02-12 
10:15:53.624037678 +0100
+++ /work/SRC/openSUSE:Factory/.libguestfs.new/libguestfs.changes   
2018-02-23 15:32:23.420902968 +0100
@@ -1,0 +2,6 @@
+Fri Feb 23 08:53:30 UTC 2018 - adam.ma...@suse.de
+
+- Remove dependency on wodim for openSUSE:Factory and use cdrtools
+  (bnc#1081739)
+
+---



Other differences:
--
++ libguestfs.spec ++
--- /var/tmp/diff_new_pack.8RHlN3/_old  2018-02-23 15:32:25.036844581 +0100
+++ /var/tmp/diff_new_pack.8RHlN3/_new  2018-02-23 15:32:25.040844436 +0100
@@ -358,7 +358,6 @@
 BuildRequires:  bc
 BuildRequires:  btrfsprogs
 BuildRequires:  bzip2
-BuildRequires:  cdrkit-cdrtools-compat
 BuildRequires:  coreutils
 BuildRequires:  cpio
 BuildRequires:  cryptsetup
@@ -368,7 +367,12 @@
 BuildRequires:  file
 BuildRequires:  findutils
 BuildRequires:  gawk
+%if 0%{?suse_version} >= 1500
+BuildRequires:  mkisofs
+%else
+BuildRequires:  cdrkit-cdrtools-compat
 BuildRequires:  genisoimage
+%endif
 BuildRequires:  glibc
 BuildRequires:  gptfdisk
 BuildRequires:  grep
@@ -440,7 +444,11 @@
 Recommends: mdadm
 Recommends: parted
 Recommends: zerofree
+%if 0%{?suse_version} >= 1500
+Recommends: mkisofs
+%else
 Recommends: genisoimage
+%endif
 Recommends: ldmtool
 %if ! 0%{?is_opensuse}
 Recommends: guestfs-winsupport




commit libguestfs for openSUSE:Factory

2018-02-12 Thread root
Hello community,

here is the log from the commit of package libguestfs for openSUSE:Factory 
checked in at 2018-02-12 10:15:50

Comparing /work/SRC/openSUSE:Factory/libguestfs (Old)
 and  /work/SRC/openSUSE:Factory/.libguestfs.new (New)


Package is "libguestfs"

Mon Feb 12 10:15:50 2018 rev:59 rq:575411 version:1.38.0

Changes:

--- /work/SRC/openSUSE:Factory/libguestfs/libguestfs.changes2017-12-08 
12:59:36.040890472 +0100
+++ /work/SRC/openSUSE:Factory/.libguestfs.new/libguestfs.changes   
2018-02-12 10:15:53.624037678 +0100
@@ -1,0 +2,45 @@
+Fri Feb  9 19:39:31 UTC 2018 - cbosdon...@suse.com
+
+- update to version 1.38.0:
+  * Virt-builder-repository is a new tool allowing end users to
+create and update virt-builder repositories. (fate#318952)
+  * Virt-rescue has been substantially rewritten, implementing job
+control, -m and -i options, escape keys, etc.
+  * Virt-builder planner has been improved so that faster and more
+efficient build plans are chosen for complex cases, especially when
+either the tmpdir or output is on networked storage.
+  * Virt-customize now sets a random /etc/machine-id for Linux guests, if
+one is not already set.
+  * Virt-df now works correctly on filesystems with block sizes smaller
+than 1K.
+  * Virt-dib has further compatibility enhancements with diskimage-builder.
+  * Virt-sysprep removes "DHCP_HOSTNAME" from ifcfg-* files.
+  * Virt-resize now correctly copies GPT partition attributes from the
+source to the destination. (bsc#1074585)
+  * Bash tab completion implemented or enhanced for: virt-win-reg,
+virt-v2v-copy-to-local.
+  * Both virt-v2v and virt-p2v are now able to pass through the source CPU
+vendor, model and topology.
+  * Virt-v2v now supports encrypted guests.
+  * Virt-v2v now detects the special Linux Xen PV-only kernels correctly
+  * Virt-v2v -o glance now generates the right properties for UEFI guests
+  * Virt-v2v -o null now avoids spooling the guest to a temporary file,
+instead it writes to the qemu "null block device".  This makes it
+faster and use almost no disk space.
+  * Virt-v2v -i libvirtxml can now open network disks over http or https.
+  * Virt-v2v will now give a warning about host passthrough devices
+  * Inspection support was rewritten in OCaml and included inside the
+daemon.  This makes inspection considerably faster, more robust and
+more easily extensible in future.
+  * The libguestfs API is now thread-safe (although not parallel).  You can
+call APIs on the same handle from multiple threads without needing to
+take a lock.
+- Removed patches:
+531316cc-build-improve-and-simplify-distro-detection.patch
+9d25b4e5-python-add-simple-wrappers-for-PyObject-string-funct.patch
+f3f99a09-python-use-right-func-when-PyString_FromStringAndSiz.patch
+- Added patches:
+d0e5a819-python-Fix-missing-additional-backslashes.patch
+  
+
+---

Old:

  531316cc-build-improve-and-simplify-distro-detection.patch
  9d25b4e5-python-add-simple-wrappers-for-PyObject-string-funct.patch
  f3f99a09-python-use-right-func-when-PyString_FromStringAndSiz.patch
  libguestfs-1.36.5.tar.gz

New:

  d0e5a819-python-Fix-missing-additional-backslashes.patch
  libguestfs-1.38.0.tar.gz



Other differences:
--
++ libguestfs.spec ++
--- /var/tmp/diff_new_pack.OSrhvp/_old  2018-02-12 10:15:54.851993428 +0100
+++ /var/tmp/diff_new_pack.OSrhvp/_new  2018-02-12 10:15:54.855993284 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libguestfs
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 # Copyright (c) 2011 Michal Hrusecky 
 #
 # All modifications and additions to the file contributed by third parties
@@ -18,7 +18,7 @@
 # needsbinariesforbuild
 
 
-Version:1.36.5
+Version:1.38.0
 Release:0
 %{ocaml_preserve_bytecode}
 
@@ -33,7 +33,7 @@
 
 %bcond_without ruby_bindings
 
-%bcond_without p2v
+%bcond_with p2v
 
 %bcond_without bash_completion
 # The following defines are overridden in the individual subpackages
@@ -91,7 +91,7 @@
 BuildRequires:  libcap-devel
 BuildRequires:  libconfig-devel
 BuildRequires:  libtool
-BuildRequires:  libvirt-devel >= 0.10.2
+BuildRequires:  libvirt-devel >= 1.2.20
 BuildRequires:  libxml2-devel
 BuildRequires:  ncurses-devel
 %if %{with perl_bindings}
@@ -109,8 +109,12 @@
 BuildRequires:  pkgconfig(yajl) >= 2.0.4
 # Required to build tools, its independent from bindings
 BuildRequires:  glib2-devel
-BuildRequires:  ocaml
+BuildRequires:  ocaml >= 4.01
 BuildRequires:  ocaml-findlib
+BuildRequires:  ocaml-gettext-devel

commit libguestfs for openSUSE:Factory

2017-12-08 Thread root
Hello community,

here is the log from the commit of package libguestfs for openSUSE:Factory 
checked in at 2017-12-08 12:59:35

Comparing /work/SRC/openSUSE:Factory/libguestfs (Old)
 and  /work/SRC/openSUSE:Factory/.libguestfs.new (New)


Package is "libguestfs"

Fri Dec  8 12:59:35 2017 rev:58 rq:554862 version:1.36.5

Changes:

--- /work/SRC/openSUSE:Factory/libguestfs/libguestfs.changes2017-10-26 
18:45:59.747437963 +0200
+++ /work/SRC/openSUSE:Factory/.libguestfs.new/libguestfs.changes   
2017-12-08 12:59:36.040890472 +0100
@@ -1,0 +2,17 @@
+Mon Dec  4 17:18:57 UTC 2017 - cbosdon...@suse.com
+
+- evtxdump is in python3-evtx, drop python2 dependency
+  (fate#323526)
+- add hwinfo to the appliance packages for ntfs support.
+  (bsc#1070976)
+- Don't run fdupes as it symlinks some of the python3 binding
+  files to their python2 equivalent
+
+---
+Wed Nov 22 16:22:39 UTC 2017 - cbosdon...@suse.com
+
+- Add db48-utils dependency: needed to inspect the installed
+  packages.
+- Remove useless patch: -hotfix.patch
+
+---

Old:

  -hotfix.patch



Other differences:
--
++ libguestfs.spec ++
--- /var/tmp/diff_new_pack.Mi1cZp/_old  2017-12-08 12:59:37.672831534 +0100
+++ /var/tmp/diff_new_pack.Mi1cZp/_new  2017-12-08 12:59:37.672831534 +0100
@@ -82,7 +82,6 @@
 %endif
 %endif
 BuildRequires:  bison
-BuildRequires:  fdupes
 BuildRequires:  file-devel
 BuildRequires:  flex
 BuildRequires:  gcc
@@ -139,7 +138,6 @@
 Summary:Compatibility package for guestfs-tools
 License:GPL-2.0
 Group:  System/Filesystems
-Patch0: -hotfix.patch
 # PATCH-FIX-UPSTREAM - python3 fixes
 Patch1: 
9d25b4e5-python-add-simple-wrappers-for-PyObject-string-funct.patch
 Patch2: 
f3f99a09-python-use-right-func-when-PyString_FromStringAndSiz.patch
@@ -176,7 +174,7 @@
 Provides:   %{name} = %{version}
 Obsoletes:  %{name} < %{version}
 Requires:   libguestfs0 = %{version}
-Requires:   python-evtx
+Requires:   python3-evtx
 %if %{with bash_completion}
 Recommends: bash-completion >= 2.0
 %endif
@@ -441,7 +439,7 @@
 Recommends: zerofree
 Recommends: genisoimage
 Recommends: ldmtool
-%if %{?is_opensuse:0} == 0
+%if ! 0%{?is_opensuse}
 Recommends: guestfs-winsupport
 %endif
 
@@ -455,7 +453,7 @@
 libguestfs needs for it's run a virtual machine image.
 This package provides such an image, an initrd and a kernel.
 
-%if 0%{?is_opensuse} == 0
+%if ! 0%{?is_opensuse}
 %package -n guestfs-winsupport
 Summary:Windows guest support in libguestfs
 License:GPL-2.0+
@@ -489,6 +487,7 @@
 License:LGPL-2.1
 Group:  System/Libraries
 Requires:   %{kvm_binary}
+Requires:   db48-utils
 Requires:   guestfs-data >= %{version}
 Requires:   qemu >= 2.0
 Requires:   qemu-tools
@@ -543,7 +542,6 @@
 %prep
 : _ignore_exclusive_arch '%{?_ignore_exclusive_arch}'
 %setup -q -a 789653
-%patch0 -p1
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
@@ -661,10 +659,9 @@
 #
 touch %{name}.lang
 %find_lang %{name}
-%fdupes -s %{buildroot}/
 
 # Appliance NTFS files
-%if %{?is_opensuse}
+%if 0%{?is_opensuse}
 mkdir -p %{buildroot}/tmp/etc/alternatives
 pushd %{buildroot}/tmp/etc/alternatives
 ln -s /sbin/mount.ntfs-3g mount.ntfs
@@ -687,7 +684,10 @@
 tar zcf %{buildroot}%{_libdir}/guestfs/supermin.d/zz-winsupport.tar.gz .
 popd
 
-echo "libfuse2" > 
%{buildroot}%{_libdir}/guestfs/supermin.d/zz-packages-winsupport
+cat > %{buildroot}%{_libdir}/guestfs/supermin.d/zz-packages-winsupport << EOF
+libfuse2
+hwinfo
+EOF
 %endif
 
 mkdir -p %{buildroot}/tmp/usr/bin
@@ -723,11 +723,10 @@
 %{_libdir}/guestfs/supermin.d/packages
 %{_libdir}/guestfs/supermin.d/zz-scripts.tar.gz
 
-%if %{?is_opensuse}
+%if 0%{?is_opensuse}
 %{_libdir}/guestfs/supermin.d/zz-ntfs-symlink.tar.gz
-%endif
+%else
 
-%if 0%{?is_opensuse} == 0
 %files -n guestfs-winsupport
 %defattr(-,root,root)
 %{_libdir}/guestfs/supermin.d/zz-*winsupport*




commit libguestfs for openSUSE:Factory

2017-10-26 Thread root
Hello community,

here is the log from the commit of package libguestfs for openSUSE:Factory 
checked in at 2017-10-26 18:45:42

Comparing /work/SRC/openSUSE:Factory/libguestfs (Old)
 and  /work/SRC/openSUSE:Factory/.libguestfs.new (New)


Package is "libguestfs"

Thu Oct 26 18:45:42 2017 rev:57 rq:536717 version:1.36.5

Changes:

--- /work/SRC/openSUSE:Factory/libguestfs/libguestfs.changes2017-10-19 
19:34:16.374879679 +0200
+++ /work/SRC/openSUSE:Factory/.libguestfs.new/libguestfs.changes   
2017-10-26 18:45:59.747437963 +0200
@@ -1,0 +2,10 @@
+Wed Oct 25 13:24:50 UTC 2017 - cbosdon...@suse.com
+
+- Move guestfs-data to libguestfs0. bsc#1064399
+- Force distro detection
+  Removed:
+* use-idlike.patch
+  Added:
+* 531316cc-build-improve-and-simplify-distro-detection.patch
+
+---

Old:

  use-idlike.patch

New:

  531316cc-build-improve-and-simplify-distro-detection.patch



Other differences:
--
++ libguestfs.spec ++
--- /var/tmp/diff_new_pack.I0S2o8/_old  2017-10-26 18:46:01.131373368 +0200
+++ /var/tmp/diff_new_pack.I0S2o8/_new  2017-10-26 18:46:01.131373368 +0200
@@ -143,8 +143,8 @@
 # PATCH-FIX-UPSTREAM - python3 fixes
 Patch1: 
9d25b4e5-python-add-simple-wrappers-for-PyObject-string-funct.patch
 Patch2: 
f3f99a09-python-use-right-func-when-PyString_FromStringAndSiz.patch
-# PATCH-FIX-OPENSUSE - pending upstream review, fixing distro detection in OBS
-Patch3: use-idlike.patch
+# PATCH-FIX-UPSTREAM - add configure --with-distro parameter
+Patch3: 531316cc-build-improve-and-simplify-distro-detection.patch
 Patch100:   appliance.patch
 
 Source0:
http://download.libguestfs.org/1.36-stable/libguestfs-%{version}.tar.gz
@@ -195,7 +195,6 @@
 Requires:   perl(Win::Hivex::Regedit)
 %endif
 %endif
-Requires:   guestfs-data >= %{version}
 
 %if %{with fuse}
 Requires:   fuse
@@ -274,7 +273,6 @@
 #
 Provides:   libguestfs-perl = %{version}
 Obsoletes:  libguestfs-perl < %{version}
-Requires:   guestfs-data >= %{version}
 Requires:   perl(File::Temp)
 Requires:   perl(Locale::TextDomain)
 %perl_requires
@@ -289,7 +287,6 @@
 License:GPL-2.0
 Group:  Development/Languages/Lua
 BuildRequires:  lua-devel
-Requires:   guestfs-data >= %{version}
 %define _configure_lua --enable-lua
 #
 
@@ -313,7 +310,6 @@
 Obsoletes:  libguestfs-python < %{version}
 Obsoletes:  python-libguestfs < %{version}
 Provides:   python-libguestfs = %{version}
-Requires:   guestfs-data >= %{version}
 
 %description -n python2-libguestfs
 Allows Python 2 scripts to directly use libguestfs.
@@ -327,7 +323,6 @@
 Obsoletes:  libguestfs-python < %{version}
 Obsoletes:  python-libguestfs < %{version}
 Provides:   python-libguestfs = %{version}
-Requires:   guestfs-data >= %{version}
 
 %description -n python3-libguestfs
 Allows Python 3 scripts to directly use libguestfs.
@@ -341,7 +336,6 @@
 BuildRequires:  ruby
 BuildRequires:  ruby-devel
 BuildRequires:  rubygem-rake
-Requires:   guestfs-data >= %{version}
 %define _configure_ruby --enable-ruby
 #
 
@@ -495,6 +489,7 @@
 License:LGPL-2.1
 Group:  System/Libraries
 Requires:   %{kvm_binary}
+Requires:   guestfs-data >= %{version}
 Requires:   qemu >= 2.0
 Requires:   qemu-tools
 Requires:   supermin >= 5.1.6
@@ -599,7 +594,8 @@
%{_configure_python} \
%{_configure_ruby} \
--disable-rpath \
-   --disable-static 
+   --disable-static \
+--with-distro=SUSE 
 #Workaround an autotools bug
 make -j1 -C builder index-parse.c
 # 'INSTALLDIRS' ensures that perl libs are installed in the vendor dir instead 
of the site dir

++ 531316cc-build-improve-and-simplify-distro-detection.patch ++
>From 531316cc3f25db22d94310334dc8b61596dc263f Mon Sep 17 00:00:00 2001
From: Pino Toscano 
Date: Mon, 25 Sep 2017 14:29:47 +0200
Subject: [PATCH] build: improve and simplify distro detection

Add a --with-distro=ID argument for configure, so it is possible to
manually specify the distro to use for the packages (in case os-release
does not provide ID=.., or the ID is not recognized yet).

In the case when --with-distro is not set, keep doing the autodetection,
but using os-release only, i.e. dropping the checks for all the other
-release files -- since there is --with-distro, older distros with no
os-release can still be used.

RWMJ: Add documentation to guestfs-building(1).
---
 docs/guestfs-building.pod | 14 ++
 m4/guestfs_appliance.m4   | 44 +++-
 2 files changed, 33 insertions(+), 25 deletions(-)

diff --git 

commit libguestfs for openSUSE:Factory

2017-10-19 Thread root
Hello community,

here is the log from the commit of package libguestfs for openSUSE:Factory 
checked in at 2017-10-19 19:33:54

Comparing /work/SRC/openSUSE:Factory/libguestfs (Old)
 and  /work/SRC/openSUSE:Factory/.libguestfs.new (New)


Package is "libguestfs"

Thu Oct 19 19:33:54 2017 rev:56 rq:535225 version:1.36.5

Changes:

--- /work/SRC/openSUSE:Factory/libguestfs/libguestfs.changes2017-09-26 
21:17:26.760891668 +0200
+++ /work/SRC/openSUSE:Factory/.libguestfs.new/libguestfs.changes   
2017-10-19 19:34:16.374879679 +0200
@@ -1,0 +2,5 @@
+Thu Oct 12 14:37:40 CEST 2017 - sbra...@suse.com
+
+- Use "OCaml" in RPM group exactly as all other packages do.
+
+---



Other differences:
--
++ libguestfs.spec ++
--- /var/tmp/diff_new_pack.byZOSp/_old  2017-10-19 19:34:17.458828964 +0200
+++ /var/tmp/diff_new_pack.byZOSp/_new  2017-10-19 19:34:17.462828777 +0200
@@ -240,7 +240,7 @@
 Summary:OCaml bindings for libguestfs
 #
 License:GPL-2.0
-Group:  Development/Languages/Ocaml
+Group:  Development/Languages/OCaml
 
 %description -n ocaml-libguestfs
 Allows OCaml scripts to directly use libguestfs.
@@ -248,7 +248,7 @@
 %package -n ocaml-libguestfs-devel
 Summary:Development files for libguesfs OCaml bindings
 License:GPL-2.0
-Group:  Development/Languages/Ocaml
+Group:  Development/Languages/OCaml
 
 %description -n ocaml-libguestfs-devel
 Allows OCaml scripts to directly use libguestfs.




commit libguestfs for openSUSE:Factory

2017-09-26 Thread root
Hello community,

here is the log from the commit of package libguestfs for openSUSE:Factory 
checked in at 2017-09-26 21:15:41

Comparing /work/SRC/openSUSE:Factory/libguestfs (Old)
 and  /work/SRC/openSUSE:Factory/.libguestfs.new (New)


Package is "libguestfs"

Tue Sep 26 21:15:41 2017 rev:55 rq:528607 version:1.36.5

Changes:

--- /work/SRC/openSUSE:Factory/libguestfs/libguestfs.changes2017-09-09 
20:25:57.886910697 +0200
+++ /work/SRC/openSUSE:Factory/.libguestfs.new/libguestfs.changes   
2017-09-26 21:17:26.760891668 +0200
@@ -1,0 +2,13 @@
+Thu Sep 21 13:25:16 UTC 2017 - jeng...@inai.de
+
+- Update summaries and RPM groups. Trim description for size.
+- Replace old $RPM_ shell vars by macros.
+  Remove redundant %clean section.
+
+---
+Wed Sep 20 17:18:24 UTC 2017 - cbosdon...@suse.com
+
+- Add windows support files to the appliance for SLES (fate#316274)
+- Merge SLES and openSUSE spec files.
+
+---

New:

  README



Other differences:
--
++ libguestfs.spec ++
--- /var/tmp/diff_new_pack.F7cAdE/_old  2017-09-26 21:17:27.952724108 +0200
+++ /var/tmp/diff_new_pack.F7cAdE/_new  2017-09-26 21:17:27.956723545 +0200
@@ -150,6 +150,7 @@
 Source0:
http://download.libguestfs.org/1.36-stable/libguestfs-%{version}.tar.gz
 Source1:libguestfs.rpmlintrc
 Source100:  mount-rootfs-and-chroot.sh
+Source101:  README
 Source789653:   Pod-Simple-3.23.tar.xz
 #
 Source10001:libguestfs.test.simple.run-libugestfs-test-tool.sh
@@ -168,16 +169,6 @@
 scripting changes to VMs, monitoring disk used/free statistics, P2V, V2V,
 performing partial backups, cloning VMs, and much else besides.
 
-libguestfs can access nearly any type of filesystem including: all known types
-of Linux filesystem (ext2/3/4, XFS, btrfs etc), any Windows filesystem (VFAT
-and NTFS), any Mac OS X and BSD filesystems, LVM2 volume management, MBR and
-GPT disk partitions, raw disks, qcow2, VirtualBox VDI, VMWare VMDK, CD and DVD
-ISOs, SD cards, and dozens more. libguestfs doesn't need root permissions.
-
-All this functionality is available through a convenient shell called
-guestfish, or use virt-rescue to get a rescue shell for fixing unbootable
-virtual machines.
-
 %package -n guestfs-tools
 Summary:Tools for accessing and modifying virtual machine disk images
 License:GPL-2.0
@@ -246,18 +237,18 @@
 #
 %if %{with ocaml_bindings}
 %package -n ocaml-libguestfs
-Summary:Provides OCaml support for libguestfs
+Summary:OCaml bindings for libguestfs
 #
 License:GPL-2.0
-Group:  System/Filesystems
+Group:  Development/Languages/Ocaml
 
 %description -n ocaml-libguestfs
 Allows OCaml scripts to directly use libguestfs.
 
 %package -n ocaml-libguestfs-devel
-Summary:Provides OCaml support for libguestfs
+Summary:Development files for libguesfs OCaml bindings
 License:GPL-2.0
-Group:  Development/Libraries/Other
+Group:  Development/Languages/Ocaml
 
 %description -n ocaml-libguestfs-devel
 Allows OCaml scripts to directly use libguestfs.
@@ -265,9 +256,9 @@
 #
 %if %{with perl_bindings}
 %package -n perl-Sys-Guestfs
-Summary:Provides Perl support for libguestfs
+Summary:Perl bindings for libguestfs
 License:GPL-2.0
-Group:  System/Filesystems
+Group:  Development/Languages/Perl
 BuildRequires:  perl
 BuildRequires:  perl(Data::Dumper)
 BuildRequires:  perl(Getopt::Long)
@@ -294,9 +285,9 @@
 #
 %if %{with lua_bindings}
 %package -n lua-libguestfs
-Summary:Provides Lua support for libguestfs
+Summary:Lua bindings for libguestfs
 License:GPL-2.0
-Group:  System/Filesystems
+Group:  Development/Languages/Lua
 BuildRequires:  lua-devel
 Requires:   guestfs-data >= %{version}
 %define _configure_lua --enable-lua
@@ -310,9 +301,9 @@
 %if %{with python_bindings}
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %package -n python2-libguestfs
-Summary:Provides Python 2 support for libguestfs
+Summary:Python 2 bindings for libguestfs
 License:GPL-2.0
-Group:  System/Filesystems
+Group:  Development/Languages/Python
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  python
@@ -328,9 +319,9 @@
 Allows Python 2 scripts to directly use libguestfs.
 
 %package -n python3-libguestfs
-Summary:Provides Python 3 support for libguestfs
+Summary:Python 3 bindings for libguestfs
 License:GPL-2.0
-Group:  System/Filesystems
+Group:  

commit libguestfs for openSUSE:Factory

2017-09-09 Thread root
Hello community,

here is the log from the commit of package libguestfs for openSUSE:Factory 
checked in at 2017-09-09 20:25:57

Comparing /work/SRC/openSUSE:Factory/libguestfs (Old)
 and  /work/SRC/openSUSE:Factory/.libguestfs.new (New)


Package is "libguestfs"

Sat Sep  9 20:25:57 2017 rev:54 rq:521910 version:1.36.5

Changes:

--- /work/SRC/openSUSE:Factory/libguestfs/libguestfs.changes2017-09-04 
12:35:03.946115530 +0200
+++ /work/SRC/openSUSE:Factory/.libguestfs.new/libguestfs.changes   
2017-09-09 20:25:57.886910697 +0200
@@ -1,0 +2,6 @@
+Mon Sep  4 19:15:25 UTC 2017 - cbosdon...@suse.com
+
+- Tweak configuration before building for python3 or PyString_*
+  symbols will still be missing
+
+---



Other differences:
--
++ libguestfs.spec ++
--- /var/tmp/diff_new_pack.zKKboB/_old  2017-09-09 20:25:58.922764692 +0200
+++ /var/tmp/diff_new_pack.zKKboB/_new  2017-09-09 20:25:58.926764128 +0200
@@ -653,8 +653,16 @@
 sed -i -e "s:libraries=:library_dirs=['$RPM_BUILD_ROOT/%{_libdir}'], 
libraries=:" setup.py
 make stamp-extra-files
 # Build needs libguestfs library to be installed
-%python_build
-%python_install
+
+# HACKY! Change config.h for python2
+echo '#define HAVE_PYSTRING_ASSTRING 1' >> config.h
+%python2_build
+%python2_install
+
+# HACKY! Change config.h for python3
+sed 's/\(#define HAVE_PYSTRING_ASSTRING 1\)/\/* \1 *\//' -i config.h
+%python3_build
+%python3_install
 popd
 %endif
 




commit libguestfs for openSUSE:Factory

2017-09-04 Thread root
Hello community,

here is the log from the commit of package libguestfs for openSUSE:Factory 
checked in at 2017-09-04 12:34:55

Comparing /work/SRC/openSUSE:Factory/libguestfs (Old)
 and  /work/SRC/openSUSE:Factory/.libguestfs.new (New)


Package is "libguestfs"

Mon Sep  4 12:34:55 2017 rev:53 rq:520200 version:1.36.5

Changes:

--- /work/SRC/openSUSE:Factory/libguestfs/libguestfs.changes2017-08-22 
11:07:32.769971394 +0200
+++ /work/SRC/openSUSE:Factory/.libguestfs.new/libguestfs.changes   
2017-09-04 12:35:03.946115530 +0200
@@ -1,0 +2,10 @@
+Thu Aug 31 15:25:06 UTC 2017 - cbosdon...@suse.com
+
+- Fix python binding for python3
+  add patches:
+  * 9d25b4e5-python-add-simple-wrappers-for-PyObject-string-funct.patch
+  * f3f99a09-python-use-right-func-when-PyString_FromStringAndSiz.patch
+- Better fix for SUSE distro detection using ID_LIKE as fallback:
+  * use-idlike.patch
+
+---

New:

  9d25b4e5-python-add-simple-wrappers-for-PyObject-string-funct.patch
  f3f99a09-python-use-right-func-when-PyString_FromStringAndSiz.patch
  use-idlike.patch



Other differences:
--
++ libguestfs.spec ++
--- /var/tmp/diff_new_pack.9h2YnL/_old  2017-09-04 12:35:06.301784311 +0200
+++ /var/tmp/diff_new_pack.9h2YnL/_new  2017-09-04 12:35:06.317782062 +0200
@@ -140,6 +140,11 @@
 License:GPL-2.0
 Group:  System/Filesystems
 Patch0: -hotfix.patch
+# PATCH-FIX-UPSTREAM - python3 fixes
+Patch1: 
9d25b4e5-python-add-simple-wrappers-for-PyObject-string-funct.patch
+Patch2: 
f3f99a09-python-use-right-func-when-PyString_FromStringAndSiz.patch
+# PATCH-FIX-OPENSUSE - pending upstream review, fixing distro detection in OBS
+Patch3: use-idlike.patch
 Patch100:   appliance.patch
 
 Source0:
http://download.libguestfs.org/1.36-stable/libguestfs-%{version}.tar.gz
@@ -301,6 +306,7 @@
 Allows lua scripts to directly use libguestfs.
 %endif
 #
+
 %if %{with python_bindings}
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %package -n python2-libguestfs
@@ -550,6 +556,9 @@
 : _ignore_exclusive_arch '%{?_ignore_exclusive_arch}'
 %setup -q -a 789653
 %patch0 -p1
+%patch1 -p1
+%patch2 -p1
+%patch3 -p1
 %patch100 -p1
 
 %build

++ 9d25b4e5-python-add-simple-wrappers-for-PyObject-string-funct.patch 
++
>From 9d25b4e56471f9c33ea6229a8b620fc800c240f8 Mon Sep 17 00:00:00 2001
From: Pino Toscano 
Date: Tue, 9 May 2017 15:12:40 +0200
Subject: [PATCH] python: add simple wrappers for PyObject<->string functions

The current need for #ifdef's based on the presence of
PyString_FromString makes both the OCaml code of the generator, and the
generated C code a mess to read.

Hence, add three simple wrappers to make both the OCaml, and C code more
readable, and easier to tweak in the future.

This should be just refactoring, with no actual behaviour changes.

Thanks to: Matteo Cafasso
---
 generator/python.ml | 72 -
 python/handle.c | 65 ++-
 2 files changed, 53 insertions(+), 84 deletions(-)

diff --git a/generator/python.ml b/generator/python.ml
index 0162733f9..cf0829489 100644
--- a/generator/python.ml
+++ b/generator/python.ml
@@ -91,6 +91,9 @@ extern PyObject *guestfs_int_py_event_to_string (PyObject 
*self, PyObject *args)
 extern char **guestfs_int_py_get_string_list (PyObject *obj);
 extern PyObject *guestfs_int_py_put_string_list (char * const * const argv);
 extern PyObject *guestfs_int_py_put_table (char * const * const argv);
+extern PyObject *guestfs_int_py_fromstring (const char *str);
+extern PyObject *guestfs_int_py_fromstringsize (const char *str, size_t size);
+extern char *guestfs_int_py_asstring (PyObject *obj);
 
 ";
 
@@ -178,31 +181,16 @@ and generate_python_structs () =
 function
 | name, FString ->
 pr "  PyDict_SetItemString (dict, \"%s\",\n" name;
-pr "#ifdef HAVE_PYSTRING_ASSTRING\n";
-pr "PyString_FromString (%s->%s));\n"
-  typ name;
-pr "#else\n";
-pr "PyUnicode_FromString (%s->%s));\n"
-  typ name;
-pr "#endif\n"
+pr "guestfs_int_py_fromstring (%s->%s));\n"
+  typ name
 | name, FBuffer ->
 pr "  PyDict_SetItemString (dict, \"%s\",\n" name;
-pr "#ifdef HAVE_PYSTRING_ASSTRING\n";
-pr "PyString_FromStringAndSize (%s->%s, 
%s->%s_len));\n"
-  typ name typ name;
-pr "#else\n";
-pr "   

commit libguestfs for openSUSE:Factory

2017-08-22 Thread root
Hello community,

here is the log from the commit of package libguestfs for openSUSE:Factory 
checked in at 2017-08-22 11:07:26

Comparing /work/SRC/openSUSE:Factory/libguestfs (Old)
 and  /work/SRC/openSUSE:Factory/.libguestfs.new (New)


Package is "libguestfs"

Tue Aug 22 11:07:26 2017 rev:52 rq:514075 version:1.36.5

Changes:

--- /work/SRC/openSUSE:Factory/libguestfs/libguestfs.changes2017-06-04 
02:00:07.249728897 +0200
+++ /work/SRC/openSUSE:Factory/.libguestfs.new/libguestfs.changes   
2017-08-22 11:07:32.769971394 +0200
@@ -1,0 +2,31 @@
+Tue Jul 18 14:07:54 UTC 2017 - cbosdon...@suse.com
+
+- Add missing dependency on guestfs-data (bsc#1048848)
+- Add conflict with old virt-v2v (bsc#1050069)
+- Fix python binding package
+  * Replace python-libguestfs by python[23]-libguestfs packages
+  * Add egg-info to python[23]-libguestfs package
+
+---
+Mon Jul 17 07:05:10 UTC 2017 - dmuel...@suse.com
+
+- add dependency on augeas (bsc#1048620)
+
+---
+Sun Jul 16 09:07:22 UTC 2017 - dmuel...@suse.com
+
+- update to version 1.36.5:
+  * btrfs_replace: fix position of subcommand options
+  * lib: Move close_file_descriptors into guestfs-internal.h.
+  * daemon: lvm: Pass --yes option to force pvresize (RHBZ#1460577).
+  * lib: direct, uml: Unblock SIGTERM in the hypervisor and recovery processes 
(RHBZ#1460338).
+  * lib: create: Allow any [[:alnum:]]+ string as a backingfmt parameter 
(RHBZ#1459979).
+  * mllib: Handle empty files correctly in read_first_line_from_file.
+  * resize: make sure the input disk is read-only
+  * v2v: tell v2v the real root device to mkinitrd
+  * mllib: Export which in "stdlib mode".
+  * mllib: Export prog, quiet, trace, verbose in "stdlib mode".
+  * btrfs_replace: fix position of subcommand options
+- add download location for source verification purposes
+
+---

Old:

  libguestfs-1.36.4.tar.xz

New:

  libguestfs-1.36.5.tar.gz



Other differences:
--
++ libguestfs.spec ++
--- /var/tmp/diff_new_pack.0PNFHY/_old  2017-08-22 11:07:33.733835639 +0200
+++ /var/tmp/diff_new_pack.0PNFHY/_new  2017-08-22 11:07:33.741834513 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libguestfs
 #
-# Copyright (c) 2017 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 # Copyright (c) 2011 Michal Hrusecky 
 #
 # All modifications and additions to the file contributed by third parties
@@ -18,7 +18,7 @@
 # needsbinariesforbuild
 
 
-Version:1.36.4
+Version:1.36.5
 Release:0
 %{ocaml_preserve_bytecode}
 
@@ -70,7 +70,6 @@
 %if "%{?_ignore_exclusive_arch}" == ""
 ExclusiveArch:  x86_64 ppc64 ppc64le s390x aarch64
 %endif
-%{ocaml_preserve_bytecode}
 BuildRequires:  aaa_base
 BuildRequires:  attr-devel
 BuildRequires:  augeas-devel >= 1.0.0
@@ -143,7 +142,7 @@
 Patch0: -hotfix.patch
 Patch100:   appliance.patch
 
-Source0:%{name}-%{version}.tar.xz
+Source0:
http://download.libguestfs.org/1.36-stable/libguestfs-%{version}.tar.gz
 Source1:libguestfs.rpmlintrc
 Source100:  mount-rootfs-and-chroot.sh
 Source789653:   Pod-Simple-3.23.tar.xz
@@ -156,7 +155,7 @@
 
 #
 Requires:   guestfs-tools
-Requires:   virt-v2v
+Requires:   virt-v2v = %{version}
 
 %description
 libguestfs is a set of tools for accessing and modifying virtual machine (VM)
@@ -200,7 +199,7 @@
 Requires:   perl(Win::Hivex::Regedit)
 %endif
 %endif
-Requires:   guestfs-data
+Requires:   guestfs-data >= %{version}
 
 %if %{with fuse}
 Requires:   fuse
@@ -210,7 +209,6 @@
 Requires:   curl
 Requires:   gpg2
 Requires:   xz
-Conflicts:  guestfs-data < %{version}
 Conflicts:  libguestfs0 < %{version}
 
 %description -n guestfs-tools
@@ -244,9 +242,9 @@
 %if %{with ocaml_bindings}
 %package -n ocaml-libguestfs
 Summary:Provides OCaml support for libguestfs
+#
 License:GPL-2.0
 Group:  System/Filesystems
-#
 
 %description -n ocaml-libguestfs
 Allows OCaml scripts to directly use libguestfs.
@@ -280,6 +278,7 @@
 #
 Provides:   libguestfs-perl = %{version}
 Obsoletes:  libguestfs-perl < %{version}
+Requires:   guestfs-data >= %{version}
 Requires:   perl(File::Temp)
 Requires:   perl(Locale::TextDomain)
 %perl_requires
@@ -294,6 +293,7 @@
 License:GPL-2.0
 Group:  System/Filesystems
 BuildRequires:  lua-devel
+Requires:   guestfs-data >= %{version}
 %define _configure_lua --enable-lua
 #
 
@@ -302,20 +302,38 @@
 %endif
 #
 %if %{with 

commit libguestfs for openSUSE:Factory

2017-06-03 Thread root
Hello community,

here is the log from the commit of package libguestfs for openSUSE:Factory 
checked in at 2017-06-04 02:00:05

Comparing /work/SRC/openSUSE:Factory/libguestfs (Old)
 and  /work/SRC/openSUSE:Factory/.libguestfs.new (New)


Package is "libguestfs"

Sun Jun  4 02:00:05 2017 rev:51 rq:500561 version:1.36.4

Changes:

--- /work/SRC/openSUSE:Factory/libguestfs/libguestfs.changes2017-05-31 
12:20:50.199130438 +0200
+++ /work/SRC/openSUSE:Factory/.libguestfs.new/libguestfs.changes   
2017-06-04 02:00:07.249728897 +0200
@@ -1,0 +2,6 @@
+Thu Jun  1 16:12:07 UTC 2017 - cbosdon...@suse.com
+
+- Fix v2v conversion of SLES 11 SP4 with kdump enabled
+  bsc#1038397
+
+---



Other differences:
--
++ libguestfs.spec ++
--- /var/tmp/diff_new_pack.d9s6Af/_old  2017-06-04 02:00:09.045475430 +0200
+++ /var/tmp/diff_new_pack.d9s6Af/_new  2017-06-04 02:00:09.045475430 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libguestfs
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX Products GmbH, Nuernberg, Germany.
 # Copyright (c) 2011 Michal Hrusecky 
 #
 # All modifications and additions to the file contributed by third parties
@@ -244,9 +244,9 @@
 %if %{with ocaml_bindings}
 %package -n ocaml-libguestfs
 Summary:Provides OCaml support for libguestfs
-#
 License:GPL-2.0
 Group:  System/Filesystems
+#
 
 %description -n ocaml-libguestfs
 Allows OCaml scripts to directly use libguestfs.

++ -hotfix.patch ++
--- /var/tmp/diff_new_pack.d9s6Af/_old  2017-06-04 02:00:09.073471478 +0200
+++ /var/tmp/diff_new_pack.d9s6Af/_new  2017-06-04 02:00:09.073471478 +0200
@@ -0,0 +1,15 @@
+Index: libguestfs-1.36.4/v2v/convert_linux.ml
+===
+--- libguestfs-1.36.4.orig/v2v/convert_linux.ml
 libguestfs-1.36.4/v2v/convert_linux.ml
+@@ -514,7 +514,9 @@ let rec convert (g : G.guestfs) inspect
+   else if family = `SUSE_family
+&& g#is_file ~followsymlinks:true "/sbin/mkinitrd" then (
+ ignore (
+-  g#command [| "/sbin/mkinitrd";
++  g#command [| "/usr/bin/env";
++   "rootdev=" ^ inspect.i_root;
++   "/sbin/mkinitrd";
+"-m"; String.concat " " modules;
+"-i"; initrd;
+"-k"; kernel.ki_vmlinuz;




commit libguestfs for openSUSE:Factory

2017-05-31 Thread root
Hello community,

here is the log from the commit of package libguestfs for openSUSE:Factory 
checked in at 2017-05-31 12:20:48

Comparing /work/SRC/openSUSE:Factory/libguestfs (Old)
 and  /work/SRC/openSUSE:Factory/.libguestfs.new (New)


Package is "libguestfs"

Wed May 31 12:20:48 2017 rev:50 rq:499765 version:1.36.4

Changes:

--- /work/SRC/openSUSE:Factory/libguestfs/libguestfs.changes2017-05-16 
14:46:56.128121358 +0200
+++ /work/SRC/openSUSE:Factory/.libguestfs.new/libguestfs.changes   
2017-05-31 12:20:50.199130438 +0200
@@ -1,0 +2,6 @@
+Tue May 30 09:42:47 UTC 2017 - oher...@suse.de
+
+- Update to version 1.36.4
+  ... to fix build with gperf 3.1
+
+---

Old:

  libguestfs-1.32.4.tar.xz

New:

  libguestfs-1.36.4.tar.xz



Other differences:
--
++ libguestfs.spec ++
--- /var/tmp/diff_new_pack.SriyUA/_old  2017-05-31 12:20:51.674922107 +0200
+++ /var/tmp/diff_new_pack.SriyUA/_new  2017-05-31 12:20:51.678921542 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libguestfs
 #
-# Copyright (c) 2017 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 # Copyright (c) 2011 Michal Hrusecky 
 #
 # All modifications and additions to the file contributed by third parties
@@ -18,50 +18,24 @@
 # needsbinariesforbuild
 
 
-Version:1.32.4
+Version:1.36.4
 Release:0
+%{ocaml_preserve_bytecode}
 
-%define opt %(test -x %{_bindir}/ocamlopt && echo 1 || echo 0)
-%if !%opt
-# get rid of /usr/lib/rpm/find-debuginfo.sh
-# strip kills the bytecode part of ELF binaries
-# see also NO_BRP_STRIP_DEBUG in install section
-%undefine _build_create_debug
-%endif
-
-# disable certain features for a SLES11 build
-# in Virtualization repo in OBS they're reenabled via prjconf
-%if %suse_version == 1110
-%bcond_with ocaml_bindings
-%bcond_with lua_bindings
-%bcond_with python_bindings
-%bcond_with perl_bindings
-%bcond_with hivex
-%bcond_with zerofree
-%else
 %bcond_without ocaml_bindings
 %bcond_without lua_bindings
 %bcond_without python_bindings
 %bcond_without perl_bindings
 %bcond_without hivex
 %bcond_without zerofree
-%endif
 
 %bcond_without fuse
 
-%if %suse_version > 1210
 %bcond_without ruby_bindings
-%else
-%bcond_with ruby_bindings
-%endif
 
 %bcond_without p2v
 
-%if %suse_version >= 1230
 %bcond_without bash_completion
-%else
-%bcond_with bash_completion
-%endif
 # The following defines are overridden in the individual subpackages
 %define _configure_fuse --disable-fuse
 %define _configure_lua --disable-lua
@@ -70,12 +44,7 @@
 %define _configure_python --disable-python
 %define _configure_ruby --disable-ruby
 
-# /lib/udev is a symlink in 12.3+, package the full directory
-%if %suse_version > 1220
 %define udevrulesdir /usr/lib/udev/rules.d
-%else
-%define udevrulesdir /lib/udev/rules.d
-%endif
 #
 # use 'env LIBGUESTFS_HV=/path/to/kvm libguestfs-test-tool' to verify
 %define kvm_binary /bin/false
@@ -122,18 +91,13 @@
 BuildRequires:  gperf
 BuildRequires:  libacl-devel
 BuildRequires:  libcap-devel
-%if %suse_version >= 1220
 BuildRequires:  libconfig-devel
-%endif
 BuildRequires:  libtool
 BuildRequires:  libvirt-devel >= 0.10.2
 BuildRequires:  libxml2-devel
 BuildRequires:  ncurses-devel
 %if %{with perl_bindings}
 BuildRequires:  perl(Module::Build)
-%if %suse_version < 1140
-BuildRequires:  perl-macros
-%endif
 %endif
 BuildRequires:  createrepo
 BuildRequires:  db48-utils
@@ -143,13 +107,15 @@
 BuildRequires:  qemu-tools
 BuildRequires:  readline-devel
 BuildRequires:  supermin >= 5.1.6
+BuildRequires:  pkgconfig(dbus-1)
+BuildRequires:  pkgconfig(yajl) >= 2.0.4
 # Required to build tools, its independent from bindings
 BuildRequires:  glib2-devel
 BuildRequires:  ocaml
 BuildRequires:  ocaml-findlib
 
 #
-BuildRequires:  ocaml-rpm-macros >= 4.02.1
+BuildRequires:  ocaml-rpm-macros >= 4.03
 %if %{with ocaml_bindings}
 %define _configure_ocaml --enable-ocaml
 %endif
@@ -278,9 +244,9 @@
 %if %{with ocaml_bindings}
 %package -n ocaml-libguestfs
 Summary:Provides OCaml support for libguestfs
+#
 License:GPL-2.0
 Group:  System/Filesystems
-#
 
 %description -n ocaml-libguestfs
 Allows OCaml scripts to directly use libguestfs.
@@ -393,10 +359,8 @@
 BuildRequires:  gawk
 BuildRequires:  genisoimage
 BuildRequires:  glibc
-BuildRequires:  grep
-%if %suse_version > 1210
 BuildRequires:  gptfdisk
-%endif
+BuildRequires:  grep
 BuildRequires:  gzip
 BuildRequires:  initviocons
 BuildRequires:  iproute2
@@ -420,12 +384,8 @@
 %ifarch %ix86 x86_64
 BuildRequires:  syslinux
 %endif
-%if %suse_version >= 1210
 BuildRequires:  systemd
 BuildRequires:  systemd-sysvinit
-%else

commit libguestfs for openSUSE:Factory

2017-05-16 Thread root
Hello community,

here is the log from the commit of package libguestfs for openSUSE:Factory 
checked in at 2017-05-16 14:46:00

Comparing /work/SRC/openSUSE:Factory/libguestfs (Old)
 and  /work/SRC/openSUSE:Factory/.libguestfs.new (New)


Package is "libguestfs"

Tue May 16 14:46:00 2017 rev:49 rq:494930 version:1.32.4

Changes:

--- /work/SRC/openSUSE:Factory/libguestfs/libguestfs.changes2017-04-20 
20:54:49.699059422 +0200
+++ /work/SRC/openSUSE:Factory/.libguestfs.new/libguestfs.changes   
2017-05-16 14:46:56.128121358 +0200
@@ -1,0 +2,5 @@
+Mon May 15 12:13:40 UTC 2017 - cbosdon...@suse.com
+
+- Don't let mkinitrd guess the root device (bsc#1038397)
+
+---



Other differences:
--
++ -hotfix.patch ++
--- /var/tmp/diff_new_pack.uOyWjM/_old  2017-05-16 14:46:56.976002236 +0200
+++ /var/tmp/diff_new_pack.uOyWjM/_new  2017-05-16 14:46:56.980001674 +0200
@@ -828,6 +828,16 @@
 (* If several files match, take the shortest match.  This
  * handles the case where we have a mix of same-version non-Xen
  * and Xen kernels:
+@@ -844,7 +844,8 @@ let rec convert ~keep_serial_console (g
+   g#command [| "/sbin/mkinitrd";
+"-m"; String.concat " " modules;
+"-i"; initrd;
+-   "-k"; kernel.ki_vmlinuz |]
++   "-k"; kernel.ki_vmlinuz;
++   "-d"; inspect.i_root |]
+ )
+   )
+   else if g#is_file ~followsymlinks:true "/sbin/mkinitrd" then (
 Index: libguestfs-1.32.4/v2v/test-v2v-in-place.sh
 ===
 --- libguestfs-1.32.4.orig/v2v/test-v2v-in-place.sh




commit libguestfs for openSUSE:Factory

2017-04-20 Thread root
Hello community,

here is the log from the commit of package libguestfs for openSUSE:Factory 
checked in at 2017-04-20 20:54:44

Comparing /work/SRC/openSUSE:Factory/libguestfs (Old)
 and  /work/SRC/openSUSE:Factory/.libguestfs.new (New)


Package is "libguestfs"

Thu Apr 20 20:54:44 2017 rev:48 rq:487788 version:1.32.4

Changes:

--- /work/SRC/openSUSE:Factory/libguestfs/libguestfs.changes2016-12-02 
16:43:15.0 +0100
+++ /work/SRC/openSUSE:Factory/.libguestfs.new/libguestfs.changes   
2017-04-20 20:54:49.699059422 +0200
@@ -1,0 +2,7 @@
+Thu Apr  6 13:27:25 UTC 2017 - cbosdon...@suse.com
+
+- Add ldmtool to appliance (fate#320858)
+- Add cdrkit-cdrtools-compat to appliance, required for isoinfo*
+  APIs to work.
+
+---



Other differences:
--
++ libguestfs.spec ++
--- /var/tmp/diff_new_pack.U8osra/_old  2017-04-20 20:54:51.354825278 +0200
+++ /var/tmp/diff_new_pack.U8osra/_new  2017-04-20 20:54:51.358824712 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libguestfs
 #
-# Copyright (c) 2016 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX Products GmbH, Nuernberg, Germany.
 # Copyright (c) 2011 Michal Hrusecky 
 #
 # All modifications and additions to the file contributed by third parties
@@ -437,6 +437,7 @@
 %if %{with zerofree}
 BuildRequires:  zerofree
 %endif
+BuildRequires:  ldmtool
 
 # Needed by guestfsd which is burried in the appliance
 #
@@ -467,6 +468,7 @@
 Recommends: parted
 Recommends: zerofree
 Recommends: genisoimage
+Recommends: ldmtool
 
 Summary:Virtual machine needed for libguestfs
 License:GPL-2.0

++ -hotfix.patch ++
--- /var/tmp/diff_new_pack.U8osra/_old  2017-04-20 20:54:51.390820187 +0200
+++ /var/tmp/diff_new_pack.U8osra/_new  2017-04-20 20:54:51.390820187 +0200
@@ -594,8 +594,11 @@
 ===
 --- libguestfs-1.32.4.orig/appliance/packagelist.in
 +++ libguestfs-1.32.4/appliance/packagelist.in
-@@ -134,16 +134,21 @@ ifelse(SUSE,1,
+@@ -132,18 +132,25 @@ ifelse(SUSE,1,
+   dnl It seems no other augeas package depends on it.
+   augeas-lenses
btrfsprogs
++  cdrkit-cdrtools-compat
cryptsetup
dhcpcd
 +  dhcp-client
@@ -606,6 +609,7 @@
 +  initviocons
iproute2
iputils
++  ldmtool
libcap2
 +  libhivex0
libselinux1




commit libguestfs for openSUSE:Factory

2016-12-02 Thread h_root
Hello community,

here is the log from the commit of package libguestfs for openSUSE:Factory 
checked in at 2016-12-02 16:43:14

Comparing /work/SRC/openSUSE:Factory/libguestfs (Old)
 and  /work/SRC/openSUSE:Factory/.libguestfs.new (New)


Package is "libguestfs"

Changes:

--- /work/SRC/openSUSE:Factory/libguestfs/libguestfs.changes2016-09-24 
15:29:11.0 +0200
+++ /work/SRC/openSUSE:Factory/.libguestfs.new/libguestfs.changes   
2016-12-02 16:43:15.0 +0100
@@ -1,0 +2,5 @@
+Wed Nov 30 16:04:14 UTC 2016 - cbosdon...@suse.com
+
+- Add initviocons to appliance package (bsc#1011940)
+
+---



Other differences:
--
++ libguestfs.spec ++
--- /var/tmp/diff_new_pack.BMhzYM/_old  2016-12-02 16:43:16.0 +0100
+++ /var/tmp/diff_new_pack.BMhzYM/_new  2016-12-02 16:43:16.0 +0100
@@ -398,6 +398,7 @@
 BuildRequires:  gptfdisk
 %endif
 BuildRequires:  gzip
+BuildRequires:  initviocons
 BuildRequires:  iproute2
 BuildRequires:  jfsutils
 BuildRequires:  lvm2

++ -hotfix.patch ++
--- /var/tmp/diff_new_pack.BMhzYM/_old  2016-12-02 16:43:16.0 +0100
+++ /var/tmp/diff_new_pack.BMhzYM/_new  2016-12-02 16:43:16.0 +0100
@@ -594,7 +594,7 @@
 ===
 --- libguestfs-1.32.4.orig/appliance/packagelist.in
 +++ libguestfs-1.32.4/appliance/packagelist.in
-@@ -134,6 +134,7 @@ ifelse(SUSE,1,
+@@ -134,16 +134,21 @@ ifelse(SUSE,1,
btrfsprogs
cryptsetup
dhcpcd
@@ -602,7 +602,8 @@
genisoimage
glibc-locale
gptfdisk
-@@ -141,9 +142,12 @@ ifelse(SUSE,1,
+   hivex
++  initviocons
iproute2
iputils
libcap2




commit libguestfs for openSUSE:Factory

2016-09-24 Thread h_root
Hello community,

here is the log from the commit of package libguestfs for openSUSE:Factory 
checked in at 2016-09-24 15:28:18

Comparing /work/SRC/openSUSE:Factory/libguestfs (Old)
 and  /work/SRC/openSUSE:Factory/.libguestfs.new (New)


Package is "libguestfs"

Changes:

--- /work/SRC/openSUSE:Factory/libguestfs/libguestfs.changes2016-09-20 
13:27:45.0 +0200
+++ /work/SRC/openSUSE:Factory/.libguestfs.new/libguestfs.changes   
2016-09-24 15:29:11.0 +0200
@@ -1,0 +2,6 @@
+Thu Sep 22 13:45:00 UTC 2016 - cbosdon...@suse.com
+
+- Backport btrfs-related fixes (bsc#1000202)
+  commits: d6bba9b, f90185d, 4e0dbf9 and 738c3bf
+
+---



Other differences:
--
++ -hotfix.patch ++
--- /var/tmp/diff_new_pack.Fm23iR/_old  2016-09-24 15:29:12.0 +0200
+++ /var/tmp/diff_new_pack.Fm23iR/_new  2016-09-24 15:29:12.0 +0200
@@ -74,6 +74,27 @@
  name = "set_network"; added = (1, 5, 4);
  style = RErr, [Bool "network"], [];
  fish_alias = ["network"]; config_only = true;
+@@ -8897,7 +8923,7 @@ I keys." };
+ 
+   { defaults with
+ name = "is_lv"; added = (1, 5, 3);
+-style = RBool "lvflag", [Device "device"], [];
++style = RBool "lvflag", [Mountable "mountable"], [];
+ proc_nr = Some 264;
+ tests = [
+   InitBasicFSonLVM, Always, TestResultTrue (
+@@ -8905,9 +8931,9 @@ I keys." };
+   InitBasicFSonLVM, Always, TestResultFalse (
+ [["is_lv"; "/dev/sda1"]]), []
+ ];
+-shortdesc = "test if device is a logical volume";
++shortdesc = "test if mountable is a logical volume";
+ longdesc = "\
+-This command tests whether C is a logical volume, and
++This command tests whether C is a logical volume, and
+ returns true iff this is the case." };
+ 
+   { defaults with
 Index: libguestfs-1.32.4/po/POTFILES
 ===
 --- libguestfs-1.32.4.orig/po/POTFILES
@@ -2149,3 +2170,117 @@
  L,
  L,
  L,
+Index: libguestfs-1.32.4/daemon/lvm.c
+===
+--- libguestfs-1.32.4.orig/daemon/lvm.c
 libguestfs-1.32.4/daemon/lvm.c
+@@ -863,9 +863,11 @@ lv_canonical (const char *device, char *
+ 
+ /* Test if a device is a logical volume (RHBZ#619793). */
+ int
+-do_is_lv (const char *device)
++do_is_lv (const mountable_t *mountable)
+ {
+-  return lv_canonical (device, NULL);
++  if (mountable->type != MOUNTABLE_DEVICE)
++return 0;
++  return lv_canonical (mountable->device, NULL);
+ }
+ 
+ /* Return canonical name of LV to caller (RHBZ#638899). */
+Index: libguestfs-1.32.4/mllib/common_utils.ml
+===
+--- libguestfs-1.32.4.orig/mllib/common_utils.ml
 libguestfs-1.32.4/mllib/common_utils.ml
+@@ -833,3 +833,10 @@ let read_first_line_from_file filename =
+ let is_regular_file path = (* NB: follows symlinks. *)
+   try (Unix.stat path).Unix.st_kind = Unix.S_REG
+   with Unix.Unix_error _ -> false
++
++let is_btrfs_subvolume g fs =
++  try
++ignore (g#mountable_subvolume fs); true
++  with Guestfs.Error msg as exn ->
++if g#last_errno () = Guestfs.Errno.errno_EINVAL then false
++else raise exn
+Index: libguestfs-1.32.4/mllib/common_utils.mli
+===
+--- libguestfs-1.32.4.orig/mllib/common_utils.mli
 libguestfs-1.32.4/mllib/common_utils.mli
+@@ -273,3 +273,6 @@ val read_first_line_from_file : string -
+ 
+ val is_regular_file : string -> bool
+ (** Checks whether the file is a regular file. *)
++
++val is_btrfs_subvolume : Guestfs.guestfs -> string -> bool
++(** Checks if a filesystem is a btrfs subvolume. *)
+Index: libguestfs-1.32.4/sysprep/sysprep_operation_fs_uuids.ml
+===
+--- libguestfs-1.32.4.orig/sysprep/sysprep_operation_fs_uuids.ml
 libguestfs-1.32.4/sysprep/sysprep_operation_fs_uuids.ml
+@@ -30,13 +30,15 @@ let rec fs_uuids_perform g root side_eff
+   List.iter (function
+   | _, "unknown" -> ()
+   | dev, typ ->
+-let new_uuid = Common_utils.uuidgen () in
+-try
+-  g#set_uuid dev new_uuid
+-with
+-  G.Error msg ->
+-warning (f_"cannot set random UUID on filesystem %s type %s: %s")
+-  dev typ msg
++if not (is_btrfs_subvolume g dev) then (
++  let new_uuid = Common_utils.uuidgen () in
++  try
++g#set_uuid dev new_uuid
++  with
++G.Error msg ->
++  warning (f_"cannot set random UUID on filesystem %s type %s: %s")
++dev typ msg
++)
+   ) fses
+ 
+ let op = {
+Index: 

commit libguestfs for openSUSE:Factory

2016-09-20 Thread h_root
Hello community,

here is the log from the commit of package libguestfs for openSUSE:Factory 
checked in at 2016-09-20 13:27:43

Comparing /work/SRC/openSUSE:Factory/libguestfs (Old)
 and  /work/SRC/openSUSE:Factory/.libguestfs.new (New)


Package is "libguestfs"

Changes:

--- /work/SRC/openSUSE:Factory/libguestfs/libguestfs.changes2016-09-16 
11:01:50.0 +0200
+++ /work/SRC/openSUSE:Factory/.libguestfs.new/libguestfs.changes   
2016-09-20 13:27:45.0 +0200
@@ -1,0 +2,5 @@
+Mon Sep 19 09:18:21 UTC 2016 - cbosdon...@suse.com
+
+- Add mount.ntfs alternatives symlink for SLES too (fate#316274)
+
+---



Other differences:
--
++ libguestfs.spec ++
--- /var/tmp/diff_new_pack.WxNli6/_old  2016-09-20 13:27:46.0 +0200
+++ /var/tmp/diff_new_pack.WxNli6/_new  2016-09-20 13:27:46.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libguestfs
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX Products GmbH, Nuernberg, Germany.
 # Copyright (c) 2011 Michal Hrusecky 
 #
 # All modifications and additions to the file contributed by third parties
@@ -664,9 +664,6 @@
 %find_lang %{name}
 %fdupes -s $RPM_BUILD_ROOT
 
-# SLES has a different way to provide ntfs-3g feature.
-%if %suse_version == 1315
-%if 0%{?is_opensuse} == 1
 mkdir -p $RPM_BUILD_ROOT/tmp/etc/alternatives
 pushd $RPM_BUILD_ROOT/tmp/etc/alternatives
 ln -s /sbin/mount.ntfs-3g mount.ntfs
@@ -675,8 +672,6 @@
 tar czf $RPM_BUILD_ROOT/%{_libdir}/guestfs/supermin.d/zz-ntfs-symlink.tar.gz 
etc
 popd
 rm -rf $RPM_BUILD_ROOT/tmp
-%endif
-%endif
 
 mkdir -p $RPM_BUILD_ROOT/tmp/usr/bin
 cp %{S:100} $RPM_BUILD_ROOT/tmp/usr/bin




commit libguestfs for openSUSE:Factory

2016-09-16 Thread h_root
Hello community,

here is the log from the commit of package libguestfs for openSUSE:Factory 
checked in at 2016-09-16 11:01:50

Comparing /work/SRC/openSUSE:Factory/libguestfs (Old)
 and  /work/SRC/openSUSE:Factory/.libguestfs.new (New)


Package is "libguestfs"

Changes:

--- /work/SRC/openSUSE:Factory/libguestfs/libguestfs.changes2016-08-31 
00:12:18.0 +0200
+++ /work/SRC/openSUSE:Factory/.libguestfs.new/libguestfs.changes   
2016-09-16 11:01:50.0 +0200
@@ -1,0 +2,6 @@
+Wed Sep 14 13:13:10 UTC 2016 - oher...@suse.de
+
+- Remove obsolete kernel checks from specfile (fate#316274)
+- Remove kernel-default and mkinitrd from BuildRequires (fate#316274)
+
+---



Other differences:
--
++ libguestfs.spec ++
--- /var/tmp/diff_new_pack.8ftdPY/_old  2016-09-16 11:01:52.0 +0200
+++ /var/tmp/diff_new_pack.8ftdPY/_new  2016-09-16 11:01:52.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libguestfs
 #
-# Copyright (c) 2016 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 # Copyright (c) 2011 Michal Hrusecky 
 #
 # All modifications and additions to the file contributed by third parties
@@ -38,7 +38,6 @@
 %bcond_with perl_bindings
 %bcond_with hivex
 %bcond_with zerofree
-%bcond_without ext4_writeable
 %else
 %bcond_without ocaml_bindings
 %bcond_without lua_bindings
@@ -46,7 +45,6 @@
 %bcond_without perl_bindings
 %bcond_without hivex
 %bcond_without zerofree
-%bcond_withext4_writeable
 %endif
 
 %bcond_without fuse
@@ -72,11 +70,6 @@
 %define _configure_python --disable-python
 %define _configure_ruby --disable-ruby
 
-%if %suse_version > 1310
-%define use_included_mkinitrd 1
-%else
-%define use_included_mkinitrd 0
-%endif
 # /lib/udev is a symlink in 12.3+, package the full directory
 %if %suse_version > 1220
 %define udevrulesdir /usr/lib/udev/rules.d
@@ -84,23 +77,6 @@
 %define udevrulesdir /lib/udev/rules.d
 %endif
 #
-%define kernel_binary %{nil}
-%ifarch ia64 %ix86 x86_64
-%define kernel_binary /boot/vmlinuz
-%endif
-%ifarch ppc ppc64 ppc64le sparc64
-%define kernel_binary /boot/vmlinux
-%endif
-%ifarch s390 s390x
-%define kernel_binary /boot/image
-%endif
-%ifarch %arm
-%define kernel_binary /boot/uImage
-%endif
-%ifarch aarch64
-%define kernel_binary /boot/Image
-%endif
-#
 # use 'env LIBGUESTFS_HV=/path/to/kvm libguestfs-test-tool' to verify
 %define kvm_binary /bin/false
 %ifarch aarch64
@@ -401,10 +377,6 @@
 This package contains testcases to verify libguestfs functionality.
 
 %package -n guestfs-data
-# kernel-default needs that
-%if %{?sles_version}0 > 0
-BuildRequires:  sles-release
-%endif
 BuildRequires:  augeas-lenses
 BuildRequires:  bc
 BuildRequires:  btrfsprogs
@@ -416,12 +388,6 @@
 BuildRequires:  diffutils
 BuildRequires:  dosfstools
 BuildRequires:  e2fsprogs
-# ext4 in the sles11 kernel-binary.rpm packages operates only in read-only 
mode.
-# The generated initrd operates inside the temporary guest on image files.
-# For that reason it needs to make modifications to any kind of filesystems.
-%if %{with ext4_writeable}
-BuildRequires:  ext4-writeable-kmp-default
-%endif
 BuildRequires:  file
 BuildRequires:  findutils
 BuildRequires:  gawk
@@ -434,12 +400,8 @@
 BuildRequires:  gzip
 BuildRequires:  iproute2
 BuildRequires:  jfsutils
-BuildRequires:  kernel-default
 BuildRequires:  lvm2
 BuildRequires:  mdadm
-%if !%{use_included_mkinitrd}
-BuildRequires:  mkinitrd
-%endif
 BuildRequires:  module-init-tools
 BuildRequires:  ncurses-utils
 BuildRequires:  nfs-client
@@ -619,16 +581,6 @@
 # for configure macro below
 CFLAGS="$RPM_OPT_FLAGS -Wno-unused"
 CXXFLAGS="$RPM_OPT_FLAGS -Wno-unused"
-# If the kernel happens to have no virtio-scsi force virtio-blk usage in the 
tools
-# This is true for kernel.rpm included in 12.1 and older
-ls -laR /boot/ || :
-if /sbin/modinfo -k "`env PATH=/sbin:/usr/sbin:$PATH get_kernel_version 
'%{kernel_binary}'`" virtio-scsi
-then
-   : use virtio-scsi, which is the default in libguestfs
-else
-   CFLAGS="$CFLAGS -DGUESTFS_QEMU_NO_VIRTIO_BLK"
-   CXXFLAGS="$CXXFLAGS -DGUESTFS_QEMU_NO_VIRTIO_BLK"
-fi
 autoreconf -fi
 
 #




commit libguestfs for openSUSE:Factory

2016-08-30 Thread h_root
Hello community,

here is the log from the commit of package libguestfs for openSUSE:Factory 
checked in at 2016-08-31 00:11:11

Comparing /work/SRC/openSUSE:Factory/libguestfs (Old)
 and  /work/SRC/openSUSE:Factory/.libguestfs.new (New)


Package is "libguestfs"

Changes:

--- /work/SRC/openSUSE:Factory/libguestfs/libguestfs.changes2016-08-09 
22:14:47.0 +0200
+++ /work/SRC/openSUSE:Factory/.libguestfs.new/libguestfs.changes   
2016-08-31 00:12:18.0 +0200
@@ -1,0 +2,7 @@
+Fri Aug 26 13:55:55 UTC 2016 - cbosdon...@suse.com
+
+- Clean up dependencies and add recommends for optional packages
+  like the ones enabling file system features
+  fate#316274, bsc#993501
+
+---



Other differences:
--
++ libguestfs.spec ++
--- /var/tmp/diff_new_pack.NYWT45/_old  2016-08-31 00:12:20.0 +0200
+++ /var/tmp/diff_new_pack.NYWT45/_new  2016-08-31 00:12:20.0 +0200
@@ -268,11 +268,6 @@
 Requires:   curl
 Requires:   gpg2
 Requires:   xz
-
-# For core disk features
-Requires:   qemu-tools
-
-Recommends: mdadm
 Conflicts:  guestfs-data < %{version}
 Conflicts:  libguestfs0 < %{version}
 
@@ -493,6 +488,23 @@
 Requires:   libhivex0
 Requires:   libpcre1
 
+# For core disk features
+Requires:   qemu-tools
+
+# Optional packages that could be picked up by supermin
+Recommends: btrfsprogs
+Recommends: dosfstools
+Recommends: e2fsprogs
+Recommends: cryptsetup
+Recommends: gptfdisk
+Recommends: jfsutils
+Recommends: reiserfs
+Recommends: xfsprogs
+Recommends: mdadm
+Recommends: parted
+Recommends: zerofree
+Recommends: genisoimage
+
 Summary:Virtual machine needed for libguestfs
 License:GPL-2.0
 Group:  System/Filesystems




commit libguestfs for openSUSE:Factory

2016-08-09 Thread h_root
Hello community,

here is the log from the commit of package libguestfs for openSUSE:Factory 
checked in at 2016-08-09 22:14:46

Comparing /work/SRC/openSUSE:Factory/libguestfs (Old)
 and  /work/SRC/openSUSE:Factory/.libguestfs.new (New)


Package is "libguestfs"

Changes:

--- /work/SRC/openSUSE:Factory/libguestfs/libguestfs.changes2016-07-24 
19:53:13.0 +0200
+++ /work/SRC/openSUSE:Factory/.libguestfs.new/libguestfs.changes   
2016-08-09 22:14:47.0 +0200
@@ -1,0 +2,5 @@
+Thu Jul 28 10:03:14 UTC 2016 - cbosdon...@suse.com
+
+- Fix dependencies (fate#316274)
+
+---



Other differences:
--
++ libguestfs.spec ++
--- /var/tmp/diff_new_pack.3xpHbS/_old  2016-08-09 22:14:48.0 +0200
+++ /var/tmp/diff_new_pack.3xpHbS/_new  2016-08-09 22:14:48.0 +0200
@@ -259,6 +259,20 @@
 %endif
 %endif
 Requires:   guestfs-data
+
+%if %{with fuse}
+Requires:   fuse
+%endif
+
+# For virt-builder
+Requires:   curl
+Requires:   gpg2
+Requires:   xz
+
+# For core disk features
+Requires:   qemu-tools
+
+Recommends: mdadm
 Conflicts:  guestfs-data < %{version}
 Conflicts:  libguestfs0 < %{version}
 
@@ -465,6 +479,20 @@
 %if %{with zerofree}
 BuildRequires:  zerofree
 %endif
+
+# Needed by guestfsd which is burried in the appliance
+#
+# The problem with this design is that rpm can't find the
+# library dependencies from the guestfsd hidden in the
+# daemon.tar.gz tarball.Supermin will compute an appliance
+# at runtime based on the packages it will find on the host.
+# Thus if there is no libaugeas, libhivex, etc on the host,
+# the appliance will fail to start the guestfsd.
+Requires:   libaugeas0
+Requires:   libcap2
+Requires:   libhivex0
+Requires:   libpcre1
+
 Summary:Virtual machine needed for libguestfs
 License:GPL-2.0
 Group:  System/Filesystems
@@ -506,6 +534,7 @@
 Group:  System/Filesystems
 Requires:   %{kvm_binary}
 Requires:   qemu >= 2.0
+Requires:   qemu-tools
 Requires:   supermin >= 5.1.6
 %if %suse_version == 1315
 %if 0%{?is_opensuse} == 0
@@ -549,6 +578,7 @@
 Summary:Convert a physical machine to run on KVM
 License:GPL-2.0
 Group:  System/Management
+Requires:   gawk
 Requires:   virt-v2v = %{version}
 
 %description -n virt-p2v




commit libguestfs for openSUSE:Factory

2016-07-24 Thread h_root
Hello community,

here is the log from the commit of package libguestfs for openSUSE:Factory 
checked in at 2016-07-24 19:52:23

Comparing /work/SRC/openSUSE:Factory/libguestfs (Old)
 and  /work/SRC/openSUSE:Factory/.libguestfs.new (New)


Package is "libguestfs"

Changes:

--- /work/SRC/openSUSE:Factory/libguestfs/libguestfs.changes2016-07-21 
08:18:36.0 +0200
+++ /work/SRC/openSUSE:Factory/.libguestfs.new/libguestfs.changes   
2016-07-24 19:53:13.0 +0200
@@ -1,0 +2,8 @@
+Wed Jul 20 19:47:22 UTC 2016 - cbosdon...@suse.com
+
+- appliance fixes (fate#316274):
+  * re-add helper script mount-rootfs-and-chroot.sh for virt-rescue
+appliance.patch
+  * make guestfs-data a requirement of guestfs-tools
+
+---

New:

  appliance.patch
  mount-rootfs-and-chroot.sh



Other differences:
--
++ libguestfs.spec ++
--- /var/tmp/diff_new_pack.QLqpFJ/_old  2016-07-24 19:53:15.0 +0200
+++ /var/tmp/diff_new_pack.QLqpFJ/_new  2016-07-24 19:53:15.0 +0200
@@ -199,9 +199,11 @@
 License:GPL-2.0
 Group:  System/Filesystems
 Patch0: -hotfix.patch
+Patch100:   appliance.patch
 
 Source0:%{name}-%{version}.tar.xz
 Source1:libguestfs.rpmlintrc
+Source100:  mount-rootfs-and-chroot.sh
 Source789653:   Pod-Simple-3.23.tar.xz
 #
 Source10001:libguestfs.test.simple.run-libugestfs-test-tool.sh
@@ -256,7 +258,7 @@
 Requires:   perl(Win::Hivex::Regedit)
 %endif
 %endif
-Recommends: guestfs-data
+Requires:   guestfs-data
 Conflicts:  guestfs-data < %{version}
 Conflicts:  libguestfs0 < %{version}
 
@@ -558,6 +560,7 @@
 : _ignore_exclusive_arch '%{?_ignore_exclusive_arch}'
 %setup -q -a 789653
 %patch0 -p1
+%patch100 -p1
 
 %build
 bison --version
@@ -681,6 +684,14 @@
 %endif
 %endif
 
+mkdir -p $RPM_BUILD_ROOT/tmp/usr/bin
+cp %{S:100} $RPM_BUILD_ROOT/tmp/usr/bin
+chmod a+x $RPM_BUILD_ROOT/tmp/usr/bin/*
+pushd $RPM_BUILD_ROOT/tmp
+tar czf $RPM_BUILD_ROOT/%{_libdir}/guestfs/supermin.d/zz-scripts.tar.gz usr
+popd
+rm -rf $RPM_BUILD_ROOT/tmp
+
 %if %{with p2v}
 # Remove the kickstart files from p2v package
 rm $RPM_BUILD_ROOT/%{_datadir}/virt-p2v/p2v.ks.in

++ appliance.patch ++
Index: libguestfs-1.32.4/appliance/init
===
--- libguestfs-1.32.4.orig/appliance/init
+++ libguestfs-1.32.4/appliance/init
@@ -182,7 +182,9 @@ else
   echo
   echo "Note: The contents of / are the rescue appliance."
   echo "You have to mount the guest's partitions under /sysroot"
-  echo "before you can examine them."
+  echo "before you can examine them. A helper script for that exists:"
+  echo "mount-rootfs-and-chroot.sh /dev/sda2"
+
   echo
   bash -i
   echo
++ mount-rootfs-and-chroot.sh ++
#!/bin/bash
# Usage: $0 /dev/sda5
rootfs=$1
mnt=/sysroot
mounts=

if test -b "${rootfs}"
then

mkdir -v -p "${mnt}"

if mount -v "${rootfs}" "${mnt}"
then

for i in dev dev/pts proc sys selinux
do
if test -d /${i} && test -d "${mnt}/${i}" && test "`stat -c %D /`" 
!= "`stat -c %D ${i}`"
then
mount -v --bind /${i} "${mnt}/${i}"
fi
done

chroot "${mnt}" su -

while read b m rest
do
case "${m}" in
${mnt}*)
mounts="${m} ${mounts}"
;;
esac
done <<-EOF
`
cat < /proc/mounts
`
EOF

for i in ${mounts}
do
umount -v "${i}"
done

fi

fi



commit libguestfs for openSUSE:Factory

2016-07-21 Thread h_root
Hello community,

here is the log from the commit of package libguestfs for openSUSE:Factory 
checked in at 2016-07-21 08:18:28

Comparing /work/SRC/openSUSE:Factory/libguestfs (Old)
 and  /work/SRC/openSUSE:Factory/.libguestfs.new (New)


Package is "libguestfs"

Changes:

--- /work/SRC/openSUSE:Factory/libguestfs/libguestfs.changes2016-07-16 
22:13:35.0 +0200
+++ /work/SRC/openSUSE:Factory/.libguestfs.new/libguestfs.changes   
2016-07-21 08:18:36.0 +0200
@@ -1,0 +2,6 @@
+Wed Jul 20 08:32:21 UTC 2016 - cbosdon...@suse.com
+
+- v2v: add support for win2k16.
+  Backport commit e93d4ea3, fate#316274
+
+---



Other differences:
--
++ libguestfs.spec ++
--- /var/tmp/diff_new_pack.BuA3Lk/_old  2016-07-21 08:18:38.0 +0200
+++ /var/tmp/diff_new_pack.BuA3Lk/_new  2016-07-21 08:18:38.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libguestfs
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX Products GmbH, Nuernberg, Germany.
 # Copyright (c) 2011 Michal Hrusecky 
 #
 # All modifications and additions to the file contributed by third parties

++ -hotfix.patch ++
--- /var/tmp/diff_new_pack.BuA3Lk/_old  2016-07-21 08:18:38.0 +0200
+++ /var/tmp/diff_new_pack.BuA3Lk/_new  2016-07-21 08:18:38.0 +0200
@@ -228,7 +228,9 @@
 -add_viostor_to_driver_database g root arch current_cs
 -  else  (* Windows <= 7 *)
 -add_viostor_to_critical_device_database g root current_cs
--
++and add_guestor_to_registry g root current_cs drv_name drv_pciid =
++  let ddb_node = g#hivex_node_get_child root "DriverDatabase" in
+ 
 -and add_viostor_to_critical_device_database g root current_cs =
 -  (* See 
http://rwmj.wordpress.com/2010/04/30/tip-install-a-device-driver-in-a-windows-vm/
 -   * NB: All these edits are in the HKLM\SYSTEM hive.  No other
@@ -250,9 +252,7 @@
 -  [ current_cs; "Control"; "CriticalDeviceDatabase"; 
"pci#ven_1af4_1001_00021af4_00" ],
 -  [ "Service", REG_SZ "viostor";
 -"ClassGUID", REG_SZ "{4D36E97B-E325-11CE-BFC1-08002BE10318}" ];
-+and add_guestor_to_registry g root current_cs drv_name drv_pciid =
-+  let ddb_node = g#hivex_node_get_child root "DriverDatabase" in
- 
+-
 -  [ current_cs; "Services"; "viostor" ],
 +  let regedits =
 +if ddb_node = 0L then
@@ -545,6 +545,15 @@
  let paths = external_command cmd in
  List.iter (
fun path ->
+@@ -467,6 +284,8 @@ and virtio_iso_path_matches_guest_os pat
+ (6, 3, not_client)
+   else if pathelem "w10" || pathelem "win10" then
+ (10, 0, is_client)
++  else if pathelem "2k16" || pathelem "win2016" then
++(10, 0, not_client)
+   else
+ raise Not_found in
+ 
 Index: libguestfs-1.32.4/appliance/init
 ===
 --- libguestfs-1.32.4.orig/appliance/init




commit libguestfs for openSUSE:Factory

2016-07-16 Thread h_root
Hello community,

here is the log from the commit of package libguestfs for openSUSE:Factory 
checked in at 2016-07-16 22:13:31

Comparing /work/SRC/openSUSE:Factory/libguestfs (Old)
 and  /work/SRC/openSUSE:Factory/.libguestfs.new (New)


Package is "libguestfs"

Changes:

--- /work/SRC/openSUSE:Factory/libguestfs/libguestfs.changes2016-07-05 
09:52:59.0 +0200
+++ /work/SRC/openSUSE:Factory/.libguestfs.new/libguestfs.changes   
2016-07-16 22:13:35.0 +0200
@@ -1,0 +2,5 @@
+Wed Jul 13 15:21:57 UTC 2016 - k...@suse.de
+
+- Fix virt-p2v package summary (dummy bsc#933411).
+
+---



Other differences:
--
++ libguestfs.spec ++
--- /var/tmp/diff_new_pack.aNEgPk/_old  2016-07-16 22:13:37.0 +0200
+++ /var/tmp/diff_new_pack.aNEgPk/_new  2016-07-16 22:13:37.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libguestfs
 #
-# Copyright (c) 2016 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 # Copyright (c) 2011 Michal Hrusecky 
 #
 # All modifications and additions to the file contributed by third parties
@@ -544,7 +544,7 @@
 
 %if %{with p2v}
 %package -n virt-p2v
-Summary:Convert a virtual machine to run on KVM
+Summary:Convert a physical machine to run on KVM
 License:GPL-2.0
 Group:  System/Management
 Requires:   virt-v2v = %{version}




commit libguestfs for openSUSE:Factory

2016-07-05 Thread h_root
Hello community,

here is the log from the commit of package libguestfs for openSUSE:Factory 
checked in at 2016-07-05 09:52:47

Comparing /work/SRC/openSUSE:Factory/libguestfs (Old)
 and  /work/SRC/openSUSE:Factory/.libguestfs.new (New)


Package is "libguestfs"

Changes:

--- /work/SRC/openSUSE:Factory/libguestfs/libguestfs.changes2016-06-07 
23:46:26.0 +0200
+++ /work/SRC/openSUSE:Factory/.libguestfs.new/libguestfs.changes   
2016-07-05 09:52:59.0 +0200
@@ -1,0 +2,11 @@
+Mon Jul  4 10:11:11 UTC 2016 - cbosdon...@suse.com
+
+- Fix guestfs-tools dependencies. bsc#986866
+
+---
+Wed Jun  8 13:02:30 UTC 2016 - cbosdon...@suse.com
+
+- Fix virt-filesystem -l for btrfs. bsc#980092
+- Add p2v support (fate#316274)
+
+---



Other differences:
--
++ libguestfs.spec ++
--- /var/tmp/diff_new_pack.zXNj2j/_old  2016-07-05 09:53:00.0 +0200
+++ /var/tmp/diff_new_pack.zXNj2j/_new  2016-07-05 09:53:00.0 +0200
@@ -48,7 +48,6 @@
 %bcond_without zerofree
 %bcond_withext4_writeable
 %endif
-%define with_p2v 0
 
 %bcond_without fuse
 
@@ -58,6 +57,8 @@
 %bcond_with ruby_bindings
 %endif
 
+%bcond_without p2v
+
 %if %suse_version >= 1230
 %bcond_without bash_completion
 %else
@@ -188,7 +189,7 @@
 BuildRequires:  hivex-devel
 %endif
 #
-%if %{with_p2v}
+%if %{with p2v}
 BuildRequires:  gtk2-devel
 %endif
 #
@@ -235,6 +236,7 @@
 Group:  System/Filesystems
 Provides:   %{name} = %{version}
 Obsoletes:  %{name} < %{version}
+Requires:   libguestfs0 = %{version}
 Requires:   python-evtx
 %if %{with bash_completion}
 Recommends: bash-completion >= 2.0
@@ -537,8 +539,20 @@
 
 %description -n virt-v2v
 virt-v2v is a tool for converting and importing virtual machines to
-libvirt-managed KVM, or Red Hat Enterprise Virtualization. It can import a
-variety of guest operating systems from libvirt-managed hosts and VMware ESX.
+libvirt-managed KVM. It can import a variety of guest operating systems 
+from libvirt-managed hosts.
+
+%if %{with p2v}
+%package -n virt-p2v
+Summary:Convert a virtual machine to run on KVM
+License:GPL-2.0
+Group:  System/Management
+Requires:   virt-v2v = %{version}
+
+%description -n virt-p2v
+virt-p2v is a tool for converting physical machines into libvirt-managed KVM 
machines.
+It can import a variety of guest operating systems from libvirt-managed hosts.
+%endif
 
 %prep
 : _ignore_exclusive_arch '%{?_ignore_exclusive_arch}'
@@ -570,15 +584,8 @@
CFLAGS="$CFLAGS -DGUESTFS_QEMU_NO_VIRTIO_BLK"
CXXFLAGS="$CXXFLAGS -DGUESTFS_QEMU_NO_VIRTIO_BLK"
 fi
-am_version="`automake --version | awk '/^automake \(GNU automake\) / { print 
$4 }'`"
-if test -n "${am_version}"
-then
-   case "${am_version}" in
-   1.10) ;;
-   1.10.*) ;;
-   *) autoreconf -fi ;;
-   esac
-fi
+autoreconf -fi
+
 #
 %configure \
--help || :
@@ -674,6 +681,11 @@
 %endif
 %endif
 
+%if %{with p2v}
+# Remove the kickstart files from p2v package
+rm $RPM_BUILD_ROOT/%{_datadir}/virt-p2v/p2v.ks.in
+%endif
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -765,6 +777,7 @@
 %{_sbindir}/libguestfs-make-fixed-appliance
 %{_bindir}/*
 %exclude %{_bindir}/virt-v2v
+%exclude %{_bindir}/virt-p2v-*
 %config(noreplace) /etc/libguestfs-tools.conf
 /etc/virt-builder
 %dir /etc/xdg/virt-builder
@@ -776,6 +789,7 @@
 %endif
 %{_mandir}/man1/*
 %exclude %{_mandir}/man1/virt-v2v.*
+%exclude %{_mandir}/man1/virt-p2v*
 %{_mandir}/man5/*
 
 %files -n virt-v2v
@@ -783,9 +797,17 @@
 %{_bindir}/virt-v2v
 %{_datadir}/bash-completion/*/virt-v2v
 %{_mandir}/man1/virt-v2v.*
-%if %{with_p2v}
+
+%if %{with p2v}
+%files -n virt-p2v
+%defattr(-,root,root)
 %{_prefix}/lib/virt-p2v
 %{_datadir}/virt-p2v
+%attr(0555,-,-) %{_datadir}/virt-p2v/launch-virt-p2v
+%{_bindir}/virt-p2v-make-kiwi
+%{_bindir}/virt-p2v-make-disk
+%{_mandir}/man1/virt-p2v-make-kiwi*
+%{_mandir}/man1/virt-p2v-make-disk*
 %endif
 
 %changelog

++ -hotfix.patch ++
 902 lines (skipped)
 between /work/SRC/openSUSE:Factory/libguestfs/-hotfix.patch
 and /work/SRC/openSUSE:Factory/.libguestfs.new/-hotfix.patch




commit libguestfs for openSUSE:Factory

2016-06-07 Thread h_root
Hello community,

here is the log from the commit of package libguestfs for openSUSE:Factory 
checked in at 2016-06-07 23:46:25

Comparing /work/SRC/openSUSE:Factory/libguestfs (Old)
 and  /work/SRC/openSUSE:Factory/.libguestfs.new (New)


Package is "libguestfs"

Changes:

--- /work/SRC/openSUSE:Factory/libguestfs/libguestfs.changes2015-10-06 
13:26:00.0 +0200
+++ /work/SRC/openSUSE:Factory/.libguestfs.new/libguestfs.changes   
2016-06-07 23:46:26.0 +0200
@@ -1,0 +2,46 @@
+Mon Mar 14 08:41:08 UTC 2016 - cbosdon...@suse.com
+
+- Update to version 1.32.4
+- Backported commits (fate#316274):
+  * f5a9cdf: api: add mountable_device and mountable_subvolume
+  * 1c30c23: fish: fix btrfs subvolumes display in error case
+  * 1f24364: v2v: win <= 7: reduce registry patch
+  * f0dce24: v2v: win >= 8: reduce registry patch
+  * 9a441b0: v2v: win >= 8: simplify registry patching
+  * e07459d: v2v: win: factor out common bits in registry patching
+  * 47aa64a: v2v: add support for virtio-scsi
+  * bba9ea9: v2v: also search for windows virtio drivers in symlinks
+  * 3bf7d30: Update packagelist for SLES and openSUSE
+  * 89ae53e: appliance: skip /etc/mtab creation is already existing
+  * ee78c06: customize: add support for pvvxsvc
+  * 25848b5: v2v: document SUSE's Xen as a working input hypervisor
+  * e9082ea: v2v: rename RHEL 5 Xen input section into Xen in man
+  * 75fe93e: v2v: improve initrd search
+  * 536ef6f: customize: change windows firstboot path
+  * 07f7bfa: customize: fix windows firstboot script
+  * c466d4c: v2v: add support for SUSE VMDP drivers
+  * 9de9300: v2v: handle subfolders in ova files
+- Removed patches:
+  * 1000-force-virtio_blk-in-old-guest-kernel.patch
+  * libguestfs.mkinitrd.1110.patch
+  * libguestfs.mkinitrd.1115.patch
+  * libguestfs.mkinitrd.1140.patch
+  * libguestfs.mkinitrd.1210.patch
+  * libguestfs.mkinitrd.1220.patch
+  * libguestfs.mkinitrd.1230.patch
+  * libguestfs.mkinitrd.1310.patch
+  * libguestfs.mkinitrd.boot-btrfs.sh
+  * libguestfs.mkinitrd.boot-dm.sh
+  * libguestfs.mkinitrd.boot-lvm2.sh
+  * libguestfs.mkinitrd.boot-md.sh
+  * libguestfs.mkinitrd.boot-nfs.sh
+  * libguestfs.mkinitrd.boot.sh
+  * libguestfs.mkinitrd.setup-btrfs.sh
+  * libguestfs.mkinitrd.setup-dm.sh
+  * libguestfs.mkinitrd.setup-lvm2.sh
+  * libguestfs.mkinitrd.setup-md.sh
+  * libguestfs.mkinitrd.setup-nfs.sh
+  * libguestfs.mkinitrd.setup.sh
+  * libguestfs.mkinitrd.tar.bz2
+
+---

Old:

  1000-force-virtio_blk-in-old-guest-kernel.patch
  libguestfs-1.26.10.tar.xz
  libguestfs.mkinitrd.1110.patch
  libguestfs.mkinitrd.1115.patch
  libguestfs.mkinitrd.1140.patch
  libguestfs.mkinitrd.1210.patch
  libguestfs.mkinitrd.1220.patch
  libguestfs.mkinitrd.1230.patch
  libguestfs.mkinitrd.1310.patch
  libguestfs.mkinitrd.boot-btrfs.sh
  libguestfs.mkinitrd.boot-dm.sh
  libguestfs.mkinitrd.boot-lvm2.sh
  libguestfs.mkinitrd.boot-md.sh
  libguestfs.mkinitrd.boot-nfs.sh
  libguestfs.mkinitrd.boot.sh
  libguestfs.mkinitrd.setup-btrfs.sh
  libguestfs.mkinitrd.setup-dm.sh
  libguestfs.mkinitrd.setup-lvm2.sh
  libguestfs.mkinitrd.setup-md.sh
  libguestfs.mkinitrd.setup-nfs.sh
  libguestfs.mkinitrd.setup.sh
  libguestfs.mkinitrd.tar.bz2

New:

  libguestfs-1.32.4.tar.xz



Other differences:
--
++ libguestfs.spec ++
--- /var/tmp/diff_new_pack.owmiq3/_old  2016-06-07 23:46:27.0 +0200
+++ /var/tmp/diff_new_pack.owmiq3/_new  2016-06-07 23:46:27.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libguestfs
 #
-# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX Products GmbH, Nuernberg, Germany.
 # Copyright (c) 2011 Michal Hrusecky 
 #
 # All modifications and additions to the file contributed by third parties
@@ -15,9 +15,10 @@
 
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
+# needsbinariesforbuild
 
 
-Version:1.26.10
+Version:1.32.4
 Release:0
 
 %define opt %(test -x %{_bindir}/ocamlopt && echo 1 || echo 0)
@@ -47,6 +48,7 @@
 %bcond_without zerofree
 %bcond_withext4_writeable
 %endif
+%define with_p2v 0
 
 %bcond_without fuse
 
@@ -120,8 +122,9 @@
 #
 Name:   libguestfs
 %if "%{?_ignore_exclusive_arch}" == ""
-ExclusiveArch:  x86_64 ppc64 ppc64le s390x
+ExclusiveArch:  x86_64 ppc64 ppc64le s390x aarch64
 %endif
+%{ocaml_preserve_bytecode}
 BuildRequires:  aaa_base
 BuildRequires:  attr-devel
 BuildRequires:  augeas-devel >= 1.0.0
@@ -129,8 +132,12 @@
 BuildRequires:  automake
 %if %{with bash_completion}
 BuildRequires:  bash-completion >= 2.0
+%if 0%{?suse_version} >= 1330
+BuildRequires:  bash-completion-devel >= 2.0

commit libguestfs for openSUSE:Factory

2015-10-06 Thread h_root
Hello community,

here is the log from the commit of package libguestfs for openSUSE:Factory 
checked in at 2015-10-06 13:25:58

Comparing /work/SRC/openSUSE:Factory/libguestfs (Old)
 and  /work/SRC/openSUSE:Factory/.libguestfs.new (New)


Package is "libguestfs"

Changes:

--- /work/SRC/openSUSE:Factory/libguestfs/libguestfs.changes2015-09-24 
06:16:02.0 +0200
+++ /work/SRC/openSUSE:Factory/.libguestfs.new/libguestfs.changes   
2015-10-06 13:26:00.0 +0200
@@ -1,0 +2,10 @@
+Thu Oct  1 12:09:22 UTC 2015 - cbosdon...@suse.com
+
+- Add password default encryption method for sles. fate#318952
+
+---
+Tue Sep 29 14:21:52 UTC 2015 - cbosdon...@suse.com
+
+- Add -l to zypper for install and update.
+
+---



Other differences:
--
++ -hotfix.patch ++
--- /var/tmp/diff_new_pack.X8uDLH/_old  2015-10-06 13:26:01.0 +0200
+++ /var/tmp/diff_new_pack.X8uDLH/_new  2015-10-06 13:26:01.0 +0200
@@ -42,10 +42,19 @@
  | "zypper" ->
 -  (* XXX Should we use -n option? *)
 -  sprintf "zypper in %s" quoted_args
-+  sprintf "zypper -n in %s" quoted_args
++  sprintf "zypper -n in -l %s" quoted_args
  | "unknown" ->
eprintf (f_"%s: --install is not supported for this guest operating 
system\n")
  prog;
+@@ -135,7 +136,7 @@ exec >>%s 2>&1
+ | "yum" ->
+   sprintf "yum -y update"
+ | "zypper" ->
+-  sprintf "zypper update"
++  sprintf "zypper -n update -l"
+ | "unknown" ->
+   eprintf (f_"%s: --update is not supported for this guest operating 
system\n")
+ prog;
 Index: libguestfs-1.26.10/builder/downloader.ml
 ===
 --- libguestfs-1.26.10.orig/builder/downloader.ml
@@ -148,8 +157,8 @@
| "ubuntu", v when v >= 10 -> `SHA512
| "ubuntu", _ -> `MD5
  
-+  | "opensuse", v when v >= 11 -> `SHA512
-+  | "opensuse", _ -> `MD5
++  | ("opensuse"|"sles"), v when v >= 11 -> `SHA512
++  | ("opensuse"|"sles"), _ -> `MD5
 +
| _, _ ->
  warning ~prog (f_"password: using insecure md5 password encryption for




commit libguestfs for openSUSE:Factory

2015-09-23 Thread h_root
Hello community,

here is the log from the commit of package libguestfs for openSUSE:Factory 
checked in at 2015-09-24 06:15:33

Comparing /work/SRC/openSUSE:Factory/libguestfs (Old)
 and  /work/SRC/openSUSE:Factory/.libguestfs.new (New)


Package is "libguestfs"

Changes:

--- /work/SRC/openSUSE:Factory/libguestfs/libguestfs.changes2015-09-09 
20:21:36.0 +0200
+++ /work/SRC/openSUSE:Factory/.libguestfs.new/libguestfs.changes   
2015-09-24 06:16:02.0 +0200
@@ -1,0 +2,6 @@
+Mon Sep 14 11:27:19 UTC 2015 - cbosdon...@suse.com
+
+- Create the .cache folder if it doesn't exist already.
+  bsc#939097.
+
+---



Other differences:
--
++ -hotfix.patch ++
--- /var/tmp/diff_new_pack.Qn80bE/_old  2015-09-24 06:16:03.0 +0200
+++ /var/tmp/diff_new_pack.Qn80bE/_new  2015-09-24 06:16:03.0 +0200
@@ -154,3 +154,46 @@
| _, _ ->
  warning ~prog (f_"password: using insecure md5 password encryption for
  guest of type %s version %d.\nIf this is incorrect, use --password-crypto 
option and file a bug.") distro major;
+Index: libguestfs-1.26.10/builder/builder.ml
+===
+--- libguestfs-1.26.10.orig/builder/builder.ml
 libguestfs-1.26.10/builder/builder.ml
+@@ -159,7 +159,7 @@ let main () =
+ (* Try to make the directory.  If that fails, warn and continue
+  * without any cache.
+  *)
+-try mkdir dir 0o755; Some dir
++try mkdir_p dir 0o755; Some dir
+ with exn ->
+   warning ~prog (f_"cache %s: %s") dir (Printexc.to_string exn);
+   warning ~prog (f_"disabling the cache");
+Index: libguestfs-1.26.10/mllib/common_utils.ml
+===
+--- libguestfs-1.26.10.orig/mllib/common_utils.ml
 libguestfs-1.26.10/mllib/common_utils.ml
+@@ -508,3 +508,14 @@ let is_char_device file =
+ let is_directory path =
+   try Sys.is_directory path
+   with Sys_error _ -> false
++
++let rec mkdir_p path permissions =
++  try Unix.mkdir path permissions
++  with
++  | Unix.Unix_error (Unix.EEXIST, _, _) -> ()
++  | Unix.Unix_error (Unix.ENOENT, _, _) ->
++(* A component in the path does not exist, so first try
++ * creating the parent directory, and then again the requested
++ * directory. *)
++mkdir_p (Filename.dirname path) permissions;
++Unix.mkdir path permissions
+Index: libguestfs-1.26.10/mllib/common_utils.mli
+===
+--- libguestfs-1.26.10.orig/mllib/common_utils.mli
 libguestfs-1.26.10/mllib/common_utils.mli
+@@ -117,3 +117,6 @@ val is_block_device : string -> bool
+ val is_char_device : string -> bool
+ val is_directory : string -> bool
+ (** These don't throw exceptions, unlike the [Sys] functions. *)
++
++val mkdir_p : string -> int -> unit
++(** Creates a directory, and its parents if missing. *)




commit libguestfs for openSUSE:Factory

2015-09-09 Thread h_root
Hello community,

here is the log from the commit of package libguestfs for openSUSE:Factory 
checked in at 2015-09-09 20:21:34

Comparing /work/SRC/openSUSE:Factory/libguestfs (Old)
 and  /work/SRC/openSUSE:Factory/.libguestfs.new (New)


Package is "libguestfs"

Changes:

--- /work/SRC/openSUSE:Factory/libguestfs/libguestfs.changes2015-08-10 
09:16:00.0 +0200
+++ /work/SRC/openSUSE:Factory/.libguestfs.new/libguestfs.changes   
2015-09-09 20:21:36.0 +0200
@@ -1,0 +2,12 @@
+Wed Sep  9 12:50:11 UTC 2015 - cbosdon...@suse.com
+
+- Define SHA512 as the default password encryption method for
+  opensuse 11+.
+
+---
+Mon Sep  7 13:39:57 UTC 2015 - cbosdon...@suse.com
+
+- Add opensuse images source for virt-builder.
+  fate#318952.
+
+---



Other differences:
--
++ libguestfs.spec ++
--- /var/tmp/diff_new_pack.48FD9P/_old  2015-09-09 20:21:37.0 +0200
+++ /var/tmp/diff_new_pack.48FD9P/_new  2015-09-09 20:21:37.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libguestfs
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
 # Copyright (c) 2011 Michal Hrusecky 
 #
 # All modifications and additions to the file contributed by third parties

++ -hotfix.patch ++
--- /var/tmp/diff_new_pack.48FD9P/_old  2015-09-09 20:21:37.0 +0200
+++ /var/tmp/diff_new_pack.48FD9P/_new  2015-09-09 20:21:37.0 +0200
@@ -9,18 +9,17 @@
  1 file changed, 1 insertion(+)
  create mode 100644 pkg-hotfix.txt
 
-diff --git a/pkg-hotfix.txt b/pkg-hotfix.txt
-new file mode 100644
-index 000..8b13789
+Index: libguestfs-1.26.10/pkg-hotfix.txt
+===
 --- /dev/null
-+++ b/pkg-hotfix.txt
 libguestfs-1.26.10/pkg-hotfix.txt
 @@ -0,0 +1 @@
 +
-diff --git a/daemon/btrfs.c b/daemon/btrfs.c
-index 7a4d43d..ceea593 100644
 a/daemon/btrfs.c
-+++ b/daemon/btrfs.c
-@@ -356,6 +356,7 @@ do_btrfs_subvolume_list (const mountable_t *fs)
+Index: libguestfs-1.26.10/daemon/btrfs.c
+===
+--- libguestfs-1.26.10.orig/daemon/btrfs.c
 libguestfs-1.26.10/daemon/btrfs.c
+@@ -356,6 +356,7 @@ do_btrfs_subvolume_list (const mountable
  ADD_ARG (argv, i, str_btrfs);
  ADD_ARG (argv, i, "subvolume");
  ADD_ARG (argv, i, "list");
@@ -47,3 +46,111 @@
  | "unknown" ->
eprintf (f_"%s: --install is not supported for this guest operating 
system\n")
  prog;
+Index: libguestfs-1.26.10/builder/downloader.ml
+===
+--- libguestfs-1.26.10.orig/builder/downloader.ml
 libguestfs-1.26.10/builder/downloader.ml
+@@ -97,7 +97,7 @@ and download_to ~prog t ?(progress_bar =
+ )
+   | _ -> (* Any other protocol. *)
+ (* Get the status code first to ensure the file exists. *)
+-let cmd = sprintf "%s%s -g -o /dev/null -I -w '%%{http_code}' %s"
++let cmd = sprintf "%s%s -L --max-redirs 5 -g -o /dev/null -I -w 
'%%{http_code}' %s"
+   t.curl
+   (if t.verbose then "" else " -s -S")
+   (quote uri) in
+@@ -122,7 +122,7 @@ and download_to ~prog t ?(progress_bar =
+ );
+ 
+ (* Now download the file. *)
+-let cmd = sprintf "%s%s -g -o %s %s"
++let cmd = sprintf "%s%s -L --max-redirs 5 -g -o %s %s"
+   t.curl
+   (if t.verbose then "" else if progress_bar then " -#" else " -s -S")
+   (quote filename_new) (quote uri) in
+Index: libguestfs-1.26.10/builder/Makefile.am
+===
+--- libguestfs-1.26.10.orig/builder/Makefile.am
 libguestfs-1.26.10/builder/Makefile.am
+@@ -261,7 +261,7 @@ DISTCLEANFILES = .depend
+ # virt-builder's default repository
+ 
+ repoconfdir = $(sysconfdir)/xdg/virt-builder/repos.d
+-repoconf_DATA = libguestfs.conf libguestfs.gpg
++repoconf_DATA = libguestfs.conf libguestfs.gpg opensuse.conf opensuse.gpg
+ 
+ install-exec-hook:
+   $(LN_S) xdg/virt-builder $(DESTDIR)$(sysconfdir)/virt-builder
+Index: libguestfs-1.26.10/builder/Makefile.in
+===
+--- libguestfs-1.26.10.orig/builder/Makefile.in
 libguestfs-1.26.10/builder/Makefile.in
+@@ -1649,7 +1649,7 @@ DISTCLEANFILES = .depend
+ 
+ # virt-builder's default repository
+ repoconfdir = $(sysconfdir)/xdg/virt-builder/repos.d
+-repoconf_DATA = libguestfs.conf libguestfs.gpg
++repoconf_DATA = libguestfs.conf libguestfs.gpg opensuse.conf opensuse.gpg
+ virt_index_validate_SOURCES 

commit libguestfs for openSUSE:Factory

2015-08-10 Thread h_root
Hello community,

here is the log from the commit of package libguestfs for openSUSE:Factory 
checked in at 2015-08-10 09:15:59

Comparing /work/SRC/openSUSE:Factory/libguestfs (Old)
 and  /work/SRC/openSUSE:Factory/.libguestfs.new (New)


Package is libguestfs

Changes:

--- /work/SRC/openSUSE:Factory/libguestfs/libguestfs.changes2015-05-20 
23:57:44.0 +0200
+++ /work/SRC/openSUSE:Factory/.libguestfs.new/libguestfs.changes   
2015-08-10 09:16:00.0 +0200
@@ -1,0 +2,17 @@
+Tue Jul 28 13:53:53 UTC 2015 - cbosdon...@suse.com
+
+- Make sure gpg-agent isn't blocking unmount operations for
+  fedora 22+ images. boo#939105
+
+---
+Fri Jul 24 12:33:51 UTC 2015 - oher...@suse.de
+
+- Add rpmlintrc to surpress binaryinfo-readelf-failed to reduce
+  build-compare noise
+
+---
+Mon Jul 20 07:38:45 UTC 2015 - oher...@suse.de
+
+- Refresh libguestfs.mkinitrd.1310.patch
+
+---

New:

  libguestfs.rpmlintrc



Other differences:
--
++ libguestfs.spec ++
--- /var/tmp/diff_new_pack.0EGou6/_old  2015-08-10 09:16:02.0 +0200
+++ /var/tmp/diff_new_pack.0EGou6/_new  2015-08-10 09:16:02.0 +0200
@@ -178,6 +178,7 @@
 Patch0: -hotfix.patch
 Patch1000:  1000-force-virtio_blk-in-old-guest-kernel.patch
 Source0:%{name}-%{version}.tar.xz
+Source1:libguestfs.rpmlintrc
 Source42:   libguestfs.mkinitrd.tar.bz2
 Source789653:   Pod-Simple-3.23.tar.xz
 Source10:   libguestfs.mkinitrd.boot.sh

++ -hotfix.patch ++
--- /var/tmp/diff_new_pack.0EGou6/_old  2015-08-10 09:16:02.0 +0200
+++ /var/tmp/diff_new_pack.0EGou6/_new  2015-08-10 09:16:02.0 +0200
@@ -28,13 +28,18 @@
  ADD_ARG (argv, i, fs_buf);
  ADD_ARG (argv, i, NULL);
  
-Index: libguestfs-1.26.9/customize/customize_run.ml
+Index: libguestfs-1.26.10/customize/customize_run.ml
 ===
 libguestfs-1.26.9.orig/customize/customize_run.ml
-+++ libguestfs-1.26.9/customize/customize_run.ml
-@@ -105,8 +105,7 @@ exec %s 21
+--- libguestfs-1.26.10.orig/customize/customize_run.ml
 libguestfs-1.26.10/customize/customize_run.ml
+@@ -103,10 +103,11 @@ exec %s 21
+ | urpmi -
+   sprintf urpmi %s quoted_args
  | yum -
-   sprintf yum -y install %s quoted_args
+-  sprintf yum -y install %s quoted_args
++  sprintf 
++yum -y install %s
++pkill gpg-agent quoted_args
  | zypper -
 -  (* XXX Should we use -n option? *)
 -  sprintf zypper in %s quoted_args

++ libguestfs.mkinitrd.1310.patch ++
--- /var/tmp/diff_new_pack.0EGou6/_old  2015-08-10 09:16:02.0 +0200
+++ /var/tmp/diff_new_pack.0EGou6/_new  2015-08-10 09:16:02.0 +0200
@@ -8,9 +8,8 @@
 ===
 --- 1310.orig/mkinitrd/scripts/setup-ibft.sh
 +++ 1310/mkinitrd/scripts/setup-ibft.sh
-@@ -21,22 +21,22 @@ ibft_set_iface() {
-   interface=$iface
-   drvlink=$(get_network_module $interface)
+@@ -22,22 +22,22 @@ ibft_set_iface() {
+   drvlink=$drvlink $(get_network_module $interface)
if [ ! $nettype -a -e $ibft_nic/dhcp ]; then
nettype=dhcp
read ibft_dhcp  $ibft_nic/dhcp
@@ -22,6 +21,7 @@
  }
  
  ibft_nic=/sys/firmware/ibft/ethernet0
+ ibft_nic2=/sys/firmware/ibft/ethernet1
 -ibft_hostname=$(hostname)
 +ibft_hostname=localhost
  

++ libguestfs.mkinitrd.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mkinitrd-2.8.1/CONTRIBUTING 
new/mkinitrd-2.8.1/CONTRIBUTING
--- old/mkinitrd-2.8.1/CONTRIBUTING 1970-01-01 01:00:00.0 +0100
+++ new/mkinitrd-2.8.1/CONTRIBUTING 2015-06-19 10:28:09.0 +0200
@@ -0,0 +1,49 @@
+
+This project embraces the Developer Certificate of Origin (DCO) for
+contributions. This means you must agree to the following prior to submitting
+patches, if you agree with this developer certificate you acknowledge this by
+adding a Signed-off-by tag to your patch commit log. Every submitted patch
+must have this.
+
+The source for the DCO:
+
+http://developercertificate.org/
+
+---
+
+Developer Certificate of Origin
+Version 1.1
+
+Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
+660 York Street, Suite 102,
+San Francisco, CA 94110 USA
+
+Everyone is permitted to copy and distribute verbatim copies of this
+license document, but changing it is not allowed.
+
+
+Developer's Certificate 

commit libguestfs for openSUSE:Factory

2015-05-20 Thread h_root
Hello community,

here is the log from the commit of package libguestfs for openSUSE:Factory 
checked in at 2015-05-20 23:57:43

Comparing /work/SRC/openSUSE:Factory/libguestfs (Old)
 and  /work/SRC/openSUSE:Factory/.libguestfs.new (New)


Package is libguestfs

Changes:

--- /work/SRC/openSUSE:Factory/libguestfs/libguestfs.changes2014-10-31 
12:26:28.0 +0100
+++ /work/SRC/openSUSE:Factory/.libguestfs.new/libguestfs.changes   
2015-05-20 23:57:44.0 +0200
@@ -1,0 +2,45 @@
+Mon Mar  9 14:14:52 UTC 2015 - oher...@suse.de
+
+- Force feature usb into initrd to avoid build-compare noise
+
+---
+Mon Mar  9 13:58:47 UTC 2015 - oher...@suse.de
+
+- Workaround bug in patch(1) which does not follow symlinks anymore
+
+---
+Tue Feb 24 09:43:58 UTC 2015 - oher...@suse.de
+
+- Update to version 1.26.10
+  * gcc5: test-tool: Initialize local variable.
+  * lua: Define luaL_checkint which was deprecated in lua 5.3.
+  * tools: fix free -m invocation
+
+---
+Fri Feb  6 13:45:22 UTC 2015 - cbosdon...@suse.com
+
+- Make zypper called with -n parameter when installing packages.
+  (bsc#916567)
+
+---
+Tue Dec  9 15:44:39 UTC 2014 - oher...@suse.de
+
+- Package guestfs_lvm_conf.aug (bnc#908632)
+
+---
+Wed Nov 26 11:02:59 UTC 2014 - oher...@suse.de
+
+- Handle more dist versions when patching mkinitrd
+
+---
+Mon Nov 24 17:02:33 UTC 2014 - oher...@suse.de
+
+- Add isofs and other fs drivers (bnc#906692)
+
+---
+Mon Nov 24 16:52:12 UTC 2014 - oher...@suse.de
+
+- Use fixed /etc/hosts, scsi_dh_modules and ibft_hostname to
+  reduce build-compare noise
+
+---

Old:

  libguestfs-1.26.9.tar.xz

New:

  libguestfs-1.26.10.tar.xz
  libguestfs.mkinitrd.1115.patch
  libguestfs.mkinitrd.1140.patch
  libguestfs.mkinitrd.1230.patch
  libguestfs.mkinitrd.1310.patch



Other differences:
--
++ libguestfs.spec ++
--- /var/tmp/diff_new_pack.GAO6Rh/_old  2015-05-20 23:57:45.0 +0200
+++ /var/tmp/diff_new_pack.GAO6Rh/_new  2015-05-20 23:57:45.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libguestfs
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 # Copyright (c) 2011 Michal Hrusecky mhruse...@novell.com
 #
 # All modifications and additions to the file contributed by third parties
@@ -17,7 +17,7 @@
 #
 
 
-Version:1.26.9
+Version:1.26.10
 Release:0
 
 %define opt %(test -x %{_bindir}/ocamlopt  echo 1 || echo 0)
@@ -194,8 +194,12 @@
 Source20:   libguestfs.mkinitrd.boot-btrfs.sh
 Source21:   libguestfs.mkinitrd.setup-btrfs.sh
 #
+Source1310: libguestfs.mkinitrd.1310.patch
+Source1230: libguestfs.mkinitrd.1230.patch
 Source1220: libguestfs.mkinitrd.1220.patch
 Source1210: libguestfs.mkinitrd.1210.patch
+Source1140: libguestfs.mkinitrd.1140.patch
+Source1115: libguestfs.mkinitrd.1115.patch
 Source1110: libguestfs.mkinitrd.1110.patch
 #
 Source10001:libguestfs.test.simple.run-libugestfs-test-tool.sh
@@ -727,27 +731,31 @@
 ' mkinitrd/scripts/boot-guestfs.sh
 diff -u mkinitrd/scripts/boot-guestfs.sh~ mkinitrd/scripts/boot-guestfs.sh || :
 #
-%if %suse_version  1230
+pushd mkinitrd
 patched=
 for p in \
+   %{S:1310} \
+   %{S:1230} \
%{S:1220} \
%{S:1210} \
+   %{S:1140} \
+   %{S:1115} \
%{S:1110} \
;
 do
-   if patch --dry-run -p1  $p
+   if patch --dry-run -p2  $p
then
-   patch -p1  $p
+   patch -p2  $p
patched=$p
break
-   elif patch --dry-run -R -p1  $p
+   elif patch --dry-run -R -p2  $p
then
patched=$p
break
fi
 done
+popd
 test -n $patched
-%endif
 
 ./mkinitrd_setup.sh  \
-s $PWD/mkinitrd/scripts \
@@ -774,6 +782,7 @@
 additional_modules=
 
 env PATH=${RPM_BUILD_ROOT}/usr/bin:${RPM_BUILD_ROOT}/usr/sbin:${PATH} \
+LIBGUESTFS_SRC_APPLIANCE_DIR=`cd $PWD/appliance ; pwd -P` \
 bash -x \
 ./mkinitrd.sh \
-l $PWD/mkinitrd \
@@ -781,7 +790,7 @@
-i initramfs.${arch}.img \
-b $PWD/mkinitrd/boot_tmp \
-m $additional_modules \
-   -f lvm2 dm md network nfs btrfs \
+   -f lvm2 dm md 

commit libguestfs for openSUSE:Factory

2014-10-31 Thread h_root
Hello community,

here is the log from the commit of package libguestfs for openSUSE:Factory 
checked in at 2014-10-31 09:39:33

Comparing /work/SRC/openSUSE:Factory/libguestfs (Old)
 and  /work/SRC/openSUSE:Factory/.libguestfs.new (New)


Package is libguestfs

Changes:

--- /work/SRC/openSUSE:Factory/libguestfs/libguestfs.changes2014-09-12 
11:19:26.0 +0200
+++ /work/SRC/openSUSE:Factory/.libguestfs.new/libguestfs.changes   
2014-10-31 12:26:28.0 +0100
@@ -1,0 +2,10 @@
+Thu Oct 16 13:26:13 CEST 2014 - oher...@suse.de
+
+- Handle btrfs subvolume name '@' as used in SLE12 (bnc#900346)
+
+---
+Tue Oct 14 10:34:12 CEST 2014 - oher...@suse.de
+
+- Include gconv modules for hivex (bnc#900530)
+
+---



Other differences:
--
++ libguestfs.spec ++
--- /var/tmp/diff_new_pack.ua1a0K/_old  2014-10-31 12:26:29.0 +0100
+++ /var/tmp/diff_new_pack.ua1a0K/_new  2014-10-31 12:26:29.0 +0100
@@ -166,6 +166,7 @@
 %endif
 #
 %if %{with hivex}
+BuildRequires:  glibc-locale
 BuildRequires:  hivex-devel
 %endif
 #
@@ -403,6 +404,7 @@
 %if %{with ext4_writeable}
 BuildRequires:  ext4-writeable-kmp-default
 %endif
+BuildRequires:  fdupes
 BuildRequires:  file
 BuildRequires:  findutils
 BuildRequires:  gawk

++ -hotfix.patch ++
--- /var/tmp/diff_new_pack.ua1a0K/_old  2014-10-31 12:26:29.0 +0100
+++ /var/tmp/diff_new_pack.ua1a0K/_new  2014-10-31 12:26:29.0 +0100
@@ -16,3 +16,15 @@
 +++ b/pkg-hotfix.txt
 @@ -0,0 +1 @@
 +
+diff --git a/daemon/btrfs.c b/daemon/btrfs.c
+index 7a4d43d..ceea593 100644
+--- a/daemon/btrfs.c
 b/daemon/btrfs.c
+@@ -356,6 +356,7 @@ do_btrfs_subvolume_list (const mountable_t *fs)
+ ADD_ARG (argv, i, str_btrfs);
+ ADD_ARG (argv, i, subvolume);
+ ADD_ARG (argv, i, list);
++ADD_ARG (argv, i, -o);
+ ADD_ARG (argv, i, fs_buf);
+ ADD_ARG (argv, i, NULL);
+ 

++ libguestfs.mkinitrd.setup.sh ++
--- /var/tmp/diff_new_pack.ua1a0K/_old  2014-10-31 12:26:29.0 +0100
+++ /var/tmp/diff_new_pack.ua1a0K/_new  2014-10-31 12:26:29.0 +0100
@@ -2,6 +2,26 @@
 #%stage: block
 #
 
+fdupes_s() {
+   local _target=
+   local _file=
+   fdupes --quiet --noempty --recurse $@ |
+   while read _file
+   do
+   if test -z $_target
+   then
+   _target=$_file
+   else
+   if test -z $_file
+   then
+   _target=
+   continue
+   fi
+   echo ln -fv ${_target##*/} $_file
+   fi
+   done
+}
+
 # copy daemon manually because it is located in RPM_BUILD_ROOT
 mkdir -vp $tmp_mnt/usr/sbin
 cp_bin $(type -p guestfsd) $tmp_mnt/usr/sbin
@@ -37,6 +57,15 @@
fi
 done
 
+for d in /usr/lib*/gconv
+do
+   if test -e $d
+   then
+   cp -avL --parents $d $tmp_mnt/
+   fdupes_s $tmp_mnt$d
+   fi
+done
+
 for t in \
screen \
vt100 \

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit libguestfs for openSUSE:Factory

2014-09-12 Thread h_root
Hello community,

here is the log from the commit of package libguestfs for openSUSE:Factory 
checked in at 2014-09-12 11:19:24

Comparing /work/SRC/openSUSE:Factory/libguestfs (Old)
 and  /work/SRC/openSUSE:Factory/.libguestfs.new (New)


Package is libguestfs

Changes:

--- /work/SRC/openSUSE:Factory/libguestfs/libguestfs.changes2014-09-03 
20:15:21.0 +0200
+++ /work/SRC/openSUSE:Factory/.libguestfs.new/libguestfs.changes   
2014-09-12 11:19:26.0 +0200
@@ -2 +2,10 @@
-Tue Aug 26 07:20:34 UTC 2014 - oher...@suse.com
+Fri Sep  5 09:53:22 CEST 2014 - oher...@suse.de
+
+- Update to version 1.26.9
+  * customize: fix locking accounts with passwords
+  * daemon: lvm-filter: use augeas for setting the filter
+  * daemon: move AUGEAS_ERROR to the common header
+  * daemon: add add_sprintf
+
+---
+Tue Aug 26 07:20:34 UTC 2014 - oher...@suse.de

Old:

  libguestfs-1.26.8.tar.xz

New:

  libguestfs-1.26.9.tar.xz



Other differences:
--
++ libguestfs.spec ++
--- /var/tmp/diff_new_pack.STD2NN/_old  2014-09-12 11:19:27.0 +0200
+++ /var/tmp/diff_new_pack.STD2NN/_new  2014-09-12 11:19:27.0 +0200
@@ -17,7 +17,7 @@
 #
 
 
-Version:1.26.8
+Version:1.26.9
 Release:0
 
 %define opt %(test -x %{_bindir}/ocamlopt  echo 1 || echo 0)

++ libguestfs-1.26.8.tar.xz - libguestfs-1.26.9.tar.xz ++
 6041 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit libguestfs for openSUSE:Factory

2014-09-03 Thread h_root
Hello community,

here is the log from the commit of package libguestfs for openSUSE:Factory 
checked in at 2014-09-03 18:23:08

Comparing /work/SRC/openSUSE:Factory/libguestfs (Old)
 and  /work/SRC/openSUSE:Factory/.libguestfs.new (New)


Package is libguestfs

Changes:

--- /work/SRC/openSUSE:Factory/libguestfs/libguestfs.changes2014-07-31 
21:51:02.0 +0200
+++ /work/SRC/openSUSE:Factory/.libguestfs.new/libguestfs.changes   
2014-09-03 20:15:21.0 +0200
@@ -1,0 +2,19 @@
+Tue Aug 26 07:20:34 UTC 2014 - oher...@suse.com
+
+- Update to version 1.26.8
+  * mllib: Export output_spaces function.
+  * daemon: Fix echo-daemon so it doesn't fail on empty array input.
+  * drives: fix deletion of servers on error
+  * daemon: zfile: call pclose instead of fclose
+  * utils: Add new CLEANUP_PCLOSE cleanup.  It calls pclose(3).
+  * launch: direct: Only issue Debian /dev/kvm group warning if /dev/kvm 
wasn't openable (RHBZ#1130189).
+  * lib: Missing include of locale.h.
+  * python: fix possible free on uninit memory with OStringList optargs
+  * df: unlock retire_mutex on early exit
+  * daemon: use CLEANUP_CLOSE
+  * daemon: blkid: fix memory issues in no -p/-i mode
+  * daemon: initialize memory when handling DeviceList params
+  * rescue: fix sscanf placeholders for --smp and --memsize
+  * daemon: add and use a reply_with_unavailable_feature macro
+
+---

Old:

  libguestfs-1.26.7.tar.xz

New:

  libguestfs-1.26.8.tar.xz



Other differences:
--
++ libguestfs.spec ++
--- /var/tmp/diff_new_pack.3jqLdd/_old  2014-09-03 20:15:23.0 +0200
+++ /var/tmp/diff_new_pack.3jqLdd/_new  2014-09-03 20:15:23.0 +0200
@@ -17,7 +17,7 @@
 #
 
 
-Version:1.26.7
+Version:1.26.8
 Release:0
 
 %define opt %(test -x %{_bindir}/ocamlopt  echo 1 || echo 0)

++ -hotfix.patch ++
--- /var/tmp/diff_new_pack.3jqLdd/_old  2014-09-03 20:15:23.0 +0200
+++ /var/tmp/diff_new_pack.3jqLdd/_new  2014-09-03 20:15:23.0 +0200
@@ -1,4 +1,4 @@
-From 5198e6eb6878611616458cb561545d5dc0adcc35 Mon Sep 17 00:00:00 2001
+From c977e24dec46803fe691f5da35756523e6356473 Mon Sep 17 00:00:00 2001
 From: Olaf Hering o...@aepfle.de
 Date: Tue, 13 May 2014 15:31:21 +0200
 Subject: hotfix

++ 1000-force-virtio_blk-in-old-guest-kernel.patch ++
--- /var/tmp/diff_new_pack.3jqLdd/_old  2014-09-03 20:15:23.0 +0200
+++ /var/tmp/diff_new_pack.3jqLdd/_new  2014-09-03 20:15:23.0 +0200
@@ -1,4 +1,4 @@
-From 6b70404b04a20323b6195d6c8cf3e09a13ed0d70 Mon Sep 17 00:00:00 2001
+From 91563687c1f1b3544c71f2f53c387c86d95b246c Mon Sep 17 00:00:00 2001
 From: Olaf Hering o...@aepfle.de
 Date: Mon, 3 Sep 2012 19:50:44 +0200
 Subject: force virtio_blk in old guest kernel
@@ -100,7 +100,7 @@
}
else if ((part = match1 (g, spec, re_diskbyid)) != NULL) {
 diff --git a/src/launch-direct.c b/src/launch-direct.c
-index 3857f53..713282d 100644
+index eab3e89..ee286a5 100644
 --- a/src/launch-direct.c
 +++ b/src/launch-direct.c
 @@ -1184,6 +1184,8 @@ qemu_supports_virtio_scsi (guestfs_h *g, struct 
backend_direct_data *data)

++ libguestfs-1.26.7.tar.xz - libguestfs-1.26.8.tar.xz ++
 17238 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit libguestfs for openSUSE:Factory

2014-07-31 Thread h_root
Hello community,

here is the log from the commit of package libguestfs for openSUSE:Factory 
checked in at 2014-07-31 21:50:39

Comparing /work/SRC/openSUSE:Factory/libguestfs (Old)
 and  /work/SRC/openSUSE:Factory/.libguestfs.new (New)


Package is libguestfs

Changes:

--- /work/SRC/openSUSE:Factory/libguestfs/libguestfs.changes2014-07-28 
16:21:25.0 +0200
+++ /work/SRC/openSUSE:Factory/.libguestfs.new/libguestfs.changes   
2014-07-31 21:51:02.0 +0200
@@ -1,0 +2,20 @@
+Thu Jul 31 15:53:57 CEST 2014 - oher...@suse.de
+
+- Fix build without ocaml
+
+---
+Thu Jul 31 15:11:49 CEST 2014 - oher...@suse.de
+
+- Update to version 1.26.7
+  * launch: Close file descriptors after fork (RHBZ#1123007).
+  * Revert launch: Close file descriptors after fork (RHBZ#1123007).
+  * launch: direct: check for null paths in make_uri
+  * make-fs: do not leak the fd from mkstemp
+  * make-fs: respect libguestfs' temporary dir
+
+---
+Thu Jul 31 14:56:52 CEST 2014 - oher...@suse.de
+
+- define kernel_binary on aarch64
+
+---

Old:

  libguestfs-1.26.6.tar.xz

New:

  libguestfs-1.26.7.tar.xz



Other differences:
--
++ libguestfs.spec ++
--- /var/tmp/diff_new_pack.xOoCE6/_old  2014-07-31 21:51:04.0 +0200
+++ /var/tmp/diff_new_pack.xOoCE6/_new  2014-07-31 21:51:04.0 +0200
@@ -17,7 +17,7 @@
 #
 
 
-Version:1.26.6
+Version:1.26.7
 Release:0
 
 %define opt %(test -x %{_bindir}/ocamlopt  echo 1 || echo 0)
@@ -94,6 +94,9 @@
 %ifarch %arm
 %define kernel_binary /boot/uImage
 %endif
+%ifarch aarch64
+%define kernel_binary /boot/Image
+%endif
 #
 # use 'env LIBGUESTFS_HV=/path/to/kvm libguestfs-test-tool' to verify
 %define kvm_binary /bin/false
@@ -870,10 +873,12 @@
 %doc COPYING
 %{_bindir}/*
 %config(noreplace) /etc/libguestfs-tools.conf
+%if %{with ocaml_bindings}
 /etc/virt-builder
 %dir /etc/xdg/virt-builder
 %dir /etc/xdg/virt-builder/repos.d
 %config /etc/xdg/virt-builder/repos.d/*
+%endif
 %if %{with bash_completion}
 %{_datadir}/bash-completion
 %endif

++ libguestfs-1.26.6.tar.xz - libguestfs-1.26.7.tar.xz ++
 2672 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit libguestfs for openSUSE:Factory

2014-07-28 Thread h_root
Hello community,

here is the log from the commit of package libguestfs for openSUSE:Factory 
checked in at 2014-07-28 16:21:24

Comparing /work/SRC/openSUSE:Factory/libguestfs (Old)
 and  /work/SRC/openSUSE:Factory/.libguestfs.new (New)


Package is libguestfs

Changes:

--- /work/SRC/openSUSE:Factory/libguestfs/libguestfs.changes2014-07-18 
06:41:25.0 +0200
+++ /work/SRC/openSUSE:Factory/.libguestfs.new/libguestfs.changes   
2014-07-28 16:21:25.0 +0200
@@ -1,0 +2,15 @@
+Mon Jul 28 09:27:51 CEST 2014 - oher...@suse.de
+
+- Update to version 1.26.6
+  * cleanups: add CLEANUP_FCLOSE (fclose on FILE*)
+  * launch: Close file descriptors after fork (RHBZ#1123007).
+  * virt-resize: Unmount filesystem after testing size.
+  * daemon: Add extra debugging to umount_all command.
+  * sparsify: Relax requirement that output device cannot be block device 
(RHBZ#1122557).
+  * ocaml: Ignore Warning 3: deprecated feature: String.* functions.
+  * sysprep: Standard exception handling, taken from virt-builder  virt-v2v.
+  * customize: Use Common_utils.error function instead of failwith.
+  * mllib: introduce Mkdtemp.temp_dir
+  * inspect: ignore /etc/fstab with no entries (RHBZ#1113156).
+
+---

Old:

  libguestfs-1.26.5.tar.xz

New:

  libguestfs-1.26.6.tar.xz



Other differences:
--
++ libguestfs.spec ++
--- /var/tmp/diff_new_pack.W4Q8AC/_old  2014-07-28 16:21:26.0 +0200
+++ /var/tmp/diff_new_pack.W4Q8AC/_new  2014-07-28 16:21:26.0 +0200
@@ -17,7 +17,7 @@
 #
 
 
-Version:1.26.5
+Version:1.26.6
 Release:0
 
 %define opt %(test -x %{_bindir}/ocamlopt  echo 1 || echo 0)

++ -hotfix.patch ++
--- /var/tmp/diff_new_pack.W4Q8AC/_old  2014-07-28 16:21:26.0 +0200
+++ /var/tmp/diff_new_pack.W4Q8AC/_new  2014-07-28 16:21:26.0 +0200
@@ -1,4 +1,4 @@
-From 032655f5dd4fcc06a0c4da91efde617ac1536080 Mon Sep 17 00:00:00 2001
+From 5198e6eb6878611616458cb561545d5dc0adcc35 Mon Sep 17 00:00:00 2001
 From: Olaf Hering o...@aepfle.de
 Date: Tue, 13 May 2014 15:31:21 +0200
 Subject: hotfix

++ 1000-force-virtio_blk-in-old-guest-kernel.patch ++
--- /var/tmp/diff_new_pack.W4Q8AC/_old  2014-07-28 16:21:26.0 +0200
+++ /var/tmp/diff_new_pack.W4Q8AC/_new  2014-07-28 16:21:26.0 +0200
@@ -1,4 +1,4 @@
-From 01e40a5583c02603cb4fccaddfd06e60804d96f6 Mon Sep 17 00:00:00 2001
+From 6b70404b04a20323b6195d6c8cf3e09a13ed0d70 Mon Sep 17 00:00:00 2001
 From: Olaf Hering o...@aepfle.de
 Date: Mon, 3 Sep 2012 19:50:44 +0200
 Subject: force virtio_blk in old guest kernel
@@ -78,10 +78,10 @@
  }
  
 diff --git a/src/inspect-fs-unix.c b/src/inspect-fs-unix.c
-index 17b0b5f..20af3f7 100644
+index 7221f24..9045f13 100644
 --- a/src/inspect-fs-unix.c
 +++ b/src/inspect-fs-unix.c
-@@ -1438,7 +1438,7 @@ resolve_fstab_device_diskbyid (guestfs_h *g, const char 
*part,
+@@ -1433,7 +1433,7 @@ resolve_fstab_device_diskbyid (guestfs_h *g, const char 
*part,
  return 0;
  
/* Make the partition name and check it exists. */
@@ -90,7 +90,7 @@
if (!is_partition (g, device)) {
  free (device);
  return 0;
-@@ -1531,7 +1531,7 @@ resolve_fstab_device (guestfs_h *g, const char *spec, 
Hash_table *md_map)
+@@ -1526,7 +1526,7 @@ resolve_fstab_device (guestfs_h *g, const char *spec, 
Hash_table *md_map)
  if (disk_i != -1  disk_i = 26 
  slice_i  0  slice_i = 1 /*  4 .. see comment above */ 
  part_i = 0  part_i  26) {
@@ -100,10 +100,10 @@
}
else if ((part = match1 (g, spec, re_diskbyid)) != NULL) {
 diff --git a/src/launch-direct.c b/src/launch-direct.c
-index 070dfca..fa5d08b 100644
+index 3857f53..713282d 100644
 --- a/src/launch-direct.c
 +++ b/src/launch-direct.c
-@@ -1183,6 +1183,8 @@ qemu_supports_virtio_scsi (guestfs_h *g, struct 
backend_direct_data *data)
+@@ -1184,6 +1184,8 @@ qemu_supports_virtio_scsi (guestfs_h *g, struct 
backend_direct_data *data)
  data-virtio_scsi = 3;
  }
}

++ libguestfs-1.26.5.tar.xz - libguestfs-1.26.6.tar.xz ++
 11934 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit libguestfs for openSUSE:Factory

2014-07-17 Thread h_root
Hello community,

here is the log from the commit of package libguestfs for openSUSE:Factory 
checked in at 2014-07-18 06:40:43

Comparing /work/SRC/openSUSE:Factory/libguestfs (Old)
 and  /work/SRC/openSUSE:Factory/.libguestfs.new (New)


Package is libguestfs

Changes:

--- /work/SRC/openSUSE:Factory/libguestfs/libguestfs.changes2014-07-10 
14:55:24.0 +0200
+++ /work/SRC/openSUSE:Factory/.libguestfs.new/libguestfs.changes   
2014-07-18 06:41:25.0 +0200
@@ -1,0 +2,20 @@
+Wed Jul  9 09:54:31 CEST 2014 - oher...@suse.de
+
+- Include fdisk and bc (bnc#886372)
+
+---
+Tue Jul  8 17:33:56 CEST 2014 - oher...@suse.de
+
+- add Requires: qemu 2 to guestfs-tools to restore versioned kvm
+
+---
+Tue Jul  8 12:54:34 CEST 2014 - oher...@suse.de
+
+- Use /usr/bin/qemu-system-ppc64 as kvm_binary on ppc64le (bnc#884564)
+
+---
+Tue Jul  8 12:52:58 CEST 2014 - oher...@suse.de
+
+- Handle empty /lib/mkinitrd/scripts gracefully
+
+---



Other differences:
--
++ libguestfs.spec ++
--- /var/tmp/diff_new_pack.C2RjTv/_old  2014-07-18 06:41:28.0 +0200
+++ /var/tmp/diff_new_pack.C2RjTv/_new  2014-07-18 06:41:28.0 +0200
@@ -100,6 +100,9 @@
 %ifarch aarch64
 %define kvm_binary /usr/bin/qemu-system-aarch64
 %endif
+%ifarch ppc64le
+%define kvm_binary /usr/bin/qemu-system-ppc64
+%endif
 %ifarch ppc64
 %define kvm_binary /usr/bin/qemu-system-ppc64
 %endif
@@ -223,6 +226,7 @@
 Provides:   %{name} = %{version}
 Obsoletes:  %{name}  %{version}
 Requires:   %{kvm_binary}
+Requires:   qemu = 2.0
 %if %{with bash_completion}
 Recommends: bash-completion = 2.0
 %endif
@@ -380,6 +384,7 @@
 BuildRequires:  sles-release
 %endif
 BuildRequires:  augeas-lenses
+BuildRequires:  bc
 BuildRequires:  btrfsprogs
 BuildRequires:  bzip2
 BuildRequires:  cdrkit-cdrtools-compat
@@ -677,7 +682,13 @@
 cp -avL %{S:19} mkinitrd/scripts/setup-nfs.sh
 cp -avL %{S:20} mkinitrd/scripts/setup-btrfs.sh
 cp -avL %{S:21} mkinitrd/scripts/setup-btrfs.sh
-cp -avb /lib/mkinitrd/scripts/* mkinitrd/scripts
+for i in /lib/mkinitrd/scripts/*
+do
+   if test -f $i
+   then
+   cp -avbt mkinitrd/scripts $i
+   fi
+done
 mkdir -vp mkinitrd/setup mkinitrd/boot
 ln -sfvbn lib/mkinitrd/bin mkinitrd/bin
 sed -i~ s@^INITRD_PATH=/lib/mkinitrd@INITRD_PATH=$PWD/mkinitrd@ 
mkinitrd/sbin/mkinitrd

++ libguestfs.mkinitrd.boot.sh ++
--- /var/tmp/diff_new_pack.C2RjTv/_old  2014-07-18 06:41:28.0 +0200
+++ /var/tmp/diff_new_pack.C2RjTv/_new  2014-07-18 06:41:28.0 +0200
@@ -211,6 +211,9 @@
 #%programs: chroot
 #%programs: umount
 #
+#%programs: bc
+#%programs: fdisk
+#
 # Generated at build time:
 #@GUESTFS_EXT_CMDS@
 #

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit libguestfs for openSUSE:Factory

2014-07-10 Thread h_root
Hello community,

here is the log from the commit of package libguestfs for openSUSE:Factory 
checked in at 2014-07-10 14:55:15

Comparing /work/SRC/openSUSE:Factory/libguestfs (Old)
 and  /work/SRC/openSUSE:Factory/.libguestfs.new (New)


Package is libguestfs

Changes:

--- /work/SRC/openSUSE:Factory/libguestfs/libguestfs.changes2014-07-04 
09:34:43.0 +0200
+++ /work/SRC/openSUSE:Factory/.libguestfs.new/libguestfs.changes   
2014-07-10 14:55:24.0 +0200
@@ -1,0 +2,38 @@
+Mon Jul  7 10:12:36 CEST 2014 - oher...@suse.de
+
+- Update requirements for kvm package. Instead of calling qemu-kvm
+  and Requires: kvm, replace the Requires with /usr/bin/qemu-system-$ARCH
+  Define the helper for aarch64, ppc64, s390x and x86_64.
+  Other archs have to use LIBGUESTFS_HV= (bnc#884564)
+
+---
+Mon Jul  7 09:37:23 CEST 2014 - oher...@suse.de
+
+- Update to version 1.26.5
+  * generator: Sort the structs.
+  * Use -v and -x flags consistently across OCaml virt-* tools.
+  * mllib: Rewrite text wrapping function so it can handle newlines within the 
text.
+  * mllib: Add a common 'warning' utility function.
+  * mllib: Add an interface for Common_utils library.
+  * mllib: Move common code for comparing version strings to library.
+  * options: Compile out part of union which cannot be used when not compiling 
guestfish.
+  * mllib: Create a common utility function is_directory.
+  * fuse: UID 0 should override all permissions checks (RHBZ#1106548).
+  * launch: libvirt: Only use serial BIOS (sgabios) on x86.
+  * daemon: print parameters for vgchange in error messages
+  * generator: fix daemon functions with optional params but no mandatory 
params
+  * appliance: Increase udev timeout to 6000s (RHBZ#1096579).
+  * launch: libvirt: Add -device sga (sgabios).
+
+---
+Fri Jul  4 09:51:06 CEST 2014 - oher...@suse.de
+
+- Add cdrkit-cdrtools-compat, psmisc, gptfdisk, syslinux to
+  BuildRequires to reduce amount of missing commands
+
+---
+Fri Jul  4 09:29:11 CEST 2014 - oher...@suse.de
+
+- Include mkinitrd scripts for btrfs, and include it in feature list
+
+---

Old:

  libguestfs-1.26.3.tar.xz

New:

  libguestfs-1.26.5.tar.xz
  libguestfs.mkinitrd.boot-btrfs.sh
  libguestfs.mkinitrd.setup-btrfs.sh



Other differences:
--
++ libguestfs.spec ++
--- /var/tmp/diff_new_pack.9yfW78/_old  2014-07-10 14:55:25.0 +0200
+++ /var/tmp/diff_new_pack.9yfW78/_new  2014-07-10 14:55:25.0 +0200
@@ -17,7 +17,7 @@
 #
 
 
-Version:1.26.3
+Version:1.26.5
 Release:0
 
 %define opt %(test -x %{_bindir}/ocamlopt  echo 1 || echo 0)
@@ -95,6 +95,21 @@
 %define kernel_binary /boot/uImage
 %endif
 #
+# use 'env LIBGUESTFS_HV=/path/to/kvm libguestfs-test-tool' to verify
+%define kvm_binary /bin/false
+%ifarch aarch64
+%define kvm_binary /usr/bin/qemu-system-aarch64
+%endif
+%ifarch ppc64
+%define kvm_binary /usr/bin/qemu-system-ppc64
+%endif
+%ifarch s390x
+%define kvm_binary /usr/bin/qemu-system-s390x
+%endif
+%ifarch x86_64
+%define kvm_binary /usr/bin/qemu-system-x86_64
+%endif
+#
 %define guestfs_docdir %{_defaultdocdir}/%{name}
 #
 Name:   libguestfs
@@ -169,6 +184,8 @@
 Source17:   libguestfs.mkinitrd.setup-md.sh
 Source18:   libguestfs.mkinitrd.boot-nfs.sh
 Source19:   libguestfs.mkinitrd.setup-nfs.sh
+Source20:   libguestfs.mkinitrd.boot-btrfs.sh
+Source21:   libguestfs.mkinitrd.setup-btrfs.sh
 #
 Source1220: libguestfs.mkinitrd.1220.patch
 Source1210: libguestfs.mkinitrd.1210.patch
@@ -205,7 +222,7 @@
 Group:  System/Filesystems
 Provides:   %{name} = %{version}
 Obsoletes:  %{name}  %{version}
-Requires:   kvm = 1.1
+Requires:   %{kvm_binary}
 %if %{with bash_completion}
 Recommends: bash-completion = 2.0
 %endif
@@ -365,6 +382,7 @@
 BuildRequires:  augeas-lenses
 BuildRequires:  btrfsprogs
 BuildRequires:  bzip2
+BuildRequires:  cdrkit-cdrtools-compat
 BuildRequires:  coreutils
 BuildRequires:  cpio
 BuildRequires:  cryptsetup
@@ -383,6 +401,9 @@
 BuildRequires:  genisoimage
 BuildRequires:  glibc
 BuildRequires:  grep
+%if %suse_version  1210
+BuildRequires:  gptfdisk
+%endif
 BuildRequires:  gzip
 BuildRequires:  iproute2
 BuildRequires:  jfsutils
@@ -397,9 +418,13 @@
 BuildRequires:  ntfs-3g
 BuildRequires:  ntfsprogs
 BuildRequires:  parted
+BuildRequires:  psmisc
 BuildRequires:  reiserfs
 BuildRequires:  rsync
 BuildRequires:  strace
+%ifarch %ix86 x86_64
+BuildRequires:  syslinux
+%endif
 

commit libguestfs for openSUSE:Factory

2014-07-04 Thread h_root
Hello community,

here is the log from the commit of package libguestfs for openSUSE:Factory 
checked in at 2014-07-04 09:34:42

Comparing /work/SRC/openSUSE:Factory/libguestfs (Old)
 and  /work/SRC/openSUSE:Factory/.libguestfs.new (New)


Package is libguestfs

Changes:

--- /work/SRC/openSUSE:Factory/libguestfs/libguestfs.changes2014-06-07 
07:12:37.0 +0200
+++ /work/SRC/openSUSE:Factory/.libguestfs.new/libguestfs.changes   
2014-07-04 09:34:43.0 +0200
@@ -1,0 +2,7 @@
+Wed Jul  2 11:27:26 CEST 2014 - oher...@suse.de
+
+- Include mkinitrd scripts from lvm2, device-mapper, mdadm and
+  nfs-client for 13.2 builds. The scripts will be removed from these
+  packages, they are required here. (bnc#883863, bnc#883873,bnc#883876)
+
+---

New:

  libguestfs.mkinitrd.boot-dm.sh
  libguestfs.mkinitrd.boot-lvm2.sh
  libguestfs.mkinitrd.boot-md.sh
  libguestfs.mkinitrd.boot-nfs.sh
  libguestfs.mkinitrd.setup-dm.sh
  libguestfs.mkinitrd.setup-lvm2.sh
  libguestfs.mkinitrd.setup-md.sh
  libguestfs.mkinitrd.setup-nfs.sh



Other differences:
--
++ libguestfs.spec ++
--- /var/tmp/diff_new_pack.MpM2Bt/_old  2014-07-04 09:34:44.0 +0200
+++ /var/tmp/diff_new_pack.MpM2Bt/_new  2014-07-04 09:34:44.0 +0200
@@ -160,6 +160,16 @@
 Source789653:   Pod-Simple-3.23.tar.xz
 Source10:   libguestfs.mkinitrd.boot.sh
 Source11:   libguestfs.mkinitrd.setup.sh
+#
+Source12:   libguestfs.mkinitrd.boot-dm.sh
+Source13:   libguestfs.mkinitrd.setup-dm.sh
+Source14:   libguestfs.mkinitrd.boot-lvm2.sh
+Source15:   libguestfs.mkinitrd.setup-lvm2.sh
+Source16:   libguestfs.mkinitrd.boot-md.sh
+Source17:   libguestfs.mkinitrd.setup-md.sh
+Source18:   libguestfs.mkinitrd.boot-nfs.sh
+Source19:   libguestfs.mkinitrd.setup-nfs.sh
+#
 Source1220: libguestfs.mkinitrd.1220.patch
 Source1210: libguestfs.mkinitrd.1210.patch
 Source1110: libguestfs.mkinitrd.1110.patch
@@ -632,6 +642,14 @@
 ln -sfvbn mkinitrd-2.8.1 mkinitrd
 ln -sfvbn mkinitrd/sbin/mkinitrd_setup mkinitrd_setup.sh
 ln -sfvbn mkinitrd/sbin/mkinitrd mkinitrd.sh
+cp -avL %{S:12} mkinitrd/scripts/boot-dm.sh
+cp -avL %{S:13} mkinitrd/scripts/setup-dm.sh
+cp -avL %{S:14} mkinitrd/scripts/boot-lvm2.sh
+cp -avL %{S:15} mkinitrd/scripts/setup-lvm2.sh
+cp -avL %{S:16} mkinitrd/scripts/boot-md.sh
+cp -avL %{S:17} mkinitrd/scripts/setup-md.sh
+cp -avL %{S:18} mkinitrd/scripts/boot-nfs.sh
+cp -avL %{S:19} mkinitrd/scripts/setup-nfs.sh
 cp -avb /lib/mkinitrd/scripts/* mkinitrd/scripts
 mkdir -vp mkinitrd/setup mkinitrd/boot
 ln -sfvbn lib/mkinitrd/bin mkinitrd/bin

++ libguestfs.mkinitrd.boot-dm.sh ++
#!/bin/bash
#%stage: boot
#%depends: start
#%modules: $dm_modules dm-mod dm-snapshot
#%programs: /sbin/dmsetup /sbin/blockdev
# dm-crypt dm-zero dm-mirror
#%if: -n $root_dm
#
# Device Mapper
##
## If the root device uses device mapper, this initializes and waits for the 
control file
##
## Command line parameters
## ---
##
## root_dm=1use device mapper
## 

load_modules

# because we run before udev we need to create the device node manually
mkdir -p /dev/mapper
if [ ! -c /dev/mapper/control ] ; then
mknod /dev/mapper/control c 10 63
fi
++ libguestfs.mkinitrd.boot-lvm2.sh ++
#!/bin/bash
#%stage: volumemanager
#%depends: evms
#%programs: vgscan vgchange lvm
#%programs: sed
#%modules: linear
#%if: -n $root_lvm2
#
# LVM (Logical Volume Management)
##
## This activates and waits for an LVM.
##
## Command line parameters
## ---
##
## root_lvm2=1  use LVM
## root=/dev/mapper/... use this device as Volume Group
## vg_roots use this group as Volume Group
## 

lvm2_get_vg() {
local param=$1
local vg_root vg_name
local sysdev

case $param in
/dev/disk/by-*/*)
vg_root=
;;
/dev/mapper/*)
vg_name=${o##root=/dev/mapper/}
vg_root=${vg_name%%-*}
;;
/dev/*)
set -- $(IFS=/ ; echo $param)
if [ $# = 3 ] ; then
# Check sysfs. If there are subdirectories
# matching this name it's a block device
for d in /sys/block/$2\!* ; do
if [ -d $d ] ; then
sysdev=$d
fi
done
# Not found in sysfs, looks like a VG then
if [ -z $sysdev ] ; then
vg_root=$2
fi
fi
;;
esac

echo $vg_root
}

# load the necessary module before we initialize the raid system
load_modules

if [ -n $root_lvm2 ] ; then

commit libguestfs for openSUSE:Factory

2014-06-06 Thread h_root
Hello community,

here is the log from the commit of package libguestfs for openSUSE:Factory 
checked in at 2014-06-07 07:12:36

Comparing /work/SRC/openSUSE:Factory/libguestfs (Old)
 and  /work/SRC/openSUSE:Factory/.libguestfs.new (New)


Package is libguestfs

Changes:

--- /work/SRC/openSUSE:Factory/libguestfs/libguestfs.changes2014-06-04 
18:39:55.0 +0200
+++ /work/SRC/openSUSE:Factory/.libguestfs.new/libguestfs.changes   
2014-06-07 07:12:37.0 +0200
@@ -1,0 +2,5 @@
+Thu Jun  5 17:10:57 UTC 2014 - mlati...@suse.com
+
+- Fix permissions on initramfs to allow regular users access. 
+
+---



Other differences:
--
++ libguestfs.spec ++
--- /var/tmp/diff_new_pack.bisMsA/_old  2014-06-07 07:12:38.0 +0200
+++ /var/tmp/diff_new_pack.bisMsA/_new  2014-06-07 07:12:38.0 +0200
@@ -727,6 +727,7 @@
 cp -avLt $RPM_BUILD_ROOT%{_libdir}/guestfs/ \
mkinitrd/boot_tmp/initramfs.${arch}.img \
mkinitrd/boot_tmp/vmlinuz.${arch}
+chmod 644 $RPM_BUILD_ROOT%{_libdir}/guestfs/initramfs.${arch}.img
 
 %clean
 rm -rf $RPM_BUILD_ROOT

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit libguestfs for openSUSE:Factory

2014-06-04 Thread h_root
Hello community,

here is the log from the commit of package libguestfs for openSUSE:Factory 
checked in at 2014-06-04 18:39:35

Comparing /work/SRC/openSUSE:Factory/libguestfs (Old)
 and  /work/SRC/openSUSE:Factory/.libguestfs.new (New)


Package is libguestfs

Changes:

--- /work/SRC/openSUSE:Factory/libguestfs/libguestfs.changes2014-05-16 
18:11:43.0 +0200
+++ /work/SRC/openSUSE:Factory/.libguestfs.new/libguestfs.changes   
2014-06-04 18:39:55.0 +0200
@@ -1,0 +2,10 @@
+Mon May 26 11:22:34 CEST 2014 - oher...@suse.de
+
+- Update to version 1.26.3
+  * ppc64: Use console=hvc0 console=ttyS0.
+  * fish: simplify output of 'supported'
+  * Fix some spelling mistakes and typos in documentation (RHBZ#1099284).
+  * configure: Move --with-default-backend test later in configure.ac.
+  * Fix handling of passwords in URLs
+
+---

Old:

  libguestfs-1.26.2.tar.xz

New:

  libguestfs-1.26.3.tar.xz



Other differences:
--
++ libguestfs.spec ++
--- /var/tmp/diff_new_pack.xA6QNd/_old  2014-06-04 18:39:59.0 +0200
+++ /var/tmp/diff_new_pack.xA6QNd/_new  2014-06-04 18:39:59.0 +0200
@@ -17,7 +17,7 @@
 #
 
 
-Version:1.26.2
+Version:1.26.3
 Release:0
 
 %define opt %(test -x %{_bindir}/ocamlopt  echo 1 || echo 0)

++ libguestfs-1.26.2.tar.xz - libguestfs-1.26.3.tar.xz ++
 17222 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit libguestfs for openSUSE:Factory

2014-05-16 Thread h_root
Hello community,

here is the log from the commit of package libguestfs for openSUSE:Factory 
checked in at 2014-05-16 18:11:39

Comparing /work/SRC/openSUSE:Factory/libguestfs (Old)
 and  /work/SRC/openSUSE:Factory/.libguestfs.new (New)


Package is libguestfs

Changes:

--- /work/SRC/openSUSE:Factory/libguestfs/libguestfs.changes2014-04-05 
16:47:02.0 +0200
+++ /work/SRC/openSUSE:Factory/.libguestfs.new/libguestfs.changes   
2014-05-16 18:11:43.0 +0200
@@ -1,0 +2,25 @@
+Tue May 13 15:16:11 CEST 2014 - oher...@suse.de
+
+- Update to version 1.26.2
+  * sparsify: Add a note about qcow2 internal snapshots not being copied 
(RHBZ#1094746).
+  * customize: random-seed file has moved again.
+  * lib: xmlParse{File,Memory} - xmlRead{File,Memory}
+  * launch: direct: Supply -M option when testing qemu for devices.
+  * tar-in: Fix places where we didn't cancel the receive (FileIn) correctly 
along error paths (RHBZ#1091803).
+  * configure: Make sure grep matches qemu 2.x version string.
+  * daemon: parted: part-get-name: switch from sgdisk to parted (RHBZ#1088424).
+  * sparsify: If using -v (verbose), ensure #disk_create runs verbose too.
+  * disk-create: Fix this API so it works correctly with block devices 
(RHBZ#1088262).
+  * listfs: If LDM not available, don't inhibit partition detection 
(RHBZ#1079182).
+  * mllib: utils: Add mapi function.
+  * src/launch: improve the addition of the no-hpet option
+  * handle: Free g-backend_settings.
+  * python: Remove unnecessary library dependencies.
+  * utils: Move guestfs___validate_guid out of utils.c.
+  * utils: Remove for-loop variable decl.
+  * rescue: Don't leak various variables when using --suggest option with 
multi-boot guests.
+  * make-fs: Close FILE* along error path.
+  * make-fs: Check for error return from guestfs_statvfs.
+  * daemon: parted: part-get-name: Don't leak partition type string.
+
+---

Old:

  libguestfs-1.26.0.tar.xz

New:

  libguestfs-1.26.2.tar.xz



Other differences:
--
++ libguestfs.spec ++
--- /var/tmp/diff_new_pack.6xsaeD/_old  2014-05-16 18:11:44.0 +0200
+++ /var/tmp/diff_new_pack.6xsaeD/_new  2014-05-16 18:11:44.0 +0200
@@ -17,7 +17,7 @@
 #
 
 
-Version:1.26.0
+Version:1.26.2
 Release:0
 
 %define opt %(test -x %{_bindir}/ocamlopt  echo 1 || echo 0)

++ -hotfix.patch ++
--- /var/tmp/diff_new_pack.6xsaeD/_old  2014-05-16 18:11:44.0 +0200
+++ /var/tmp/diff_new_pack.6xsaeD/_new  2014-05-16 18:11:44.0 +0200
@@ -1,57 +1,18 @@
-From 464eafba694aaaff8c5c49fd1f4f0c08d069833d Mon Sep 17 00:00:00 2001
+From 0c5d0904ac4699ba02af1815598fa57ba296d3fd Mon Sep 17 00:00:00 2001
 From: Olaf Hering o...@aepfle.de
-Date: Fri, 28 Mar 2014 10:11:28 +0100
-Subject: fix virt-index-validate link errors
-
-[  288s] virt_index_validate-index-validate.o: In function `main':
-[  288s] index-validate.c:(.text+0x94): undefined reference to 
`rpl_getopt_long'
-[  288s] index-validate.c:(.text+0x165): undefined reference to `rpl_optind'
-[  288s] index-validate.c:(.text+0x177): undefined reference to `rpl_optind'
-[  288s] index-validate.c:(.text+0x18c): undefined reference to `rpl_optind'
-[  288s] index-validate.c:(.text+0x498): undefined reference to `rpl_perror'
-[  288s] collect2: ld returned 1 exit status
-[  288s] make[2]: *** [virt-index-validate] Error 1
+Date: Tue, 13 May 2014 15:31:21 +0200
+Subject: hotfix
 
 Signed-off-by: Olaf Hering o...@aepfle.de
 ---
- builder/Makefile.am |3 +++
- builder/Makefile.in |5 -
- 2 files changed, 7 insertions(+), 1 deletion(-)
+ pkg-hotfix.txt | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 pkg-hotfix.txt
 
-Index: libguestfs-1.26.0/builder/Makefile.am
-===
 libguestfs-1.26.0.orig/builder/Makefile.am
-+++ libguestfs-1.26.0/builder/Makefile.am
-@@ -278,6 +278,9 @@ virt_index_validate_SOURCES = \
- virt_index_validate_CPPFLAGS = \
-   -DLOCALEBASEDIR=\$(datadir)/locale\
- 
-+virt_index_validate_LDADD = \
-+  ../gnulib/lib/libgnu.la
-+
- man_MANS += virt-index-validate.1
- noinst_DATA += $(top_builddir)/html/virt-index-validate.1.html
- 
-Index: libguestfs-1.26.0/builder/Makefile.in
-===
 libguestfs-1.26.0.orig/builder/Makefile.in
-+++ libguestfs-1.26.0/builder/Makefile.in
-@@ -291,7 +291,7 @@ am_virt_index_validate_OBJECTS =  \
-   virt_index_validate-index-struct.$(OBJEXT) \
-   virt_index_validate-index-validate.$(OBJEXT)
- virt_index_validate_OBJECTS = $(am_virt_index_validate_OBJECTS)
--virt_index_validate_LDADD = $(LDADD)

commit libguestfs for openSUSE:Factory

2014-04-05 Thread h_root
Hello community,

here is the log from the commit of package libguestfs for openSUSE:Factory 
checked in at 2014-04-05 16:47:01

Comparing /work/SRC/openSUSE:Factory/libguestfs (Old)
 and  /work/SRC/openSUSE:Factory/.libguestfs.new (New)


Package is libguestfs

Changes:

--- /work/SRC/openSUSE:Factory/libguestfs/libguestfs.changes2014-03-09 
18:27:26.0 +0100
+++ /work/SRC/openSUSE:Factory/.libguestfs.new/libguestfs.changes   
2014-04-05 16:47:02.0 +0200
@@ -1,0 +2,13 @@
+Fri Mar 28 14:03:57 CET 2014 - oher...@suse.de
+
+- Update to version 1.26.0
+  * virt-customize is a new tool for customizing disk images
+  * virt-diff is a new tool for showing differences between filesystems
+  * virt-sparsify has a new --in-place option
+  * new virt-sysprep operations
+  * many bug fixes
+  * full release notes: http://libguestfs.org/guestfs-release-notes.1.html
+- added -hotfix.patch
+- removed 0001-ocamlopt.patch
+
+---

Old:

  0001-ocamlopt.patch
  libguestfs-1.24.6.tar.xz

New:

  -hotfix.patch
  libguestfs-1.26.0.tar.xz



Other differences:
--
++ libguestfs.spec ++
--- /var/tmp/diff_new_pack.UHiCsI/_old  2014-04-05 16:47:03.0 +0200
+++ /var/tmp/diff_new_pack.UHiCsI/_new  2014-04-05 16:47:03.0 +0200
@@ -17,7 +17,7 @@
 #
 
 
-Version:1.24.6
+Version:1.26.0
 Release:0
 
 %define opt %(test -x %{_bindir}/ocamlopt  echo 1 || echo 0)
@@ -109,7 +109,9 @@
 %if %{with bash_completion}
 BuildRequires:  bash-completion = 2.0
 %endif
+BuildRequires:  bison
 BuildRequires:  file-devel
+BuildRequires:  flex
 BuildRequires:  gcc
 BuildRequires:  gcc-c++
 BuildRequires:  gperf
@@ -151,8 +153,8 @@
 Summary:Compatibility package for guestfs-tools
 License:GPL-2.0
 Group:  System/Filesystems
+Patch0: -hotfix.patch
 Patch1000:  1000-force-virtio_blk-in-old-guest-kernel.patch
-Patch1: 0001-ocamlopt.patch
 Source0:%{name}-%{version}.tar.xz
 Source42:   libguestfs.mkinitrd.tar.bz2
 Source789653:   Pod-Simple-3.23.tar.xz
@@ -460,7 +462,7 @@
 %prep
 : _ignore_exclusive_arch '%{?_ignore_exclusive_arch}'
 %setup -q -a 789653 -a 42
-%patch1 -p1
+%patch0 -p1
 %patch1000 -p1
 
 %build
@@ -803,16 +805,18 @@
 
 %files -n guestfsd
 %defattr(-,root,root)
-%{udevrulesdir}
 %{_sbindir}/guestfsd
 %{_mandir}/man8/*
 
 %files -n guestfs-tools -f %{name}.lang
 %defattr(-,root,root)
 %doc COPYING
-%{_sbindir}/libguestfs-make-fixed-appliance
 %{_bindir}/*
 %config(noreplace) /etc/libguestfs-tools.conf
+/etc/virt-builder
+%dir /etc/xdg/virt-builder
+%dir /etc/xdg/virt-builder/repos.d
+%config /etc/xdg/virt-builder/repos.d/*
 %if %{with bash_completion}
 %{_datadir}/bash-completion
 %endif

++ -hotfix.patch ++
From 464eafba694aaaff8c5c49fd1f4f0c08d069833d Mon Sep 17 00:00:00 2001
From: Olaf Hering o...@aepfle.de
Date: Fri, 28 Mar 2014 10:11:28 +0100
Subject: fix virt-index-validate link errors

[  288s] virt_index_validate-index-validate.o: In function `main':
[  288s] index-validate.c:(.text+0x94): undefined reference to `rpl_getopt_long'
[  288s] index-validate.c:(.text+0x165): undefined reference to `rpl_optind'
[  288s] index-validate.c:(.text+0x177): undefined reference to `rpl_optind'
[  288s] index-validate.c:(.text+0x18c): undefined reference to `rpl_optind'
[  288s] index-validate.c:(.text+0x498): undefined reference to `rpl_perror'
[  288s] collect2: ld returned 1 exit status
[  288s] make[2]: *** [virt-index-validate] Error 1

Signed-off-by: Olaf Hering o...@aepfle.de
---
 builder/Makefile.am |3 +++
 builder/Makefile.in |5 -
 2 files changed, 7 insertions(+), 1 deletion(-)

Index: libguestfs-1.26.0/builder/Makefile.am
===
--- libguestfs-1.26.0.orig/builder/Makefile.am
+++ libguestfs-1.26.0/builder/Makefile.am
@@ -278,6 +278,9 @@ virt_index_validate_SOURCES = \
 virt_index_validate_CPPFLAGS = \
-DLOCALEBASEDIR=\$(datadir)/locale\
 
+virt_index_validate_LDADD = \
+   ../gnulib/lib/libgnu.la
+
 man_MANS += virt-index-validate.1
 noinst_DATA += $(top_builddir)/html/virt-index-validate.1.html
 
Index: libguestfs-1.26.0/builder/Makefile.in
===
--- libguestfs-1.26.0.orig/builder/Makefile.in
+++ libguestfs-1.26.0/builder/Makefile.in
@@ -291,7 +291,7 @@ am_virt_index_validate_OBJECTS =  \
virt_index_validate-index-struct.$(OBJEXT) \
virt_index_validate-index-validate.$(OBJEXT)
 virt_index_validate_OBJECTS = $(am_virt_index_validate_OBJECTS)
-virt_index_validate_LDADD = $(LDADD)
+virt_index_validate_DEPENDENCIES =
 AM_V_lt = 

commit libguestfs for openSUSE:Factory

2014-03-09 Thread h_root
Hello community,

here is the log from the commit of package libguestfs for openSUSE:Factory 
checked in at 2014-03-09 18:27:25

Comparing /work/SRC/openSUSE:Factory/libguestfs (Old)
 and  /work/SRC/openSUSE:Factory/.libguestfs.new (New)


Package is libguestfs

Changes:

--- /work/SRC/openSUSE:Factory/libguestfs/libguestfs.changes2014-02-15 
08:05:49.0 +0100
+++ /work/SRC/openSUSE:Factory/.libguestfs.new/libguestfs.changes   
2014-03-09 18:27:26.0 +0100
@@ -1,0 +2,6 @@
+Thu Feb 27 13:40:20 CET 2014 - oher...@suse.de
+
+- Build without ocaml.opt on s390x and ppc64le
+  0001-ocamlopt.patch
+
+---

New:

  0001-ocamlopt.patch



Other differences:
--
++ libguestfs.spec ++
--- /var/tmp/diff_new_pack.gwMtWn/_old  2014-03-09 18:27:27.0 +0100
+++ /var/tmp/diff_new_pack.gwMtWn/_new  2014-03-09 18:27:27.0 +0100
@@ -85,7 +85,7 @@
 %ifarch ia64 %ix86 x86_64
 %define kernel_binary /boot/vmlinuz
 %endif
-%ifarch ppc ppc64 sparc64
+%ifarch ppc ppc64 ppc64le sparc64
 %define kernel_binary /boot/vmlinux
 %endif
 %ifarch s390 s390x
@@ -99,7 +99,7 @@
 #
 Name:   libguestfs
 %if %{?_ignore_exclusive_arch} == 
-ExclusiveArch:  x86_64 ppc64
+ExclusiveArch:  x86_64 ppc64 ppc64le s390x
 %endif
 BuildRequires:  aaa_base
 BuildRequires:  attr-devel
@@ -134,9 +134,6 @@
 # Required to build tools, its independent from bindings
 BuildRequires:  ocaml
 BuildRequires:  ocaml-findlib
-%if %suse_version  1310
-BuildRequires:  ocaml(ocaml.opt)
-%endif
 %define _configure_ocaml --enable-ocaml
 %endif
 #
@@ -155,6 +152,7 @@
 License:GPL-2.0
 Group:  System/Filesystems
 Patch1000:  1000-force-virtio_blk-in-old-guest-kernel.patch
+Patch1: 0001-ocamlopt.patch
 Source0:%{name}-%{version}.tar.xz
 Source42:   libguestfs.mkinitrd.tar.bz2
 Source789653:   Pod-Simple-3.23.tar.xz
@@ -462,6 +460,7 @@
 %prep
 : _ignore_exclusive_arch '%{?_ignore_exclusive_arch}'
 %setup -q -a 789653 -a 42
+%patch1 -p1
 %patch1000 -p1
 
 %build

++ 0001-ocamlopt.patch ++
From 26cb4963efe2345f5dcbb16e66b127012dd5289a Mon Sep 17 00:00:00 2001
From: Olaf Hering o...@aepfle.de
Date: Wed, 26 Feb 2014 11:08:36 +0100
Subject: ocamlopt

Signed-off-by: Olaf Hering o...@aepfle.de
---
 builder/Makefile.am| 18 +++-
 configure.ac   |  2 ++
 mllib/Makefile.am  | 54 --
 ocaml/Makefile.am  | 35 +-
 ocaml/examples/Makefile.am | 13 +++
 resize/Makefile.am | 18 +++-
 sparsify/Makefile.am   | 18 +++-
 sysprep/Makefile.am| 18 +++-
 8 files changed, 146 insertions(+), 30 deletions(-)

diff --git a/builder/Makefile.am b/builder/Makefile.am
index b8bf6ac..80646c1 100644
--- a/builder/Makefile.am
+++ b/builder/Makefile.am
@@ -43,7 +43,7 @@ SOURCES = \
 if HAVE_OCAML
 
 # Note this list must be in dependency order.
-OBJECTS = \
+deps = \
$(top_builddir)/mllib/libdir.cmx \
$(top_builddir)/mllib/common_gettext.cmx \
$(top_builddir)/mllib/common_utils.cmx \
@@ -66,6 +66,12 @@ OBJECTS = \
cmdline.cmx \
builder.cmx
 
+if HAVE_OCAMLOPT
+OBJECTS = $(deps)
+else
+OBJECTS = $(patsubst %.cmx,%.cmo,$(deps))
+endif
+
 bin_SCRIPTS = virt-builder
 
 # -I $(top_builddir)/src/.libs is a hack which forces corresponding -L
@@ -83,12 +89,22 @@ endif
 OCAMLCFLAGS = -g -warn-error CDEFLMPSUVYZX $(OCAMLPACKAGES)
 OCAMLOPTFLAGS = $(OCAMLCFLAGS)
 
+if HAVE_OCAMLOPT
 virt-builder: $(OBJECTS)
$(OCAMLFIND) ocamlopt $(OCAMLOPTFLAGS) \
  mlguestfs.cmxa -linkpkg $^ \
  -cclib '-lncurses -lcrypt' \
  $(OCAML_GCOV_LDFLAGS) \
  -o $@
+else
+virt-builder: $(OBJECTS)
+   $(OCAMLFIND) ocamlc $(OCAMLCFLAGS) \
+ mlguestfs.cma -linkpkg $^ \
+ -cclib '-lncurses -lcrypt' \
+ -custom \
+ $(OCAML_GCOV_LDFLAGS) \
+ -o $@
+endif
 
 .mli.cmi:
$(OCAMLFIND) ocamlc $(OCAMLCFLAGS) -c $ -o $@
diff --git a/configure.ac b/configure.ac
index d7430db..e57bbf7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1024,6 +1024,8 @@ AS_IF([test x$enable_ocaml != xno],[
 ])
 AM_CONDITIONAL([HAVE_OCAML],
[test x$OCAMLC != xno  test x$OCAMLFIND != xno])
+AM_CONDITIONAL([HAVE_OCAMLOPT],
+   [test x$OCAMLOPT != xno  test x$OCAMLFIND != xno])
 AM_CONDITIONAL([HAVE_OCAMLDOC],
[test x$OCAMLDOC != xno])
 
diff --git a/mllib/Makefile.am b/mllib/Makefile.am
index 8c8d508..a685310 100644
--- a/mllib/Makefile.am
+++ b/mllib/Makefile.am
@@ -62,6 +62,22 @@ if HAVE_OCAML
 # - We're not actually building a 

commit libguestfs for openSUSE:Factory

2014-02-14 Thread h_root
Hello community,

here is the log from the commit of package libguestfs for openSUSE:Factory 
checked in at 2014-02-15 08:05:47

Comparing /work/SRC/openSUSE:Factory/libguestfs (Old)
 and  /work/SRC/openSUSE:Factory/.libguestfs.new (New)


Package is libguestfs

Changes:

--- /work/SRC/openSUSE:Factory/libguestfs/libguestfs.changes2014-02-04 
19:25:36.0 +0100
+++ /work/SRC/openSUSE:Factory/.libguestfs.new/libguestfs.changes   
2014-02-15 08:05:49.0 +0100
@@ -1,0 +2,28 @@
+Thu Feb 13 00:41:23 CET 2014 - oher...@suse.de
+
+- Update to version 1.24.6
+  *  FAQ: Another common problem is permission denied errors when running as 
root.
+  *  FAQ: Add another common Ubuntu appliance problem.
+  *  list-filesystems: Do not segfault if guestfs_btrfs_subvolume_list returns 
an error (RHBZ#1064008).
+  *  actions/part_set_gpt_type: set type of guid parameter as GUID 
(RHBZ#1008417).
+  *  generator: generate code for parameter validation
+  *  generator: add a GUID parameter type
+  *  utils: add a function to validate a GUID string
+  *  Remove bogus license file from daemon subdirectory.
+  *  daemon: Always pass -F option to mkfs.ntfs.
+  *  resize: Don't truncate libguestfs error messages.
+  *  libvirt-domain: Remove unnecessary and wrongly indented parens.
+  *  fish/uri: Tidy up error messages.
+  *  daemon: lvm2: Ignore unknown device output when a PV is missing 
(RHBZ#1054761).
+  *  generator/set-uuid: Fix two typos in documentation
+  *  sparsify: Prevent overwriting block or char output devices (RHBZ#1056290).
+  *  test-tool: Rearrange output into alphabetical order.
+
+---
+Tue Feb  4 22:57:01 CET 2014 - oher...@suse.de
+
+- more testcases for SLE12, using grub2
+  libguestfs.test.simple.create-sles12-guest.sh
+  libguestfs.test.simple.create-sles12-guest-crypt-on-lvm.sh
+
+---
@@ -18 +46 @@
-Wed Jan 22 10:13:00 UTC 2014 - oher...@suse.com
+Wed Jan 22 10:13:00 UTC 2014 - oher...@suse.de

Old:

  libguestfs-1.24.5.tar.xz

New:

  libguestfs-1.24.6.tar.xz
  libguestfs.test.simple.create-sles12-guest-crypt-on-lvm.sh
  libguestfs.test.simple.create-sles12-guest.sh



Other differences:
--
++ libguestfs.spec ++
--- /var/tmp/diff_new_pack.qubccv/_old  2014-02-15 08:05:50.0 +0100
+++ /var/tmp/diff_new_pack.qubccv/_new  2014-02-15 08:05:50.0 +0100
@@ -17,7 +17,7 @@
 #
 
 
-Version:1.24.5
+Version:1.24.6
 Release:0
 
 %define opt %(test -x %{_bindir}/ocamlopt  echo 1 || echo 0)
@@ -167,6 +167,9 @@
 Source10001:libguestfs.test.simple.run-libugestfs-test-tool.sh
 Source10002:libguestfs.test.simple.create-opensuse-guest.sh
 Source10003:libguestfs.test.simple.create-opensuse-guest-crypt-on-lvm.sh
+Source10004:libguestfs.test.simple.create-sles12-guest.sh
+Source10005:libguestfs.test.simple.create-sles12-guest-crypt-on-lvm.sh
+
 #
 Requires:   guestfs-tools
 
@@ -540,6 +543,8 @@
 #
 mkdir -p $RPM_BUILD_ROOT%{_datadir}/guestfs
 cp -avLt $RPM_BUILD_ROOT%{_datadir}/guestfs \
+   %{S:10005} \
+   %{S:10004} \
%{S:10003} \
%{S:10002} \
%{S:10001}

++ libguestfs-1.24.5.tar.xz - libguestfs-1.24.6.tar.xz ++
 53171 lines of diff (skipped)

++ libguestfs.test.simple.create-sles12-guest-crypt-on-lvm.sh ++
#!/bin/bash
# Create an openSUSE image with lvm on dm-crypt partition
# 
# Theory of operation:
#  This script uses zypper from the host to resolve dependencies 
#  for zypper which runs within the appliance. If zypper on the host
#  is too old, it will be unable to handle repo data from 13.1:
#http://lists.opensuse.org/zypp-devel/2013-11/msg0.html
#[zypp-devel] Package conflicting with itself
#  For this reason zypper from 12.3 can be used to install the pattern
#  of the final repo.
#  First the dependencies of zypper are resolved, the required packages
#  are downloaded and extracted with unrpm. Now the guest is started and
#  the partitions in the diskimage are prepared. Then the extracted
#  package content is copied into the guest. Once that is done zypper
#  inside the guest will install the base pattern and a few extra packages.
#  Finally the bootloader grub is configured. Once all that is done
#  kvm is started. If all goes well a login prompt appears.
#  The password for the crypted partition is 123456.
#  The password for root is root.
#  The guest has also network access to the outside.
#
# Expected runtime: ca. 200 seconds
# Requires at least 1.24.5 because this includes the required crypt modules
#
# Expected output:
# guest should start
# no obvious errors should be shown during 

commit libguestfs for openSUSE:Factory

2014-02-04 Thread h_root
Hello community,

here is the log from the commit of package libguestfs for openSUSE:Factory 
checked in at 2014-02-04 19:25:35

Comparing /work/SRC/openSUSE:Factory/libguestfs (Old)
 and  /work/SRC/openSUSE:Factory/.libguestfs.new (New)


Package is libguestfs

Changes:

--- /work/SRC/openSUSE:Factory/libguestfs/libguestfs.changes2014-02-01 
08:43:29.0 +0100
+++ /work/SRC/openSUSE:Factory/.libguestfs.new/libguestfs.changes   
2014-02-04 19:25:36.0 +0100
@@ -6,0 +7,6 @@
+Wed Jan 29 13:36:58 CET 2014 - r...@suse.de
+
+- drop i586 from ExclusiveArch as SLE-12 does not build a runnable
+  kernel there, and KVM is 64bit only
+
+---



Other differences:
--
++ libguestfs.spec ++
--- /var/tmp/diff_new_pack.UK1GMf/_old  2014-02-04 19:25:37.0 +0100
+++ /var/tmp/diff_new_pack.UK1GMf/_new  2014-02-04 19:25:37.0 +0100
@@ -99,7 +99,7 @@
 #
 Name:   libguestfs
 %if %{?_ignore_exclusive_arch} == 
-ExclusiveArch:  %ix86 x86_64 ppc64
+ExclusiveArch:  x86_64 ppc64
 %endif
 BuildRequires:  aaa_base
 BuildRequires:  attr-devel

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit libguestfs for openSUSE:Factory

2014-01-31 Thread h_root
Hello community,

here is the log from the commit of package libguestfs for openSUSE:Factory 
checked in at 2014-02-01 08:43:28

Comparing /work/SRC/openSUSE:Factory/libguestfs (Old)
 and  /work/SRC/openSUSE:Factory/.libguestfs.new (New)


Package is libguestfs

Changes:

--- /work/SRC/openSUSE:Factory/libguestfs/libguestfs.changes2014-01-28 
12:03:15.0 +0100
+++ /work/SRC/openSUSE:Factory/.libguestfs.new/libguestfs.changes   
2014-02-01 08:43:29.0 +0100
@@ -1,0 +2,5 @@
+Thu Jan 30 12:10:34 CET 2014 - oher...@suse.de
+
+- add BuildRequires:  ocaml(ocaml.opt)
+
+---



Other differences:
--
++ libguestfs.spec ++
--- /var/tmp/diff_new_pack.Dtq4AM/_old  2014-02-01 08:43:30.0 +0100
+++ /var/tmp/diff_new_pack.Dtq4AM/_new  2014-02-01 08:43:30.0 +0100
@@ -134,6 +134,9 @@
 # Required to build tools, its independent from bindings
 BuildRequires:  ocaml
 BuildRequires:  ocaml-findlib
+%if %suse_version  1310
+BuildRequires:  ocaml(ocaml.opt)
+%endif
 %define _configure_ocaml --enable-ocaml
 %endif
 #

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit libguestfs for openSUSE:Factory

2014-01-28 Thread h_root
Hello community,

here is the log from the commit of package libguestfs for openSUSE:Factory 
checked in at 2014-01-28 12:03:14

Comparing /work/SRC/openSUSE:Factory/libguestfs (Old)
 and  /work/SRC/openSUSE:Factory/.libguestfs.new (New)


Package is libguestfs

Changes:

--- /work/SRC/openSUSE:Factory/libguestfs/libguestfs.changes2014-01-23 
15:47:36.0 +0100
+++ /work/SRC/openSUSE:Factory/.libguestfs.new/libguestfs.changes   
2014-01-28 12:03:15.0 +0100
@@ -1,0 +2,5 @@
+Thu Jan 23 17:53:31 CET 2014 - oher...@suse.de
+
+- Disable ipv6 in the appliance because qemu usernet is ipv4 only
+
+---



Other differences:
--
++ libguestfs.spec ++
--- /var/tmp/diff_new_pack.giQArC/_old  2014-01-28 12:03:16.0 +0100
+++ /var/tmp/diff_new_pack.giQArC/_new  2014-01-28 12:03:16.0 +0100
@@ -336,6 +336,7 @@
 Summary:Testcases for libguestfs
 License:GPL-2.0
 Group:  System/Filesystems
+Requires:   %{name}
 
 %description test
 This package contains testcases to verify libguestfs functionality.

++ 1000-force-virtio_blk-in-old-guest-kernel.patch ++
--- /var/tmp/diff_new_pack.giQArC/_old  2014-01-28 12:03:16.0 +0100
+++ /var/tmp/diff_new_pack.giQArC/_new  2014-01-28 12:03:16.0 +0100
@@ -1,4 +1,4 @@
-From 592819524390bc354d16940107e4c22ca41e48b9 Mon Sep 17 00:00:00 2001
+From 6ad9fa64944b23817e8fa642c81fc3ecc93a3464 Mon Sep 17 00:00:00 2001
 From: Olaf Hering o...@aepfle.de
 Date: Mon, 3 Sep 2012 19:50:44 +0200
 Subject: force virtio_blk in old guest kernel
@@ -10,13 +10,14 @@
  src/handle.c   | 16 
  src/inspect-fs-unix.c  |  4 ++--
  src/launch-direct.c|  2 ++
- 5 files changed, 26 insertions(+), 4 deletions(-)
+ test-tool/test-tool.c  | 15 ---
+ 6 files changed, 38 insertions(+), 7 deletions(-)
 
 diff --git a/fish/options.c b/fish/options.c
-index 75d61ad..b0bcd09 100644
+index 770576b..6f143e1 100644
 --- a/fish/options.c
 +++ b/fish/options.c
-@@ -80,7 +80,10 @@ add_drives (struct drv *drv, char next_drive)
+@@ -100,7 +100,10 @@ add_drives (struct drv *drv, char next_drive)
  {
int r;
struct guestfs_add_drive_opts_argv ad_optargs;
@@ -28,7 +29,7 @@
if (next_drive  'z') {
  fprintf (stderr,
   _(%s: too many drives added on the command line\n),
-@@ -94,7 +97,7 @@ add_drives (struct drv *drv, char next_drive)
+@@ -114,7 +117,7 @@ add_drives (struct drv *drv, char next_drive)
  free (drv-device);
  drv-device = NULL;
  
@@ -38,7 +39,7 @@
exit (EXIT_FAILURE);
  }
 diff --git a/src/guestfs-internal.h b/src/guestfs-internal.h
-index 5356920..2a9f9fe 100644
+index 603..d4f6e90 100644
 --- a/src/guestfs-internal.h
 +++ b/src/guestfs-internal.h
 @@ -472,6 +472,7 @@ struct guestfs_h
@@ -50,7 +51,7 @@
  
  /* Per-filesystem data stored for inspect_os. */
 diff --git a/src/handle.c b/src/handle.c
-index fa96d95..e1732d7 100644
+index fffe825..4633df6 100644
 --- a/src/handle.c
 +++ b/src/handle.c
 @@ -237,6 +237,22 @@ parse_environment (guestfs_h *g,
@@ -77,10 +78,10 @@
  }
  
 diff --git a/src/inspect-fs-unix.c b/src/inspect-fs-unix.c
-index 8e0f135..83d23c7 100644
+index 93e035f..6d38bf8 100644
 --- a/src/inspect-fs-unix.c
 +++ b/src/inspect-fs-unix.c
-@@ -1407,7 +1407,7 @@ resolve_fstab_device_diskbyid (guestfs_h *g, const char 
*part,
+@@ -1419,7 +1419,7 @@ resolve_fstab_device_diskbyid (guestfs_h *g, const char 
*part,
  return 0;
  
/* Make the partition name and check it exists. */
@@ -89,7 +90,7 @@
if (!is_partition (g, device)) {
  free (device);
  return 0;
-@@ -1500,7 +1500,7 @@ resolve_fstab_device (guestfs_h *g, const char *spec, 
Hash_table *md_map)
+@@ -1512,7 +1512,7 @@ resolve_fstab_device (guestfs_h *g, const char *spec, 
Hash_table *md_map)
  if (disk_i != -1  disk_i = 26 
  slice_i  0  slice_i = 1 /*  4 .. see comment above */ 
  part_i = 0  part_i  26) {
@@ -99,10 +100,10 @@
}
else if ((part = match1 (g, spec, re_diskbyid)) != NULL) {
 diff --git a/src/launch-direct.c b/src/launch-direct.c
-index 070c649..a4c94e8 100644
+index f44cc20..d212b87 100644
 --- a/src/launch-direct.c
 +++ b/src/launch-direct.c
-@@ -1068,6 +1068,8 @@ qemu_supports_virtio_scsi (guestfs_h *g, struct 
backend_direct_data *data)
+@@ -1066,6 +1066,8 @@ qemu_supports_virtio_scsi (guestfs_h *g, struct 
backend_direct_data *data)
  data-virtio_scsi = 3;
  }
}
@@ -111,3 +112,53 @@
  
return data-virtio_scsi == 1;
  }
+diff --git a/test-tool/test-tool.c b/test-tool/test-tool.c
+index 3a35226..03565ac 100644
+--- a/test-tool/test-tool.c
 b/test-tool/test-tool.c
+@@ -44,6 +44,14 @@
+ 

commit libguestfs for openSUSE:Factory

2014-01-23 Thread h_root
Hello community,

here is the log from the commit of package libguestfs for openSUSE:Factory 
checked in at 2014-01-22 23:19:19

Comparing /work/SRC/openSUSE:Factory/libguestfs (Old)
 and  /work/SRC/openSUSE:Factory/.libguestfs.new (New)


Package is libguestfs

Changes:

--- /work/SRC/openSUSE:Factory/libguestfs/libguestfs.changes2014-01-08 
20:07:51.0 +0100
+++ /work/SRC/openSUSE:Factory/.libguestfs.new/libguestfs.changes   
2014-01-23 15:47:36.0 +0100
@@ -1,0 +2,38 @@
+Wed Jan 22 10:13:00 UTC 2014 - oher...@suse.com
+
+- add libguestfs-test subpackage, /usr/share/guestfs (fate#316275)
+  libguestfs.test.simple.run-libugestfs-test-tool.sh
+  libguestfs.test.simple.create-opensuse-guest.sh
+  libguestfs.test.simple.create-opensuse-guest-crypt-on-lvm.sh
+
+---
+Mon Jan 20 23:09:24 CET 2014 - oher...@suse.de
+
+- Update to version 1.24.5
+  * launch: Allow backend = appliance for backwards compatibility 
(RHBZ#1055452).
+  * daemon: Use wipefs_has_force_option to decide whether to add wipefs 
--force option.
+  * init: Display clocksource (only when debugging is enabled).
+  * launch: direct: Make sure we pass lpj= parameter when using TCG.
+  * Use recommended timer settings for KVM (RHBZ#1053847).
+  * fuse: clear stat structs (RHBZ#660687).
+  * fuse: remove extra trailing \n in debug messages
+
+---
+Mon Jan 20 19:41:24 CET 2014 - oher...@suse.de
+
+- Include crypto modules in appliance to enable luks related commands
+
+---
+Mon Jan 20 11:34:25 CET 2014 - oher...@suse.de
+
+- Resolve also library dependencies of libnss in mkinitrd (bnc#847785)
+- BuildRequire nfs-utils to get mount.nfs, for virt-rescue
+
+---
+Thu Jan 16 21:29:47 CET 2014 - oher...@suse.de
+
+- Include mkinitrd from 13.1 when building appliance for 13.2 or
+  later because dracut can not be used as replacement for mkinitrd
+  and supermin is not ready yet
+
+---

Old:

  libguestfs-1.24.4.tar.xz

New:

  libguestfs-1.24.5.tar.xz
  libguestfs.mkinitrd.tar.bz2
  libguestfs.test.simple.create-opensuse-guest-crypt-on-lvm.sh
  libguestfs.test.simple.create-opensuse-guest.sh
  libguestfs.test.simple.run-libugestfs-test-tool.sh



Other differences:
--
++ libguestfs.spec ++
--- /var/tmp/diff_new_pack.yhI0yS/_old  2014-01-23 15:47:38.0 +0100
+++ /var/tmp/diff_new_pack.yhI0yS/_new  2014-01-23 15:47:38.0 +0100
@@ -17,7 +17,7 @@
 #
 
 
-Version:1.24.4
+Version:1.24.5
 Release:0
 
 %define opt %(test -x %{_bindir}/ocamlopt  echo 1 || echo 0)
@@ -69,6 +69,11 @@
 %define _configure_python --disable-python
 %define _configure_ruby --disable-ruby
 
+%if %suse_version  1310
+%define use_included_mkinitrd 1
+%else
+%define use_included_mkinitrd 0
+%endif
 # /lib/udev is a symlink in 12.3+, package the full directory
 %if %suse_version  1220
 %define udevrulesdir /usr/lib/udev/rules.d
@@ -148,12 +153,18 @@
 Group:  System/Filesystems
 Patch1000:  1000-force-virtio_blk-in-old-guest-kernel.patch
 Source0:%{name}-%{version}.tar.xz
+Source42:   libguestfs.mkinitrd.tar.bz2
 Source789653:   Pod-Simple-3.23.tar.xz
 Source10:   libguestfs.mkinitrd.boot.sh
 Source11:   libguestfs.mkinitrd.setup.sh
 Source1220: libguestfs.mkinitrd.1220.patch
 Source1210: libguestfs.mkinitrd.1210.patch
 Source1110: libguestfs.mkinitrd.1110.patch
+#
+Source10001:libguestfs.test.simple.run-libugestfs-test-tool.sh
+Source10002:libguestfs.test.simple.create-opensuse-guest.sh
+Source10003:libguestfs.test.simple.create-opensuse-guest-crypt-on-lvm.sh
+#
 Requires:   guestfs-tools
 
 %description
@@ -321,6 +332,14 @@
 Allows Ruby scripts to directly use libguestfs.
 %endif
 
+%package test
+Summary:Testcases for libguestfs
+License:GPL-2.0
+Group:  System/Filesystems
+
+%description test
+This package contains testcases to verify libguestfs functionality.
+
 %package -n guestfs-data
 # kernel-default needs that
 %if %{?sles_version}0  0
@@ -353,8 +372,11 @@
 BuildRequires:  kernel-default
 BuildRequires:  lvm2
 BuildRequires:  mdadm
+%if !%{use_included_mkinitrd}
 BuildRequires:  mkinitrd
+%endif
 BuildRequires:  module-init-tools
+BuildRequires:  nfs-client
 BuildRequires:  ntfs-3g
 BuildRequires:  ntfsprogs
 BuildRequires:  parted
@@ -432,7 +454,7 @@
 
 %prep
 : _ignore_exclusive_arch '%{?_ignore_exclusive_arch}'
-%setup -q -a 789653
+%setup -q -a 789653 -a 42
 %patch1000 

commit libguestfs for openSUSE:Factory

2014-01-08 Thread h_root
Hello community,

here is the log from the commit of package libguestfs for openSUSE:Factory 
checked in at 2014-01-08 20:07:50

Comparing /work/SRC/openSUSE:Factory/libguestfs (Old)
 and  /work/SRC/openSUSE:Factory/.libguestfs.new (New)


Package is libguestfs

Changes:

--- /work/SRC/openSUSE:Factory/libguestfs/libguestfs.changes2013-12-19 
12:14:38.0 +0100
+++ /work/SRC/openSUSE:Factory/.libguestfs.new/libguestfs.changes   
2014-01-08 20:07:51.0 +0100
@@ -1,0 +2,28 @@
+Tue Jan  7 14:22:52 CET 2014 - oher...@suse.de
+
+- Update to version 1.24.4
+  * ruby: Fix .new method (RHBZ#1046509).
+  * RHEL 6: ruby: Fix fallback to rake/rdoctask for old rake.
+  * inspect: fix detection of newer CirrOS versions (RHBZ#1045450).
+  * launch: libvirt: Clearer message when libvirt screws up.
+  * fish: Fix memory leak in inspect/-i code (detected by valgrind).
+  * appliance: Create an /etc/resolv.conf file referring to qemu user network 
nameserver (RHBZ#1044585).
+  * fish: Move -d option parsing to common function.
+  * fish: Deprecate the -D option (prefer --no-dest-paths instead).
+  * daemon: Improve error message for readlink call.
+  * generator: Fix bug in documentation of guestfs_free_* functions.
+  * fish: Ensure print_inspect_prompt can only be called by guestfish.
+  * inspector: Ensure low-level inspection functions can only be called by 
virt-inspector.
+  * virt-cat, virt-filesystems, virt-ls don't use libconfig.
+  * resize: Move roundup64 function into common utilities.
+  * fuse: provide a stub flush implementation (RHBZ#660687).
+  * recipes: Use new style -a/-d options in virt-edit example.
+  * daemon: mkfs: Use -I option to force mkfs.fat to write a filesystem over a 
whole device (RHBZ#1039995).
+  * proto: Remove another error message which hides earlier error.
+  * proto: Remove error message which hides earlier error.
+  * lib: fix newline in error output (RHBZ#923355).
+  * recipes: Add a recipe for masking a systemd service.
+  * launch: direct: Pass -enable-fips option if qemu supports it.
+  * fish: improve the command error messages
+
+---

Old:

  libguestfs-1.24.2.tar.xz

New:

  libguestfs-1.24.4.tar.xz



Other differences:
--
++ libguestfs.spec ++
--- /var/tmp/diff_new_pack.3I9dGF/_old  2014-01-08 20:07:53.0 +0100
+++ /var/tmp/diff_new_pack.3I9dGF/_new  2014-01-08 20:07:53.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libguestfs
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
 # Copyright (c) 2011 Michal Hrusecky mhruse...@novell.com
 #
 # All modifications and additions to the file contributed by third parties
@@ -17,7 +17,7 @@
 #
 
 
-Version:1.24.2
+Version:1.24.4
 Release:0
 
 %define opt %(test -x %{_bindir}/ocamlopt  echo 1 || echo 0)

++ libguestfs-1.24.2.tar.xz - libguestfs-1.24.4.tar.xz ++
 61770 lines of diff (skipped)

++ libguestfs.mkinitrd.boot.sh ++
--- /var/tmp/diff_new_pack.3I9dGF/_old  2014-01-08 20:07:57.0 +0100
+++ /var/tmp/diff_new_pack.3I9dGF/_new  2014-01-08 20:07:57.0 +0100
@@ -132,6 +132,8 @@
 
 ip route add default via 169.254.2.2
 
+echo nameserver 169.254.2.3  /etc/resolv.conf
+
 # Scan for MDs.
 mdadm -As --auto=yes --run
 
@@ -145,6 +147,7 @@
 if grep -sq guestfs_verbose=1 /proc/cmdline; then
 ls -lR /dev
 head -n 1234 \
+   /etc/resolv.conf \
/proc/mounts \
/proc/modules \
/proc/cpuinfo \
@@ -156,8 +159,8 @@
 echo # lvm $i:
 lvm $i
 done
-#   ip a
-#   ip r
+ip a
+ip r
 date
 echo These commands might be called by guestfsd, but they were not 
available at buildtime:
 echo missing commands: $missing_commands

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit libguestfs for openSUSE:Factory

2013-12-19 Thread h_root
Hello community,

here is the log from the commit of package libguestfs for openSUSE:Factory 
checked in at 2013-12-19 12:14:37

Comparing /work/SRC/openSUSE:Factory/libguestfs (Old)
 and  /work/SRC/openSUSE:Factory/.libguestfs.new (New)


Package is libguestfs

Changes:

--- /work/SRC/openSUSE:Factory/libguestfs/libguestfs.changes2013-12-04 
12:29:02.0 +0100
+++ /work/SRC/openSUSE:Factory/.libguestfs.new/libguestfs.changes   
2013-12-19 12:14:38.0 +0100
@@ -1,0 +2,15 @@
+Tue Dec 17 22:27:22 CET 2013 - oher...@suse.de
+
+- Update to version 1.24.2
+  * launch: Print program and version as part of standard debug output when 
launching the handle.
+  * lua: Don't redefine lua_objlen if already defined.
+  * lib: Make sure -lselinux is used when linking libguestfs.so.
+  * daemon: btrfs: Upstream 'btrfs device add' command now needs '--force' 
option to work.
+  * perl: Give error instead of crashing if optarg is not an array reference.
+  * Avoid modulo bias in random password generation
+  * mllib: Add a utility function for safely reading from /dev/urandom.
+  * podwrapper: virt-install is not a libguestfs page.
+  * Update to latest gnulib to get hash relicensing change (thanks Jim 
Meyering).
+  * Fix fstab block device resolution for FreeBSD
+
+---

Old:

  libguestfs-1.24.1.tar.xz

New:

  libguestfs-1.24.2.tar.xz



Other differences:
--
++ libguestfs.spec ++
--- /var/tmp/diff_new_pack.F0e5Fm/_old  2013-12-19 12:14:39.0 +0100
+++ /var/tmp/diff_new_pack.F0e5Fm/_new  2013-12-19 12:14:39.0 +0100
@@ -17,7 +17,7 @@
 #
 
 
-Version:1.24.1
+Version:1.24.2
 Release:0
 
 %define opt %(test -x %{_bindir}/ocamlopt  echo 1 || echo 0)

++ 1000-force-virtio_blk-in-old-guest-kernel.patch ++
--- /var/tmp/diff_new_pack.F0e5Fm/_old  2013-12-19 12:14:39.0 +0100
+++ /var/tmp/diff_new_pack.F0e5Fm/_new  2013-12-19 12:14:39.0 +0100
@@ -1,4 +1,4 @@
-From 5002a87860d2c0b40f8df64fba403f2eb67d2f97 Mon Sep 17 00:00:00 2001
+From 592819524390bc354d16940107e4c22ca41e48b9 Mon Sep 17 00:00:00 2001
 From: Olaf Hering o...@aepfle.de
 Date: Mon, 3 Sep 2012 19:50:44 +0200
 Subject: force virtio_blk in old guest kernel
@@ -38,7 +38,7 @@
exit (EXIT_FAILURE);
  }
 diff --git a/src/guestfs-internal.h b/src/guestfs-internal.h
-index 9936c84..60b5509 100644
+index 5356920..2a9f9fe 100644
 --- a/src/guestfs-internal.h
 +++ b/src/guestfs-internal.h
 @@ -472,6 +472,7 @@ struct guestfs_h
@@ -77,10 +77,10 @@
  }
  
 diff --git a/src/inspect-fs-unix.c b/src/inspect-fs-unix.c
-index 60b081d..33d5dac 100644
+index 8e0f135..83d23c7 100644
 --- a/src/inspect-fs-unix.c
 +++ b/src/inspect-fs-unix.c
-@@ -1404,7 +1404,7 @@ resolve_fstab_device_diskbyid (guestfs_h *g, const char 
*part,
+@@ -1407,7 +1407,7 @@ resolve_fstab_device_diskbyid (guestfs_h *g, const char 
*part,
  return 0;
  
/* Make the partition name and check it exists. */
@@ -89,7 +89,7 @@
if (!is_partition (g, device)) {
  free (device);
  return 0;
-@@ -1481,7 +1481,7 @@ resolve_fstab_device (guestfs_h *g, const char *spec, 
Hash_table *md_map)
+@@ -1500,7 +1500,7 @@ resolve_fstab_device (guestfs_h *g, const char *spec, 
Hash_table *md_map)
  if (disk_i != -1  disk_i = 26 
  slice_i  0  slice_i = 1 /*  4 .. see comment above */ 
  part_i = 0  part_i  26) {
@@ -99,7 +99,7 @@
}
else if ((part = match1 (g, spec, re_diskbyid)) != NULL) {
 diff --git a/src/launch-direct.c b/src/launch-direct.c
-index c809305..c417bc5 100644
+index 070c649..a4c94e8 100644
 --- a/src/launch-direct.c
 +++ b/src/launch-direct.c
 @@ -1068,6 +1068,8 @@ qemu_supports_virtio_scsi (guestfs_h *g, struct 
backend_direct_data *data)

++ libguestfs-1.24.1.tar.xz - libguestfs-1.24.2.tar.xz ++
 39807 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit libguestfs for openSUSE:Factory

2013-12-04 Thread h_root
Hello community,

here is the log from the commit of package libguestfs for openSUSE:Factory 
checked in at 2013-12-04 12:29:01

Comparing /work/SRC/openSUSE:Factory/libguestfs (Old)
 and  /work/SRC/openSUSE:Factory/.libguestfs.new (New)


Package is libguestfs

Changes:

--- /work/SRC/openSUSE:Factory/libguestfs/libguestfs.changes2013-10-22 
14:52:34.0 +0200
+++ /work/SRC/openSUSE:Factory/.libguestfs.new/libguestfs.changes   
2013-12-04 12:29:02.0 +0100
@@ -1,0 +2,11 @@
+Tue Nov 26 11:27:04 CET 2013 - oher...@suse.de
+
+- Update to version 1.24.1
+  * virt-resize  virt-sysprep can now use URIs to work on remote disks
+  * many new virt-sysprep operations
+  * many bug fixes
+  * full release notes: http://libguestfs.org/guestfs-release-notes.1.html
+- guestfsd needs at least libaugeas0 = 1.0.0
+- Recommend bash-completion to avoid completion errors
+
+---

Old:

  libguestfs-1.22.7.tar.xz

New:

  libguestfs-1.24.1.tar.xz



Other differences:
--
++ libguestfs.spec ++
--- /var/tmp/diff_new_pack.K7SRHm/_old  2013-12-04 12:29:03.0 +0100
+++ /var/tmp/diff_new_pack.K7SRHm/_new  2013-12-04 12:29:03.0 +0100
@@ -17,7 +17,7 @@
 #
 
 
-Version:1.22.7
+Version:1.24.1
 Release:0
 
 %define opt %(test -x %{_bindir}/ocamlopt  echo 1 || echo 0)
@@ -98,7 +98,7 @@
 %endif
 BuildRequires:  aaa_base
 BuildRequires:  attr-devel
-BuildRequires:  augeas-devel
+BuildRequires:  augeas-devel = 1.0.0
 BuildRequires:  autoconf
 BuildRequires:  automake
 %if %{with bash_completion}
@@ -179,6 +179,9 @@
 Provides:   %{name} = %{version}
 Obsoletes:  %{name}  %{version}
 Requires:   kvm = 1.1
+%if %{with bash_completion}
+Recommends: bash-completion = 2.0
+%endif
 %if %{with perl_bindings}
 Requires:   perl(Data::Dumper)
 Requires:   perl(File::Basename)
@@ -218,6 +221,7 @@
 Summary:Daemon for the libguestfs appliance
 License:GPL-2.0
 Group:  System/Filesystems
+Conflicts:  libaugeas0  1.0.0
 
 %description -n guestfsd
 guestfsd runs within the libguestfs appliance. It receives commands from the 
host
@@ -497,7 +501,7 @@
 make \
INSTALLDIRS=vendor \
LD_RUN_PATH= \
-   %{?jobs:-j%jobs}
+   %{?_smp_mflags}
 
 %install
 %if !%opt
@@ -760,5 +764,6 @@
 %{_datadir}/bash-completion
 %endif
 %{_mandir}/man1/*
+%{_mandir}/man5/*
 
 %changelog

++ 1000-force-virtio_blk-in-old-guest-kernel.patch ++
--- /var/tmp/diff_new_pack.K7SRHm/_old  2013-12-04 12:29:03.0 +0100
+++ /var/tmp/diff_new_pack.K7SRHm/_new  2013-12-04 12:29:03.0 +0100
@@ -1,22 +1,22 @@
-From f010abe024b47057f814e369b7b647e52d001019 Mon Sep 17 00:00:00 2001
+From 5002a87860d2c0b40f8df64fba403f2eb67d2f97 Mon Sep 17 00:00:00 2001
 From: Olaf Hering o...@aepfle.de
 Date: Mon, 3 Sep 2012 19:50:44 +0200
-Subject: [PATCH] force virtio_blk in old guest kernel
+Subject: force virtio_blk in old guest kernel
 
 Signed-off-by: Olaf Hering o...@aepfle.de
 ---
- fish/options.c |7 +--
- src/guestfs-internal.h |1 +
- src/handle.c   |   16 
- src/inspect-fs-unix.c  |4 ++--
- src/launch-direct.c|2 ++
+ fish/options.c |  7 +--
+ src/guestfs-internal.h |  1 +
+ src/handle.c   | 16 
+ src/inspect-fs-unix.c  |  4 ++--
+ src/launch-direct.c|  2 ++
  5 files changed, 26 insertions(+), 4 deletions(-)
 
-Index: libguestfs-1.22.5/fish/options.c
-===
 libguestfs-1.22.5.orig/fish/options.c
-+++ libguestfs-1.22.5/fish/options.c
-@@ -286,7 +286,10 @@ add_drives (struct drv *drv, char next_d
+diff --git a/fish/options.c b/fish/options.c
+index 75d61ad..b0bcd09 100644
+--- a/fish/options.c
 b/fish/options.c
+@@ -80,7 +80,10 @@ add_drives (struct drv *drv, char next_drive)
  {
int r;
struct guestfs_add_drive_opts_argv ad_optargs;
@@ -28,7 +28,7 @@
if (next_drive  'z') {
  fprintf (stderr,
   _(%s: too many drives added on the command line\n),
-@@ -300,7 +303,7 @@ add_drives (struct drv *drv, char next_d
+@@ -94,7 +97,7 @@ add_drives (struct drv *drv, char next_drive)
  free (drv-device);
  drv-device = NULL;
  
@@ -37,23 +37,23 @@
perror (asprintf);
exit (EXIT_FAILURE);
  }
-Index: libguestfs-1.22.5/src/guestfs-internal.h
-===
 libguestfs-1.22.5.orig/src/guestfs-internal.h
-+++ libguestfs-1.22.5/src/guestfs-internal.h
-@@ -432,6 +432,7 @@ struct guestfs_h
-   char *virt_selinux_label;
-   char *virt_selinux_imagelabel;
-   bool 

commit libguestfs for openSUSE:Factory

2013-10-22 Thread h_root
Hello community,

here is the log from the commit of package libguestfs for openSUSE:Factory 
checked in at 2013-10-22 14:52:33

Comparing /work/SRC/openSUSE:Factory/libguestfs (Old)
 and  /work/SRC/openSUSE:Factory/.libguestfs.new (New)


Package is libguestfs

Changes:

--- /work/SRC/openSUSE:Factory/libguestfs/libguestfs.changes2013-09-26 
11:48:14.0 +0200
+++ /work/SRC/openSUSE:Factory/.libguestfs.new/libguestfs.changes   
2013-10-22 14:52:34.0 +0200
@@ -1,0 +2,39 @@
+Fri Oct 18 10:26:12 CEST 2013 - oher...@suse.de
+
+- Update to version 1.22.7
+  * fish: CVE-2013-4419: Fix insecure temporary directory handling for remote 
guestfish (bnc#845720).
+  * sysprep: firstboot: Don't set `Created_files flag unless files are created.
+  * firstboot: Add some debugging to the control script.
+  * firstboot: Fix test for installing sysvinit scripts.
+  * firstboot: Install both systemd and SysV init scripts.
+  * firstboot: Start service after network only.
+  * firstboot: Fix firstboot scripts so they work on Ubuntu.
+  * edit: Add virt-edit --edit as an alias for virt-edit -e.
+  * btrfs: Fix improper memmove usage in do_btrfs_subvolume_list 
(RHBZ#1018149).
+  * daemon: xattr: Fix scope of cleanup buf to avoid memory leaks.
+  * daemon: parted: Fix memory leak of list of strings.
+  * daemon: Fix scope of cleanup functions to avoid memory leaks.
+  * df: parallel: Add a debug message when work function returns an error.
+  * daemon: 'exists' API should not follow broken symlinks.
+  * sysprep: Don't remove /var/cache/apt/archives/partial directory.
+  * firstboot: Invoke firstboot.sh script with 'start' parameter.
+  * daemon: Don't set LD_PRELOAD for guestfsd children.
+  * daemon: Fix xfs_info parser because of new format.
+  * sysprep: Fix option quoting in manual page.
+  * virt-df: parallel: Send debugging messages to stderr.
+  * inspection: Don't print a warning if \Windows\explorer.exe does not exist.
+  * launch: direct: Set QEMU_AUDIO_DRV=none to stop qemu opening audio devices.
+  * virt-df: parallel: Compile debugging messages in always.
+  * daemon: augeas: Don't test if AUG_NO_ERR_CLOSE is defined.
+  * daemon: augeas: Enhance error reporting for aug_init failures.
+  * drives: Don't need to call free_drive_servers since preceding code checks 
servers == NULL.
+  * sparsify: Fix signal handling.
+  * daemon: tar: Use a temporary file to pass excludes to tar command 
(RHBZ#1001875).
+  * format: Set MBR partition type byte appropriately (RHBZ#1000428).
+
+---
+Mon Oct 14 19:32:05 CEST 2013 - oher...@suse.de
+
+- Keep setup-dm.sh, required to copy dm rules (bnc#837595)
+
+---

Old:

  libguestfs-1.22.6.tar.xz

New:

  libguestfs-1.22.7.tar.xz



Other differences:
--
++ libguestfs.spec ++
--- /var/tmp/diff_new_pack.B0sAXM/_old  2013-10-22 14:52:35.0 +0200
+++ /var/tmp/diff_new_pack.B0sAXM/_new  2013-10-22 14:52:35.0 +0200
@@ -17,7 +17,7 @@
 #
 
 
-Version:1.22.6
+Version:1.22.7
 Release:0
 
 %define opt %(test -x %{_bindir}/ocamlopt  echo 1 || echo 0)
@@ -588,7 +588,6 @@
 rm -rf mkinitrd
 cp -av /lib/mkinitrd .
 for bad in \
-   setup-dm.sh \
setup-storage.sh \
boot-storage.sh \
;

++ libguestfs-1.22.6.tar.xz - libguestfs-1.22.7.tar.xz ++
 107322 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit libguestfs for openSUSE:Factory

2013-09-26 Thread h_root
Hello community,

here is the log from the commit of package libguestfs for openSUSE:Factory 
checked in at 2013-09-26 11:48:12

Comparing /work/SRC/openSUSE:Factory/libguestfs (Old)
 and  /work/SRC/openSUSE:Factory/.libguestfs.new (New)


Package is libguestfs

Changes:

--- /work/SRC/openSUSE:Factory/libguestfs/libguestfs.changes2013-09-02 
17:02:16.0 +0200
+++ /work/SRC/openSUSE:Factory/.libguestfs.new/libguestfs.changes   
2013-09-26 11:48:14.0 +0200
@@ -1,0 +2,48 @@
+Mon Sep 23 15:35:28 CEST 2013 - oher...@suse.de
+
+- Remove BuildRequires: qemu-tools
+
+---
+Mon Sep 23 11:40:31 CEST 2013 - oher...@suse.de
+
+- Add static 169.254.0.0/16 network addresses (bnc#835949)
+
+---
+Thu Sep 19 20:20:44 CEST 2013 - oher...@suse.de
+
+- Update to version 1.22.6
+  * Initialize CLEANUP_* stack variables with NULL in various places.
+  * daemon: sh: Fix missing initializer which caused segfault (RHBZ#1000121).
+  * fish: Document that guestfish --remote --add won't work as expected 
(RHBZ#998513).
+  * launch: direct: Don't try to wait for qemu if parent process forked 
(RHBZ#998482).
+  * list-filesystems: Don't fail if there are no filesystems found 
(RHBZ#995711).
+  * virt-list-filesystems: Fix to use $g-canonical_device_name instead of 
homebrew function.
+  * daemon: If /proc/modules doesn't exist, linuxmodules optgroup is disabled.
+  * launch: direct: Print \n after printing qemu command line.
+  * conn: Make sure we display all log messages when qemu goes away.
+  * lib: Turn 'random_chars' function used by libvirt backend into utility 
function.
+  * daemon: ldm: Don't return an error if /dev/mapper doesn't exist.
+  * daemon: Move all RESOLVE macros to daemon/stubs.c.
+  * proto: Fix --enable-packet-dump mode.
+  * daemon: Close augeas, hivex handles in unmount_all.
+  * Fix parsing of boot flag in do_part_get_bootable()
+  * Update gnulib to latest version.
+  * augeas: Improve error reporting.
+  * launch: direct: Add drives after machine parameters.
+  * fish: Fix guestfish so it can recognize sheepdog://... as a valid URI.
+  * resize: Move isatty_stdout function to separate module (TTY.isatty_stdout).
+  * daemon: cap-get-file: Return empty string if no capability on file 
(RHBZ#989356).
+  * src/file.c: Be sure to call guestfs___lazy_make_tmpdir before using 
g-tmpdir.
+  * generator: Fix the case where a daemon function has one FileIn/FileOut 
parameter and no other parameters.
+
+---
+Thu Sep 19 15:43:53 CEST 2013 - oher...@suse.de
+
+- Create symlink from /etc/mtab to /proc/self/mounts (bnc#840662)
+
+---
+Mon Sep  2 13:59:21 CEST 2013 - dval...@suse.com
+
+- add ppc64 to Exclusive arch 
+
+---

Old:

  libguestfs-1.22.5.tar.xz

New:

  libguestfs-1.22.6.tar.xz



Other differences:
--
++ libguestfs.spec ++
--- /var/tmp/diff_new_pack.DJRlaD/_old  2013-09-26 11:48:15.0 +0200
+++ /var/tmp/diff_new_pack.DJRlaD/_new  2013-09-26 11:48:15.0 +0200
@@ -17,7 +17,7 @@
 #
 
 
-Version:1.22.5
+Version:1.22.6
 Release:0
 
 %define opt %(test -x %{_bindir}/ocamlopt  echo 1 || echo 0)
@@ -93,9 +93,8 @@
 %define guestfs_docdir %{_defaultdocdir}/%{name}
 #
 Name:   libguestfs
-BuildRequires:  qemu-tools
 %if %{?_ignore_exclusive_arch} == 
-ExclusiveArch:  %ix86 x86_64
+ExclusiveArch:  %ix86 x86_64 ppc64
 %endif
 BuildRequires:  aaa_base
 BuildRequires:  attr-devel

++ 1000-force-virtio_blk-in-old-guest-kernel.patch ++
--- /var/tmp/diff_new_pack.DJRlaD/_old  2013-09-26 11:48:15.0 +0200
+++ /var/tmp/diff_new_pack.DJRlaD/_new  2013-09-26 11:48:15.0 +0200
@@ -17,9 +17,9 @@
 --- libguestfs-1.22.5.orig/fish/options.c
 +++ libguestfs-1.22.5/fish/options.c
 @@ -286,7 +286,10 @@ add_drives (struct drv *drv, char next_d
+ {
int r;
struct guestfs_add_drive_opts_argv ad_optargs;
-   char **server;
 -
 +  int use_virtio_blk = 0;
 +#ifdef GUESTFS_QEMU_NO_VIRTIO_BLK

++ libguestfs-1.22.5.tar.xz - libguestfs-1.22.6.tar.xz ++
 140294 lines of diff (skipped)

++ libguestfs.mkinitrd.boot.sh ++
--- /var/tmp/diff_new_pack.DJRlaD/_old  2013-09-26 11:48:18.0 +0200
+++ /var/tmp/diff_new_pack.DJRlaD/_new  2013-09-26 11:48:18.0 +0200
@@ -87,6 +87,7 @@
 #%programs: modprobe
 #%programs: lvm
 #%programs: grep
+#%programs: ln
 #%programs: ls
 #%programs: head
 #%programs: cat
@@ -112,6 +113,8 @@
 # run_all.sh will load them after 

commit libguestfs for openSUSE:Factory

2013-09-02 Thread h_root
Hello community,

here is the log from the commit of package libguestfs for openSUSE:Factory 
checked in at 2013-09-02 17:02:14

Comparing /work/SRC/openSUSE:Factory/libguestfs (Old)
 and  /work/SRC/openSUSE:Factory/.libguestfs.new (New)


Package is libguestfs

Changes:

--- /work/SRC/openSUSE:Factory/libguestfs/libguestfs.changes2013-08-23 
11:05:43.0 +0200
+++ /work/SRC/openSUSE:Factory/.libguestfs.new/libguestfs.changes   
2013-09-02 17:02:16.0 +0200
@@ -1,0 +2,5 @@
+Thu Aug 29 21:36:08 CEST 2013 - oher...@suse.de
+
+- Add support for lvm (bnc#837595)
+
+---



Other differences:
--
++ libguestfs.spec ++
--- /var/tmp/diff_new_pack.iZYj9D/_old  2013-09-02 17:02:17.0 +0200
+++ /var/tmp/diff_new_pack.iZYj9D/_new  2013-09-02 17:02:17.0 +0200
@@ -667,6 +667,7 @@
-i initramfs.${arch}.img \
-b $PWD/mkinitrd/boot_tmp \
-m $additional_modules \
+   -f lvm2 dm md network nfs \
-B
 #
 mkdir -vp $RPM_BUILD_ROOT%{_libdir}/guestfs

++ libguestfs.mkinitrd.boot.sh ++
--- /var/tmp/diff_new_pack.iZYj9D/_old  2013-09-02 17:02:17.0 +0200
+++ /var/tmp/diff_new_pack.iZYj9D/_new  2013-09-02 17:02:17.0 +0200
@@ -114,6 +114,12 @@
 
 # from libguestfs-1.19.34/appliance/init:
 
+# Disk optimizations.
+# Increase the SCSI timeout so we can read remote images.
+for f in /sys/block/sd*/device/timeout; do if test -w $f ; then echo 300  $f; 
fi; done
+# https://access.redhat.com/site/solutions/5427
+for f in /sys/block/{h,s,ub,v}d*/queue/scheduler; do if test -w $f ; then echo 
noop  $f; fi; done
+
 # Scan for MDs.
 mdadm -As --auto=yes --run
 
@@ -123,22 +129,21 @@
 lvm vgscan --ignorelockingfailure
 lvm vgchange -ay --ignorelockingfailure
 
-# Improve virtio-blk performance (RHBZ#509383).
-for f in /sys/block/vd*/queue/rotational; do if test -f $f ; then echo 1  $f; 
fi ; done
-
 # These are useful when debugging.
 if grep -sq guestfs_verbose=1 /proc/cmdline; then
 ls -lR /dev
 head -n 1234 \
-   /proc/mounts \
+   /proc/mounts \
/proc/modules \
/proc/cpuinfo \
/proc/uptime \
/proc/version \
/proc/partitions
-lvm pvs
-lvm vgs
-lvm lvs
+for i in pvs vgs lvs
+do
+echo # lvm $i:
+lvm $i
+done
 #   ip a
 #   ip r
 date

++ libguestfs.mkinitrd.setup.sh ++
--- /var/tmp/diff_new_pack.iZYj9D/_old  2013-09-02 17:02:17.0 +0200
+++ /var/tmp/diff_new_pack.iZYj9D/_new  2013-09-02 17:02:17.0 +0200
@@ -44,6 +44,17 @@
done
 done
 
+# copy needed rules
+for rule in \
+   95-dm-notify.rules \
+   ; do
+   if [ -f /lib/udev/rules.d/$rule ]; then
+   cp /lib/udev/rules.d/$rule $tmp_mnt/lib/udev/rules.d
+   elif [ -f /etc/udev/rules.d/$rule ]; then
+   cp /etc/udev/rules.d/$rule $tmp_mnt/etc/udev/rules.d
+   fi
+done
+
 # Need to create the modprobe.conf file to force read-write mode
 if modinfo -k $kernel_version ext4 | grep -E '^parm:[[:blank:]]+rw:'
 then

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit libguestfs for openSUSE:Factory

2013-08-23 Thread h_root
Hello community,

here is the log from the commit of package libguestfs for openSUSE:Factory 
checked in at 2013-08-23 11:05:41

Comparing /work/SRC/openSUSE:Factory/libguestfs (Old)
 and  /work/SRC/openSUSE:Factory/.libguestfs.new (New)


Package is libguestfs

Changes:

--- /work/SRC/openSUSE:Factory/libguestfs/libguestfs.changes2013-08-21 
10:31:18.0 +0200
+++ /work/SRC/openSUSE:Factory/.libguestfs.new/libguestfs.changes   
2013-08-23 11:05:43.0 +0200
@@ -1,0 +2,9 @@
+Thu Aug 22 11:36:24 CEST 2013 - oher...@suse.de
+
+- Add network related modules to initrd (bnc#835949)
+- Remove supermin.d
+- Mount also /dev/pts in mount-rootfs-and-do-chroot.sh
+- Handle rw option in ext4.ko
+- Update libguestfs.mkinitrd.1210.patch to create /usr/*bin in 11.4
+
+---



Other differences:
--
++ libguestfs.spec ++
--- /var/tmp/diff_new_pack.0IkWYH/_old  2013-08-23 11:05:43.0 +0200
+++ /var/tmp/diff_new_pack.0IkWYH/_new  2013-08-23 11:05:43.0 +0200
@@ -507,6 +507,7 @@
 export NO_BRP_STRIP_DEBUG=true
 %endif
 %makeinstall udevrulesdir=%{udevrulesdir}
+rm -rfv $RPM_BUILD_ROOT%{_libdir}/guestfs/supermin.d
 #remove ocaml bindings files if they are disable via rpm macro
 %if !%{with ocaml_bindings}
 rm -rfv $RPM_BUILD_ROOT%{_libdir}/ocaml

++ libguestfs.mkinitrd.1210.patch ++
--- /var/tmp/diff_new_pack.0IkWYH/_old  2013-08-23 11:05:43.0 +0200
+++ /var/tmp/diff_new_pack.0IkWYH/_new  2013-08-23 11:05:43.0 +0200
@@ -1,7 +1,7 @@
 ---
- mkinitrd/scripts/setup-prepare.sh |   90 
+++---
- mkinitrd/scripts/setup-progs.sh   |   17 +--
- 2 files changed, 78 insertions(+), 29 deletions(-)
+ mkinitrd/scripts/setup-prepare.sh |   94 
+++---
+ mkinitrd/scripts/setup-progs.sh   |   17 +-
+ 2 files changed, 80 insertions(+), 31 deletions(-)
 
 Index: 1210/mkinitrd/scripts/setup-prepare.sh
 ===
@@ -29,11 +29,7 @@
  cp_bin() {
 -cp -a $@ \
 -|| exit_code=1
-+  local -a files
-+  local target
-+  local target_dirname
-+  local file
- 
+-
 -# Remember the binaries installed. We need the list for checking
 -# for dynamic libraries.
 -while [ $# -gt 1 ]; do
@@ -47,6 +43,11 @@
 -   elif [ -d $1 -o -f $1 ]; then
 - find $1 -type f -print0 | xargs -0 chmod 0755
 -   fi
++  local -a files
++  local target
++  local target_dirname
++  local file
++
 +  # need at least two parameters, source and destination
 +  if test $# -lt 2
 +  then
@@ -126,6 +127,35 @@
  feature=${1##*/}
  feature=${feature#*-}
  feature=${feature%.sh}
+@@ -143,27 +203,27 @@ fi
+ for feature in $ADDITIONAL_FEATURES ; do
+ feature_exists $feature || echo [WARNING] Feature \$feature\ not 
found. A typo?
+ done
+ 
+ # create an empty initrd
+ if ! mkdir $tmp_mnt ; then
+ error 1 could not create temporary directory
+ fi
+ 
+ # fill the initrd
+ cp $INITRD_PATH/bin/linuxrc $linuxrc
+ mkdir $tmp_mnt/boot
+ 
+-mkdir -p $tmp_mnt/{sbin,bin,etc,dev,proc,sys,root,config}
++mkdir -p $tmp_mnt/{sbin,bin,etc,dev,proc,sys,root,config,usr/bin,usr/sbin}
+ 
+ mkdir -p -m 4777 $tmp_mnt/tmp
+ 
+ # Create a dummy /etc/mtab for mount/umount
+ echo -n  $tmp_mnt/etc/mtab
+ 
+ # Add modprobe, modprobe.conf*, and a version of /bin/true: modprobe.conf
+ # might use it.
+ for mod in $root_dir/etc/modprobe.conf $root_dir/etc/modprobe.conf.local \
+ $root_dir/etc/modprobe.d ; do
+ test -e $mod  cp -r $mod $tmp_mnt/etc
+ done
+ cat  $tmp_mnt/bin/true -EOF
 Index: 1210/mkinitrd/scripts/setup-progs.sh
 ===
 --- 1210.orig/mkinitrd/scripts/setup-progs.sh

++ libguestfs.mkinitrd.boot.sh ++
--- /var/tmp/diff_new_pack.0IkWYH/_old  2013-08-23 11:05:43.0 +0200
+++ /var/tmp/diff_new_pack.0IkWYH/_new  2013-08-23 11:05:43.0 +0200
@@ -75,6 +75,13 @@
 #%udevmodules: nls_koi8-ru
 #%udevmodules: nls_koi8ru
 #%udevmodules: nls_utf8
+#%udevmodules: 
+#%udevmodules: af_packet
+#%udevmodules: nfs
+#%udevmodules: nfsv2
+#%udevmodules: nfsv3
+#%udevmodules: nfsv4
+#%udevmodules: ipv6
 #
 #%programs: mdadm
 #%programs: modprobe

++ libguestfs.mkinitrd.setup.sh ++
--- /var/tmp/diff_new_pack.0IkWYH/_old  2013-08-23 11:05:43.0 +0200
+++ /var/tmp/diff_new_pack.0IkWYH/_new  2013-08-23 11:05:43.0 +0200
@@ -44,6 +44,13 @@
done
 done
 
+# Need to create the modprobe.conf file to force read-write mode
+if modinfo -k $kernel_version ext4 | grep -E '^parm:[[:blank:]]+rw:'
+then
+   mkdir -vp ${tmp_mnt}/etc/modprobe.d
+  

commit libguestfs for openSUSE:Factory

2013-08-21 Thread h_root
Hello community,

here is the log from the commit of package libguestfs for openSUSE:Factory 
checked in at 2013-08-21 10:31:17

Comparing /work/SRC/openSUSE:Factory/libguestfs (Old)
 and  /work/SRC/openSUSE:Factory/.libguestfs.new (New)


Package is libguestfs

Changes:

--- /work/SRC/openSUSE:Factory/libguestfs/libguestfs.changes2013-08-07 
20:45:13.0 +0200
+++ /work/SRC/openSUSE:Factory/.libguestfs.new/libguestfs.changes   
2013-08-21 10:31:18.0 +0200
@@ -1,0 +2,9 @@
+Mon Aug 19 23:23:31 CEST 2013 - oher...@suse.de
+
+- Update to version 1.22.5
+  * full support for btrfs guests
+  * large performance improvements in virt-df and virt-alignment-scan tools
+  * many bug fixes
+  * full release notes: http://libguestfs.org/guestfs-release-notes.1.html
+
+---

Old:

  libguestfs-1.20.10.tar.xz

New:

  libguestfs-1.22.5.tar.xz



Other differences:
--
++ libguestfs.spec ++
--- /var/tmp/diff_new_pack.T77iOs/_old  2013-08-21 10:31:19.0 +0200
+++ /var/tmp/diff_new_pack.T77iOs/_new  2013-08-21 10:31:19.0 +0200
@@ -16,7 +16,9 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-Version:1.20.10
+
+Version:1.22.5
+Release:0
 
 %define opt %(test -x %{_bindir}/ocamlopt  echo 1 || echo 0)
 %if !%opt
@@ -54,6 +56,11 @@
 %bcond_with ruby_bindings
 %endif
 
+%if %suse_version = 1230
+%bcond_without bash_completion
+%else
+%bcond_with bash_completion
+%endif
 # The following defines are overridden in the individual subpackages
 %define _configure_fuse --disable-fuse
 %define _configure_lua --disable-lua
@@ -95,6 +102,9 @@
 BuildRequires:  augeas-devel
 BuildRequires:  autoconf
 BuildRequires:  automake
+%if %{with bash_completion}
+BuildRequires:  bash-completion = 2.0
+%endif
 BuildRequires:  file-devel
 BuildRequires:  gcc
 BuildRequires:  gcc-c++
@@ -106,6 +116,7 @@
 %endif
 BuildRequires:  libtool
 BuildRequires:  libvirt-devel = 0.10.2
+BuildRequires:  libxml2-devel
 BuildRequires:  ncurses-devel
 %if %{with perl_bindings}
 %if %suse_version  1140
@@ -136,7 +147,6 @@
 Summary:Compatibility package for guestfs-tools
 License:GPL-2.0
 Group:  System/Filesystems
-Release:0
 Patch1000:  1000-force-virtio_blk-in-old-guest-kernel.patch
 Source0:%{name}-%{version}.tar.xz
 Source789653:   Pod-Simple-3.23.tar.xz
@@ -179,7 +189,6 @@
 Requires:   perl(Pod::Usage)
 Requires:   perl(String::ShellQuote)
 Requires:   perl(Sys::Guestfs)
-Requires:   perl(Sys::Guestfs::Lib)
 %{perl_requires}
 %if %{with hivex}
 Requires:   perl(Win::Hivex)
@@ -747,7 +756,9 @@
 %{_sbindir}/libguestfs-make-fixed-appliance
 %{_bindir}/*
 %config(noreplace) /etc/libguestfs-tools.conf
-%config(noreplace) /etc/bash_completion.d/guestfish-bash-completion.sh
+%if %{with bash_completion}
+%{_datadir}/bash-completion
+%endif
 %{_mandir}/man1/*
 
 %changelog

++ 1000-force-virtio_blk-in-old-guest-kernel.patch ++
--- /var/tmp/diff_new_pack.T77iOs/_old  2013-08-21 10:31:19.0 +0200
+++ /var/tmp/diff_new_pack.T77iOs/_new  2013-08-21 10:31:19.0 +0200
@@ -5,93 +5,30 @@
 
 Signed-off-by: Olaf Hering o...@aepfle.de
 ---
- df/output.c| 13 +
- fish/options.c |  8 +++-
- src/guestfs-internal.h |  2 ++
- src/handle.c   | 16 
- src/inspect-fs-unix.c  |  4 ++--
- src/launch-appliance.c |  3 +++
- src/launch-libvirt.c   |  7 +++
- test-tool/test-tool.c  | 16 +---
- 8 files changed, 59 insertions(+), 10 deletions(-)
+ fish/options.c |7 +--
+ src/guestfs-internal.h |1 +
+ src/handle.c   |   16 
+ src/inspect-fs-unix.c  |4 ++--
+ src/launch-direct.c|2 ++
+ 5 files changed, 26 insertions(+), 4 deletions(-)
 
-diff --git a/df/output.c b/df/output.c
-index 5729dd4..fb33ca1 100644
 a/df/output.c
-+++ b/df/output.c
-@@ -42,6 +42,7 @@
- #include virt-df.h
- 
- static void write_csv_field (const char *field);
-+static int use_virtio_blk;
- 
- void
- print_title (void)
-@@ -82,7 +83,7 @@ print_title (void)
-   }
- }
- 
--static char *adjust_device_offset (const char *device, int offset);
-+static char *adjust_device_offset (guestfs_h *g, const char *device, int 
offset);
- 
- void
- print_stat (const char *name, const char *uuid_param,
-@@ -110,7 +111,7 @@ print_stat (const char *name, const char *uuid_param,
- exit (EXIT_FAILURE);
-   if (offset = 0) {
- char *p = dev;
--dev = adjust_device_offset (p, offset);
-+dev = adjust_device_offset (g, p, offset);
- free (p);
-   }
- 
-@@ -237,8 +238,9 @@ write_csv_field (const char *field)
- static 

commit libguestfs for openSUSE:Factory

2013-08-07 Thread h_root
Hello community,

here is the log from the commit of package libguestfs for openSUSE:Factory 
checked in at 2013-08-07 20:45:12

Comparing /work/SRC/openSUSE:Factory/libguestfs (Old)
 and  /work/SRC/openSUSE:Factory/.libguestfs.new (New)


Package is libguestfs

Changes:

New Changes file:

--- /dev/null   2013-07-23 23:44:04.804033756 +0200
+++ /work/SRC/openSUSE:Factory/.libguestfs.new/libguestfs.changes   
2013-08-07 20:45:13.0 +0200
@@ -0,0 +1,898 @@
+---
+Mon Aug  5 17:48:01 CEST 2013 - oher...@suse.de
+
+- Package /lib/udev or /usr/lib/udev in guestfsd subpackage
+
+---
+Tue Jul 30 20:57:39 CEST 2013 - oher...@suse.de
+
+- Update to version 1.20.10
+  * sysprep: On RHEL, firstboot script should be called S99... not 99.
+  * fish: For -N option, add drive with explicit format = raw.
+  * daemon: Implement set-label for XFS and fix it for btrfs (RHBZ#986875).
+  * mkfs: Use -b size=size for xfs (RHBZ#981715).
+  * cmd: Allow callers to override file-closing behaviour after fork.
+  * daemon: hivex: Check that hivex_commit is passed an absolute path 
(RHBZ#981683).
+  * daemon: Verify ext2/3/4 filesystem name before passing to mke2fs 
(RHBZ#978302).
+  * virt-resize: Add notes about Windows and disk consistency (RHBZ#975753).
+  * virt-resize: Take into account large start offset of the first partition 
when calculating overhead (RHBZ#974904).
+  * launch: direct: Calculate appliance root correctly when iface drives are 
added (RHBZ#975797).
+
+---
+Sun Jun 16 08:36:08 CEST 2013 - oher...@suse.de
+
+- Update to version 1.20.9
+  * txz-out: Fix this API to produce xz files again (RHBZ#972775).
+  * inspect: Fix bogus warning for partitions without /boot.ini
+  * inspect: Partial support for non-standard windows system root
+  * events: Avoid event handler limit if program allocates and deallocates 
handlers.
+  * proto: Fix for rare FileIn hangs. (RHBZ#969845)
+  * inspection: Don't segfault if /etc/SuSE-release is an empty file.
+  * fuse: Allow specifying the fstype of a mount
+  * is_lv: Does not need to depend on lvm2.
+  * add --with-supermin-extra-options configure option
+  * Remove use of gnulib progname module.
+  * inspection: Fix double-free when certain guest files are empty. 
(CVE-2013-2124)
+  * daemon: Properly quote arguments for tar-out, base64-out commands 
(RHBZ#957772).
+  * inspection: Don't fail if libosinfo database is not found (RHBZ#948324).
+  * daemon/copy: Ensure errno is preserved along error
+  * Better error messages for FUSE and other things not supported.
+
+---
+Mon Apr  8 20:55:11 CEST 2013 - oher...@suse.de
+
+- force paths to supermin/supermin-helper even if package is not available at 
buildtime
+
+---
+Tue Apr  2 14:43:33 CEST 2013 - oher...@suse.de
+
+- Update to version 1.20.5
+  * daemon: file: Remove extraneous space after output of 'file' command 
(RHBZ#928995).
+  * lib: Add missing cases in switch statements.
+  * appliance: Make sure cachedir has mode 0755 (RHBZ#921292).
+  * appliance: Use ignore_value() macro instead of casting return to (void).
+  * launch: Print attach-method, tmpdir, umask, euid when launching.
+  * utils: Fix error messages for external commands that fail (RHBZ#921040).
+
+---
+Tue Apr  2 14:39:01 CEST 2013 - oher...@suse.de
+
+- make sure /etc/lvm/lvm.conf exists (bnc#812931)
+
+---
+Fri Mar 22 19:55:41 CET 2013 - oher...@suse.de
+
+- Update to version 1.20.4
+  * launch: appliance: Add custom parameters last.
+  * filearch: Don't print errno if cpio command fails, print command status 
instead.
+  * proto: send_to_daemon is not an exported function.
+
+---
+Mon Mar 18 18:46:34 UTC 2013 - dmuel...@suse.com
+
+- use proper build conditionals so that it can be influenced
+  outside spec file (via e.g. prjconf)
+
+---
+Wed Mar  6 20:27:13 CET 2013 - oher...@suse.de
+
+- Update to version 1.20.3
+  * trace: Put trace buffer on the stack instead of in the handle.
+  * FAQ: Add question about running fsck on live filesystems
+  * lib: Check calls to xmlXPathEvalExpression for nodesetval == NULL.
+  * recipes: Add example converting from one format/filesystem to another
+  * daemon: protocol: Fix memory leak when receiving FileIn file (RHBZ#914934).
+  * protocol: Don't segfault if appliance crashes during