commit libstorage for openSUSE:Factory

2017-10-19 Thread root
Hello community,

here is the log from the commit of package libstorage for openSUSE:Factory 
checked in at 2017-10-19 19:30:52

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


Package is "libstorage"

Thu Oct 19 19:30:52 2017 rev:170 rq:534242 version:2.26.13

Changes:

--- /work/SRC/openSUSE:Factory/libstorage/libstorage.changes2017-02-16 
16:44:04.666264573 +0100
+++ /work/SRC/openSUSE:Factory/.libstorage.new/libstorage.changes   
2017-10-19 19:30:54.596320584 +0200
@@ -1,0 +2,7 @@
+Thu Oct 12 17:22:01 CEST 2017 - shundham...@suse.de
+
+- Don't discard the internally stored volume label before it is
+  applied (bsc#1061850)
+- 2.26.13
+
+---

Old:

  libstorage-2.26.12.tar.bz2

New:

  libstorage-2.26.13.tar.bz2



Other differences:
--
++ libstorage.spec ++
--- /var/tmp/diff_new_pack.Ws0hB3/_old  2017-10-19 19:30:55.168293821 +0200
+++ /var/tmp/diff_new_pack.Ws0hB3/_new  2017-10-19 19:30:55.172293634 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   libstorage
-Version:2.26.12
+Version:2.26.13
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: libstorage-%{version}.tar.bz2

++ libstorage-2.26.12.tar.bz2 -> libstorage-2.26.13.tar.bz2 ++
 2052 lines of diff (skipped)
retrying with extended exclude list
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/libstorage-2.26.12/VERSION new/libstorage-2.26.13/VERSION
--- old/libstorage-2.26.12/VERSION  2017-02-13 12:20:10.0 +0100
+++ new/libstorage-2.26.13/VERSION  2017-10-16 16:25:54.0 +0200
@@ -1 +1 @@
-2.26.12
+2.26.13
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/libstorage-2.26.12/compile new/libstorage-2.26.13/compile
--- old/libstorage-2.26.12/compile  2017-02-13 12:21:10.0 +0100
+++ new/libstorage-2.26.13/compile  2017-10-16 16:28:00.0 +0200
@@ -1,9 +1,9 @@
 #! /bin/sh
 # Wrapper for compilers which do not understand '-c -o'.
 
-scriptversion=2012-10-14.11; # UTC
+scriptversion=2016-01-11.22; # UTC
 
-# Copyright (C) 1999-2014 Free Software Foundation, Inc.
+# Copyright (C) 1999-2017 Free Software Foundation, Inc.
 # Written by Tom Tromey .
 #
 # This program is free software; you can redistribute it and/or modify
@@ -255,7 +255,8 @@
 echo "compile $scriptversion"
 exit $?
 ;;
-  cl | *[/\\]cl | cl.exe | *[/\\]cl.exe )
+  cl | *[/\\]cl | cl.exe | *[/\\]cl.exe | \
+  icl | *[/\\]icl | icl.exe | *[/\\]icl.exe )
 func_cl_wrapper "$@"  # Doesn't return...
 ;;
 esac
@@ -342,6 +343,6 @@
 # eval: (add-hook 'write-file-hooks 'time-stamp)
 # time-stamp-start: "scriptversion="
 # time-stamp-format: "%:y-%02m-%02d.%02H"
-# time-stamp-time-zone: "UTC"
+# time-stamp-time-zone: "UTC0"
 # time-stamp-end: "; # UTC"
 # End:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/libstorage-2.26.12/missing new/libstorage-2.26.13/missing
--- old/libstorage-2.26.12/missing  2017-02-13 12:21:10.0 +0100
+++ new/libstorage-2.26.13/missing  2017-10-16 16:28:00.0 +0200
@@ -1,9 +1,9 @@
 #! /bin/sh
 # Common wrapper for a few potentially missing GNU programs.
 
-scriptversion=2013-10-28.13; # UTC
+scriptversion=2016-01-11.22; # UTC
 
-# Copyright (C) 1996-2014 Free Software Foundation, Inc.
+# Copyright (C) 1996-2017 Free Software Foundation, Inc.
 # Originally written by Fran,cois Pinard , 1996.
 
 # This program is free software; you can redistribute it and/or modify
@@ -210,6 +210,6 @@
 # eval: (add-hook 'write-file-hooks 'time-stamp)
 # time-stamp-start: "scriptversion="
 # time-stamp-format: "%:y-%02m-%02d.%02H"
-# time-stamp-time-zone: "UTC"
+# time-stamp-time-zone: "UTC0"
 # time-stamp-end: "; # UTC"
 # End:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude 

commit libstorage for openSUSE:Factory

2017-02-16 Thread root
Hello community,

here is the log from the commit of package libstorage for openSUSE:Factory 
checked in at 2017-02-16 16:44:03

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


Package is "libstorage"

Changes:

--- /work/SRC/openSUSE:Factory/libstorage/libstorage.changes2017-02-03 
17:48:36.648100440 +0100
+++ /work/SRC/openSUSE:Factory/.libstorage.new/libstorage.changes   
2017-02-16 16:44:04.666264573 +0100
@@ -1,0 +2,7 @@
+Mon Feb 13 11:39:52 CET 2017 - aschn...@suse.com
+
+- omit option --zero for lvcreate when creating thin provisioned
+  volumes (bsc#968346)
+- 2.26.12
+
+---

Old:

  libstorage-2.26.11.tar.bz2

New:

  libstorage-2.26.12.tar.bz2



Other differences:
--
++ libstorage.spec ++
--- /var/tmp/diff_new_pack.Yoi3jk/_old  2017-02-16 16:44:05.062208344 +0100
+++ /var/tmp/diff_new_pack.Yoi3jk/_new  2017-02-16 16:44:05.062208344 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   libstorage
-Version:2.26.11
+Version:2.26.12
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: libstorage-%{version}.tar.bz2

++ libstorage-2.26.11.tar.bz2 -> libstorage-2.26.12.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.26.11/VERSION 
new/libstorage-2.26.12/VERSION
--- old/libstorage-2.26.11/VERSION  2017-01-25 15:50:14.0 +0100
+++ new/libstorage-2.26.12/VERSION  2017-02-13 12:20:10.0 +0100
@@ -1 +1 @@
-2.26.11
+2.26.12
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.26.11/bindings/python/storage.py 
new/libstorage-2.26.12/bindings/python/storage.py
--- old/libstorage-2.26.11/bindings/python/storage.py   2017-01-26 
11:36:17.0 +0100
+++ new/libstorage-2.26.12/bindings/python/storage.py   2017-02-13 
12:21:30.0 +0100
@@ -1,5 +1,5 @@
 # This file was automatically generated by SWIG (http://www.swig.org).
-# Version 3.0.11
+# Version 3.0.12
 #
 # Do not make changes to this file unless you know what you are doing--modify
 # the SWIG interface file instead.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.26.11/storage/LvmVg.cc 
new/libstorage-2.26.12/storage/LvmVg.cc
--- old/libstorage-2.26.11/storage/LvmVg.cc 2016-01-18 11:10:13.0 
+0100
+++ new/libstorage-2.26.12/storage/LvmVg.cc 2017-02-13 12:20:10.0 
+0100
@@ -1387,7 +1387,7 @@
activate(true);
getStorage()->showInfoCb( l->createText(true), silent );
checkConsistency();
-   string cmd = LVCREATEBIN " " + instSysString() + zeroString();
+   string cmd = LVCREATEBIN " " + instSysString() + zeroString(l);
if( !l->getOrigin().empty() )
{
Storage::loadModuleIfNeeded("dm-snapshot");
@@ -1581,9 +1581,9 @@
 
 
 string
-LvmVg::zeroString() const
+LvmVg::zeroString(const LvmLv * lvm_lv) const
 {
-   return "--zero=y --yes ";
+   return lvm_lv->isThin() ? "--yes " : "--zero=y --yes ";
 }
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.26.11/storage/LvmVg.h 
new/libstorage-2.26.12/storage/LvmVg.h
--- old/libstorage-2.26.11/storage/LvmVg.h  2016-01-18 11:10:13.0 
+0100
+++ new/libstorage-2.26.12/storage/LvmVg.h  2017-02-13 12:20:10.0 
+0100
@@ -164,7 +164,7 @@
 
string metaString() const;
string instSysString() const;
-   string zeroString() const;
+   string zeroString(const LvmLv* lvm_lv) const;
 
virtual void logData(const string& Dir) const;
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.26.11/storage/gen_md5sum.cc 
new/libstorage-2.26.12/storage/gen_md5sum.cc
--- old/libstorage-2.26.11/storage/gen_md5sum.cc2017-01-26 
11:36:06.0 +0100
+++ new/libstorage-2.26.12/storage/gen_md5sum.cc2017-02-13 
12:21:19.0 +0100
@@ -1,5 +1,5 @@
-#define SOURCES_MD5SUM   "c0d84f29c5b597e4c0985827fd80e38c"
-#define SOURCES_MD5_DATE " Thu Jan 26 10:36:06 UTC 2017 "
+#define SOURCES_MD5SUM   "f1d674d1af8dff2a7f974d9bd760469d"
+#define SOURCES_MD5_DATE " Mon Feb 13 11:21:19 UTC 2017 "
 namespace storage
 {
 const char* GetSourceMd5() { return SOURCES_MD5SUM; }




commit libstorage for openSUSE:Factory

2017-02-03 Thread root
Hello community,

here is the log from the commit of package libstorage for openSUSE:Factory 
checked in at 2017-01-30 10:42:51

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


Package is "libstorage"

Changes:

--- /work/SRC/openSUSE:Factory/libstorage/libstorage.changes2016-10-13 
11:25:01.0 +0200
+++ /work/SRC/openSUSE:Factory/.libstorage.new/libstorage.changes   
2017-02-03 17:48:36.648100440 +0100
@@ -1,0 +2,6 @@
+Tue Jan 24 17:32:40 CET 2017 - shundham...@suse.de
+
+- Fix out of range exception if root is dm-encrypted (fate#320215)
+- 2.26.11
+
+---

Old:

  libstorage-2.26.10.tar.bz2

New:

  libstorage-2.26.11.tar.bz2



Other differences:
--
++ libstorage.spec ++
--- /var/tmp/diff_new_pack.aGmsMJ/_old  2017-02-03 17:48:37.527976398 +0100
+++ /var/tmp/diff_new_pack.aGmsMJ/_new  2017-02-03 17:48:37.531975834 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libstorage
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:   libstorage
-Version:2.26.10
+Version:2.26.11
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: libstorage-%{version}.tar.bz2

++ libstorage-2.26.10.tar.bz2 -> libstorage-2.26.11.tar.bz2 ++
 2206 lines of diff (skipped)




commit libstorage for openSUSE:Factory

2016-10-13 Thread h_root
Hello community,

here is the log from the commit of package libstorage for openSUSE:Factory 
checked in at 2016-10-13 11:25:01

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


Package is "libstorage"

Changes:

--- /work/SRC/openSUSE:Factory/libstorage/libstorage.changes2016-09-24 
15:18:51.0 +0200
+++ /work/SRC/openSUSE:Factory/.libstorage.new/libstorage.changes   
2016-10-13 11:25:01.0 +0200
@@ -1,0 +2,6 @@
+Thu Oct  6 16:00:33 CEST 2016 - shundham...@suse.de
+
+- Don't accept 'format' flag if volume is in use (bsc#996007)
+- 2.26.10
+
+---

Old:

  libstorage-2.26.9.tar.bz2

New:

  libstorage-2.26.10.tar.bz2



Other differences:
--
++ libstorage.spec ++
--- /var/tmp/diff_new_pack.eff7e4/_old  2016-10-13 11:25:02.0 +0200
+++ /var/tmp/diff_new_pack.eff7e4/_new  2016-10-13 11:25:02.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   libstorage
-Version:2.26.9
+Version:2.26.10
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: libstorage-%{version}.tar.bz2

++ libstorage-2.26.9.tar.bz2 -> libstorage-2.26.10.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.26.9/VERSION 
new/libstorage-2.26.10/VERSION
--- old/libstorage-2.26.9/VERSION   2016-09-22 14:40:09.0 +0200
+++ new/libstorage-2.26.10/VERSION  2016-10-10 11:25:15.0 +0200
@@ -1 +1 @@
-2.26.9
+2.26.10
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.26.9/storage/Btrfs.cc 
new/libstorage-2.26.10/storage/Btrfs.cc
--- old/libstorage-2.26.9/storage/Btrfs.cc  2016-01-18 11:10:13.0 
+0100
+++ new/libstorage-2.26.10/storage/Btrfs.cc 2016-10-10 11:25:15.0 
+0200
@@ -97,7 +97,9 @@
 
 
 Btrfs::Btrfs(const BtrfsCo& c, const Btrfs& v)
-   : Volume(c, v), devices(v.devices), subvolumes(v.subvolumes)
+   : Volume(c, v), devices(v.devices)
+, dev_add(v.dev_add), dev_rem(v.dev_rem)
+, subvolumes(v.subvolumes)
 {
y2deb("copy-constructed Btrfs from " << v.dev);
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.26.9/storage/Volume.cc 
new/libstorage-2.26.10/storage/Volume.cc
--- old/libstorage-2.26.9/storage/Volume.cc 2016-09-07 16:45:12.0 
+0200
+++ new/libstorage-2.26.10/storage/Volume.cc2016-10-10 11:25:15.0 
+0200
@@ -648,8 +648,7 @@
 {
int ret = 0;
y2mil("device:" << dev << " val:" << val << " fs:" << toString(new_fs));
-   format = val;
-   if( !format )
+   if( !val )
{
fs = detected_fs;
mkfs_opt = "";
@@ -691,8 +690,20 @@
uuid.erase();
}
}
+
+if ( ret == 0 )
+{
+y2mil("Accepting new format value " << val << " for " << device()
+  << " ret: " << ret);
+format = val;
+}
+else
+{
+y2war("REJECTING new format value " << val << " for " << device()
+  << "; keeping " << format << " ret: " << ret );
+}
+
y2mil("device:" << *this );
-   y2mil("ret:" << ret);
return( ret );
 }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.26.9/storage/gen_md5sum.cc 
new/libstorage-2.26.10/storage/gen_md5sum.cc
--- old/libstorage-2.26.9/storage/gen_md5sum.cc 2016-09-22 14:41:34.0 
+0200
+++ new/libstorage-2.26.10/storage/gen_md5sum.cc2016-10-10 
11:26:30.0 +0200
@@ -1,5 +1,5 @@
-#define SOURCES_MD5SUM   "559e2954574c894dc7dba48006951743"
-#define SOURCES_MD5_DATE " Thu Sep 22 12:41:34 UTC 2016 "
+#define SOURCES_MD5SUM   "19d7d4a96a7d3eb77eb7304883df1289"
+#define SOURCES_MD5_DATE " Mon Oct 10 09:26:30 UTC 2016 "
 namespace storage
 {
 const char* GetSourceMd5() { return SOURCES_MD5SUM; }




commit libstorage for openSUSE:Factory

2016-09-24 Thread h_root
Hello community,

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

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


Package is "libstorage"

Changes:

--- /work/SRC/openSUSE:Factory/libstorage/libstorage.changes2016-09-08 
17:38:21.0 +0200
+++ /work/SRC/openSUSE:Factory/.libstorage.new/libstorage.changes   
2016-09-24 15:18:51.0 +0200
@@ -1,0 +2,6 @@
+Thu Sep 22 11:32:34 CEST 2016 - shundham...@suse.de
+
+- Don't suppress subvol commit actions after resize (bsc#1000165)
+- 2.26.9
+
+---

Old:

  libstorage-2.26.8.tar.bz2

New:

  libstorage-2.26.9.tar.bz2



Other differences:
--
++ libstorage.spec ++
--- /var/tmp/diff_new_pack.kPQfzW/_old  2016-09-24 15:18:52.0 +0200
+++ /var/tmp/diff_new_pack.kPQfzW/_new  2016-09-24 15:18:52.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   libstorage
-Version:2.26.8
+Version:2.26.9
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: libstorage-%{version}.tar.bz2

++ libstorage-2.26.8.tar.bz2 -> libstorage-2.26.9.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.26.8/VERSION 
new/libstorage-2.26.9/VERSION
--- old/libstorage-2.26.8/VERSION   2016-09-07 16:45:12.0 +0200
+++ new/libstorage-2.26.9/VERSION   2016-09-22 14:40:09.0 +0200
@@ -1 +1 @@
-2.26.8
+2.26.9
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.26.8/po/Makefile.am 
new/libstorage-2.26.9/po/Makefile.am
--- old/libstorage-2.26.8/po/Makefile.am2016-01-18 11:10:13.0 
+0100
+++ new/libstorage-2.26.9/po/Makefile.am2016-09-16 17:05:10.0 
+0200
@@ -26,8 +26,8 @@
files='$(POFILES)'; \
for file in $$files; do \
base=`basename $$file`; \
-   echo "$(MSGMERGE) --no-wrap --update $$base $(PACKAGE).pot"; \
-   $(MSGMERGE) --no-wrap --update $$base $(PACKAGE).pot; \
+   echo "$(MSGMERGE) --no-wrap --previous --update $$base 
$(PACKAGE).pot"; \
+   $(MSGMERGE) --no-wrap --previous --update $$base $(PACKAGE).pot; \
done
 
 install-data-local: $(MOFILES)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.26.8/po/Makefile.in 
new/libstorage-2.26.9/po/Makefile.in
--- old/libstorage-2.26.8/po/Makefile.in2016-09-07 16:45:58.0 
+0200
+++ new/libstorage-2.26.9/po/Makefile.in2016-09-22 14:41:24.0 
+0200
@@ -486,8 +486,8 @@
files='$(POFILES)'; \
for file in $$files; do \
base=`basename $$file`; \
-   echo "$(MSGMERGE) --no-wrap --update $$base $(PACKAGE).pot"; \
-   $(MSGMERGE) --no-wrap --update $$base $(PACKAGE).pot; \
+   echo "$(MSGMERGE) --no-wrap --previous --update $$base 
$(PACKAGE).pot"; \
+   $(MSGMERGE) --no-wrap --previous --update $$base $(PACKAGE).pot; \
done
 
 install-data-local: $(MOFILES)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.26.8/storage/BtrfsCo.cc 
new/libstorage-2.26.9/storage/BtrfsCo.cc
--- old/libstorage-2.26.8/storage/BtrfsCo.cc2016-01-18 11:10:13.0 
+0100
+++ new/libstorage-2.26.9/storage/BtrfsCo.cc2016-09-22 14:40:09.0 
+0200
@@ -503,7 +503,6 @@
y2mil( "ret:" << ret << " size_diff:" << size_diff );
if( ret==0 )
{
-   v->setSilent();
v->setResizedSize( v->sizeK()+size_diff );
}
y2mil( "size_diff:" << size_diff );
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.26.8/storage/gen_md5sum.cc 
new/libstorage-2.26.9/storage/gen_md5sum.cc
--- old/libstorage-2.26.8/storage/gen_md5sum.cc 2016-09-07 16:46:05.0 
+0200
+++ new/libstorage-2.26.9/storage/gen_md5sum.cc 2016-09-22 14:41:34.0 
+0200
@@ -1,5 +1,5 @@
-#define SOURCES_MD5SUM   "19a8ae8ead6e08771b4236a4c64b181a"
-#define SOURCES_MD5_DATE " Wed Sep 7 14:46:05 UTC 2016 "
+#define SOURCES_MD5SUM   "559e2954574c894dc7dba48006951743"
+#define SOURCES_MD5_DATE " Thu Sep 22 12:41:34 UTC 2016 "
 namespace storage
 {
 const char* GetSourceMd5() { return SOURCES_MD5SUM; }




commit libstorage for openSUSE:Factory

2016-09-08 Thread h_root
Hello community,

here is the log from the commit of package libstorage for openSUSE:Factory 
checked in at 2016-09-08 17:38:20

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


Package is "libstorage"

Changes:

--- /work/SRC/openSUSE:Factory/libstorage/libstorage.changes2016-08-18 
10:18:34.0 +0200
+++ /work/SRC/openSUSE:Factory/.libstorage.new/libstorage.changes   
2016-09-08 17:38:21.0 +0200
@@ -1,0 +2,14 @@
+Wed Sep 07 14:16:38 CEST 2016 - aschn...@suse.com
+
+- improved message for creating volumes with a filesystem but
+  without a mountpoint (bsc#996208)
+- 2.26.8
+
+---
+Tue Sep 06 10:45:35 CEST 2016 - aschn...@suse.com
+
+- merged pull request to not set boot flag on DASDs (see
+  bsc#935127)
+- 2.26.7
+
+---

Old:

  libstorage-2.26.6.tar.bz2

New:

  libstorage-2.26.8.tar.bz2



Other differences:
--
++ libstorage.spec ++
--- /var/tmp/diff_new_pack.43H6RZ/_old  2016-09-08 17:38:22.0 +0200
+++ /var/tmp/diff_new_pack.43H6RZ/_new  2016-09-08 17:38:22.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   libstorage
-Version:2.26.6
+Version:2.26.8
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: libstorage-%{version}.tar.bz2

++ libstorage-2.26.6.tar.bz2 -> libstorage-2.26.8.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.26.6/VERSION 
new/libstorage-2.26.8/VERSION
--- old/libstorage-2.26.6/VERSION   2016-08-10 11:55:10.0 +0200
+++ new/libstorage-2.26.8/VERSION   2016-09-07 16:45:12.0 +0200
@@ -1 +1 @@
-2.26.6
+2.26.8
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.26.6/po/es.po 
new/libstorage-2.26.8/po/es.po
--- old/libstorage-2.26.6/po/es.po  2016-01-18 11:10:13.0 +0100
+++ new/libstorage-2.26.8/po/es.po  2016-08-27 20:55:10.0 +0200
@@ -17,15 +17,16 @@
 "Project-Id-Version: YaST (@memory@)\n"
 "Report-Msgid-Bugs-To: \n"
 "POT-Creation-Date: 2015-10-09 15:59+0200\n"
-"PO-Revision-Date: 2012-06-06 10:28-0300\n"
-"Last-Translator: Sergio Gabriel Teves \n"
-"Language-Team: Spanish \n"
+"PO-Revision-Date: 2016-08-27 18:51+\n"
+"Last-Translator: Gustavo Sobrales \n"
+"Language-Team: Spanish "
+"\n"
 "Language: es\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"Plural-Forms: nplurals=2; plural=(n != 1);\n"
-"X-Generator: Lokalize 1.4\n"
+"Plural-Forms: nplurals=2; plural=n != 1;\n"
+"X-Generator: Weblate 2.6\n"
 "X-Poedit-Language: Spanish\n"
 
 #. text displayed during action
@@ -324,9 +325,10 @@
 #. displayed text before action, %1$s is replaced by subvolume name e.g. tmp
 #. %2$s is replaced by device name e.g. /dev/sda1
 #: ../storage/Btrfs.cc:1004
-#, fuzzy, c-format
+#, c-format
 msgid "Create subvolume %1$s on device %2$s with option \"no copy on write\""
-msgstr "Crear subvolumen %1$s en dispositivo %2$s"
+msgstr ""
+"Crear subvolumen %1$s en dispositivo %2$s con opción \"no copy on write\""
 
 #. displayed text before action, %1$s is replaced by raid partition e.g. 
pdc_dabaheedj_part1
 #. %2$s is replaced by size (e.g. 623.5 MB)
@@ -432,9 +434,10 @@
 #. displayed text during action, %1$s is replaced by subvolume name e.g. tmp
 #. %2$s is replaced by device name e.g. /dev/sda
 #: ../storage/Btrfs.cc:987
-#, fuzzy, c-format
+#, c-format
 msgid "Creating subvolume %1$s on device %2$s with option \"no copy on write\""
-msgstr "Creando subvolumen %1$s en dispositivo %2$s"
+msgstr ""
+"Creando subvolumen %1$s en dispositivo %2$s con opción \"no copy on write\""
 
 #. displayed during action
 #. %1$s is replaced by device name e.g. /dev/hda1
@@ -1020,8 +1023,7 @@
 #: ../storage/Dm.cc:468
 #, c-format
 msgid "Formatting device mapper volume %1$s (%2$s) with %3$s "
-msgstr ""
-"Formateando el volumen del mapeador de dispositivos %1$s (%2$s) con %3$s"
+msgstr "Formateando el volumen del dispositivo %1$s (%2$s) con %3$s "
 
 #. displayed text during action, %1$s is replaced by device name e.g. 
/dev/system/var
 #. %2$s is replaced by filename (e.g. /var/adm/secure)
@@ -1031,7 +1033,7 @@
 #, c-format
 msgid "Formatting file-based device %1$s of %2$s (%3$s) with %4$s "
 msgstr ""
-"Formateando el dispositivo basado en archivo %1$s de %2$s (%3$s) con %4$s"
+"Formateando el dispositivo basado en 

commit libstorage for openSUSE:Factory

2016-08-18 Thread h_root
Hello community,

here is the log from the commit of package libstorage for openSUSE:Factory 
checked in at 2016-08-18 10:18:32

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


Package is "libstorage"

Changes:

--- /work/SRC/openSUSE:Factory/libstorage/libstorage.changes2016-07-24 
19:42:29.0 +0200
+++ /work/SRC/openSUSE:Factory/.libstorage.new/libstorage.changes   
2016-08-18 10:18:34.0 +0200
@@ -1,0 +2,13 @@
+Wed Aug 10 11:49:48 CEST 2016 - aschn...@suse.com
+
+- added partition id string for GPT BIOS (bsc#991252)
+- 2.26.6
+
+---
+Fri Aug 05 11:05:11 CEST 2016 - aschn...@suse.com
+
+- fixed removing volume groups with encrypted physical volumes
+  (bsc#989750)
+- 2.26.5
+
+---

Old:

  libstorage-2.26.4.tar.bz2

New:

  libstorage-2.26.6.tar.bz2



Other differences:
--
++ libstorage.spec ++
--- /var/tmp/diff_new_pack.8AiMB6/_old  2016-08-18 10:18:35.0 +0200
+++ /var/tmp/diff_new_pack.8AiMB6/_new  2016-08-18 10:18:35.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   libstorage
-Version:2.26.4
+Version:2.26.6
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: libstorage-%{version}.tar.bz2

++ libstorage-2.26.4.tar.bz2 -> libstorage-2.26.6.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.26.4/VERSION 
new/libstorage-2.26.6/VERSION
--- old/libstorage-2.26.4/VERSION   2016-07-14 14:25:10.0 +0200
+++ new/libstorage-2.26.6/VERSION   2016-08-10 11:55:10.0 +0200
@@ -1 +1 @@
-2.26.4
+2.26.6
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.26.4/storage/Device.h 
new/libstorage-2.26.6/storage/Device.h
--- old/libstorage-2.26.4/storage/Device.h  2016-01-18 11:10:13.0 
+0100
+++ new/libstorage-2.26.6/storage/Device.h  2016-08-08 11:10:12.0 
+0200
@@ -1,5 +1,6 @@
 /*
  * Copyright (c) [2004-2014] Novell, Inc.
+ * Copyright (c) 2016 SUSE LLC
  *
  * All Rights Reserved.
  *
@@ -72,9 +73,9 @@
unsigned long majorNr() const { return mjr; }
unsigned long minorNr() const { return mnr; }
 
-   const std::list& altNames() const { return( alt_names ); }
-   void setAltNames( std::list& li ) { alt_names=li; }
-   bool sameDevice( const string& device ) const;
+   const std::list& altNames() const { return alt_names; }
+   void setAltNames(std::list& li) { alt_names = li; }
+   bool sameDevice(const string& device) const;
 
// udev path and ids (without leading "/dev/disk/by-*/")
virtual string udevPath() const;
@@ -123,6 +124,12 @@
unsigned long mnr;
 
list uby;
+
+   /**
+* Alternative names for the device, e.g. udev by-id and by-path
+* links. Also includes names of the encrypted device although linux
+* storage stack wise that is another block device.
+*/
list alt_names;
 
map userdata;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.26.4/storage/Partition.cc 
new/libstorage-2.26.6/storage/Partition.cc
--- old/libstorage-2.26.4/storage/Partition.cc  2016-01-18 11:10:13.0 
+0100
+++ new/libstorage-2.26.6/storage/Partition.cc  2016-08-10 11:55:10.0 
+0200
@@ -301,6 +301,7 @@
case ID_LINUX: return "Linux";
case ID_LVM: return "Linux LVM";
case ID_RAID: return "Linux RAID";
+   case ID_GPT_BIOS: return "GPT BIOS";
}
return "";
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.26.4/storage/PeContainer.cc 
new/libstorage-2.26.6/storage/PeContainer.cc
--- old/libstorage-2.26.4/storage/PeContainer.cc2016-01-18 
11:10:13.0 +0100
+++ new/libstorage-2.26.6/storage/PeContainer.cc2016-08-08 
11:10:12.0 +0200
@@ -371,18 +371,19 @@
return( ret );
 }
 
+
 int
 PeContainer::remLvPeDistribution( unsigned long le, map& pe_map,
  list& pl, list& pladd )
 {
int ret=0;
y2mil( "le:" << le << " pe_map:" << pe_map );
-   list::iterator p;
map::iterator mit = pe_map.begin();
y2mil( "pl:" << pl );
y2mil( "pladd:" << pladd );
while( le>0 && ret==0 && mit != pe_map.end() )
{
+   list::iterator p;
 

commit libstorage for openSUSE:Factory

2016-07-24 Thread h_root
Hello community,

here is the log from the commit of package libstorage for openSUSE:Factory 
checked in at 2016-07-24 19:42:27

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


Package is "libstorage"

Changes:

--- /work/SRC/openSUSE:Factory/libstorage/libstorage.changes2016-06-02 
12:37:33.0 +0200
+++ /work/SRC/openSUSE:Factory/.libstorage.new/libstorage.changes   
2016-07-24 19:42:29.0 +0200
@@ -1,0 +2,6 @@
+Wed Jul 13 12:27:47 CEST 2016 - shundham...@suse.de
+
+- Use stdin, not tmp files for passwords (bsc#986971)
+- 2.26.4
+
+---

Old:

  libstorage-2.26.3.tar.bz2

New:

  libstorage-2.26.4.tar.bz2



Other differences:
--
++ libstorage.spec ++
--- /var/tmp/diff_new_pack.pTxnXV/_old  2016-07-24 19:42:29.0 +0200
+++ /var/tmp/diff_new_pack.pTxnXV/_new  2016-07-24 19:42:29.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   libstorage
-Version:2.26.3
+Version:2.26.4
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: libstorage-%{version}.tar.bz2

++ libstorage-2.26.3.tar.bz2 -> libstorage-2.26.4.tar.bz2 ++
 2649 lines of diff (skipped)




commit libstorage for openSUSE:Factory

2016-06-02 Thread h_root
Hello community,

here is the log from the commit of package libstorage for openSUSE:Factory 
checked in at 2016-06-02 12:37:32

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


Package is "libstorage"

Changes:

--- /work/SRC/openSUSE:Factory/libstorage/libstorage.changes2016-04-28 
20:29:31.0 +0200
+++ /work/SRC/openSUSE:Factory/.libstorage.new/libstorage.changes   
2016-06-02 12:37:33.0 +0200
@@ -1,0 +2,7 @@
+Thu May 19 16:26:11 CEST 2016 - aschn...@suse.com
+
+- call parted with --wipesignatures when creating partitions to
+  avoid auto-assembly of old MD RAIDs (fate#319893, bsc#943623)
+- 2.26.3
+
+---

Old:

  libstorage-2.26.2.tar.bz2

New:

  libstorage-2.26.3.tar.bz2



Other differences:
--
++ libstorage.spec ++
--- /var/tmp/diff_new_pack.DSfgDZ/_old  2016-06-02 12:37:34.0 +0200
+++ /var/tmp/diff_new_pack.DSfgDZ/_new  2016-06-02 12:37:34.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   libstorage
-Version:2.26.2
+Version:2.26.3
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: libstorage-%{version}.tar.bz2

++ libstorage-2.26.2.tar.bz2 -> libstorage-2.26.3.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.26.2/VERSION 
new/libstorage-2.26.3/VERSION
--- old/libstorage-2.26.2/VERSION   2016-04-15 12:35:08.0 +0200
+++ new/libstorage-2.26.3/VERSION   2016-05-27 13:37:38.0 +0200
@@ -1 +1 @@
-2.26.2
+2.26.3
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.26.2/po/ar.po 
new/libstorage-2.26.3/po/ar.po
--- old/libstorage-2.26.2/po/ar.po  2016-01-18 11:10:13.0 +0100
+++ new/libstorage-2.26.3/po/ar.po  2016-05-11 17:08:29.0 +0200
@@ -7,16 +7,17 @@
 "Project-Id-Version: @PACKAGE@\n"
 "Report-Msgid-Bugs-To: \n"
 "POT-Creation-Date: 2015-10-09 15:59+0200\n"
-"PO-Revision-Date: 2014-09-07 07:49+0300\n"
-"Last-Translator: malhargan \n"
-"Language-Team: openSUSE\n"
+"PO-Revision-Date: 2016-04-28 04:03+\n"
+"Last-Translator: mohammad alhargan \n"
+"Language-Team: Arabic "
+"\n"
 "Language: ar\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
 "Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 "
 "&& n%100<=10 ? 3 : n%100>=11 ? 4 : 5;\n"
-"X-Generator: Virtaal 0.7.1\n"
+"X-Generator: Weblate 2.5\n"
 
 #. text displayed during action
 #: ../storage/LvmLv.cc:335 ../storage/Volume.cc:3440
@@ -308,9 +309,9 @@
 #. displayed text before action, %1$s is replaced by subvolume name e.g. tmp
 #. %2$s is replaced by device name e.g. /dev/sda1
 #: ../storage/Btrfs.cc:1004
-#, fuzzy, c-format
+#, c-format
 msgid "Create subvolume %1$s on device %2$s with option \"no copy on write\""
-msgstr "إنشاء حجم فرعي %1$s على الجهاز %2$s"
+msgstr "إنشاء حجم فرعي  %1$s على الجهاز %2$s مع خيار \"النسخ عند الكتابة\""
 
 #. displayed text before action, %1$s is replaced by raid partition e.g. 
pdc_dabaheedj_part1
 #. %2$s is replaced by size (e.g. 623.5 MB)
@@ -416,9 +417,10 @@
 #. displayed text during action, %1$s is replaced by subvolume name e.g. tmp
 #. %2$s is replaced by device name e.g. /dev/sda
 #: ../storage/Btrfs.cc:987
-#, fuzzy, c-format
+#, c-format
 msgid "Creating subvolume %1$s on device %2$s with option \"no copy on write\""
-msgstr "يتم الآن إنشاء حجم فرعي %1$s على الجهاز %2$s"
+msgstr ""
+"يتم الآن إنشاء حجم فرعي %1$sعلى الجهاز %2$s مع خيار \"النسخ عند الكتابة\""
 
 #. displayed during action
 #. %1$s is replaced by device name e.g. /dev/hda1
@@ -1369,7 +1371,7 @@
 
 #: ../storage/Storage.cc:5587
 msgid "Setting file attributes with chattr failed."
-msgstr ""
+msgstr "فشل تحديد سمات الملف باستخدام chattr"
 
 #. displayed during action
 #. %1$s is replaced by device name e.g. /dev/hda1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.26.2/po/ko.po 
new/libstorage-2.26.3/po/ko.po
--- old/libstorage-2.26.2/po/ko.po  2016-01-18 11:10:13.0 +0100
+++ new/libstorage-2.26.3/po/ko.po  2016-05-11 17:08:29.0 +0200
@@ -9,14 +9,16 @@
 "Project-Id-Version: libstorage.ko\n"
 "Report-Msgid-Bugs-To: \n"
 "POT-Creation-Date: 2015-10-09 15:59+0200\n"
-"PO-Revision-Date: 2010-04-06 18:38+0900\n"
-"Last-Translator: Yunseok Choi \n"
-"Language-Team: Korean \n"
+"PO-Revision-Date: 2016-04-25 

commit libstorage for openSUSE:Factory

2016-04-28 Thread h_root
Hello community,

here is the log from the commit of package libstorage for openSUSE:Factory 
checked in at 2016-04-28 20:29:29

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


Package is "libstorage"

Changes:

--- /work/SRC/openSUSE:Factory/libstorage/libstorage.changes2016-04-08 
09:39:06.0 +0200
+++ /work/SRC/openSUSE:Factory/.libstorage.new/libstorage.changes   
2016-04-28 20:29:31.0 +0200
@@ -1,0 +2,13 @@
+Fri Apr 15 12:24:25 CEST 2016 - aschn...@suse.com
+
+- call udevadm settle after call of parted (bsc#975162)
+- 2.26.2
+
+---
+Thu Apr  7 13:32:17 CEST 2016 - g...@suse.de
+
+- provide information about DASD format and type 
+  (related to bnc#958893)
+- 2.26.1
+
+---

Old:

  libstorage-2.25.37.tar.bz2

New:

  libstorage-2.26.2.tar.bz2



Other differences:
--
++ libstorage.spec ++
--- /var/tmp/diff_new_pack.M6BWV8/_old  2016-04-28 20:29:32.0 +0200
+++ /var/tmp/diff_new_pack.M6BWV8/_new  2016-04-28 20:29:32.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   libstorage
-Version:2.25.37
+Version:2.26.2
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: libstorage-%{version}.tar.bz2
@@ -116,7 +116,7 @@
 %clean
 rm -rf "$RPM_BUILD_ROOT"
 
-%package -n libstorage6
+%package -n libstorage7
 
 Requires:   coreutils
 Suggests:   cryptsetup
@@ -139,12 +139,12 @@
 %endif
 Obsoletes:  yast2-storage-lib
 # expands to Obsoletes: libstorage libstorage1 libstorage2 libstorage3...
-Obsoletes:  libstorage6 < %{version}
-Obsoletes:  libstorage %(echo `seq -s " " -f "libstorage%.f" $((6 - 1))`)
+Obsoletes:  libstorage7 < %{version}
+Obsoletes:  libstorage %(echo `seq -s " " -f "libstorage%.f" $((7 - 1))`)
 Summary:Library for storage management
 Group:  System/Libraries
 
-%description -n libstorage6
+%description -n libstorage7
 This package contains libstorage, a library for storage management.
 
 Authors:
@@ -152,7 +152,7 @@
 Thomas Fehr 
 Arvin Schnell 
 
-%files -n libstorage6 -f libstorage.lang
+%files -n libstorage7 -f libstorage.lang
 %defattr(-,root,root)
 %{_libdir}/libstorage.so.*
 %ghost /run/libstorage
@@ -161,20 +161,20 @@
 %doc %{prefix}/share/doc/packages/libstorage/AUTHORS
 %doc %{prefix}/share/doc/packages/libstorage/COPYING
 
-%post -n libstorage6
+%post -n libstorage7
 /sbin/ldconfig
 %if 0%{?suse_version}
 %{fillup_only -an storage}
 %endif
 
-%postun -n libstorage6
+%postun -n libstorage7
 /sbin/ldconfig
 
 %package -n libstorage-devel
 
 Requires:   gcc-c++
 Requires:   libstdc++-devel
-Requires:   libstorage6 = %version
+Requires:   libstorage7 = %version
 Requires:   libxml2-devel
 Summary:Header files and documentation for libstorage
 Group:  Development/Languages/C and C++
@@ -198,7 +198,7 @@
 
 %package -n libstorage-python
 
-Requires:   libstorage6 = %version
+Requires:   libstorage7 = %version
 %{py_requires}
 Summary:Python bindings for libstorage
 Group:  System/Libraries
@@ -217,7 +217,7 @@
 
 %package -n libstorage-ruby
 
-Requires:   libstorage6 = %version
+Requires:   libstorage7 = %version
 Summary:Ruby bindings for libstorage
 Group:  System/Libraries
 
@@ -247,7 +247,7 @@
 
 %package -n libstorage-testsuite
 
-Requires:   libstorage6 = %version
+Requires:   libstorage7 = %version
 Summary:Testsuite for libstorage
 Group:  Development/Tools/Other
 

++ libstorage-2.25.37.tar.bz2 -> libstorage-2.26.2.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.37/LIBVERSION 
new/libstorage-2.26.2/LIBVERSION
--- old/libstorage-2.25.37/LIBVERSION   2016-01-18 11:10:13.0 +0100
+++ new/libstorage-2.26.2/LIBVERSION2016-04-12 17:20:16.0 +0200
@@ -1 +1 @@
-6.1.1
+7.0.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.37/VERSION 
new/libstorage-2.26.2/VERSION
--- old/libstorage-2.25.37/VERSION  2016-04-06 11:45:10.0 +0200
+++ new/libstorage-2.26.2/VERSION   2016-04-15 12:35:08.0 +0200
@@ -1 +1 @@
-2.25.37
+2.26.2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.37/bindings/python/storage.py 
new/libstorage-2.26.2/bindings/python/storage.py
--- old/libstorage-2.25.37/bindings/python/storage.py   2016-04-06 
11:46:35.0 +0200
+++ 

commit libstorage for openSUSE:Factory

2016-04-08 Thread h_root
Hello community,

here is the log from the commit of package libstorage for openSUSE:Factory 
checked in at 2016-04-08 09:39:04

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


Package is "libstorage"

Changes:

--- /work/SRC/openSUSE:Factory/libstorage/libstorage.changes2016-03-14 
11:42:22.0 +0100
+++ /work/SRC/openSUSE:Factory/.libstorage.new/libstorage.changes   
2016-04-08 09:39:06.0 +0200
@@ -1,0 +2,6 @@
+Wed Apr 06 11:13:22 CEST 2016 - aschn...@suse.com
+
+- drop support for GPT with sync to MBR (fate#317849)
+- 2.25.37
+
+---

Old:

  libstorage-2.25.36.tar.bz2

New:

  libstorage-2.25.37.tar.bz2



Other differences:
--
++ libstorage.spec ++
--- /var/tmp/diff_new_pack.iRlS4i/_old  2016-04-08 09:39:07.0 +0200
+++ /var/tmp/diff_new_pack.iRlS4i/_new  2016-04-08 09:39:07.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   libstorage
-Version:2.25.36
+Version:2.25.37
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: libstorage-%{version}.tar.bz2

++ libstorage-2.25.36.tar.bz2 -> libstorage-2.25.37.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.36/VERSION 
new/libstorage-2.25.37/VERSION
--- old/libstorage-2.25.36/VERSION  2016-03-11 12:10:08.0 +0100
+++ new/libstorage-2.25.37/VERSION  2016-04-06 11:45:10.0 +0200
@@ -1 +1 @@
-2.25.36
+2.25.37
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.36/storage/Disk.cc 
new/libstorage-2.25.37/storage/Disk.cc
--- old/libstorage-2.25.36/storage/Disk.cc  2016-01-18 11:10:13.0 
+0100
+++ new/libstorage-2.25.37/storage/Disk.cc  2016-04-06 11:45:10.0 
+0200
@@ -1741,19 +1741,7 @@
SystemCmd cmd;
cmd.execute(WIPEFSBIN " --all " + quote(device()));
 
-   string lab(label);
-   if( lab=="gpt" )
-   {
-   const ArchInfo& archinfo = getStorage()->getArchInfo();
-   if (!archinfo.is_efiboot() &&
-   (archinfo.is_x86() || (archinfo.is_ppc() && 
!archinfo.is_ppc_p8(
-   {
-   y2mil( "archinfo:" << archinfo);
-   lab = LABEL_GPT_SYNC_MBR;
-   }
-   }
-
-   string cmd_line = PARTEDCMD + quote(device()) + " mklabel " + lab;
+   string cmd_line = PARTEDCMD + quote(device()) + " mklabel " + label;
if (execCheckFailed(cmd_line))
{
ret = DISK_SET_LABEL_PARTED_FAILED;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.36/storage/StorageDefines.h 
new/libstorage-2.25.37/storage/StorageDefines.h
--- old/libstorage-2.25.36/storage/StorageDefines.h 2016-01-18 
11:10:13.0 +0100
+++ new/libstorage-2.25.37/storage/StorageDefines.h 2016-04-06 
11:45:10.0 +0200
@@ -31,7 +31,6 @@
 
 #define PARTEDBIN   "/usr/sbin/parted"
 #define PARTEDCMD   PARTEDBIN "  -s  "  //  blank  at  end  !!
-#define LABEL_GPT_SYNC_MBR  "gpt_sync_mbr"
 #define ADDPARTBIN  "/usr/sbin/addpart"
 #define DELPARTBIN  "/usr/sbin/delpart"
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.36/storage/SystemInfo/CmdParted.cc 
new/libstorage-2.25.37/storage/SystemInfo/CmdParted.cc
--- old/libstorage-2.25.36/storage/SystemInfo/CmdParted.cc  2016-01-18 
11:10:13.0 +0100
+++ new/libstorage-2.25.37/storage/SystemInfo/CmdParted.cc  2016-04-06 
11:45:10.0 +0200
@@ -93,8 +93,6 @@
label = extractNthWord(2, *pos);
if (label == "unknown")
label.clear();
-   else if (label == LABEL_GPT_SYNC_MBR)
-   label = "gpt";
}
else
y2war("could not find partition table");
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.36/storage/gen_md5sum.cc 
new/libstorage-2.25.37/storage/gen_md5sum.cc
--- old/libstorage-2.25.36/storage/gen_md5sum.cc2016-03-11 
12:11:06.0 +0100
+++ new/libstorage-2.25.37/storage/gen_md5sum.cc2016-04-06 
11:46:24.0 +0200
@@ -1,5 +1,5 @@
-#define SOURCES_MD5SUM   "0b41c176542587d3048f99c1d77f31fc"
-#define SOURCES_MD5_DATE " Fri Mar 11 11:11:06 UTC 2016 "
+#define SOURCES_MD5SUM   "84e6c3cb132757c35618e755bc008d3a"
+#define SOURCES_MD5_DATE " Wed Apr 6 09:46:24 UTC 2016 "
 namespace storage
 {
 const char* GetSourceMd5() { 

commit libstorage for openSUSE:Factory

2016-03-14 Thread h_root
Hello community,

here is the log from the commit of package libstorage for openSUSE:Factory 
checked in at 2016-03-14 11:42:21

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


Package is "libstorage"

Changes:

--- /work/SRC/openSUSE:Factory/libstorage/libstorage.changes2016-01-23 
01:03:50.0 +0100
+++ /work/SRC/openSUSE:Factory/.libstorage.new/libstorage.changes   
2016-03-14 11:42:22.0 +0100
@@ -1,0 +2,6 @@
+Thu Mar 10 12:22:56 CET 2016 - dval...@suse.com
+
+- Add PowerNV support (boo#970582) 
+- 2.25.36
+
+---

Old:

  libstorage-2.25.35.tar.bz2

New:

  libstorage-2.25.36.tar.bz2



Other differences:
--
++ libstorage.spec ++
--- /var/tmp/diff_new_pack.bajhHE/_old  2016-03-14 11:42:23.0 +0100
+++ /var/tmp/diff_new_pack.bajhHE/_new  2016-03-14 11:42:23.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   libstorage
-Version:2.25.35
+Version:2.25.36
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: libstorage-%{version}.tar.bz2

++ libstorage-2.25.35.tar.bz2 -> libstorage-2.25.36.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.35/VERSION 
new/libstorage-2.25.36/VERSION
--- old/libstorage-2.25.35/VERSION  2016-01-18 11:10:13.0 +0100
+++ new/libstorage-2.25.36/VERSION  2016-03-11 12:10:08.0 +0100
@@ -1 +1 @@
-2.25.35
+2.25.36
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.35/po/de.po 
new/libstorage-2.25.36/po/de.po
--- old/libstorage-2.25.35/po/de.po 2016-01-18 11:10:13.0 +0100
+++ new/libstorage-2.25.36/po/de.po 2016-02-13 12:08:13.0 +0100
@@ -14,10 +14,10 @@
 "Project-Id-Version: YaST (@memory@)\n"
 "Report-Msgid-Bugs-To: \n"
 "POT-Creation-Date: 2015-10-09 15:59+0200\n"
-"PO-Revision-Date: 2015-10-23 15:31+0200\n"
-"Last-Translator: Dominique Leuenberger \n"
+"PO-Revision-Date: 2016-02-13 09:06+0200\n"
+"Last-Translator: Ettore Atalan \n"
 "Language-Team: German "
-"\n"
+"\n"
 "Language: de\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
@@ -605,7 +605,7 @@
 msgid "Executing dasdfmt for disk %1$s"
 msgid_plural "Executing dasdfmt for disks %1$s"
 msgstr[0] "dasdfmt wird für Festplatte %1$s ausgeführt"
-msgstr[1] "dasdfmt wird für Festplatten %1$s ausgeführt ..."
+msgstr[1] "dasdfmt wird für Festplatten %1$s ausgeführt"
 
 #. displayed before action
 #. %1$s is replaced by device name e.g. /dev/hda1
@@ -1024,7 +1024,7 @@
 #: ../storage/Loop.cc:335
 #, c-format
 msgid "Formatting file-based device %1$s of %2$s (%3$s) with %4$s "
-msgstr "Dateibasiertes Gerät %1$s von %2$s (%3$s) wird mit %4$s formatiert"
+msgstr "Dateibasiertes Gerät %1$s von %2$s (%3$s) wird mit %4$s formatiert "
 
 #. displayed text during action, %1$s is replaced by device name e.g. 
/dev/system/var
 #. %2$s is replaced by size (e.g. 623.5 MB)
@@ -1048,7 +1048,7 @@
 #: ../storage/Partition.cc:476
 #, c-format
 msgid "Formatting partition %1$s (%2$s) with %3$s "
-msgstr "Partition %1$s (%2$s) wird mit %3$s formatiert"
+msgstr "Partition %1$s (%2$s) wird mit %3$s formatiert "
 
 #. displayed text during action, %1$s is replaced by device name e.g. /dev/md0
 #. %2$s is replaced by size (e.g. 623.5 MB)
@@ -1056,7 +1056,7 @@
 #: ../storage/Md.cc:439
 #, c-format
 msgid "Formatting software RAID %1$s (%2$s) with %3$s "
-msgstr "Software-RAID %1$s (%2$s) wird mit %3$s formatiert"
+msgstr "Software-RAID %1$s (%2$s) wird mit %3$s formatiert "
 
 #. symbol for "giga" (best keep untranslated)
 #: ../storage/HumanString.cc:86
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.35/po/fr.po 
new/libstorage-2.25.36/po/fr.po
--- old/libstorage-2.25.35/po/fr.po 2016-01-18 11:10:13.0 +0100
+++ new/libstorage-2.25.36/po/fr.po 2016-02-25 17:05:11.0 +0100
@@ -12,15 +12,16 @@
 "Project-Id-Version: YaST (@memory@)\n"
 "Report-Msgid-Bugs-To: \n"
 "POT-Creation-Date: 2015-10-09 15:59+0200\n"
-"PO-Revision-Date: 2012-07-23 09:35+0200\n"
+"PO-Revision-Date: 2016-02-25 14:58+0200\n"
 "Last-Translator: Guillaume GARDET \n"
-"Language-Team: French \n"
+"Language-Team: French "
+"\n"
 "Language: fr\n"
 "MIME-Version: 1.0\n"
 

commit libstorage for openSUSE:Factory

2016-01-22 Thread h_root
Hello community,

here is the log from the commit of package libstorage for openSUSE:Factory 
checked in at 2016-01-23 01:03:49

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


Package is "libstorage"

Changes:

--- /work/SRC/openSUSE:Factory/libstorage/libstorage.changes2015-10-01 
09:28:05.0 +0200
+++ /work/SRC/openSUSE:Factory/.libstorage.new/libstorage.changes   
2016-01-23 01:03:50.0 +0100
@@ -1,0 +2,25 @@
+Wed Oct 28 11:02:26 CET 2015 - shundham...@suse.de
+
+- Added fixed lt.po again that had broken build
+- 2.25.35
+
+---
+Wed Oct 27 18:53:15 UTC 2015 - lsle...@suse.cz
+
+- repeat the btrfs file system detection when a race condition in
+  the "btrfs" command is detected (bsc#948247)
+
+---
+Tue Oct 27 11:11:29 CET 2015 - shundham...@suse.de
+
+- Added --zero=y --yes to 'lvcreate' call to prevent interactive
+  prompt (bsc#948539)
+- Temporarily removed lt.po that breaks build
+- 2.25.34
+
+---
+Thu Sep 24 17:23:08 CEST 2015 - aschn...@suse.com
+
+- detect corrupt backup GPT in parted output (see bsc#946673)
+
+---
@@ -46,0 +72,5 @@
+
+---
+Mon Jul 13 18:50:25 UTC 2015 - dmuel...@suse.com
+
+- skip checks on qemu user mode builds (bsc#937215)

Old:

  libstorage-2.25.33.tar.bz2

New:

  libstorage-2.25.35.tar.bz2



Other differences:
--
++ libstorage.spec ++
--- /var/tmp/diff_new_pack.gLjurz/_old  2016-01-23 01:03:51.0 +0100
+++ /var/tmp/diff_new_pack.gLjurz/_new  2016-01-23 01:03:51.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libstorage
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:   libstorage
-Version:2.25.33
+Version:2.25.35
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: libstorage-%{version}.tar.bz2
@@ -85,7 +85,9 @@
 %endif
 
 %check
+%if ! 0%{?qemu_user_space_build}
 LOCALEDIR=$RPM_BUILD_ROOT/usr/share/locale make check
+%endif
 
 %install
 make install DESTDIR="$RPM_BUILD_ROOT"

++ libstorage-2.25.33.tar.bz2 -> libstorage-2.25.35.tar.bz2 ++
 113495 lines of diff (skipped)




commit libstorage for openSUSE:Factory

2015-10-01 Thread h_root
Hello community,

here is the log from the commit of package libstorage for openSUSE:Factory 
checked in at 2015-10-01 09:28:05

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


Package is "libstorage"

Changes:

--- /work/SRC/openSUSE:Factory/libstorage/libstorage.changes2015-09-11 
09:00:49.0 +0200
+++ /work/SRC/openSUSE:Factory/.libstorage.new/libstorage.changes   
2015-10-01 09:28:05.0 +0200
@@ -1,0 +2,20 @@
+Wed Sep 23 16:13:20 CEST 2015 - aschn...@suse.com
+
+- changed some requires to suggests (bsc#907331 and bsc#915097)
+- 2.25.33
+
+---
+Fri Sep 18 15:33:45 CEST 2015 - aschn...@suse.com
+
+- fixed detection for parted reporting that GPT does not use
+  complete disk (bsc#946013)
+- 2.25.32
+
+---
+Wed Sep  9 11:07:32 CEST 2015 - shundham...@suse.de
+
+- Make sure no volumes are left behind when writing a new disk
+  label for multipath (bsc#888513)
+- 2.25.31 
+
+---

Old:

  libstorage-2.25.30.tar.bz2

New:

  libstorage-2.25.33.tar.bz2



Other differences:
--
++ libstorage.spec ++
--- /var/tmp/diff_new_pack.orHSGr/_old  2015-10-01 09:28:06.0 +0200
+++ /var/tmp/diff_new_pack.orHSGr/_new  2015-10-01 09:28:06.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   libstorage
-Version:2.25.30
+Version:2.25.33
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: libstorage-%{version}.tar.bz2
@@ -117,14 +117,14 @@
 %package -n libstorage6
 
 Requires:   coreutils
-Requires:   cryptsetup
+Suggests:   cryptsetup
 Requires:   device-mapper
-Requires:   dmraid
+Suggests:   dmraid
 Requires:   grep
 Requires:   lsscsi >= 0.26
-Requires:   lvm2
-Requires:   mdadm >= 3.3
-Requires:   multipath-tools
+Suggests:   lvm2
+Suggests:   mdadm >= 3.3
+Suggests:   multipath-tools
 Requires:   parted >= 3.1
 Requires:   udev
 Requires:   util-linux >= 2.16

++ libstorage-2.25.30.tar.bz2 -> libstorage-2.25.33.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.30/VERSION 
new/libstorage-2.25.33/VERSION
--- old/libstorage-2.25.30/VERSION  2015-09-01 15:02:58.0 +0200
+++ new/libstorage-2.25.33/VERSION  2015-09-23 16:28:37.0 +0200
@@ -1 +1 @@
-2.25.30
+2.25.33
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.30/libstorage.spec.in 
new/libstorage-2.25.33/libstorage.spec.in
--- old/libstorage-2.25.30/libstorage.spec.in   2015-08-24 16:52:23.0 
+0200
+++ new/libstorage-2.25.33/libstorage.spec.in   2015-09-23 16:28:37.0 
+0200
@@ -117,14 +117,14 @@
 %package -n libstorage@LIBVERSION_MAJOR@
 
 Requires:  coreutils
-Requires:  cryptsetup
+Suggests:  cryptsetup
 Requires:  device-mapper
-Requires:  dmraid
+Suggests:  dmraid
 Requires:  grep
 Requires:  lsscsi >= 0.26
-Requires:  lvm2
-Requires:  mdadm >= 3.3
-Requires:  multipath-tools
+Suggests:  lvm2
+Suggests:  mdadm >= 3.3
+Suggests:  multipath-tools
 Requires:  parted >= 3.1
 Requires:  udev
 Requires:  util-linux >= 2.16
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.30/storage/DmPartCo.cc 
new/libstorage-2.25.33/storage/DmPartCo.cc
--- old/libstorage-2.25.30/storage/DmPartCo.cc  2015-04-28 15:17:15.0 
+0200
+++ new/libstorage-2.25.33/storage/DmPartCo.cc  2015-09-09 11:36:47.0 
+0200
@@ -457,39 +457,44 @@
 
 int DmPartCo::destroyPartitionTable( const string& new_label )
 {
-   y2mil("begin");
-   int ret = disk->destroyPartitionTable( new_label );
-   if( ret==0 )
+   int ret = 0;
+
+   // Collect dev names for all disk volumes
+
+   vector dev_names;
+   ConstVolPair vol_pair( disk->volPair( Volume::notDeleted ) );
+
+   for ( ConstVolIterator it = vol_pair.begin(); it != vol_pair.end(); 
++it )
{
-   VIter j = vols.begin();
-   while( j!=vols.end() )
-   {
-   if( (*j)->created() )
-   {
-   delete( *j );
-   j = vols.erase( j );
-   }
-   else
-   ++j;
-   }
-   bool save = getStorage()->getRecursiveRemoval();
-   getStorage()->setRecursiveRemoval(true);
-   if (isUsedBy())
-   {
-

commit libstorage for openSUSE:Factory

2015-09-11 Thread h_root
Hello community,

here is the log from the commit of package libstorage for openSUSE:Factory 
checked in at 2015-09-11 09:00:48

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


Package is "libstorage"

Changes:

--- /work/SRC/openSUSE:Factory/libstorage/libstorage.changes2015-08-27 
08:54:20.0 +0200
+++ /work/SRC/openSUSE:Factory/.libstorage.new/libstorage.changes   
2015-09-11 09:00:49.0 +0200
@@ -1,0 +2,6 @@
+Tue Sep 01 14:47:40 CEST 2015 - aschn...@suse.com
+
+- allow to override EFI detection with env var EFI (bsc#937067)
+- 2.25.30
+
+---

Old:

  libstorage-2.25.29.tar.bz2

New:

  libstorage-2.25.30.tar.bz2



Other differences:
--
++ libstorage.spec ++
--- /var/tmp/diff_new_pack.5fVTgy/_old  2015-09-11 09:00:50.0 +0200
+++ /var/tmp/diff_new_pack.5fVTgy/_new  2015-09-11 09:00:50.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   libstorage
-Version:2.25.29
+Version:2.25.30
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: libstorage-%{version}.tar.bz2

++ libstorage-2.25.29.tar.bz2 -> libstorage-2.25.30.tar.bz2 ++
 27320 lines of diff (skipped)




commit libstorage for openSUSE:Factory

2015-08-27 Thread h_root
Hello community,

here is the log from the commit of package libstorage for openSUSE:Factory 
checked in at 2015-08-27 08:54:19

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


Package is libstorage

Changes:

--- /work/SRC/openSUSE:Factory/libstorage/libstorage.changes2015-07-25 
07:43:07.0 +0200
+++ /work/SRC/openSUSE:Factory/.libstorage.new/libstorage.changes   
2015-08-27 08:54:20.0 +0200
@@ -1,0 +2,21 @@
+Tue Aug 25 13:50:31 CEST 2015 - shundham...@suse.de
+
+- Properly initialize _doThrow flag in SystemCmd default constructor
+- Catch exception if boot.quota command not found (bsc#942324)
+- 2.25.29 
+
+---
+Thu Aug 20 14:40:35 CEST 2015 - shundham...@suse.de
+
+- Handle 'command not found' for /sbin/btrfs gracefully (bsc#936710)
+- New exception class CommandNotFoundException for the general case
+- 2.25.28 
+
+---
+Wed Jul 22 17:15:17 CEST 2015 - shundham...@suse.de
+
+- Don't throw exception for all kinds of parted stderr output
+  (bnc#938561, bnc#938572)
+- 2.25.27
+
+---

Old:

  libstorage-2.25.26.tar.bz2

New:

  libstorage-2.25.29.tar.bz2



Other differences:
--
++ libstorage.spec ++
--- /var/tmp/diff_new_pack.cM0PsL/_old  2015-08-27 08:54:21.0 +0200
+++ /var/tmp/diff_new_pack.cM0PsL/_new  2015-08-27 08:54:21.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   libstorage
-Version:2.25.26
+Version:2.25.29
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: libstorage-%{version}.tar.bz2

++ libstorage-2.25.26.tar.bz2 - libstorage-2.25.29.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.26/VERSION 
new/libstorage-2.25.29/VERSION
--- old/libstorage-2.25.26/VERSION  2015-07-17 12:47:43.0 +0200
+++ new/libstorage-2.25.29/VERSION  2015-08-25 13:50:16.0 +0200
@@ -1 +1 @@
-2.25.26
+2.25.29
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.26/bindings/python/storage.py 
new/libstorage-2.25.29/bindings/python/storage.py
--- old/libstorage-2.25.26/bindings/python/storage.py   2015-07-10 
12:48:13.0 +0200
+++ new/libstorage-2.25.29/bindings/python/storage.py   2015-08-25 
13:29:49.0 +0200
@@ -1,5 +1,5 @@
 # This file was automatically generated by SWIG (http://www.swig.org).
-# Version 3.0.5
+# Version 3.0.7
 #
 # Do not make changes to this file unless you know what you are doing--modify
 # the SWIG interface file instead.
@@ -2627,6 +2627,9 @@
 _storage.CHATTR_FAILED_swigconstant(_storage)
 CHATTR_FAILED = _storage.CHATTR_FAILED
 
+_storage.QUOTA_RESTART_FAILED_swigconstant(_storage)
+QUOTA_RESTART_FAILED = _storage.QUOTA_RESTART_FAILED
+
 _storage.CONTAINER_INTERNAL_ERROR_swigconstant(_storage)
 CONTAINER_INTERNAL_ERROR = _storage.CONTAINER_INTERNAL_ERROR
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.26/libstorage.spec.in 
new/libstorage-2.25.29/libstorage.spec.in
--- old/libstorage-2.25.26/libstorage.spec.in   2015-07-10 11:02:43.0 
+0200
+++ new/libstorage-2.25.29/libstorage.spec.in   2015-07-23 15:36:11.0 
+0200
@@ -26,8 +26,16 @@
 
 Prefix: /usr
 
-BuildRequires:  boost-devel dejagnu doxygen gcc-c++ libtool libxml2-devel 
python-devel swig
-BuildRequires: ruby ruby-devel
+BuildRequires: boost-devel
+BuildRequires: dejagnu
+BuildRequires: doxygen
+BuildRequires: gcc-c++
+BuildRequires: libtool
+BuildRequires: libxml2-devel
+BuildRequires: python-devel
+BuildRequires: swig
+BuildRequires: ruby
+BuildRequires: ruby-devel
 
 Summary:Library for storage management
 Url:http://en.opensuse.org/Portal:Libstorage
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.26/storage/BtrfsCo.cc 
new/libstorage-2.25.29/storage/BtrfsCo.cc
--- old/libstorage-2.25.26/storage/BtrfsCo.cc   2015-07-10 11:02:43.0 
+0200
+++ new/libstorage-2.25.29/storage/BtrfsCo.cc   2015-08-20 15:13:29.0 
+0200
@@ -31,6 +31,7 @@
 #include storage/Utils/AppUtil.h
 #include storage/Storage.h
 #include storage/StorageDefines.h
+#include storage/Utils/SystemCmd.h
 
 
 namespace storage
@@ -49,7 +50,16 @@
: Container(s, btrfs, /dev/btrfs, staticType(), systeminfo)
 {
y2deb(constructing BtrfsCo);
-   getBtrfsData(systeminfo);
+
+   try
+   {
+   

commit libstorage for openSUSE:Factory

2015-07-24 Thread h_root
Hello community,

here is the log from the commit of package libstorage for openSUSE:Factory 
checked in at 2015-07-25 07:43:06

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


Package is libstorage

Changes:

--- /work/SRC/openSUSE:Factory/libstorage/libstorage.changes2015-07-05 
17:51:50.0 +0200
+++ /work/SRC/openSUSE:Factory/.libstorage.new/libstorage.changes   
2015-07-25 07:43:07.0 +0200
@@ -1,0 +2,7 @@
+Fri Jul 10 10:07:26 UTC 2015 - an...@suse.com
+
+- remove partition from efi before destroying it on GPT disks
+  (bnc#929677, bnc#870211)
+- 2.25.26
+
+---

Old:

  libstorage-2.25.25.tar.bz2

New:

  libstorage-2.25.26.tar.bz2



Other differences:
--
++ libstorage.spec ++
--- /var/tmp/diff_new_pack.Ju4u6T/_old  2015-07-25 07:43:08.0 +0200
+++ /var/tmp/diff_new_pack.Ju4u6T/_new  2015-07-25 07:43:08.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   libstorage
-Version:2.25.25
+Version:2.25.26
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: libstorage-%{version}.tar.bz2

++ libstorage-2.25.25.tar.bz2 - libstorage-2.25.26.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.25/VERSION 
new/libstorage-2.25.26/VERSION
--- old/libstorage-2.25.25/VERSION  2015-06-29 16:45:53.0 +0200
+++ new/libstorage-2.25.26/VERSION  2015-07-17 12:47:43.0 +0200
@@ -1 +1 @@
-2.25.25
+2.25.26
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.25/storage/Disk.cc 
new/libstorage-2.25.26/storage/Disk.cc
--- old/libstorage-2.25.25/storage/Disk.cc  2015-06-25 15:18:04.0 
+0200
+++ new/libstorage-2.25.26/storage/Disk.cc  2015-07-17 12:47:43.0 
+0200
@@ -2231,6 +2231,17 @@
getStorage()-removeDmMapsTo( getPartDevice(p-OrigNr()) );
ret = v-prepareRemove();
}
+   // before deleting partitions ensure that efi do not contain it
+   const ArchInfo ai = getStorage()-getArchInfo();
+   if( ai.is_efiboot()  label == gpt  ret==0  !p-created() )
+   {
+   std::ostringstream cmd_line;
+   cmd_line  EFIBOOTMGRBIN   -v --delete --disk   
quote(device())
+ --part   p-OrigNr();
+   SystemCmd c(cmd_line.str());
+   if ( c.retcode() != 0 )
+   y2war( Failed to remove entry from efi for   device() );
+   }
if( ret==0  !p-created() )
{
std::ostringstream cmd_line;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.25/storage/StorageDefines.h 
new/libstorage-2.25.26/storage/StorageDefines.h
--- old/libstorage-2.25.25/storage/StorageDefines.h 2015-06-24 
16:54:56.0 +0200
+++ new/libstorage-2.25.26/storage/StorageDefines.h 2015-07-17 
12:47:43.0 +0200
@@ -90,6 +90,8 @@
 #define RPCBINDBIN  /sbin/rpcbind
 #define RPCSTATDBIN /usr/sbin/rpc.statd
 
+#define EFIBOOTMGRBIN   /usr/sbin/efibootmgr
+
 #define NTFSRESIZEBIN   /usr/sbin/ntfsresize
 #define XFSGROWFSBIN/usr/sbin/xfs_growfs
 #define REISERRESBIN/sbin/resize_reiserfs
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.25/storage/gen_md5sum.cc 
new/libstorage-2.25.26/storage/gen_md5sum.cc
--- old/libstorage-2.25.25/storage/gen_md5sum.cc2015-06-29 
16:30:36.0 +0200
+++ new/libstorage-2.25.26/storage/gen_md5sum.cc2015-07-17 
13:09:50.0 +0200
@@ -1,5 +1,5 @@
-#define SOURCES_MD5SUM   c74b7dbd52496a204e931c9fcd2e1a3b
-#define SOURCES_MD5_DATE  Mon Jun 29 16:30:36 CEST 2015 
+#define SOURCES_MD5SUM   264fff2ab6cfc86b11d75d19728c8d8d
+#define SOURCES_MD5_DATE  Fri Jul 17 13:09:50 CEST 2015 
 namespace storage
 {
 const char* GetSourceMd5() { return SOURCES_MD5SUM; }




commit libstorage for openSUSE:Factory

2015-07-05 Thread h_root
Hello community,

here is the log from the commit of package libstorage for openSUSE:Factory 
checked in at 2015-07-05 17:51:49

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


Package is libstorage

Changes:

--- /work/SRC/openSUSE:Factory/libstorage/libstorage.changes2015-06-03 
08:32:03.0 +0200
+++ /work/SRC/openSUSE:Factory/.libstorage.new/libstorage.changes   
2015-07-05 17:51:50.0 +0200
@@ -1,0 +2,26 @@
+Mon Jun 29 14:31:40 UTC 2015 - jreidin...@suse.com
+
+- Read subvolumes information even in readonly mode (bnc#935769)
+- 2.25.25
+
+---
+Mon Jun 22 16:10:57 CEST 2015 - shundham...@suse.de
+
+- Catch I/O errors while probing disks with parted (bsc#934640)
+- 2.25.24
+
+---
+Fri Jun 12 11:35:51 CEST 2015 - aschn...@suse.de
+
+- added flag nocow to Subvolume class (API change) (fate#316718)
+- generate python and ruby bindings from common swig interface
+  file, renaming python module
+- 2.25.23
+
+---
+Mon Jun  8 11:55:33 CEST 2015 - sch...@suse.de
+
+- Taking shutdown option for multipathd stopping (bnc#928572)
+- 2.25.22
+
+---

Old:

  libstorage-2.25.21.tar.bz2

New:

  libstorage-2.25.25.tar.bz2



Other differences:
--
++ libstorage.spec ++
--- /var/tmp/diff_new_pack.7vfpd9/_old  2015-07-05 17:51:50.0 +0200
+++ /var/tmp/diff_new_pack.7vfpd9/_new  2015-07-05 17:51:50.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   libstorage
-Version:2.25.21
+Version:2.25.25
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: libstorage-%{version}.tar.bz2
@@ -95,8 +95,8 @@
 
 %{find_lang} libstorage
 
-rm -f $RPM_BUILD_ROOT/%{python_sitearch}/_libstorage.a  
-rm -f $RPM_BUILD_ROOT/%{python_sitearch}/_libstorage.la
+rm -f $RPM_BUILD_ROOT/%{python_sitearch}/_storage.a
+rm -f $RPM_BUILD_ROOT/%{python_sitearch}/_storage.la
 %if 0%{?suse_version} 
 %if %{?rb_vendorarchdir} != 
 rm -f $RPM_BUILD_ROOT/%{rb_vendorarchdir}/storage.la
@@ -210,8 +210,8 @@
 
 %files -n libstorage-python
 %defattr(-,root,root)
-%{python_sitelib}/libstorage.py*
-%attr(755,root,root) %{python_sitearch}/_libstorage.so
+%{python_sitelib}/storage.py*
+%attr(755,root,root) %{python_sitearch}/_storage.so
 
 %package -n libstorage-ruby
 

++ libstorage-2.25.21.tar.bz2 - libstorage-2.25.25.tar.bz2 ++
 39767 lines of diff (skipped)




commit libstorage for openSUSE:Factory

2015-06-03 Thread h_root
Hello community,

here is the log from the commit of package libstorage for openSUSE:Factory 
checked in at 2015-06-03 08:32:02

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


Package is libstorage

Changes:

--- /work/SRC/openSUSE:Factory/libstorage/libstorage.changes2015-02-20 
12:42:58.0 +0100
+++ /work/SRC/openSUSE:Factory/.libstorage.new/libstorage.changes   
2015-06-03 08:32:03.0 +0200
@@ -1,0 +2,18 @@
+Tue Jun 02 12:25:13 CEST 2015 - aschn...@suse.de
+
+- enable mounting subvolumes of btrfs root filesystem during
+  installation after grub2 is fixed (for fate#318392)
+
+---
+Fri May 29 11:54:47 CEST 2015 - aschn...@suse.de
+
+- fixed access to uninitialized memory (see bsc#932306)
+- 2.25.21
+
+---
+Mon May 18 15:01:44 UTC 2015 - mvid...@suse.com
+
+- Added stub error strings. Now you should see
+  DISK_PARTITION_NOT_FOUND instead of -1008.
+
+---

Old:

  libstorage-2.25.20.tar.bz2

New:

  libstorage-2.25.21.tar.bz2



Other differences:
--
++ libstorage.spec ++
--- /var/tmp/diff_new_pack.fHUgBd/_old  2015-06-03 08:32:03.0 +0200
+++ /var/tmp/diff_new_pack.fHUgBd/_new  2015-06-03 08:32:03.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libstorage
 #
-# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:   libstorage
-Version:2.25.20
+Version:2.25.21
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: libstorage-%{version}.tar.bz2

++ libstorage-2.25.20.tar.bz2 - libstorage-2.25.21.tar.bz2 ++
 56560 lines of diff (skipped)




commit libstorage for openSUSE:Factory

2015-02-20 Thread h_root
Hello community,

here is the log from the commit of package libstorage for openSUSE:Factory 
checked in at 2015-02-20 12:42:56

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


Package is libstorage

Changes:

--- /work/SRC/openSUSE:Factory/libstorage/libstorage.changes2015-02-16 
17:35:49.0 +0100
+++ /work/SRC/openSUSE:Factory/.libstorage.new/libstorage.changes   
2015-02-20 12:42:58.0 +0100
@@ -1,0 +2,6 @@
+Tue Feb 17 14:55:58 CET 2015 - aschn...@suse.de
+
+- mount subvolumes of btrfs root filesystem during installation
+  (for fate#318392)
+
+---



Other differences:
--
++ libstorage-2.25.20.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.20/storage/Btrfs.cc 
new/libstorage-2.25.20/storage/Btrfs.cc
--- old/libstorage-2.25.20/storage/Btrfs.cc 2014-12-09 14:39:38.0 
+0100
+++ new/libstorage-2.25.20/storage/Btrfs.cc 2015-02-17 17:06:24.0 
+0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) [2004-2014] Novell, Inc.
+ * Copyright (c) [2004-2015] Novell, Inc.
  *
  * All Rights Reserved.
  *
@@ -848,20 +848,81 @@
 }
 
 
+int
+Btrfs::extraMount()
+{
+   y2mil(extraMount);
+
+   if (getMount() == /)
+   {
+   string def_subvol = getStorage()-getDefaultSubvolName();
+
+   liststring ign_opt(ignore_opt, ignore_opt + lengthof(ignore_opt));
+   liststring ign_beg(ignore_beg, ignore_beg + lengthof(ignore_beg));
+
+   if (getStorage()-instsys())
+   ign_opt.push_back(ro);
+
+   ign_beg.push_back(subvol=);
+
+   liststring opts = splitString(fstab_opt, ,);
+
+   y2mil(opts before:  opts);
+   for (const string tmp : ign_opt)
+   opts.remove(tmp);
+   for (const string tmp : ign_beg)
+   opts.remove_if(string_starts_with(tmp));
+   y2mil(opts after:  opts);
+
+   for (const Subvolume subvolume : subvolumes)
+   {
+   // TODO workaround
+   if (boost::contains(subvolume.path(), grub2))
+   continue;
+
+   string real_mount_point = subvolume.path();
+   if (def_subvol.empty())
+   real_mount_point = / + real_mount_point;
+   else
+   real_mount_point.erase(0, def_subvol.size());
+   real_mount_point = getStorage()-prependRoot(real_mount_point);
+
+   if (access(real_mount_point.c_str(), R_OK ) != 0)
+   createPath(real_mount_point);
+
+   liststring tmp_opts = opts;
+   tmp_opts.push_back(subvol= + subvolume.path());
+
+   string cmdline = MOUNTBIN  -t btrfs -o  + 
boost::join(tmp_opts, ,) +   +
+   quote(mountDevice()) +   + quote(real_mount_point);
+
+   SystemCmd cmd(cmdline);
+   if (cmd.retcode() != 0)
+   {
+   setExtError(cmd);
+   return VOLUME_MOUNT_FAILED;
+   }
+   }
+   }
+
+   return 0;
+}
+
+
 Text
 Btrfs::extendText(bool doing, const string dev) const
 {
 Text txt;
 if( doing )
 {
-// displayed text during action, 
+// displayed text during action,
// %1$s and %2$s are replaced by a device names (e.g. /dev/hda1)
 txt = sformat( _(Extending Btrfs volume %1$s by %2$s), 
name().c_str(),
   dev.c_str() );
 }
 else
 {
-// displayed text before action, 
+// displayed text before action,
// %1$s and %2$s are replaced by a device names (e.g. /dev/hda1)
 txt = sformat( _(Extend Btrfs volume %1$s by %2$s), name().c_str(),
   dev.c_str() );
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.20/storage/Btrfs.h 
new/libstorage-2.25.20/storage/Btrfs.h
--- old/libstorage-2.25.20/storage/Btrfs.h  2014-07-21 15:21:12.0 
+0200
+++ new/libstorage-2.25.20/storage/Btrfs.h  2015-02-17 17:06:24.0 
+0100
@@ -107,6 +107,8 @@
virtual int extraFstabUpdate(EtcFstab* fstab, const FstabKey key, 
const FstabChange change) override;
virtual int extraFstabRemove(EtcFstab* fstab, const FstabKey key) 
override;
 
+   virtual int extraMount() override;
+
 private:
 
Btrfs operator=(const Btrfs v); // disallow
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.20/storage/Volume.cc 

commit libstorage for openSUSE:Factory

2015-02-16 Thread h_root
Hello community,

here is the log from the commit of package libstorage for openSUSE:Factory 
checked in at 2015-02-16 15:24:31

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


Package is libstorage

Changes:

--- /work/SRC/openSUSE:Factory/libstorage/libstorage.changes2014-10-15 
21:58:58.0 +0200
+++ /work/SRC/openSUSE:Factory/.libstorage.new/libstorage.changes   
2015-02-16 17:35:49.0 +0100
@@ -1,0 +2,18 @@
+Thu Feb 12 17:19:12 CET 2015 - aschn...@suse.de
+
+- added commit callbacks (for fate#318392)
+- 2.25.20
+
+---
+Mon Feb 09 18:59:38 CET 2015 - dval...@suse.com
+
+- Don't create gpt_sync_mbr on Power8, machine is capable to boot
+  from GPT (bsc#916935)
+- 2.25.19
+
+---
+Tue Dec 09 13:51:44 CET 2014 - aschn...@suse.de
+
+- restructured source files
+
+---
@@ -20 +38 @@
-- 2.25.28
+- 2.25.18
@@ -26 +44 @@
-- 2.25.27
+- 2.25.17

Old:

  libstorage-2.25.18.tar.bz2

New:

  libstorage-2.25.20.tar.bz2



Other differences:
--
++ libstorage.spec ++
--- /var/tmp/diff_new_pack.86Mm1N/_old  2015-02-16 17:35:50.0 +0100
+++ /var/tmp/diff_new_pack.86Mm1N/_new  2015-02-16 17:35:50.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libstorage
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:   libstorage
-Version:2.25.18
+Version:2.25.20
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: libstorage-%{version}.tar.bz2
@@ -114,7 +114,7 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%package -n libstorage5
+%package -n libstorage6
 
 Requires:   coreutils
 Requires:   cryptsetup
@@ -137,12 +137,12 @@
 %endif
 Obsoletes:  yast2-storage-lib
 # expands to Obsoletes: libstorage libstorage1 libstorage2 libstorage3...
-Obsoletes:  libstorage5  %{version}
-Obsoletes:  libstorage %(echo `seq -s   -f libstorage%.f $((5 - 1))`)
+Obsoletes:  libstorage6  %{version}
+Obsoletes:  libstorage %(echo `seq -s   -f libstorage%.f $((6 - 1))`)
 Summary:Library for storage management
 Group:  System/Libraries
 
-%description -n libstorage5
+%description -n libstorage6
 This package contains libstorage, a library for storage management.
 
 Authors:
@@ -150,7 +150,7 @@
 Thomas Fehr f...@suse.de
 Arvin Schnell aschn...@suse.de
 
-%files -n libstorage5 -f libstorage.lang
+%files -n libstorage6 -f libstorage.lang
 %defattr(-,root,root)
 %{_libdir}/libstorage.so.*
 %ghost /run/libstorage
@@ -159,20 +159,20 @@
 %doc %{prefix}/share/doc/packages/libstorage/AUTHORS
 %doc %{prefix}/share/doc/packages/libstorage/COPYING
 
-%post -n libstorage5
+%post -n libstorage6
 /sbin/ldconfig
 %if 0%{?suse_version}
 %{fillup_only -an storage}
 %endif
 
-%postun -n libstorage5
+%postun -n libstorage6
 /sbin/ldconfig
 
 %package -n libstorage-devel
 
 Requires:   gcc-c++
 Requires:   libstdc++-devel
-Requires:   libstorage5 = %version
+Requires:   libstorage6 = %version
 Requires:   libxml2-devel
 Summary:Header files and documentation for libstorage
 Group:  Development/Languages/C and C++
@@ -196,7 +196,7 @@
 
 %package -n libstorage-python
 
-Requires:   libstorage5 = %version
+Requires:   libstorage6 = %version
 %{py_requires}
 Summary:Python bindings for libstorage
 Group:  System/Libraries
@@ -215,7 +215,7 @@
 
 %package -n libstorage-ruby
 
-Requires:   libstorage5 = %version
+Requires:   libstorage6 = %version
 Summary:Ruby bindings for libstorage
 Group:  System/Libraries
 
@@ -245,7 +245,7 @@
 
 %package -n libstorage-testsuite
 
-Requires:   libstorage5 = %version
+Requires:   libstorage6 = %version
 Summary:Testsuite for libstorage
 Group:  Development/Tools/Other
 

++ libstorage-2.25.18.tar.bz2 - libstorage-2.25.20.tar.bz2 ++
 16220 lines of diff (skipped)

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



commit libstorage for openSUSE:Factory

2014-10-15 Thread h_root
Hello community,

here is the log from the commit of package libstorage for openSUSE:Factory 
checked in at 2014-10-15 21:58:53

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


Package is libstorage

Changes:

--- /work/SRC/openSUSE:Factory/libstorage/libstorage.changes2014-10-08 
22:13:33.0 +0200
+++ /work/SRC/openSUSE:Factory/.libstorage.new/libstorage.changes   
2014-10-15 21:58:58.0 +0200
@@ -1,0 +2,5 @@
+Tue Oct 14 09:48:36 CEST 2014 - aschn...@suse.de
+
+- obsolete ancient version of libstorage (bsc#900875)
+
+---



Other differences:
--
++ libstorage.spec ++
--- /var/tmp/diff_new_pack.9gM9B2/_old  2014-10-15 21:58:58.0 +0200
+++ /var/tmp/diff_new_pack.9gM9B2/_new  2014-10-15 21:58:58.0 +0200
@@ -136,9 +136,9 @@
 PreReq: %fillup_prereq
 %endif
 Obsoletes:  yast2-storage-lib
-# expands to Obsoletes: libstorage1 libstorage2 libstorage3...
+# expands to Obsoletes: libstorage libstorage1 libstorage2 libstorage3...
 Obsoletes:  libstorage5  %{version}
-Obsoletes:  %(echo `seq -s   -f libstorage%.f $((5 - 1))`)
+Obsoletes:  libstorage %(echo `seq -s   -f libstorage%.f $((5 - 1))`)
 Summary:Library for storage management
 Group:  System/Libraries
 

++ libstorage-2.25.18.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.18/libstorage.spec.in 
new/libstorage-2.25.18/libstorage.spec.in
--- old/libstorage-2.25.18/libstorage.spec.in   2014-04-22 14:12:23.0 
+0200
+++ new/libstorage-2.25.18/libstorage.spec.in   2014-10-14 10:29:20.0 
+0200
@@ -128,8 +128,8 @@
 PreReq: %fillup_prereq
 %endif
 Obsoletes:  yast2-storage-lib
-# expands to Obsoletes: libstorage1 libstorage2 libstorage3...
-Obsoletes:  %(echo `seq -s   -f libstorage%.f $((@LIBVERSION_MAJOR@ - 
1))`)
+# expands to Obsoletes: libstorage libstorage1 libstorage2 libstorage3...
+Obsoletes:  libstorage %(echo `seq -s   -f libstorage%.f 
$((@LIBVERSION_MAJOR@ - 1))`)
 Obsoletes:  libstorage@LIBVERSION_MAJOR@  %{version}
 Summary:Library for storage management
 Group:  System/Libraries

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



commit libstorage for openSUSE:Factory

2014-10-08 Thread h_root
Hello community,

here is the log from the commit of package libstorage for openSUSE:Factory 
checked in at 2014-10-08 22:13:29

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


Package is libstorage

Changes:

--- /work/SRC/openSUSE:Factory/libstorage/libstorage.changes2014-10-05 
20:31:23.0 +0200
+++ /work/SRC/openSUSE:Factory/.libstorage.new/libstorage.changes   
2014-10-08 22:13:33.0 +0200
@@ -1,0 +2,10 @@
+Tue Oct 07 16:53:46 CEST 2014 - aschn...@suse.de
+
+- use xfs_repair instead of extinct xfs_check (bsc#899930)
+
+---
+Mon Oct 06 12:51:26 CEST 2014 - aschn...@suse.de
+
+- extended testsuite
+
+---



Other differences:
--
++ libstorage-2.25.18.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.18/storage/Container.cc 
new/libstorage-2.25.18/storage/Container.cc
--- old/libstorage-2.25.18/storage/Container.cc 2014-09-19 11:31:22.0 
+0200
+++ new/libstorage-2.25.18/storage/Container.cc 2014-10-06 16:30:28.0 
+0200
@@ -398,8 +398,6 @@
   s   readonly;
 if (!c.uby.empty())
s   usedby:  c.uby;
-if (!c.alt_names.empty())
-   s   alt_names:  c.alt_names;
 return s;
 }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.18/storage/Device.cc 
new/libstorage-2.25.18/storage/Device.cc
--- old/libstorage-2.25.18/storage/Device.cc2014-03-26 18:08:49.0 
+0100
+++ new/libstorage-2.25.18/storage/Device.cc2014-10-06 16:30:28.0 
+0200
@@ -234,6 +234,8 @@
s   deleted;
if (d.silent)
s   silent;
+   if (!d.alt_names.empty())
+   s   alt_names:  d.alt_names;
if (!d.userdata.empty())
s   userdata:  d.userdata;
return s;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.18/storage/StorageDefines.h 
new/libstorage-2.25.18/storage/StorageDefines.h
--- old/libstorage-2.25.18/storage/StorageDefines.h 2014-04-15 
12:13:27.0 +0200
+++ new/libstorage-2.25.18/storage/StorageDefines.h 2014-10-08 
09:30:57.0 +0200
@@ -104,7 +104,7 @@
 #define FSCKEXT3BIN/sbin/fsck.ext3
 #define FSCKEXT4BIN/sbin/fsck.ext4
 #define FSCKJFSBIN /sbin/fsck.jfs
-#define FSCKXFSBIN /usr/sbin/xfs_check
+#define XFSREPAIRBIN   /usr/sbin/xfs_repair
 #define FSCKREISERBIN  /sbin/reiserfsck
 
 #define MKSWAPBIN  /sbin/mkswap
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.18/storage/SystemInfo/CmdBlkid.h 
new/libstorage-2.25.18/storage/SystemInfo/CmdBlkid.h
--- old/libstorage-2.25.18/storage/SystemInfo/CmdBlkid.h2014-03-21 
17:06:30.0 +0100
+++ new/libstorage-2.25.18/storage/SystemInfo/CmdBlkid.h2014-10-08 
09:30:57.0 +0200
@@ -20,8 +20,8 @@
  */
 
 
-#ifndef BLKID_H
-#define BLKID_H
+#ifndef CMD_BLKID_H
+#define CMD_BLKID_H
 
 #include string
 #include map
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.18/storage/SystemInfo/CmdDasdview.h 
new/libstorage-2.25.18/storage/SystemInfo/CmdDasdview.h
--- old/libstorage-2.25.18/storage/SystemInfo/CmdDasdview.h 2014-03-21 
17:06:30.0 +0100
+++ new/libstorage-2.25.18/storage/SystemInfo/CmdDasdview.h 2014-10-08 
09:30:57.0 +0200
@@ -20,8 +20,8 @@
  */
 
 
-#ifndef DASDVIEW_H
-#define DASDVIEW_H
+#ifndef CMD_DASDVIEW_H
+#define CMD_DASDVIEW_H
 
 #include storage/StorageInterface.h
 #include storage/Geometry.h
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.18/storage/SystemInfo/CmdLsscsi.h 
new/libstorage-2.25.18/storage/SystemInfo/CmdLsscsi.h
--- old/libstorage-2.25.18/storage/SystemInfo/CmdLsscsi.h   2014-03-21 
17:06:30.0 +0100
+++ new/libstorage-2.25.18/storage/SystemInfo/CmdLsscsi.h   2014-10-08 
09:30:58.0 +0200
@@ -20,8 +20,8 @@
  */
 
 
-#ifndef LSSCSI_H
-#define LSSCSI_H
+#ifndef CMD_LSSCSI_H
+#define CMD_LSSCSI_H
 
 #include string
 #include map
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.18/storage/SystemInfo/CmdParted.h 
new/libstorage-2.25.18/storage/SystemInfo/CmdParted.h
--- old/libstorage-2.25.18/storage/SystemInfo/CmdParted.h   2014-09-22 
16:59:15.0 +0200
+++ new/libstorage-2.25.18/storage/SystemInfo/CmdParted.h   2014-10-08 

commit libstorage for openSUSE:Factory

2014-10-05 Thread h_root
Hello community,

here is the log from the commit of package libstorage for openSUSE:Factory 
checked in at 2014-10-05 20:30:46

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


Package is libstorage

Changes:

--- /work/SRC/openSUSE:Factory/libstorage/libstorage.changes2014-10-01 
07:40:24.0 +0200
+++ /work/SRC/openSUSE:Factory/.libstorage.new/libstorage.changes   
2014-10-05 20:31:23.0 +0200
@@ -1,0 +2,12 @@
+Thu Oct 02 18:00:46 CEST 2014 - aschn...@suse.de
+
+- detect iso9660 and udf filesystems (fate#317247)
+- 2.25.28
+
+---
+Thu Oct 02 12:00:30 CEST 2014 - aschn...@suse.de
+
+- in general use wipefs to remove old signatures
+- 2.25.27
+
+---

Old:

  libstorage-2.25.16.tar.bz2

New:

  libstorage-2.25.18.tar.bz2



Other differences:
--
++ libstorage.spec ++
--- /var/tmp/diff_new_pack.o5nKYu/_old  2014-10-05 20:31:24.0 +0200
+++ /var/tmp/diff_new_pack.o5nKYu/_new  2014-10-05 20:31:24.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   libstorage
-Version:2.25.16
+Version:2.25.18
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: libstorage-%{version}.tar.bz2

++ libstorage-2.25.16.tar.bz2 - libstorage-2.25.18.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.16/LIBVERSION 
new/libstorage-2.25.18/LIBVERSION
--- old/libstorage-2.25.16/LIBVERSION   2014-01-22 10:39:57.0 +0100
+++ new/libstorage-2.25.18/LIBVERSION   2014-10-02 18:18:54.0 +0200
@@ -1 +1 @@
-5.1.0
+5.2.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.16/VERSION 
new/libstorage-2.25.18/VERSION
--- old/libstorage-2.25.16/VERSION  2014-09-29 13:03:31.0 +0200
+++ new/libstorage-2.25.18/VERSION  2014-10-02 18:18:54.0 +0200
@@ -1 +1 @@
-2.25.16
+2.25.18
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.16/bindings/python/libstorage.py 
new/libstorage-2.25.18/bindings/python/libstorage.py
--- old/libstorage-2.25.16/bindings/python/libstorage.py2014-09-19 
16:24:07.0 +0200
+++ new/libstorage-2.25.18/bindings/python/libstorage.py2014-10-02 
18:20:03.0 +0200
@@ -112,6 +112,8 @@
 NFS = _libstorage.NFS
 NFS4 = _libstorage.NFS4
 TMPFS = _libstorage.TMPFS
+ISO9660 = _libstorage.ISO9660
+UDF = _libstorage.UDF
 FSNONE = _libstorage.FSNONE
 PRIMARY = _libstorage.PRIMARY
 EXTENDED = _libstorage.EXTENDED
@@ -232,6 +234,9 @@
 __swig_setmethods__[labelLength] = 
_libstorage.FsCapabilities_labelLength_set
 __swig_getmethods__[labelLength] = 
_libstorage.FsCapabilities_labelLength_get
 if _newclass:labelLength = 
_swig_property(_libstorage.FsCapabilities_labelLength_get, 
_libstorage.FsCapabilities_labelLength_set)
+__swig_setmethods__[canFormat] = _libstorage.FsCapabilities_canFormat_set
+__swig_getmethods__[canFormat] = _libstorage.FsCapabilities_canFormat_get
+if _newclass:canFormat = 
_swig_property(_libstorage.FsCapabilities_canFormat_get, 
_libstorage.FsCapabilities_canFormat_set)
 __swig_setmethods__[minimalFsSizeK] = 
_libstorage.FsCapabilities_minimalFsSizeK_set
 __swig_getmethods__[minimalFsSizeK] = 
_libstorage.FsCapabilities_minimalFsSizeK_get
 if _newclass:minimalFsSizeK = 
_swig_property(_libstorage.FsCapabilities_minimalFsSizeK_get, 
_libstorage.FsCapabilities_minimalFsSizeK_set)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.16/examples/TestLogging.cc 
new/libstorage-2.25.18/examples/TestLogging.cc
--- old/libstorage-2.25.16/examples/TestLogging.cc  2014-01-22 
10:39:57.0 +0100
+++ new/libstorage-2.25.18/examples/TestLogging.cc  2014-10-02 
18:18:54.0 +0200
@@ -87,6 +87,8 @@
case NFS: cout  NFS; break;
case NFS4: cout  NFS4; break;
case TMPFS: cout  TMPFS; break;
+   case ISO9660: cout  ISO9660; break;
+   case UDF: cout  UDF; break;
case FSNONE: cout  NONE; break;
}
cout  '\n';
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.16/examples/TestProbing.cc 
new/libstorage-2.25.18/examples/TestProbing.cc
--- old/libstorage-2.25.16/examples/TestProbing.cc  2014-01-22 
10:39:57.0 +0100

commit libstorage for openSUSE:Factory

2014-09-30 Thread h_root
Hello community,

here is the log from the commit of package libstorage for openSUSE:Factory 
checked in at 2014-10-01 07:40:17

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


Package is libstorage

Changes:

--- /work/SRC/openSUSE:Factory/libstorage/libstorage.changes2014-09-28 
19:56:49.0 +0200
+++ /work/SRC/openSUSE:Factory/.libstorage.new/libstorage.changes   
2014-10-01 07:40:24.0 +0200
@@ -1,0 +2,6 @@
+Mon Sep 29 11:52:38 CEST 2014 - aschn...@suse.de
+
+- updated translations (bsc#877325)
+- 2.25.16
+
+---

Old:

  libstorage-2.25.15.tar.bz2

New:

  libstorage-2.25.16.tar.bz2



Other differences:
--
++ libstorage.spec ++
--- /var/tmp/diff_new_pack.UblDTA/_old  2014-10-01 07:40:25.0 +0200
+++ /var/tmp/diff_new_pack.UblDTA/_new  2014-10-01 07:40:25.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   libstorage
-Version:2.25.15
+Version:2.25.16
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: libstorage-%{version}.tar.bz2

++ libstorage-2.25.15.tar.bz2 - libstorage-2.25.16.tar.bz2 ++
 81683 lines of diff (skipped)

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



commit libstorage for openSUSE:Factory

2014-09-28 Thread h_root
Hello community,

here is the log from the commit of package libstorage for openSUSE:Factory 
checked in at 2014-09-28 19:56:43

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


Package is libstorage

Changes:

--- /work/SRC/openSUSE:Factory/libstorage/libstorage.changes2014-09-24 
13:09:17.0 +0200
+++ /work/SRC/openSUSE:Factory/.libstorage.new/libstorage.changes   
2014-09-28 19:56:49.0 +0200
@@ -1,0 +2,5 @@
+Thu Sep 25 16:20:52 CEST 2014 - aschn...@suse.de
+
+- sort partitions after certain remove steps (bsc#898362)
+
+---



Other differences:
--
++ libstorage-2.25.15.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.15/storage/BtrfsCo.cc 
new/libstorage-2.25.15/storage/BtrfsCo.cc
--- old/libstorage-2.25.15/storage/BtrfsCo.cc   2014-07-21 15:21:12.0 
+0200
+++ new/libstorage-2.25.15/storage/BtrfsCo.cc   2014-09-25 16:39:17.0 
+0200
@@ -418,7 +418,7 @@
 int BtrfsCo::removeVolume( Volume* v, bool quiet )
 {
 int ret = 0;
-y2mil(qiet:  quiet);
+y2mil(quiet:  quiet);
 y2mil(vol:  *v);
 v-setDeleted();
 if( quiet )
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.15/storage/Disk.cc 
new/libstorage-2.25.15/storage/Disk.cc
--- old/libstorage-2.25.15/storage/Disk.cc  2014-09-22 16:59:15.0 
+0200
+++ new/libstorage-2.25.15/storage/Disk.cc  2014-09-25 16:39:17.0 
+0200
@@ -1387,11 +1387,21 @@
 return( ret );
 }
 
-static bool volume_ptr_sort_nr( Partition* rhs, Partition* lhs )
+
+static bool
+partition_ptr_sort_nr(Partition* rhs, Partition* lhs)
+{
+   return rhs-nr()  lhs-nr();
+}
+
+
+static bool
+volume_ptr_sort_nr(const Volume* rhs, const Volume* lhs)
 {
-return( rhs-nr()lhs-nr() );
+   return rhs-nr()  lhs-nr();
 }
 
+
 int Disk::removePartition( unsigned nr )
 {
 y2mil(begin nr   nr);
@@ -1444,7 +1454,7 @@
}
if( !l.empty() )
{
-   l.sort( volume_ptr_sort_nr );
+   l.sort(partition_ptr_sort_nr);
unsigned old = nr;
listPartition*::iterator vi = l.begin();
while( vi!=l.end() )
@@ -1454,6 +1464,8 @@
old = save;
++vi;
}
+   // bsc #898362
+   vols.sort(volume_ptr_sort_nr);
}
}
if( t==EXTENDED )
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.15/storage/TmpfsCo.cc 
new/libstorage-2.25.15/storage/TmpfsCo.cc
--- old/libstorage-2.25.15/storage/TmpfsCo.cc   2014-03-06 17:30:22.0 
+0100
+++ new/libstorage-2.25.15/storage/TmpfsCo.cc   2014-09-25 16:39:17.0 
+0200
@@ -121,7 +121,7 @@
 int TmpfsCo::removeVolume( Volume* v, bool quiet )
 {
 int ret = 0;
-y2mil(qiet:  quiet);
+y2mil(quiet:  quiet);
 y2mil(vol:  *v);
 v-setDeleted();
 if( quiet )
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.15/storage/gen_md5sum.cc 
new/libstorage-2.25.15/storage/gen_md5sum.cc
--- old/libstorage-2.25.15/storage/gen_md5sum.cc2014-09-22 
17:00:20.0 +0200
+++ new/libstorage-2.25.15/storage/gen_md5sum.cc2014-09-25 
16:40:11.0 +0200
@@ -1,5 +1,5 @@
-#define SOURCES_MD5SUM   fee924f98da527cdda90876545c2b3d9
-#define SOURCES_MD5_DATE  Mon Sep 22 17:00:20 CEST 2014 
+#define SOURCES_MD5SUM   159252ac4b2837ecf24dec15944af9e1
+#define SOURCES_MD5_DATE  Thu 25 Sep 16:40:11 CEST 2014 
 namespace storage
 {
 const char* GetSourceMd5() { return SOURCES_MD5SUM; }

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



commit libstorage for openSUSE:Factory

2014-09-24 Thread h_root
Hello community,

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

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


Package is libstorage

Changes:

--- /work/SRC/openSUSE:Factory/libstorage/libstorage.changes2014-09-17 
21:23:45.0 +0200
+++ /work/SRC/openSUSE:Factory/.libstorage.new/libstorage.changes   
2014-09-24 13:09:17.0 +0200
@@ -1,0 +2,6 @@
+Mon Sep 22 16:34:43 CEST 2014 - aschn...@suse.de
+
+- treat disks with implicit partition table as read-only
+  (bsc#894585)
+
+---



Other differences:
--
++ libstorage-2.25.15.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.15/storage/Container.cc 
new/libstorage-2.25.15/storage/Container.cc
--- old/libstorage-2.25.15/storage/Container.cc 2014-03-26 18:08:49.0 
+0100
+++ new/libstorage-2.25.15/storage/Container.cc 2014-09-19 11:31:22.0 
+0200
@@ -108,16 +108,14 @@
return p.empty();
 }
 
-bool Container::isPartitionable() const
-{
-return( typ==DISK || typ==DMRAID || typ==DMMULTIPATH || typ==MDPART );
-}
 
-bool Container::isDeviceUsable() const
+bool
+Container::isBlkdev() const
 {
-return( typ==DISK || typ==DMRAID || typ==DMMULTIPATH || typ==MDPART );
+   return typ == DISK || typ == DMRAID || typ == DMMULTIPATH || typ == 
MDPART;
 }
 
+
 bool Container::stageDecrease(const Volume v)
 {
return v.deleted() || v.needShrink();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.15/storage/Container.h 
new/libstorage-2.25.15/storage/Container.h
--- old/libstorage-2.25.15/storage/Container.h  2014-01-22 10:39:57.0 
+0100
+++ new/libstorage-2.25.15/storage/Container.h  2014-09-19 11:31:22.0 
+0200
@@ -168,12 +168,9 @@
Storage* getStorage() const { return sto; }
const Storage* getStorageConst() const { return sto; }
CType type() const { return typ; }
-   bool isPartitionable() const;
-   static bool Partitionable( const Containerd ) 
-   { return( d.isPartitionable() ); }
-   bool isDeviceUsable() const;
-   static bool DeviceUsable( const Containerd ) 
-   { return( d.isDeviceUsable() ); }
+
+   bool isBlkdev() const;
+   static bool isBlkdev(const Container d) { return d.isBlkdev(); }
 
bool readonly() const { return ronly; }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.15/storage/Disk.cc 
new/libstorage-2.25.15/storage/Disk.cc
--- old/libstorage-2.25.15/storage/Disk.cc  2014-09-04 18:18:40.0 
+0200
+++ new/libstorage-2.25.15/storage/Disk.cc  2014-09-22 16:59:15.0 
+0200
@@ -305,6 +305,7 @@
const Parted parted = systeminfo.getParted(dev);
 
string dlabel = parted.getLabel();
+   ronly = parted.getImplicit();
 
new_geometry = geometry = parted.getGeometry();
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.15/storage/HumanString.h 
new/libstorage-2.25.15/storage/HumanString.h
--- old/libstorage-2.25.15/storage/HumanString.h2014-01-22 
10:39:57.0 +0100
+++ new/libstorage-2.25.15/storage/HumanString.h2014-09-19 
16:23:58.0 +0200
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) [2004-2010] Novell, Inc.
+ * Copyright (c) [2004-2014] Novell, Inc.
  *
  * All Rights Reserved.
  *
@@ -51,8 +51,8 @@
 
 
 /**
- * Return a pretty description of a size with required precision
- * and using B, kB, MB, GB, TB or PB as unit as appropriate.
+ * Return a pretty description of a size with required precision and using
+ * B, KiB, MiB, GiB, TiB, PiB or EiB as unit as appropriate.
  *
  * @param size size in bytes
  * @param classic use classic locale instead of global C++ locale
@@ -64,7 +64,9 @@
 bool omit_zeroes);
 
 /**
- * Converts a size description using B, kB, MB, GB, TB or PB into an 
integer.
+ * Converts a size description using B, KiB, KB, MiB, MB, GiB, GB, TiB,
+ * TB, PiB, PB, EiB or EB into an integer. Decimal suffixes are treated as
+ * binary.
  *
  * @param str size string
  * @param classic use classic locale instead of global C++ locale
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.15/storage/Storage.cc 
new/libstorage-2.25.15/storage/Storage.cc
--- 

commit libstorage for openSUSE:Factory

2014-09-17 Thread h_root
Hello community,

here is the log from the commit of package libstorage for openSUSE:Factory 
checked in at 2014-09-17 21:23:44

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


Package is libstorage

Changes:

--- /work/SRC/openSUSE:Factory/libstorage/libstorage.changes2014-09-10 
17:02:20.0 +0200
+++ /work/SRC/openSUSE:Factory/.libstorage.new/libstorage.changes   
2014-09-17 21:23:45.0 +0200
@@ -1,0 +2,6 @@
+Tue Sep 16 13:16:50 CEST 2014 - aschn...@suse.de
+
+- fixed using DM disks for LVM (bnc#896729)
+- 2.25.15
+
+---

Old:

  libstorage-2.25.14.tar.bz2

New:

  libstorage-2.25.15.tar.bz2



Other differences:
--
++ libstorage.spec ++
--- /var/tmp/diff_new_pack.ywdJvS/_old  2014-09-17 21:23:46.0 +0200
+++ /var/tmp/diff_new_pack.ywdJvS/_new  2014-09-17 21:23:46.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   libstorage
-Version:2.25.14
+Version:2.25.15
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: libstorage-%{version}.tar.bz2

++ libstorage-2.25.14.tar.bz2 - libstorage-2.25.15.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.14/VERSION 
new/libstorage-2.25.15/VERSION
--- old/libstorage-2.25.14/VERSION  2014-06-22 13:54:13.0 +0200
+++ new/libstorage-2.25.15/VERSION  2014-09-16 16:42:18.0 +0200
@@ -1 +1 @@
-2.25.14
+2.25.15
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.14/storage/LvmVg.cc 
new/libstorage-2.25.15/storage/LvmVg.cc
--- old/libstorage-2.25.14/storage/LvmVg.cc 2014-09-05 10:45:53.0 
+0200
+++ new/libstorage-2.25.15/storage/LvmVg.cc 2014-09-16 16:42:18.0 
+0200
@@ -446,14 +446,14 @@
 return( ret );
 }
 
+
 int
 LvmVg::extendVg( const string dev )
 {
-liststring l;
-l.push_back( dev );
-return( extendVg( l ) );
+   return extendVg(liststring({ dev }));
 }
 
+
 int
 LvmVg::extendVg( const liststring devs )
 {
@@ -462,8 +462,6 @@
 y2mil( this:  *this );
 
 checkConsistency();
-liststring::const_iterator i=devs.begin();
-listPv::iterator p;
 if( readonly() )
{
ret = LVM_CHANGE_READONLY;
@@ -472,6 +470,9 @@
{
ret = LVM_LIST_EMPTY;
}
+
+liststring::const_iterator i=devs.begin();
+listPv::iterator p;
 while( ret==0  i!=devs.end() )
{
string d = normalizeDevice( *i );
@@ -508,7 +509,7 @@
{
Pv pvn;
unsigned long long s = getStorage()-deviceSize( d );
-   pe = (s - 4000)/pe_size;
+   pe = s  4000 ? (s - 4000) / pe_size : 0;
pvn.num_pe = pvn.free_pe = pe;
pvn.device = d;
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.14/storage/Storage.cc 
new/libstorage-2.25.15/storage/Storage.cc
--- old/libstorage-2.25.14/storage/Storage.cc   2014-09-09 17:23:28.0 
+0200
+++ new/libstorage-2.25.15/storage/Storage.cc   2014-09-16 16:42:18.0 
+0200
@@ -6518,18 +6518,30 @@
   return( ret );
 }
 
-bool Storage::knownDevice( const string dev, bool disks_allowed )
+
+bool
+Storage::knownDevice(const string dev, bool disks_allowed)
 {
-bool ret=true;
-ConstVolIterator v;
-if( !findVolume( dev, v ) )
-   {
-   ret = disks_allowed  findDisk( dev )!=dEnd();
+   bool ret = false;
+   ConstVolIterator v;
+   if (findVolume(dev, v))
+   {
+   ret = true;
+   }
+   else if (disks_allowed)
+   {
+   if (findDisk(dev) != dEnd())
+   ret = true;
+   else if (findDmPartCo(dev) != dmpCoEnd())
+   ret = true;
+   else if (findMdPartCo(dev) != mdpCoEnd())
+   ret = true;
}
-y2mil(dev:  dev   ret:  ret);
-return( ret );
+   y2mil(dev:  dev   ret:  ret);
+   return ret;
 }
 
+
 bool Storage::setDmcryptData( const string dev, const string dm, 
   unsigned dmnum, unsigned long long siz,
  storage::EncryptType typ )
@@ -6582,28 +6594,34 @@
 return( ret );
 }
 
-bool Storage::canUseDevice( const string dev, bool disks_allowed )
+
+bool
+Storage::canUseDevice(const string dev, bool disks_allowed)
 {
-bool ret=true;
-ConstVolIterator v;
-if( !findVolume( dev, v ) )
-   {
-   if( disks_allowed )
-   {
-   DiskIterator i = findDisk( dev );
-  

commit libstorage for openSUSE:Factory

2014-09-10 Thread h_root
Hello community,

here is the log from the commit of package libstorage for openSUSE:Factory 
checked in at 2014-09-10 17:02:02

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


Package is libstorage

Changes:

--- /work/SRC/openSUSE:Factory/libstorage/libstorage.changes2014-09-07 
11:08:35.0 +0200
+++ /work/SRC/openSUSE:Factory/.libstorage.new/libstorage.changes   
2014-09-10 17:02:20.0 +0200
@@ -1,0 +2,5 @@
+Tue Sep 09 12:06:28 CEST 2014 - aschn...@suse.de
+
+- disallow shrinking of btrfs filesystems (bnc#894832)
+
+---



Other differences:
--
++ libstorage-2.25.14.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.14/storage/Storage.cc 
new/libstorage-2.25.14/storage/Storage.cc
--- old/libstorage-2.25.14/storage/Storage.cc   2014-08-15 09:08:55.0 
+0200
+++ new/libstorage-2.25.14/storage/Storage.cc   2014-09-09 17:23:28.0 
+0200
@@ -5636,7 +5636,9 @@
 static FsCapabilitiesX ext4Caps (true, true, true, false, true, true,
 true, 16, 32*1024);
 
-static FsCapabilitiesX btrfsCaps (true, true, true, true, true, true,
+// btrfs can be shrunk but it is not possible to know the minimal possible
+// size in advance (see bnc #894832), thus not allowed here
+static FsCapabilitiesX btrfsCaps (true, true, false, false, true, true,
  true, 256, 256*1024);
 
 static FsCapabilitiesX xfsCaps (true, true, false, false, true, true,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.14/storage/SystemInfo/CmdDasdview.cc 
new/libstorage-2.25.14/storage/SystemInfo/CmdDasdview.cc
--- old/libstorage-2.25.14/storage/SystemInfo/CmdDasdview.cc2014-03-06 
17:30:22.0 +0100
+++ new/libstorage-2.25.14/storage/SystemInfo/CmdDasdview.cc2014-09-08 
17:43:23.0 +0200
@@ -127,7 +127,7 @@
 
 std::ostream operator(std::ostream s, const Dasdview dasdview)
 {
-   s  device:   dasdview.device   geometry:  dasdview.geometry
+   s  device:  dasdview.device   geometry:  dasdview.geometry
dasd_format:  toString(dasdview.dasd_format)   dasd_type:
   toString(dasdview.dasd_type);
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.14/storage/Volume.cc 
new/libstorage-2.25.14/storage/Volume.cc
--- old/libstorage-2.25.14/storage/Volume.cc2014-07-29 13:55:45.0 
+0200
+++ new/libstorage-2.25.14/storage/Volume.cc2014-09-09 12:28:47.0 
+0200
@@ -1755,9 +1755,9 @@
{
cmd = BTRFSBIN  filesystem resize ;
if( needShrink() )
-   cmd +=  - + decString(orig_size_k-size_k) + K;
+   cmd += decString(size_k) + K;
else
-   cmd +=  max;
+   cmd += max;
cmd +=   + quote(tmp_mount.mount_point);
c.execute( cmd );
if( c.retcode()!=0 )
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.14/storage/gen_md5sum.cc 
new/libstorage-2.25.14/storage/gen_md5sum.cc
--- old/libstorage-2.25.14/storage/gen_md5sum.cc2014-09-05 
10:46:52.0 +0200
+++ new/libstorage-2.25.14/storage/gen_md5sum.cc2014-09-09 
17:23:36.0 +0200
@@ -1,5 +1,5 @@
-#define SOURCES_MD5SUM   df650078fdf78940c0c6128a225b2f0c
-#define SOURCES_MD5_DATE  Fri 5 Sep 10:46:52 CEST 2014 
+#define SOURCES_MD5SUM   9fbc6cde91f471eef5a92b261a690292
+#define SOURCES_MD5_DATE  Tue 9 Sep 17:23:36 CEST 2014 
 namespace storage
 {
 const char* GetSourceMd5() { return SOURCES_MD5SUM; }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.14/testsuite/single.out/dasdview.out 
new/libstorage-2.25.14/testsuite/single.out/dasdview.out
--- old/libstorage-2.25.14/testsuite/single.out/dasdview.out2014-02-03 
10:49:03.0 +0100
+++ new/libstorage-2.25.14/testsuite/single.out/dasdview.out2014-09-08 
17:43:23.0 +0200
@@ -1,6 +1,6 @@
 parse1
-device: /dev/dasda geometry:[10017,15,12,4096] dasd_format:CDL dasd_type:ECKD
+device:/dev/dasda geometry:[10017,15,12,4096] dasd_format:CDL dasd_type:ECKD
 parse2
-device: /dev/dasdb geometry:[3339,15,0,512] dasd_format:NONE dasd_type:ECKD
+device:/dev/dasdb geometry:[3339,15,0,512] dasd_format:NONE dasd_type:ECKD
 parse3
-device: /dev/dasdc 

commit libstorage for openSUSE:Factory

2014-09-07 Thread h_root
Hello community,

here is the log from the commit of package libstorage for openSUSE:Factory 
checked in at 2014-09-07 11:08:31

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


Package is libstorage

Changes:

--- /work/SRC/openSUSE:Factory/libstorage/libstorage.changes2014-08-20 
17:54:04.0 +0200
+++ /work/SRC/openSUSE:Factory/.libstorage.new/libstorage.changes   
2014-09-07 11:08:35.0 +0200
@@ -1,0 +2,5 @@
+Fri Sep 05 10:35:50 CEST 2014 - aschn...@suse.de
+
+- improved testmode
+
+---



Other differences:
--
++ libstorage-2.25.14.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.14/storage/Disk.cc 
new/libstorage-2.25.14/storage/Disk.cc
--- old/libstorage-2.25.14/storage/Disk.cc  2014-07-16 17:36:34.0 
+0200
+++ new/libstorage-2.25.14/storage/Disk.cc  2014-09-04 18:18:40.0 
+0200
@@ -310,7 +310,8 @@
 
gpt_enlarge = parted.getGptEnlarge();
 
-   y2mil(dlabel:  dlabel   geometry:  geometry   
gpt_enlarge:  gpt_enlarge);
+   y2mil(device:  device()   dlabel:  dlabel   geometry:  
geometry 
+  gpt_enlarge:  gpt_enlarge);
 
 if( dlabel!=loop )
{
@@ -342,9 +343,9 @@
ronly = true;
}
 
-y2mil(ret:  ret   partitions:  vols.size()   detected label: 
 detected_label 
-  label:  label);
-return( ret );
+   y2mil(ret:  ret   partitions:  vols.size()   detected 
label:  detected_label 
+  label:  label   ronly:  ronly);
+   return ret;
 }
 
 
@@ -366,7 +367,8 @@
 void
 Disk::setLabelData(const string disklabel)
 {
-   y2mil(disklabel:  disklabel);
+   y2mil(device:  device()   disklabel:  disklabel);
+
DlabelCapabilities caps;
if (getDlabelCapabilities(disklabel, caps))
{
@@ -382,8 +384,9 @@
max_logical = 0;
label = unsupported;
}
-   y2mil(label:  label   max_primary:  max_logical   
ext_possible: 
- ext_possible   max_logical:  max_logical);
+
+   y2mil(device:  device()   label:  label   max_primary:  
max_logical 
+  ext_possible:  ext_possible   max_logical:  
max_logical);
 }
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.14/storage/Dm.cc 
new/libstorage-2.25.14/storage/Dm.cc
--- old/libstorage-2.25.14/storage/Dm.cc2014-07-29 13:55:45.0 
+0200
+++ new/libstorage-2.25.14/storage/Dm.cc2014-09-05 10:45:53.0 
+0200
@@ -109,14 +109,20 @@
 }
 
 
-unsigned Dm::dmMajor()
+unsigned
+Dm::dmMajor(bool testmode)
 {
-if( dm_major==0 )
-{
-   dm_major = getMajorDevices(device-mapper);
-   y2mil(dm_major:  dm_major);
-}
-return( dm_major );
+   if (dm_major == 0)
+   {
+   if (testmode)
+   dm_major = 253;
+   else
+   dm_major = getMajorDevices(device-mapper);
+
+   y2mil(dm_major:  dm_major);
+   }
+
+   return dm_major;
 }
 
 
@@ -233,7 +239,7 @@
 void Dm::updateMajorMinor()
 {
 getMajorMinor();
-if( majorNr()==Dm::dmMajor() )
+if (majorNr() == Dm::dmMajor(getStorage()-testmode()))
{
string d = /dev/dm- + decString(minorNr());
if( d!=dev )
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.14/storage/Dm.h 
new/libstorage-2.25.14/storage/Dm.h
--- old/libstorage-2.25.14/storage/Dm.h 2014-06-03 18:38:54.0 +0200
+++ new/libstorage-2.25.14/storage/Dm.h 2014-09-05 10:45:53.0 +0200
@@ -96,7 +96,7 @@
 
void logDifference(std::ostream log, const Dm rhs) const;
 
-   static unsigned dmMajor();
+   static unsigned dmMajor(bool testmode);
static string dmDeviceName( unsigned long num );
 
 protected:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.14/storage/LvmLv.cc 
new/libstorage-2.25.14/storage/LvmLv.cc
--- old/libstorage-2.25.14/storage/LvmLv.cc 2014-07-30 09:52:01.0 
+0200
+++ new/libstorage-2.25.14/storage/LvmLv.cc 2014-09-04 18:18:40.0 
+0200
@@ -107,8 +107,8 @@
 
setChildValueIf(node, used_pool, used_pool, !used_pool.empty());
setChildValueIf(node, origin, origin, !origin.empty());
-setChildValue(node, pool, pool);
-setChildValue(node, chunk_size, chunk_size);
+setChildValueIf(node, pool, pool, pool);
+setChildValueIf(node, chunk_size, chunk_size, chunk_size 

commit libstorage for openSUSE:Factory

2014-08-20 Thread h_root
Hello community,

here is the log from the commit of package libstorage for openSUSE:Factory 
checked in at 2014-08-20 17:53:51

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


Package is libstorage

Changes:

--- /work/SRC/openSUSE:Factory/libstorage/libstorage.changes2014-08-15 
09:58:12.0 +0200
+++ /work/SRC/openSUSE:Factory/.libstorage.new/libstorage.changes   
2014-08-20 17:54:04.0 +0200
@@ -1,0 +2,5 @@
+Thu Aug 14 18:24:19 CEST 2014 - aschn...@suse.de
+
+- per default zero (wipefs) new partitions (bnc#891956)
+
+---



Other differences:
--
++ libstorage-2.25.14.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.14/doc/autodocs/doxygen.conf 
new/libstorage-2.25.14/doc/autodocs/doxygen.conf
--- old/libstorage-2.25.14/doc/autodocs/doxygen.conf2014-01-22 
10:39:57.0 +0100
+++ new/libstorage-2.25.14/doc/autodocs/doxygen.conf2014-08-13 
14:19:31.0 +0200
@@ -1,14 +1,6 @@
-# Doxyfile 1.5.6
+# Doxyfile
 
-# This file describes the settings to be used by the documentation system
-# doxygen (www.doxygen.org) for a project
-#
-# All text after a hash (#) is considered a comment and will be ignored
-# The format is:
-#   TAG = value [value, ...]
-# For lists items can also be appended using:
-#   TAG += value [value, ...]
-# Values that contain spaces should be placed between quotes ( )
+# See http://www.doxygen.nl/config.html.
 
 #---
 # Project related configuration options
@@ -757,6 +749,8 @@
 
 HTML_ALIGN_MEMBERS = YES
 
+HTML_TIMESTAMP = NO
+
 # If the GENERATE_HTMLHELP tag is set to YES, additional index files 
 # will be generated that can be used as input for tools like the 
 # Microsoft HTML help workshop to generate a compiled HTML help file (.chm) 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.14/storage/DmmultipathCo.cc 
new/libstorage-2.25.14/storage/DmmultipathCo.cc
--- old/libstorage-2.25.14/storage/DmmultipathCo.cc 2014-03-06 
17:30:22.0 +0100
+++ new/libstorage-2.25.14/storage/DmmultipathCo.cc 2014-08-13 
14:19:31.0 +0200
@@ -91,7 +91,8 @@
 {
 y2mil(disk:  nm   id:  id);
 udev_id = id;
-udev_id.remove_if(string_starts_with(dm-));
+partition(udev_id.begin(), udev_id.end(), string_starts_with(wwn-));
+stable_partition(udev_id.begin(), udev_id.end(), 
string_starts_with(scsi-));
 y2mil(id:  udev_id);
 
 DmPartCo::setUdevData(udev_id);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.14/storage/Storage.cc 
new/libstorage-2.25.14/storage/Storage.cc
--- old/libstorage-2.25.14/storage/Storage.cc   2014-07-29 13:55:45.0 
+0200
+++ new/libstorage-2.25.14/storage/Storage.cc   2014-08-15 09:08:55.0 
+0200
@@ -77,6 +77,7 @@
 createLogger(path, file);
 }
 
+
 std::ostream operator(std::ostream s, const Environment env)
 {
return s  readonly:  env.readonly   testmode:  env.testmode 
@@ -87,7 +88,7 @@
 
 Storage::Storage(const Environment env)
 : env(env), lock(readonly(), testmode()), cache(true), initialized(false),
-  recursiveRemove(false), zeroNewPartitions(false),
+  recursiveRemove(false), zeroNewPartitions(true),
   partAlignment(ALIGN_OPTIMAL), defaultMountBy(MOUNTBY_ID),
   defaultFs(BTRFS), defaultSubvolName(), detectMounted(true),
   root_mounted(!instsys()), rootprefix(),
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.14/storage/gen_md5sum.cc 
new/libstorage-2.25.14/storage/gen_md5sum.cc
--- old/libstorage-2.25.14/storage/gen_md5sum.cc2014-07-30 
09:52:03.0 +0200
+++ new/libstorage-2.25.14/storage/gen_md5sum.cc2014-08-15 
09:09:55.0 +0200
@@ -1,5 +1,5 @@
-#define SOURCES_MD5SUM   eb68d88058ce5985da4464a9b91d3e03
-#define SOURCES_MD5_DATE  Wed 30 Jul 09:52:03 CEST 2014 
+#define SOURCES_MD5SUM   fa6313f2133fed3f521b981567f2ee7f
+#define SOURCES_MD5_DATE  Fri 15 Aug 09:09:55 CEST 2014 
 namespace storage
 {
 const char* GetSourceMd5() { return SOURCES_MD5SUM; }

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



commit libstorage for openSUSE:Factory

2014-07-29 Thread h_root
Hello community,

here is the log from the commit of package libstorage for openSUSE:Factory 
checked in at 2014-07-29 16:47:59

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


Package is libstorage

Changes:

--- /work/SRC/openSUSE:Factory/libstorage/libstorage.changes2014-07-27 
08:25:54.0 +0200
+++ /work/SRC/openSUSE:Factory/.libstorage.new/libstorage.changes   
2014-07-29 16:48:02.0 +0200
@@ -1,0 +2,5 @@
+Mon Jul 28 13:45:41 CEST 2014 - aschn...@suse.de
+
+- fixed used-by information for multipath with LVM (bnc#38)
+
+---



Other differences:
--
++ libstorage-2.25.14.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.14/storage/DmPartCo.cc 
new/libstorage-2.25.14/storage/DmPartCo.cc
--- old/libstorage-2.25.14/storage/DmPartCo.cc  2014-03-11 15:00:47.0 
+0100
+++ new/libstorage-2.25.14/storage/DmPartCo.cc  2014-07-28 13:53:54.0 
+0200
@@ -102,7 +102,6 @@
}
addToList( dm );
}
-   handleWholeDevice();
 }
 y2mil(device:  device   ret:  ret);
 return ret;
@@ -189,7 +188,6 @@
ret = DMPART_PARTITION_NOT_FOUND;
++vi;
}
-handleWholeDevice();
 return( ret );
 }
 
@@ -365,55 +363,9 @@
addToList( p );
++i;
}
-handleWholeDevice(si);
 }
 
-void DmPartCo::handleWholeDevice()
-{
-Disk::PartPair pp = disk-partPair( Partition::notDeleted );
-y2mil(empty:  pp.empty());
-if( pp.empty() )
-   {
-   DmPart * p = NULL;
-   newP( p, 0, NULL );
-   p-setSize( size_k );
-   addToList( p );
-   }
-else
-   {
-   DmPartIter i;
-   if( findDm( 0, i ))
-   {
-   DmPart* dm = (*i);
-   if( !removeFromList( dm ))
-   y2err( not found:  *i );
-   }
-   }
-}
-
-void DmPartCo::handleWholeDevice(SystemInfo si)
-{
-Disk::PartPair pp = disk-partPair( Partition::notDeleted );
-y2mil(empty:  pp.empty());
-if( pp.empty() )
-   {
-   DmPart * p = NULL;
-   newP( p, 0, NULL, si );
-   p-setSize( size_k );
-   addToList( p );
-   }
-else
-   {
-   DmPartIter i;
-   if( findDm( 0, i ))
-   {
-   DmPart* dm = (*i);
-   if( !removeFromList( dm ))
-   y2err( not found:  *i );
-   }
-   }
-}
-
+
 Partition* 
 DmPartCo::getPartition( unsigned nr, bool del )
 {
@@ -636,7 +588,6 @@
 if( ret==0 )
{
removeFromMemory();
-   handleWholeDevice();
Storage::waitForDevice();
}
 y2mil(ret:  ret);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.14/storage/DmPartCo.h 
new/libstorage-2.25.14/storage/DmPartCo.h
--- old/libstorage-2.25.14/storage/DmPartCo.h   2014-02-20 16:09:58.0 
+0100
+++ new/libstorage-2.25.14/storage/DmPartCo.h   2014-07-28 13:53:54.0 
+0200
@@ -176,8 +176,6 @@
virtual void newP( DmPart* dm, unsigned num, Partition* p );
int addNewDev( string device );
int updateDelDev();
-   void handleWholeDevice();
-   void handleWholeDevice(SystemInfo si);
void removeFromMemory();
void removePresentPartitions();
bool validPartition( const Partition* p );
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.14/storage/MdPartCo.cc 
new/libstorage-2.25.14/storage/MdPartCo.cc
--- old/libstorage-2.25.14/storage/MdPartCo.cc  2014-03-13 14:54:46.0 
+0100
+++ new/libstorage-2.25.14/storage/MdPartCo.cc  2014-07-28 13:53:54.0 
+0200
@@ -175,7 +175,6 @@
 y2mil(device:  device   was added to MdPartCo :   dev);
 
 }
-handleWholeDevice();
 }
 if( ret != 0 )
   {
@@ -272,7 +271,6 @@
 ret = MDPART_PARTITION_NOT_FOUND;
 ++vi;
 }
-handleWholeDevice();
 return( ret );
 }
 
@@ -421,32 +419,8 @@
 addToList( p );
 ++i;
 }
-handleWholeDevice();
 }
 
-void MdPartCo::handleWholeDevice()
-{
-Disk::PartPair pp = disk-partPair( Partition::notDeleted );
-y2mil(empty:  pp.empty());
-
-if( pp.empty() )
-{
-MdPart * p = NULL;
-newP( p, 0, NULL );
-p-setSize( size_k );
-addToList( p );
-}
-else
-{
-MdPartIter i;
-if( findMdPart( 0, i ))
-{
-MdPart* md = (*i);
-if( 

commit libstorage for openSUSE:Factory

2014-07-27 Thread h_root
Hello community,

here is the log from the commit of package libstorage for openSUSE:Factory 
checked in at 2014-07-27 08:25:45

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


Package is libstorage

Changes:

--- /work/SRC/openSUSE:Factory/libstorage/libstorage.changes2014-06-18 
10:59:36.0 +0200
+++ /work/SRC/openSUSE:Factory/.libstorage.new/libstorage.changes   
2014-07-27 08:25:54.0 +0200
@@ -1,0 +2,22 @@
+Mon Jul 21 13:47:50 CEST 2014 - aschn...@suse.de
+
+- ignore default subvolume during subvolume detection (bnc#882982)
+- fixed encryption detection (see bnc#888128)
+
+---
+Wed Jul 16 16:56:07 CEST 2014 - aschn...@suse.de
+
+- fixed check for parted errors (see bnc#886005)
+
+---
+Wed Jul 09 10:28:06 CEST 2014 - aschn...@suse.de
+
+- call tune2fs when changing data mode for ext3 and ext4 root
+  filesystem (bnc#886240)
+
+---
+Wed Jul 07 13:31:30 CEST 2014 - rneuhau...@sigpipe.cz
+
+- configure{,.ac} uses python2-config to find python headers, libs
+
+---



Other differences:
--
++ libstorage-2.25.14.tar.bz2 ++
 1922 lines of diff (skipped)
retrying with extended exclude list
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/libstorage-2.25.14/bindings/python/Makefile.am 
new/libstorage-2.25.14/bindings/python/Makefile.am
--- old/libstorage-2.25.14/bindings/python/Makefile.am  2014-06-11 
14:18:39.0 +0200
+++ new/libstorage-2.25.14/bindings/python/Makefile.am  2014-07-17 
11:00:53.0 +0200
@@ -8,9 +8,7 @@
 
 AM_CXXFLAGS = -fPIC -DPIC
 
-PYLIBVER ?= python$(PYTHON_VERSION)
-
-INCLUDES = -I. -I${top_srcdir} -I/usr/include/$(PYLIBVER)
+INCLUDES = -I. -I${top_srcdir} -I${PYTHON_INCLUDES}
 
 DEPENDENCIES = \
${top_srcdir}/storage/StorageInterface.h\
@@ -18,7 +16,7 @@
${top_srcdir}/storage/Graph.h   \
./enum_ref.i
 
-LIBS = $(top_builddir)/storage/libstorage.la
+LIBS = $(top_builddir)/storage/libstorage.la ${PYTHON_LIBS}
 
 python_PYTHON = libstorage.py
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/libstorage-2.25.14/bindings/python/examples/probing.py 
new/libstorage-2.25.14/bindings/python/examples/probing.py
--- old/libstorage-2.25.14/bindings/python/examples/probing.py  2014-06-11 
14:18:39.0 +0200
+++ new/libstorage-2.25.14/bindings/python/examples/probing.py  2014-07-17 
11:00:53.0 +0200
@@ -8,7 +8,7 @@
 c = libstorage.createStorageInterface(env)
 
 
-containers = libstorage.dequecontainerinfo()
+containers = libstorage.DequeContainerInfo()
 c.getContainers(containers)
 
 for container in containers:
@@ -22,7 +22,7 @@
 print   Size:, libstorage.byteToHumanString(1024 * diskinfo.sizeK, 
True, 2, False)
 print   Cylinder Size:, 
libstorage.byteToHumanString(diskinfo.cylSize, True, 2, False)
 
-partitioninfos = libstorage.dequepartitioninfo()
+partitioninfos = libstorage.DequePartitionInfo()
 c.getPartitionInfo(container.name, partitioninfos)
 
 for partitioninfo in partitioninfos:
@@ -46,12 +46,12 @@
 print   Size:, libstorage.byteToHumanString(1024 * lvmvginfo.sizeK, 
True, 2, False)
 print   PE Size:, libstorage.byteToHumanString(1024 * 
lvmvginfo.peSizeK, True, 2, True)
 
-lvmlvinfos = libstorage.dequelvmlvinfo()
+lvmlvinfos = libstorage.DequeLvmLvInfo()
 c.getLvmLvInfo(container.name, lvmlvinfos)
 
 for lvmlvinfo in lvmlvinfos:
 print   Device:, lvmlvinfo.v.device
-print Size:, libstorage.byteToHumanString(1024 * 
lvmlvinfo.sizeK, True, 2, False)
+print Size:, libstorage.byteToHumanString(1024 * 
lvmlvinfo.v.sizeK, True, 2, False)
 print Stripes:, lvmlvinfo.stripes
 if lvmlvinfo.stripes  1:
 print Stripe Size:, libstorage.byteToHumanString(1024 * 
lvmlvinfo.stripeSizeK, True, 2, True)
diff 

commit libstorage for openSUSE:Factory

2014-06-18 Thread h_root
Hello community,

here is the log from the commit of package libstorage for openSUSE:Factory 
checked in at 2014-06-18 10:59:30

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


Package is libstorage

Changes:

--- /work/SRC/openSUSE:Factory/libstorage/libstorage.changes2014-06-02 
07:00:04.0 +0200
+++ /work/SRC/openSUSE:Factory/.libstorage.new/libstorage.changes   
2014-06-18 10:59:36.0 +0200
@@ -1,0 +2,6 @@
+Wed Jun 11 13:11:19 CEST 2014 - dval...@suse.com
+
+- Print different messages for msdos and gpt PReP partitions
+- 2.25.14
+
+---

Old:

  libstorage-2.25.13.tar.bz2

New:

  libstorage-2.25.14.tar.bz2



Other differences:
--
++ libstorage.spec ++
--- /var/tmp/diff_new_pack.LXhwY5/_old  2014-06-18 10:59:37.0 +0200
+++ /var/tmp/diff_new_pack.LXhwY5/_new  2014-06-18 10:59:37.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   libstorage
-Version:2.25.13
+Version:2.25.14
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: libstorage-%{version}.tar.bz2

++ libstorage-2.25.13.tar.bz2 - libstorage-2.25.14.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.13/Makefile.in 
new/libstorage-2.25.14/Makefile.in
--- old/libstorage-2.25.13/Makefile.in  2014-05-26 15:28:02.0 +0200
+++ new/libstorage-2.25.14/Makefile.in  2014-06-11 14:23:00.0 +0200
@@ -86,8 +86,7 @@
 DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
$(top_srcdir)/configure $(am__configure_deps) \
$(srcdir)/config.h.in $(srcdir)/libstorage.spec.in AUTHORS \
-   COPYING config.guess config.sub depcomp install-sh missing \
-   py-compile ltmain.sh
+   COPYING config.guess config.sub install-sh missing ltmain.sh
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/configure.ac
 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.13/VERSION 
new/libstorage-2.25.14/VERSION
--- old/libstorage-2.25.13/VERSION  2014-05-21 11:56:21.0 +0200
+++ new/libstorage-2.25.14/VERSION  2014-06-11 14:18:39.0 +0200
@@ -1 +1 @@
-2.25.13
+2.25.14
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.13/storage/Dm.h 
new/libstorage-2.25.14/storage/Dm.h
--- old/libstorage-2.25.13/storage/Dm.h 2014-01-22 10:39:57.0 +0100
+++ new/libstorage-2.25.14/storage/Dm.h 2014-06-11 14:18:39.0 +0200
@@ -64,7 +64,7 @@
void getTableInfo();
virtual bool checkConsistency() const;
unsigned stripes() const { return stripe; }
-   unsigned setStripes( unsigned long val ) { return stripe=val; }
+   void setStripes(unsigned long val) { stripe = val; }
unsigned long long stripeSize() const { return stripe_size; }
void setStripeSize( unsigned long long val ) { stripe_size=val; }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.13/storage/SystemInfo/CmdParted.cc 
new/libstorage-2.25.14/storage/SystemInfo/CmdParted.cc
--- old/libstorage-2.25.13/storage/SystemInfo/CmdParted.cc  2014-05-15 
21:09:21.0 +0200
+++ new/libstorage-2.25.14/storage/SystemInfo/CmdParted.cc  2014-06-11 
14:18:39.0 +0200
@@ -125,24 +125,24 @@
scanSecEntryLine(*it);
}
}
-   }
 
-   iterator prev = entries.begin(); 
-   iterator it = prev;
-   if( it!=entries.end()) 
- ++it;
-   while(it!=entries.end())
+   iterator prev = entries.begin();
+   iterator it = prev;
+   if (it != entries.end())
+   ++it;
+   while (it != entries.end())
{
-   if( prev-cylRegion.start()=it-cylRegion.start()  
it-cylRegion.len()0 )
+   if (prev-cylRegion.start() = it-cylRegion.start()  
it-cylRegion.len()  0)
{
-   y2mil(old:  it-cylRegion );
-   it-cylRegion.setStart(it-cylRegion.start()+1);
-   it-cylRegion.setLen(it-cylRegion.len()-1);
-   y2mil(new:  it-cylRegion );
+   y2mil(old:  it-cylRegion);
+   it-cylRegion.setStart(it-cylRegion.start() + 1);
+   it-cylRegion.setLen(it-cylRegion.len() - 1);
+   y2mil(new:  it-cylRegion);
}
-   prev = it;
-   ++it;
+ 

commit libstorage for openSUSE:Factory

2014-06-01 Thread h_root
Hello community,

here is the log from the commit of package libstorage for openSUSE:Factory 
checked in at 2014-06-02 07:00:00

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


Package is libstorage

Changes:

--- /work/SRC/openSUSE:Factory/libstorage/libstorage.changes2014-05-18 
06:49:20.0 +0200
+++ /work/SRC/openSUSE:Factory/.libstorage.new/libstorage.changes   
2014-06-02 07:00:04.0 +0200
@@ -1,0 +2,12 @@
+Mon May 26 15:23:49 CEST 2014 - aschn...@suse.de
+
+- fixed fstab handling of multiple swap devices (bnc#879890)
+
+---
+Tue May 20 09:29:07 CEST 2014 - aschn...@suse.de
+
+- create version 5 superblock with mkfs.xfs to have bigger ACLs
+  (see fate#317042)
+- 2.25.13
+
+---

Old:

  libstorage-2.25.12.tar.bz2

New:

  libstorage-2.25.13.tar.bz2



Other differences:
--
++ libstorage.spec ++
--- /var/tmp/diff_new_pack.wV6n27/_old  2014-06-02 07:00:05.0 +0200
+++ /var/tmp/diff_new_pack.wV6n27/_new  2014-06-02 07:00:05.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   libstorage
-Version:2.25.12
+Version:2.25.13
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: libstorage-%{version}.tar.bz2

++ libstorage-2.25.12.tar.bz2 - libstorage-2.25.13.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.12/VERSION 
new/libstorage-2.25.13/VERSION
--- old/libstorage-2.25.12/VERSION  2014-04-14 10:23:54.0 +0200
+++ new/libstorage-2.25.13/VERSION  2014-05-21 11:56:21.0 +0200
@@ -1 +1 @@
-2.25.12
+2.25.13
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.12/storage/EtcFstab.cc 
new/libstorage-2.25.13/storage/EtcFstab.cc
--- old/libstorage-2.25.12/storage/EtcFstab.cc  2014-01-22 10:39:57.0 
+0100
+++ new/libstorage-2.25.13/storage/EtcFstab.cc  2014-05-26 15:27:46.0 
+0200
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) [2004-2013] Novell, Inc.
+ * Copyright (c) [2004-2014] Novell, Inc.
  *
  * All Rights Reserved.
  *
@@ -429,8 +429,9 @@
 }
 
 
-AsciiFile* EtcFstab::findFile( const FstabEntry e, AsciiFile* fstab,
-   AsciiFile* cryptotab, int lineno ) const
+AsciiFile*
+EtcFstab::findFile(const FstabEntry e, AsciiFile* fstab, AsciiFile* 
cryptotab,
+  int lineno) const
 {
 y2mil(dentry:  e.dentry   mount:  e.mount   fstab:  fstab 

   cryptotab:  cryptotab);
@@ -451,13 +452,18 @@
reg = ^[ \t]* + boost::replace_all_copy(fstabEncode(e.dentry), \\, 
) + [ \t];
}
 
+if (e.mount != swap)
+{
reg = [ \t]+ + boost::replace_all_copy(fstabEncode(e.mount), \\, 
) + [ \t];
+}
+
lineno = ret-find_if_idx(regex_matches(reg));
 
 y2mil(fstab:  fstab   cryptotab:  cryptotab   lineno:  
lineno);
-return( ret );
+return ret;
 }
 
+
 int EtcFstab::findPrefix( const AsciiFile tab, const string mount ) const
 {
 bool crypto = tab.name().find( /cryptotab )!=string::npos;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.12/storage/Volume.cc 
new/libstorage-2.25.13/storage/Volume.cc
--- old/libstorage-2.25.12/storage/Volume.cc2014-05-15 21:09:21.0 
+0200
+++ new/libstorage-2.25.13/storage/Volume.cc2014-05-20 10:05:41.0 
+0200
@@ -1087,7 +1087,8 @@
break;
case XFS:
cmd = MKFSXFSBIN;
-   params = -q -f;
+   // crc is used to get version 5 superblock
+   params = -q -f -m crc=1;
break;
case SWAP:
cmd = MKSWAPBIN;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.12/storage/gen_md5sum.cc 
new/libstorage-2.25.13/storage/gen_md5sum.cc
--- old/libstorage-2.25.12/storage/gen_md5sum.cc2014-05-15 
21:10:47.0 +0200
+++ new/libstorage-2.25.13/storage/gen_md5sum.cc2014-05-26 
15:27:50.0 +0200
@@ -1,5 +1,5 @@
-#define SOURCES_MD5SUM   0c2682b270a53ccf31ebb4ec8a7a7075
-#define SOURCES_MD5_DATE  Thu May 15 21:10:47 CEST 2014 
+#define SOURCES_MD5SUM   45fc7a300b4020cabf6da6d5c17dd976
+#define SOURCES_MD5_DATE  Mon 26 May 15:27:50 CEST 2014 
 namespace storage
 {
 const char* GetSourceMd5() { return SOURCES_MD5SUM; }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 

commit libstorage for openSUSE:Factory

2014-05-17 Thread h_root
Hello community,

here is the log from the commit of package libstorage for openSUSE:Factory 
checked in at 2014-05-18 06:49:14

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


Package is libstorage

Changes:

--- /work/SRC/openSUSE:Factory/libstorage/libstorage.changes2014-05-06 
13:39:50.0 +0200
+++ /work/SRC/openSUSE:Factory/.libstorage.new/libstorage.changes   
2014-05-18 06:49:20.0 +0200
@@ -1,0 +2,5 @@
+Thu May 15 15:00:00 CEST 2014 - dval...@suse.com
+
+- add GPT PReP support (Boot partition for POWER architecture)
+
+---



Other differences:
--
++ libstorage-2.25.12.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.12/storage/Disk.cc 
new/libstorage-2.25.12/storage/Disk.cc
--- old/libstorage-2.25.12/storage/Disk.cc  2014-03-26 18:08:49.0 
+0100
+++ new/libstorage-2.25.12/storage/Disk.cc  2014-05-15 21:09:21.0 
+0200
@@ -1805,9 +1805,10 @@
 
options   set   p-nr()   boot   
((p-boot()||p-id()==Partition::ID_GPT_BOOT)?on:off);
 
-   if (label == gpt)
+   if (label == gpt) {
+   options   set   p-nr()   prep   
(p-id()==Partition::ID_GPT_PREP?on:off);
options   set   p-nr()   bios_grub   
(p-id()==Partition::ID_GPT_BIOS?on:off);
-
+   }
if (p-id() = 255  label == msdos)
options   set   p-nr()   type   p-id();
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.12/storage/Partition.cc 
new/libstorage-2.25.12/storage/Partition.cc
--- old/libstorage-2.25.12/storage/Partition.cc 2014-04-08 12:27:43.0 
+0200
+++ new/libstorage-2.25.12/storage/Partition.cc 2014-05-15 21:09:21.0 
+0200
@@ -387,7 +387,7 @@
 
 bool zero_new = getContainer()-getStorage()-getZeroNewPartitions();
 bool used_as_pv = isUsedBy(UB_LVM);
-bool prep = id() == ID_PPC_PREP;
+bool prep = ( id() == ID_PPC_PREP || id() == ID_GPT_PREP );
 
 y2mil(zero_new:  zero_new   used_as_pv:  used_as_pv   prep: 
 prep);
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.12/storage/Partition.h 
new/libstorage-2.25.12/storage/Partition.h
--- old/libstorage-2.25.12/storage/Partition.h  2014-03-17 14:46:40.0 
+0100
+++ new/libstorage-2.25.12/storage/Partition.h  2014-05-15 21:09:21.0 
+0200
@@ -40,7 +40,7 @@
 ID_EXTENDED = 0x0f, ID_PPC_PREP = 0x41, ID_LINUX = 0x83, 
ID_SWAP = 0x82,
 ID_LVM = 0x8e, ID_RAID = 0xfd, ID_APPLE_OTHER = 0x101, 
ID_APPLE_HFS = 0x102,
 ID_GPT_BOOT = 0x103, ID_GPT_SERVICE = 0x104, 
ID_GPT_MSFTRES = 0x105,
-ID_APPLE_UFS = 0x106, ID_GPT_BIOS = 0x107 };
+ID_APPLE_UFS = 0x106, ID_GPT_BIOS = 0x107, ID_GPT_PREP = 
0x108 };
 
Partition(const Disk c, const string name, const string device, 
unsigned Pnr,
  unsigned long long SizeK, const Region cylRegion, 
PartitionType Type,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.12/storage/SystemInfo/CmdParted.cc 
new/libstorage-2.25.12/storage/SystemInfo/CmdParted.cc
--- old/libstorage-2.25.12/storage/SystemInfo/CmdParted.cc  2014-03-18 
16:59:03.0 +0100
+++ new/libstorage-2.25.12/storage/SystemInfo/CmdParted.cc  2014-05-15 
21:09:21.0 +0200
@@ -410,6 +410,10 @@
{
entry.id = Partition::ID_GPT_BIOS;
}
+   if (contains(flags, prep))
+   {
+   entry.id = Partition::ID_GPT_PREP;
+   }
}
y2mil(num:  entry.num   id:  entry.id   type:  
toString(entry.type));
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.12/storage/Volume.cc 
new/libstorage-2.25.12/storage/Volume.cc
--- old/libstorage-2.25.12/storage/Volume.cc2014-03-27 09:48:19.0 
+0100
+++ new/libstorage-2.25.12/storage/Volume.cc2014-05-15 21:09:21.0 
+0200
@@ -3323,7 +3323,7 @@
// %2$s is replaced by size (e.g. 623.5 MB)
txt = sformat(_(Create BIOS grub volume %1$s (%2$s)), 
dev.c_str(), sizeString().c_str());
}
-   else if (p  p-id() == Partition::ID_PPC_PREP)
+   else if (p  (p-id() == (Partition::ID_PPC_PREP) || p-id() == 
Partition::ID_GPT_PREP))
{
// displayed text before action, %1$s is replaced by device 
name e.g. 

commit libstorage for openSUSE:Factory

2014-04-26 Thread h_root
Hello community,

here is the log from the commit of package libstorage for openSUSE:Factory 
checked in at 2014-04-26 11:45:14

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


Package is libstorage

Changes:

--- /work/SRC/openSUSE:Factory/libstorage/libstorage.changes2014-04-13 
13:13:48.0 +0200
+++ /work/SRC/openSUSE:Factory/.libstorage.new/libstorage.changes   
2014-04-26 11:45:17.0 +0200
@@ -1,0 +2,12 @@
+Tue Apr 22 13:55:01 CEST 2014 - aschn...@suse.de
+
+- moved lock file to /run/libstorage
+
+---
+Fri Apr 11 18:10:00 CEST 2014 - aschn...@suse.de
+
+- removed workaround for blkid file-system misdetection
+  (bnc#869359)
+- 2.25.12
+
+---

Old:

  libstorage-2.25.11.tar.bz2

New:

  libstorage-2.25.12.tar.bz2



Other differences:
--
++ libstorage.spec ++
--- /var/tmp/diff_new_pack.fAqgBQ/_old  2014-04-26 11:45:18.0 +0200
+++ /var/tmp/diff_new_pack.fAqgBQ/_new  2014-04-26 11:45:18.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   libstorage
-Version:2.25.11
+Version:2.25.12
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: libstorage-%{version}.tar.bz2
@@ -90,8 +90,8 @@
 %install
 make install DESTDIR=$RPM_BUILD_ROOT
 
-install -d -m 755 $RPM_BUILD_ROOT/var/run/libstorage
-touch $RPM_BUILD_ROOT/var/run/libstorage/lock
+install -d -m 755 $RPM_BUILD_ROOT/run/libstorage
+touch $RPM_BUILD_ROOT/run/libstorage/lock
 
 %{find_lang} libstorage
 
@@ -153,7 +153,7 @@
 %files -n libstorage5 -f libstorage.lang
 %defattr(-,root,root)
 %{_libdir}/libstorage.so.*
-%ghost /var/run/libstorage
+%ghost /run/libstorage
 /var/adm/fillup-templates/sysconfig.storage-libstorage
 %doc %dir %{prefix}/share/doc/packages/libstorage
 %doc %{prefix}/share/doc/packages/libstorage/AUTHORS

++ libstorage-2.25.11.tar.bz2 - libstorage-2.25.12.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.11/VERSION 
new/libstorage-2.25.12/VERSION
--- old/libstorage-2.25.11/VERSION  2014-03-25 14:10:55.0 +0100
+++ new/libstorage-2.25.12/VERSION  2014-04-14 10:23:54.0 +0200
@@ -1 +1 @@
-2.25.11
+2.25.12
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.11/libstorage.spec.in 
new/libstorage-2.25.12/libstorage.spec.in
--- old/libstorage-2.25.11/libstorage.spec.in   2014-04-08 14:04:19.0 
+0200
+++ new/libstorage-2.25.12/libstorage.spec.in   2014-04-22 14:12:23.0 
+0200
@@ -82,8 +82,8 @@
 %install
 make install DESTDIR=$RPM_BUILD_ROOT
 
-install -d -m 755 $RPM_BUILD_ROOT/var/run/libstorage
-touch $RPM_BUILD_ROOT/var/run/libstorage/lock
+install -d -m 755 $RPM_BUILD_ROOT/run/libstorage
+touch $RPM_BUILD_ROOT/run/libstorage/lock
 
 %{find_lang} libstorage
 
@@ -145,7 +145,7 @@
 %files -n libstorage@LIBVERSION_MAJOR@ -f libstorage.lang
 %defattr(-,root,root)
 %{_libdir}/libstorage.so.*
-%ghost /var/run/libstorage
+%ghost /run/libstorage
 /var/adm/fillup-templates/sysconfig.storage-libstorage
 %doc %dir %{prefix}/share/doc/packages/libstorage
 %doc %{prefix}/share/doc/packages/libstorage/AUTHORS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.11/storage/Lock.cc 
new/libstorage-2.25.12/storage/Lock.cc
--- old/libstorage-2.25.11/storage/Lock.cc  2014-01-22 10:39:57.0 
+0100
+++ new/libstorage-2.25.12/storage/Lock.cc  2014-04-22 14:12:23.0 
+0200
@@ -33,6 +33,9 @@
 #include storage/Lock.h
 
 
+#define LOCKDIR /run/libstorage
+
+
 namespace storage
 {
 
@@ -56,12 +59,12 @@
 
y2mil(getting   (readonly ? read-only : read-write)   lock);
 
-   if (mkdir(/var/run/libstorage, 0755) == -1  errno != EEXIST)
+   if (mkdir(LOCKDIR, 0755) == -1  errno != EEXIST)
{
y2err(creating directory for lock-file failed:   
strerror(errno));
}
 
-   fd = open(/var/run/libstorage/lock, (readonly ? O_RDONLY : O_WRONLY) 
| O_CREAT | O_CLOEXEC,
+   fd = open(LOCKDIR /lock, (readonly ? O_RDONLY : O_WRONLY) | O_CREAT | 
O_CLOEXEC,
  S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH);
if (fd  0)
{
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.11/storage/Storage.cc 
new/libstorage-2.25.12/storage/Storage.cc
--- old/libstorage-2.25.11/storage/Storage.cc   2014-03-21 17:06:30.0 
+0100
+++ new/libstorage-2.25.12/storage/Storage.cc   

commit libstorage for openSUSE:Factory

2014-04-13 Thread h_root
Hello community,

here is the log from the commit of package libstorage for openSUSE:Factory 
checked in at 2014-04-13 13:13:37

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


Package is libstorage

Changes:

--- /work/SRC/openSUSE:Factory/libstorage/libstorage.changes2014-03-27 
06:14:23.0 +0100
+++ /work/SRC/openSUSE:Factory/.libstorage.new/libstorage.changes   
2014-04-13 13:13:48.0 +0200
@@ -1,0 +2,10 @@
+Tue Apr 08 12:11:00 CEST 2014 - aschn...@suse.de
+
+- adapted to lsscsi output change concerning FCoE
+
+---
+Mon Apr  7 19:43:18 UTC 2014 - dval...@suse.com
+
+- Always wipe PReP partition (bnc#870590)
+
+---
@@ -693 +703 @@
-- detect new transport type FcoE (bnc#726057)
+- detect new transport type FCoE (bnc#726057)
@@ -775 +785 @@
-- moved lock from to /var/run/libstorage (bnc#710356)
+- moved lock file to /var/run/libstorage (bnc#710356)



Other differences:
--
++ libstorage.spec ++
--- /var/tmp/diff_new_pack.JDC7Nq/_old  2014-04-13 13:13:50.0 +0200
+++ /var/tmp/diff_new_pack.JDC7Nq/_new  2014-04-13 13:13:50.0 +0200
@@ -121,7 +121,7 @@
 Requires:   device-mapper
 Requires:   dmraid
 Requires:   grep
-Requires:   lsscsi
+Requires:   lsscsi = 0.26
 Requires:   lvm2
 Requires:   mdadm = 3.3
 Requires:   multipath-tools

++ libstorage-2.25.11.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.11/libstorage.spec.in 
new/libstorage-2.25.11/libstorage.spec.in
--- old/libstorage-2.25.11/libstorage.spec.in   2014-02-06 10:29:26.0 
+0100
+++ new/libstorage-2.25.11/libstorage.spec.in   2014-04-08 14:04:19.0 
+0200
@@ -113,7 +113,7 @@
 Requires:  device-mapper
 Requires:  dmraid
 Requires:  grep
-Requires:  lsscsi
+Requires:  lsscsi = 0.26
 Requires:  lvm2
 Requires:  mdadm = 3.3
 Requires:  multipath-tools
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.11/storage/ArchInfo.cc 
new/libstorage-2.25.11/storage/ArchInfo.cc
--- old/libstorage-2.25.11/storage/ArchInfo.cc  2014-03-14 15:23:48.0 
+0100
+++ new/libstorage-2.25.11/storage/ArchInfo.cc  2014-03-26 18:08:49.0 
+0100
@@ -53,8 +53,7 @@
 {
setChildValue(node, arch, arch);
 
-   if (efiboot)
-   setChildValue(node, efiboot, efiboot);
+   setChildValueIf(node, efiboot, efiboot, efiboot);
 }
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.11/storage/Btrfs.cc 
new/libstorage-2.25.11/storage/Btrfs.cc
--- old/libstorage-2.25.11/storage/Btrfs.cc 2014-03-25 14:03:16.0 
+0100
+++ new/libstorage-2.25.11/storage/Btrfs.cc 2014-03-26 18:08:49.0 
+0100
@@ -1010,18 +1010,20 @@
log   SubVol:  tmp;
 }
 
-void Btrfs::saveData(xmlNode* node) const
+
+void
+Btrfs::saveData(xmlNode* node) const
 {
-Volume::saveData(node);
-setChildValue(node, devices, devices);
-if( !dev_add.empty() )
-   setChildValue(node, dev_add, dev_add);
-if( !dev_rem.empty() )
-   setChildValue(node, dev_rem, dev_rem);
-if (!subvol.empty())
-   setChildValue(node, subvolume, subvol);
+   Volume::saveData(node);
+
+   setChildValue(node, devices, devices);
+   setChildValueIf(node, dev_add, dev_add, !dev_add.empty());
+   setChildValueIf(node, dev_rem, dev_rem, !dev_rem.empty());
+
+   setChildValueIf(node, subvolume, subvol, !subvol.empty());
 }
 
+
 bool Btrfs::needCreateSubvol( const Btrfs v )
 {
 unsigned dummy, cnt;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.11/storage/Container.cc 
new/libstorage-2.25.11/storage/Container.cc
--- old/libstorage-2.25.11/storage/Container.cc 2014-01-22 10:39:57.0 
+0100
+++ new/libstorage-2.25.11/storage/Container.cc 2014-03-26 18:08:49.0 
+0100
@@ -97,8 +97,7 @@
 {
Device::saveData(node);
 
-   if (ronly)
-   setChildValue(node, readonly, ronly);
+   setChildValueIf(node, readonly, ronly, ronly);
 }
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.11/storage/Device.cc 
new/libstorage-2.25.11/storage/Device.cc
--- old/libstorage-2.25.11/storage/Device.cc2014-03-11 15:00:47.0 
+0100
+++ new/libstorage-2.25.11/storage/Device.cc2014-03-26 18:08:49.0 
+0100

commit libstorage for openSUSE:Factory

2014-03-26 Thread h_root
Hello community,

here is the log from the commit of package libstorage for openSUSE:Factory 
checked in at 2014-03-27 06:14:22

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


Package is libstorage

Changes:

--- /work/SRC/openSUSE:Factory/libstorage/libstorage.changes2014-03-21 
12:14:23.0 +0100
+++ /work/SRC/openSUSE:Factory/.libstorage.new/libstorage.changes   
2014-03-27 06:14:23.0 +0100
@@ -1,0 +2,11 @@
+Tue Mar 25 16:58:09 CET 2014 - aschn...@suse.de
+
+- fixed type visibility for gcc 4.9
+
+---
+Tue Mar 25 13:54:38 CET 2014 - aschn...@suse.de
+
+- fixed btrfs subvolume detection (bnc#869764)
+- 2.25.11
+
+---

Old:

  libstorage-2.25.10.tar.bz2

New:

  libstorage-2.25.11.tar.bz2



Other differences:
--
++ libstorage.spec ++
--- /var/tmp/diff_new_pack.Ihjfty/_old  2014-03-27 06:14:24.0 +0100
+++ /var/tmp/diff_new_pack.Ihjfty/_new  2014-03-27 06:14:24.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   libstorage
-Version:2.25.10
+Version:2.25.11
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: libstorage-%{version}.tar.bz2

++ libstorage-2.25.10.tar.bz2 - libstorage-2.25.11.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.10/VERSION 
new/libstorage-2.25.11/VERSION
--- old/libstorage-2.25.10/VERSION  2014-03-17 14:46:40.0 +0100
+++ new/libstorage-2.25.11/VERSION  2014-03-25 14:10:55.0 +0100
@@ -1 +1 @@
-2.25.10
+2.25.11
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.10/examples/SystemInfo/Makefile.am 
new/libstorage-2.25.11/examples/SystemInfo/Makefile.am
--- old/libstorage-2.25.10/examples/SystemInfo/Makefile.am  2014-03-13 
14:54:46.0 +0100
+++ new/libstorage-2.25.11/examples/SystemInfo/Makefile.am  2014-03-20 
15:47:41.0 +0100
@@ -7,7 +7,7 @@
 LDADD = ../../storage/libstorage.la
 
 noinst_PROGRAMS = test-blkid test-cmdbtrfsshow test-cmddmsetupinfo 
\
-   test-cmdvgdisplay test-cmdvgs test-lsscsi test-majorminor   
\
+   test-cmdvgdisplay test-cmdvgs test-dir test-lsscsi test-majorminor  
\
test-mdadmdetail test-mdadmexamine test-mdlinks test-parted 
\
test-procmdstat test-procmounts test-procparts test-udevmap
 
@@ -16,6 +16,7 @@
 test_cmddmsetupinfo_SOURCES = test-cmddmsetupinfo.cc
 test_cmdvgdisplay_SOURCES = test-cmdvgdisplay.cc
 test_cmdvgs_SOURCES = test-cmdvgs.cc
+test_dir_SOURCES = test-dir.cc
 test_lsscsi_SOURCES = test-lsscsi.cc
 test_majorminor_SOURCES = test-majorminor.cc
 test_mdadmdetail_SOURCES = test-mdadmdetail.cc
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.10/examples/SystemInfo/Makefile.in 
new/libstorage-2.25.11/examples/SystemInfo/Makefile.in
--- old/libstorage-2.25.10/examples/SystemInfo/Makefile.in  2014-03-19 
10:27:34.0 +0100
+++ new/libstorage-2.25.11/examples/SystemInfo/Makefile.in  2014-03-25 
17:12:58.0 +0100
@@ -84,7 +84,7 @@
 host_triplet = @host@
 noinst_PROGRAMS = test-blkid$(EXEEXT) test-cmdbtrfsshow$(EXEEXT) \
test-cmddmsetupinfo$(EXEEXT) test-cmdvgdisplay$(EXEEXT) \
-   test-cmdvgs$(EXEEXT) test-lsscsi$(EXEEXT) \
+   test-cmdvgs$(EXEEXT) test-dir$(EXEEXT) test-lsscsi$(EXEEXT) \
test-majorminor$(EXEEXT) test-mdadmdetail$(EXEEXT) \
test-mdadmexamine$(EXEEXT) test-mdlinks$(EXEEXT) \
test-parted$(EXEEXT) test-procmdstat$(EXEEXT) \
@@ -126,6 +126,10 @@
 test_cmdvgs_OBJECTS = $(am_test_cmdvgs_OBJECTS)
 test_cmdvgs_LDADD = $(LDADD)
 test_cmdvgs_DEPENDENCIES = ../../storage/libstorage.la
+am_test_dir_OBJECTS = test-dir.$(OBJEXT)
+test_dir_OBJECTS = $(am_test_dir_OBJECTS)
+test_dir_LDADD = $(LDADD)
+test_dir_DEPENDENCIES = ../../storage/libstorage.la
 am_test_lsscsi_OBJECTS = test-lsscsi.$(OBJEXT)
 test_lsscsi_OBJECTS = $(am_test_lsscsi_OBJECTS)
 test_lsscsi_LDADD = $(LDADD)
@@ -202,20 +206,20 @@
 am__v_CXXLD_1 = 
 SOURCES = $(test_blkid_SOURCES) $(test_cmdbtrfsshow_SOURCES) \
$(test_cmddmsetupinfo_SOURCES) $(test_cmdvgdisplay_SOURCES) \
-   $(test_cmdvgs_SOURCES) $(test_lsscsi_SOURCES) \
-   $(test_majorminor_SOURCES) $(test_mdadmdetail_SOURCES) \
-   $(test_mdadmexamine_SOURCES) $(test_mdlinks_SOURCES) \
-   $(test_parted_SOURCES) $(test_procmdstat_SOURCES) \
-   $(test_procmounts_SOURCES) $(test_procparts_SOURCES) \
-   

commit libstorage for openSUSE:Factory

2014-03-21 Thread h_root
Hello community,

here is the log from the commit of package libstorage for openSUSE:Factory 
checked in at 2014-03-21 12:14:08

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


Package is libstorage

Changes:

--- /work/SRC/openSUSE:Factory/libstorage/libstorage.changes2014-03-11 
09:24:09.0 +0100
+++ /work/SRC/openSUSE:Factory/.libstorage.new/libstorage.changes   
2014-03-21 12:14:23.0 +0100
@@ -1,0 +2,22 @@
+Wed Mar 19 09:45:24 CET 2014 - aschn...@suse.de
+
+- added workaround for blkid file-system misdetection (bnc#864703)
+
+---
+Tue Mar 18 14:48:58 CET 2014 - aschn...@suse.de
+
+- added workaround for parted cylinder discrepancy (bnc#866535)
+
+---
+Mon Mar 17 14:29:00 CET 2014 - aschn...@suse.de
+
+- include PPC PReP in commit text (see bnc#867345)
+- 2.25.10
+
+---
+Fri Mar 14 13:57:26 CET 2014 - aschn...@suse.de
+
+- do not create gpt_sync_mbr on ppc64le (bnc#868227)
+- replaced env.var. LIBSTORAGE_ENFORCE_EFI by LIBSTORAGE_EFI
+
+---

Old:

  libstorage-2.25.9.tar.bz2

New:

  libstorage-2.25.10.tar.bz2



Other differences:
--
++ libstorage.spec ++
--- /var/tmp/diff_new_pack.ilfx48/_old  2014-03-21 12:14:24.0 +0100
+++ /var/tmp/diff_new_pack.ilfx48/_new  2014-03-21 12:14:24.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   libstorage
-Version:2.25.9
+Version:2.25.10
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: libstorage-%{version}.tar.bz2

++ libstorage-2.25.9.tar.bz2 - libstorage-2.25.10.tar.bz2 ++
 11855 lines of diff (skipped)

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



commit libstorage for openSUSE:Factory

2014-03-11 Thread h_root
Hello community,

here is the log from the commit of package libstorage for openSUSE:Factory 
checked in at 2014-03-11 09:24:04

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


Package is libstorage

Changes:

--- /work/SRC/openSUSE:Factory/libstorage/libstorage.changes2014-03-01 
14:38:35.0 +0100
+++ /work/SRC/openSUSE:Factory/.libstorage.new/libstorage.changes   
2014-03-11 09:24:09.0 +0100
@@ -1,0 +2,5 @@
+Mon Mar 03 15:53:43 CET 2014 - aschn...@suse.de
+
+- fixed partition end cylinder calculation (bnc#866149)
+
+---



Other differences:
--
++ libstorage-2.25.9.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.9/storage/Disk.cc 
new/libstorage-2.25.9/storage/Disk.cc
--- old/libstorage-2.25.9/storage/Disk.cc   2014-02-28 15:05:13.0 
+0100
+++ new/libstorage-2.25.9/storage/Disk.cc   2014-03-03 16:35:35.0 
+0100
@@ -730,7 +730,10 @@
if (getDlabelCapabilities(label, caps))
maxSectors = caps.maxSectors;
 
-   unsigned long start = label == dasd ? 1 : 0;
+   unsigned long start = 0;
+   if (label == mac || label == amiga || label == dasd)
+   start = 1;
+
unsigned long len = min(cylinders(), 
kbToCylinder(sectorToKb(maxSectors)));
 
return Region(start, len - start);
@@ -2045,7 +2048,7 @@
if( ret==0 )
{
unsigned long start = p-cylStart();
-   unsigned long end = p-cylStart()+p-cylSize();
+   unsigned long end = p-cylEnd();
ConstPartPair pp = (p-type()!=LOGICAL) ? partPair( existingNotLog )
: partPair( existingLog );
unsigned long maxc = cylinders();
@@ -2082,7 +2085,7 @@
y2mil(corrected end from   end   to max   maxc);
end = maxc;
}
-   if( start==0  (label == mac || label == amiga) )
+   if (start == 0  (label == mac || label == amiga || label == 
dasd))
start = 1;
string save = cmd_line.str();
y2mil( end:  end   cylinders:  cylinders() );
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.9/storage/DmCo.cc 
new/libstorage-2.25.9/storage/DmCo.cc
--- old/libstorage-2.25.9/storage/DmCo.cc   2014-02-13 11:08:22.0 
+0100
+++ new/libstorage-2.25.9/storage/DmCo.cc   2014-03-04 18:04:21.0 
+0100
@@ -38,7 +38,7 @@
 using namespace std;
 
 
-CmdDmsetup::CmdDmsetup(bool do_probe)
+CmdDmsetupInfo::CmdDmsetupInfo(bool do_probe)
 {
if (do_probe)
probe();
@@ -46,7 +46,7 @@
 
 
 void
-CmdDmsetup::probe()
+CmdDmsetupInfo::probe()
 {
SystemCmd c(DMSETUPBIN  --columns --separator '/' --noheadings -o 
name,major,minor,segments,uuid info);
if (c.retcode() == 0  !c.stdout().empty())
@@ -55,7 +55,7 @@
 
 
 void
-CmdDmsetup::parse(const vectorstring lines)
+CmdDmsetupInfo::parse(const vectorstring lines)
 {
for (vectorstring::const_iterator it = lines.begin(); it != 
lines.end(); ++it)
{
@@ -80,7 +80,7 @@
 
 
 bool
-CmdDmsetup::getEntry(const string name, Entry entry) const
+CmdDmsetupInfo::getEntry(const string name, Entry entry) const
 {
const_iterator it = data.find(name);
if (it == data.end())
@@ -92,7 +92,7 @@
 
 
 liststring
-CmdDmsetup::getEntries() const
+CmdDmsetupInfo::getEntries() const
 {
liststring ret;
for (const_iterator i = data.begin(); i != data.end(); ++i)
@@ -101,19 +101,19 @@
 }
 
 
-std::ostream operator(std::ostream s, const CmdDmsetup cmddmsetup)
+std::ostream operator(std::ostream s, const CmdDmsetupInfo 
cmddmsetupinfo)
 {
-   for (CmdDmsetup::const_iterator it = cmddmsetup.begin(); it != 
cmddmsetup.end(); ++it)
-   s  data[  it-first  ] -   it-second  endl;
+   for (const CmdDmsetupInfo::value_type it : cmddmsetupinfo)
+   s  data[  it.first  ] -   it.second  endl;
 
return s;
 }
 
 
-std::ostream operator(std::ostream s, const CmdDmsetup::Entry entry)
+std::ostream operator(std::ostream s, const CmdDmsetupInfo::Entry 
entry)
 {
-   s  name:  entry.name   mjr:  entry.mjr   mnr:  
entry.mnr   segments:
-  entry.segments   uuid:  entry.uuid;
+   s  mjr:  entry.mjr   mnr:  entry.mnr   segments:  
entry.segments
+   uuid:  entry.uuid;
 
return s;
 }
@@ -249,10 +249,10 @@
 

commit libstorage for openSUSE:Factory

2014-03-01 Thread h_root
Hello community,

here is the log from the commit of package libstorage for openSUSE:Factory 
checked in at 2014-03-01 14:38:33

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


Package is libstorage

Changes:

--- /work/SRC/openSUSE:Factory/libstorage/libstorage.changes2014-02-26 
23:20:29.0 +0100
+++ /work/SRC/openSUSE:Factory/.libstorage.new/libstorage.changes   
2014-03-01 14:38:35.0 +0100
@@ -1,0 +2,10 @@
+Fri Feb 28 14:40:34 CET 2014 - aschn...@suse.de
+
+- adjust start cylinder of partitions on ECKD DASDs (bnc#866149)
+
+---
+Wed Feb 26 18:05:56 CET 2014 - aschn...@suse.de
+
+- fixed formatting after changing filesystem type (bnc#848655)
+
+---



Other differences:
--
++ libstorage-2.25.9.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.9/storage/Disk.cc 
new/libstorage-2.25.9/storage/Disk.cc
--- old/libstorage-2.25.9/storage/Disk.cc   2014-02-24 14:59:33.0 
+0100
+++ new/libstorage-2.25.9/storage/Disk.cc   2014-02-28 15:05:13.0 
+0100
@@ -722,14 +722,19 @@
 };
 
 
-Region Disk::usableCylRegion() const
-{
-unsigned long long maxSectors = (1ULL  32) - 1;
-DlabelCapabilities caps;
-if (getDlabelCapabilities(label, caps))
-   maxSectors = caps.maxSectors;
-return Region(0, min(cylinders(), kbToCylinder(sectorToKb(maxSectors;
-}
+Region
+Disk::usableCylRegion() const
+{
+   unsigned long long maxSectors = (1ULL  32) - 1;
+   DlabelCapabilities caps;
+   if (getDlabelCapabilities(label, caps))
+   maxSectors = caps.maxSectors;
+
+   unsigned long start = label == dasd ? 1 : 0;
+   unsigned long len = min(cylinders(), 
kbToCylinder(sectorToKb(maxSectors)));
+
+   return Region(start, len - start);
+}
 
 
 const string Disk::p_disks[] = { cciss/, ida/, ataraid/, etherd/, 
rd/, mmcblk[0-9]+,
@@ -1175,6 +1180,13 @@
 {
 y2mil(begin type   toString(type)   at   start   len   len 
  relaxed: 
  checkRelaxed);
+
+if (label == dasd  start == 0)
+{
+   y2war(adjusting partition start);
+   start = 1;
+}
+
 getStorage()-logCo( this );
 int ret = createChecks(type, Region(start, len), checkRelaxed);
 unsigned number = 0;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.9/storage/Storage.cc 
new/libstorage-2.25.9/storage/Storage.cc
--- old/libstorage-2.25.9/storage/Storage.cc2014-02-24 14:59:33.0 
+0100
+++ new/libstorage-2.25.9/storage/Storage.cc2014-02-26 18:51:02.0 
+0100
@@ -2414,11 +2414,10 @@
vol-updateFsData();
vol-clearUsedBy();
vol-changeMount( mp );
-if( !mp.empty() )
+if( mounted  !mp.empty() )
 {
 vol-setMount(mp);
-if( mounted )
-vol-setMounted();
+   vol-setMounted();
 }
 if( mby_uuid )
 vol-changeMountBy( vol-defaultMountBy() );
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.9/storage/gen_md5sum.cc 
new/libstorage-2.25.9/storage/gen_md5sum.cc
--- old/libstorage-2.25.9/storage/gen_md5sum.cc 2014-02-24 15:01:05.0 
+0100
+++ new/libstorage-2.25.9/storage/gen_md5sum.cc 2014-02-28 15:05:17.0 
+0100
@@ -1,5 +1,5 @@
-#define SOURCES_MD5SUM   6b670645cb598698baf7428432785926
-#define SOURCES_MD5_DATE  Mon 24 Feb 15:01:05 CET 2014 
+#define SOURCES_MD5SUM   6f12a7882155867f8d04745c5a0e82d4
+#define SOURCES_MD5_DATE  Fri 28 Feb 15:05:17 CET 2014 
 namespace storage
 {
 const char* GetSourceMd5() { return SOURCES_MD5SUM; }

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



commit libstorage for openSUSE:Factory

2014-02-26 Thread h_root
Hello community,

here is the log from the commit of package libstorage for openSUSE:Factory 
checked in at 2014-02-26 23:20:24

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


Package is libstorage

Changes:

--- /work/SRC/openSUSE:Factory/libstorage/libstorage.changes2014-02-23 
07:16:26.0 +0100
+++ /work/SRC/openSUSE:Factory/.libstorage.new/libstorage.changes   
2014-02-26 23:20:29.0 +0100
@@ -1,0 +2,6 @@
+Mon Feb 24 14:31:45 CET 2014 - aschn...@suse.de
+
+- use parted for ECKD DASDs (fate#313075)
+- 2.25.9
+
+---

Old:

  libstorage-2.25.8.tar.bz2

New:

  libstorage-2.25.9.tar.bz2



Other differences:
--
++ libstorage.spec ++
--- /var/tmp/diff_new_pack.pTW79I/_old  2014-02-26 23:20:30.0 +0100
+++ /var/tmp/diff_new_pack.pTW79I/_new  2014-02-26 23:20:30.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   libstorage
-Version:2.25.8
+Version:2.25.9
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: libstorage-%{version}.tar.bz2

++ libstorage-2.25.8.tar.bz2 - libstorage-2.25.9.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.8/VERSION 
new/libstorage-2.25.9/VERSION
--- old/libstorage-2.25.8/VERSION   2014-02-21 11:40:44.0 +0100
+++ new/libstorage-2.25.9/VERSION   2014-02-24 14:59:33.0 +0100
@@ -1 +1 @@
-2.25.8
+2.25.9
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.8/bindings/python/libstorage.py 
new/libstorage-2.25.9/bindings/python/libstorage.py
--- old/libstorage-2.25.8/bindings/python/libstorage.py 2014-02-21 
17:35:45.0 +0100
+++ new/libstorage-2.25.9/bindings/python/libstorage.py 2014-02-24 
15:01:14.0 +0100
@@ -1453,7 +1453,6 @@
 DM_REMOVE_FAILED = _libstorage.DM_REMOVE_FAILED
 DM_NOT_IN_LIST = _libstorage.DM_NOT_IN_LIST
 DASD_NOT_POSSIBLE = _libstorage.DASD_NOT_POSSIBLE
-DASD_FDASD_FAILED = _libstorage.DASD_FDASD_FAILED
 DASD_DASDFMT_FAILED = _libstorage.DASD_DASDFMT_FAILED
 DMPART_CHANGE_READONLY = _libstorage.DMPART_CHANGE_READONLY
 DMPART_INTERNAL_ERR = _libstorage.DMPART_INTERNAL_ERR
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.8/storage/AppUtil.cc 
new/libstorage-2.25.9/storage/AppUtil.cc
--- old/libstorage-2.25.8/storage/AppUtil.cc2014-02-07 18:08:42.0 
+0100
+++ new/libstorage-2.25.9/storage/AppUtil.cc2014-02-24 14:59:33.0 
+0100
@@ -712,7 +712,7 @@
 void
 checkBinPaths(const string arch, bool instsys)
 {
-   y2mil(Arch:  arch   Instsys:  instsys);
+   y2mil(arch:  arch   instsys:  instsys);
 
setstring paths = {
 #include ./gen_pathlist.cc
@@ -723,7 +723,6 @@
 
if (!boost::starts_with(arch, s390))
{
-   paths.erase(FDASDBIN);
paths.erase(DASDVIEWBIN);
paths.erase(DASDFMTBIN);
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.8/storage/Dasd.cc 
new/libstorage-2.25.9/storage/Dasd.cc
--- old/libstorage-2.25.8/storage/Dasd.cc   2014-01-22 10:39:57.0 
+0100
+++ new/libstorage-2.25.9/storage/Dasd.cc   2014-02-24 14:59:33.0 
+0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) [2004-2010] Novell, Inc.
+ * Copyright (c) [2004-2014] Novell, Inc.
  *
  * All Rights Reserved.
  *
@@ -64,324 +64,141 @@
 
 
 bool
-Dasd::detectPartitionsFdasd(SystemInfo systeminfo)
-{
-bool ret = true;
-   checkFdasdOutput(systeminfo);
-y2mil(ret:  ret   partitions:  vols.size());
-return( ret );
-}
-
-
-bool
 Dasd::detectPartitions(SystemInfo systeminfo)
 {
-bool ret = true;
-
-detected_label = dasd;
-setLabelData( dasd );
+   bool ret = true;
 
const Dasdview dasdview = systeminfo.getDasdview(device());
new_geometry = geometry = dasdview.getGeometry();
fmt = dasdview.getDasdFormat();
ronly = fmt != DASDF_CDL;
 
-   if( size_k==0 )
-   {
+   if (size_k == 0)
+   {
size_k = geometry.sizeK();
y2mil(New SizeK:  size_k);
-   }
+   }
+
+   switch (fmt)
+   {
+   case DASDF_NONE:
+   break;
 
-   switch( fmt )
-   {
case DASDF_CDL:
-   ret = Dasd::detectPartitionsFdasd(systeminfo);
+   ret = Disk::detectPartitions(systeminfo);
break;
-   case DASDF_LDL:
-   {
+
+   

commit libstorage for openSUSE:Factory

2014-02-22 Thread h_root
Hello community,

here is the log from the commit of package libstorage for openSUSE:Factory 
checked in at 2014-02-23 07:16:22

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


Package is libstorage

Changes:

--- /work/SRC/openSUSE:Factory/libstorage/libstorage.changes2014-02-17 
09:37:39.0 +0100
+++ /work/SRC/openSUSE:Factory/.libstorage.new/libstorage.changes   
2014-02-23 07:16:26.0 +0100
@@ -1,0 +2,13 @@
+Fri Feb 21 10:42:59 CET 2014 - aschn...@suse.de
+
+- provide number and device name in PartitionSlotInfo
+- use RegionInfo in libstorage API
+- 2.25.8
+
+---
+Mon Feb 17 18:18:33 CET 2014 - aschn...@suse.de
+
+- fixed setting filesystem label for btrfs during installation
+  (bnc#862409)
+
+---

Old:

  libstorage-2.25.7.tar.bz2

New:

  libstorage-2.25.8.tar.bz2



Other differences:
--
++ libstorage.spec ++
--- /var/tmp/diff_new_pack.Qugl2U/_old  2014-02-23 07:16:26.0 +0100
+++ /var/tmp/diff_new_pack.Qugl2U/_new  2014-02-23 07:16:26.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   libstorage
-Version:2.25.7
+Version:2.25.8
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: libstorage-%{version}.tar.bz2

++ libstorage-2.25.7.tar.bz2 - libstorage-2.25.8.tar.bz2 ++
 2240 lines of diff (skipped)

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



commit libstorage for openSUSE:Factory

2014-02-17 Thread h_root
Hello community,

here is the log from the commit of package libstorage for openSUSE:Factory 
checked in at 2014-02-17 09:37:37

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


Package is libstorage

Changes:

--- /work/SRC/openSUSE:Factory/libstorage/libstorage.changes2014-02-07 
16:44:17.0 +0100
+++ /work/SRC/openSUSE:Factory/.libstorage.new/libstorage.changes   
2014-02-17 09:37:39.0 +0100
@@ -1,0 +2,10 @@
+Thu Feb 13 18:11:37 CET 2014 - aschn...@suse.de
+
+- extended testsuite
+
+---
+Thu Feb 13 12:45:15 CET 2014 - aschn...@suse.de
+
+- removed unfit allocation variable from LvmLvInfo
+
+---



Other differences:
--
++ libstorage-2.25.7.tar.bz2 ++
 2427 lines of diff (skipped)

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



commit libstorage for openSUSE:Factory

2014-02-07 Thread h_root
Hello community,

here is the log from the commit of package libstorage for openSUSE:Factory 
checked in at 2014-02-07 16:44:16

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


Package is libstorage

Changes:

--- /work/SRC/openSUSE:Factory/libstorage/libstorage.changes2014-01-29 
07:16:13.0 +0100
+++ /work/SRC/openSUSE:Factory/.libstorage.new/libstorage.changes   
2014-02-07 16:44:17.0 +0100
@@ -1,0 +2,10 @@
+Thu Feb 06 10:48:08 CET 2014 - aschn...@suse.de
+
+- allow to set filesystem label for mounted btrfs (see bnc#862409)
+
+---
+Wed Feb 05 18:47:14 CET 2014 - aschn...@suse.de
+
+- fixed package obsoletes (bnc#861747)
+
+---



Other differences:
--
++ libstorage.spec ++
--- /var/tmp/diff_new_pack.nTA3uK/_old  2014-02-07 16:44:18.0 +0100
+++ /var/tmp/diff_new_pack.nTA3uK/_new  2014-02-07 16:44:18.0 +0100
@@ -136,9 +136,9 @@
 PreReq: %fillup_prereq
 %endif
 Obsoletes:  yast2-storage-lib
-Provides:   yast2-storage-lib
-Obsoletes:  libstorage  2.21.2
-Provides:   libstorage = %{version}
+# expands to Obsoletes: libstorage1 libstorage2 libstorage3...
+Obsoletes:  libstorage5  %{version}
+Obsoletes:  %(echo `seq -s   -f libstorage%.f $((5 - 1))`)
 Summary:Library for storage management
 Group:  System/Libraries
 

++ libstorage-2.25.7.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.7/libstorage.spec.in 
new/libstorage-2.25.7/libstorage.spec.in
--- old/libstorage-2.25.7/libstorage.spec.in2014-01-22 17:47:03.0 
+0100
+++ new/libstorage-2.25.7/libstorage.spec.in2014-02-06 10:29:26.0 
+0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libstorage
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -128,9 +128,9 @@
 PreReq: %fillup_prereq
 %endif
 Obsoletes:  yast2-storage-lib
-Provides:   yast2-storage-lib
-Obsoletes:  libstorage  2.21.2
-Provides:   libstorage = %{version}
+# expands to Obsoletes: libstorage1 libstorage2 libstorage3...
+Obsoletes:  %(echo `seq -s   -f libstorage%.f $((@LIBVERSION_MAJOR@ - 
1))`)
+Obsoletes:  libstorage@LIBVERSION_MAJOR@  %{version}
 Summary:Library for storage management
 Group:  System/Libraries
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.7/storage/Dasdview.cc 
new/libstorage-2.25.7/storage/Dasdview.cc
--- old/libstorage-2.25.7/storage/Dasdview.cc   2014-01-22 10:39:57.0 
+0100
+++ new/libstorage-2.25.7/storage/Dasdview.cc   2014-02-03 10:49:03.0 
+0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) [2004-2010] Novell, Inc.
+ * Copyright (c) [2004-2014] Novell, Inc.
  *
  * All Rights Reserved.
  *
@@ -28,38 +28,22 @@
 namespace storage
 {
 
-Dasdview::Dasdview(const string device)
-   : dasd_format(Dasd::DASDF_NONE), dasd_type(Dasd::DASDTYPE_NONE)
+Dasdview::Dasdview(const string device, bool do_probe)
+   : device(device), dasd_format(Dasd::DASDF_NONE), 
dasd_type(Dasd::DASDTYPE_NONE)
+{
+   if (do_probe)
+   probe();
+}
+
+
+void
+Dasdview::probe()
 {
SystemCmd cmd(DASDVIEWBIN  --extended  + quote(device));
 
if (cmd.retcode() == 0)
{
-   if (cmd.select(^format)  0)
-   {
-   string tmp = cmd.getLine(0, true);
-   y2mil(Format line:  tmp);
-   tmp = tmp.erase( 0, tmp.find( ':' ) + 1 );
-   tmp = boost::to_lower_copy(extractNthWord(4, tmp), 
locale::classic());
-   if( tmp == cdl )
-   dasd_format = Dasd::DASDF_CDL;
-   else if( tmp == ldl )
-   dasd_format = Dasd::DASDF_LDL;
-   }
-
-   if (cmd.select(^type)  0)
-{
-string tmp = cmd.getLine(0, true);
-y2mil(Type line:  tmp);
-tmp = tmp.erase(0, tmp.find(':') + 1);
-tmp = extractNthWord(0, tmp);
-if (tmp == ECKD)
-   dasd_type = Dasd::DASDTYPE_ECKD;
-else if (tmp == FBA)
-dasd_type = Dasd::DASDTYPE_FBA;
-   }
-
-   scanGeometry(cmd);
+   parse(cmd.stdout());
}
  

commit libstorage for openSUSE:Factory

2014-01-28 Thread h_root
Hello community,

here is the log from the commit of package libstorage for openSUSE:Factory 
checked in at 2014-01-29 07:16:12

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


Package is libstorage

Changes:

--- /work/SRC/openSUSE:Factory/libstorage/libstorage.changes2014-01-11 
11:11:50.0 +0100
+++ /work/SRC/openSUSE:Factory/.libstorage.new/libstorage.changes   
2014-01-29 07:16:13.0 +0100
@@ -1,0 +2,27 @@
+Mon Jan 27 14:04:20 CET 2014 - aschn...@suse.de
+
+- don't check exit code of parted
+
+---
+Thu Jan 23 14:37:55 CET 2014 - aschn...@suse.de
+
+- adapted fat resizing to parted 3.1 (part of fate#316110)
+- 2.25.7
+
+---
+Wed Jan 22 17:41:27 CET 2014 - aschn...@suse.de
+
+- adapted parameters of parted resize command to parted 3.1 (part
+  of fate#316110)
+
+---
+Fri Jan 17 16:28:31 CET 2014 - aschn...@suse.de
+
+- handle default btrfs subvolume when adding subvolumes to fstab
+
+---
+Thu Jan 16 11:21:38 CET 2014 - aschn...@suse.de
+
+- allow to store userdata for devices (used for fate#316221)
+
+---

Old:

  libstorage-2.25.6.tar.bz2

New:

  libstorage-2.25.7.tar.bz2



Other differences:
--
++ libstorage.spec ++
--- /var/tmp/diff_new_pack.c3n6d6/_old  2014-01-29 07:16:14.0 +0100
+++ /var/tmp/diff_new_pack.c3n6d6/_new  2014-01-29 07:16:14.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   libstorage
-Version:2.25.6
+Version:2.25.7
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: libstorage-%{version}.tar.bz2
@@ -125,7 +125,7 @@
 Requires:   lvm2
 Requires:   mdadm = 3.3
 Requires:   multipath-tools
-Requires:   parted = 2.2
+Requires:   parted = 3.1
 Requires:   udev
 Requires:   util-linux = 2.16
 %ifarch s390 s390x

++ libstorage-2.25.6.tar.bz2 - libstorage-2.25.7.tar.bz2 ++
 3388 lines of diff (skipped)

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



commit libstorage for openSUSE:Factory

2014-01-11 Thread h_root
Hello community,

here is the log from the commit of package libstorage for openSUSE:Factory 
checked in at 2014-01-11 11:11:49

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


Package is libstorage

Changes:

--- /work/SRC/openSUSE:Factory/libstorage/libstorage.changes2013-12-17 
07:23:07.0 +0100
+++ /work/SRC/openSUSE:Factory/.libstorage.new/libstorage.changes   
2014-01-11 11:11:50.0 +0100
@@ -1,0 +2,6 @@
+Thu Jan 09 15:08:59 CET 2014 - aschn...@suse.de
+
+- fixed setup of named RAIDs (bnc#849752)
+- version 2.25.6
+
+---

Old:

  libstorage-2.25.5.tar.bz2

New:

  libstorage-2.25.6.tar.bz2



Other differences:
--
++ libstorage.spec ++
--- /var/tmp/diff_new_pack.UHq3OM/_old  2014-01-11 11:11:51.0 +0100
+++ /var/tmp/diff_new_pack.UHq3OM/_new  2014-01-11 11:11:51.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libstorage
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:   libstorage
-Version:2.25.5
+Version:2.25.6
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: libstorage-%{version}.tar.bz2

++ libstorage-2.25.5.tar.bz2 - libstorage-2.25.6.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.5/VERSION 
new/libstorage-2.25.6/VERSION
--- old/libstorage-2.25.5/VERSION   2013-12-16 15:49:57.0 +0100
+++ new/libstorage-2.25.6/VERSION   2014-01-10 10:37:53.0 +0100
@@ -1 +1 @@
-2.25.5
+2.25.6
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.5/storage/Md.cc 
new/libstorage-2.25.6/storage/Md.cc
--- old/libstorage-2.25.5/storage/Md.cc 2013-12-03 19:02:44.0 +0100
+++ new/libstorage-2.25.6/storage/Md.cc 2014-01-09 15:44:25.0 +0100
@@ -186,7 +186,7 @@
}
 
MdadmDetails details;
-   if (getMdadmDetails(/dev/ + nm, details))
+   if (getMdadmDetails(dev, details))
{
setMdUuid(details.uuid);
}
@@ -348,7 +348,7 @@
 {
 string cmd = LSBIN  -l --full-time  + quote(devs) +   + quote(spare) + 
; 
MODPROBEBIN   + toString(md_type) + ;  MDADMBIN  --create  + 
quote(device()) +
---run --level= + toString(md_type) +  -e 1.0;
+--run --level= + toString(md_type) +  -e 1.0 --homehost=any;
 if (md_type == RAID1 || md_type == RAID5 || md_type == RAID6 || md_type == 
RAID10)
cmd +=  -b internal;
 if (chunk_k  0)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.5/storage/Partition.cc 
new/libstorage-2.25.6/storage/Partition.cc
--- old/libstorage-2.25.5/storage/Partition.cc  2013-11-04 16:50:24.0 
+0100
+++ new/libstorage-2.25.6/storage/Partition.cc  2014-01-09 15:44:25.0 
+0100
@@ -323,7 +323,7 @@
// displayed text during action, %1$s is replaced by partition 
name (e.g. /dev/sda1),
// %2$s is replaced by partiton type (e.g. Linux LVM), %3$X is 
replaced by
// hexadecimal number (e.g. 8E)
-   txt = sformat(_(Setting type of partition %1$s to %2$s 
(%3$X), dev.c_str(),
+   txt = sformat(_(Setting type of partition %1$s to %2$s 
(%3$X)), dev.c_str(),
  id_str.c_str(), id() );
}
else
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.5/storage/gen_md5sum.cc 
new/libstorage-2.25.6/storage/gen_md5sum.cc
--- old/libstorage-2.25.5/storage/gen_md5sum.cc 2013-12-16 14:38:56.0 
+0100
+++ new/libstorage-2.25.6/storage/gen_md5sum.cc 2014-01-09 15:45:53.0 
+0100
@@ -1,5 +1,5 @@
-#define SOURCES_MD5SUM   f76090c7c625b521bc92127c5ca7abee
-#define SOURCES_MD5_DATE  Mon 16 Dec 14:38:56 CET 2013 
+#define SOURCES_MD5SUM   45c9054bddcbfdc42e339bcac8ed60b8
+#define SOURCES_MD5_DATE  Thu 9 Jan 15:45:53 CET 2014 
 namespace storage
 {
 const char* GetSourceMd5() { return SOURCES_MD5SUM; }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.5/testsuite/partitionname.cc 
new/libstorage-2.25.6/testsuite/partitionname.cc
--- old/libstorage-2.25.5/testsuite/partitionname.cc2012-04-25 
11:46:34.0 +0200
+++ 

commit libstorage for openSUSE:Factory

2013-12-16 Thread h_root
Hello community,

here is the log from the commit of package libstorage for openSUSE:Factory 
checked in at 2013-12-17 07:23:06

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


Package is libstorage

Changes:

--- /work/SRC/openSUSE:Factory/libstorage/libstorage.changes2013-12-04 
12:30:10.0 +0100
+++ /work/SRC/openSUSE:Factory/.libstorage.new/libstorage.changes   
2013-12-17 07:23:07.0 +0100
@@ -1,0 +2,16 @@
+Mon Dec 16 14:34:18 CET 2013 - aschn...@suse.de
+
+- during installation add btrfs subvolumes to fstab (fate#316541)
+- version 2.25.5
+
+---
+Fri Dec 13 14:57:59 CET 2013 - aschn...@suse.de
+
+- added support for NVMe devices (see fate#315662)
+
+---
+Thu Dec 12 16:47:33 CET 2013 - aschn...@suse.de
+
+- fixed fstab handling for certain remove operations
+
+---

Old:

  libstorage-2.25.4.tar.bz2

New:

  libstorage-2.25.5.tar.bz2



Other differences:
--
++ libstorage.spec ++
--- /var/tmp/diff_new_pack.u06oZl/_old  2013-12-17 07:23:08.0 +0100
+++ /var/tmp/diff_new_pack.u06oZl/_new  2013-12-17 07:23:08.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   libstorage
-Version:2.25.4
+Version:2.25.5
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: libstorage-%{version}.tar.bz2

++ libstorage-2.25.4.tar.bz2 - libstorage-2.25.5.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.4/VERSION 
new/libstorage-2.25.5/VERSION
--- old/libstorage-2.25.4/VERSION   2013-12-03 18:00:09.0 +0100
+++ new/libstorage-2.25.5/VERSION   2013-12-16 15:49:57.0 +0100
@@ -1 +1 @@
-2.25.4
+2.25.5
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.4/bindings/python/libstorage.py 
new/libstorage-2.25.5/bindings/python/libstorage.py
--- old/libstorage-2.25.4/bindings/python/libstorage.py 2013-12-03 
19:03:37.0 +0100
+++ new/libstorage-2.25.5/bindings/python/libstorage.py 2013-12-13 
14:32:52.0 +0100
@@ -357,10 +357,42 @@
 ContentInfo_swigregister = _libstorage.ContentInfo_swigregister
 ContentInfo_swigregister(ContentInfo)
 
-class ContainerInfo(_object):
+class DeviceInfo(_object):
 __swig_setmethods__ = {}
+__setattr__ = lambda self, name, value: _swig_setattr(self, DeviceInfo, 
name, value)
+__swig_getmethods__ = {}
+__getattr__ = lambda self, name: _swig_getattr(self, DeviceInfo, name)
+__repr__ = _swig_repr
+def __init__(self): 
+this = _libstorage.new_DeviceInfo()
+try: self.this.append(this)
+except: self.this = this
+__swig_setmethods__[device] = _libstorage.DeviceInfo_device_set
+__swig_getmethods__[device] = _libstorage.DeviceInfo_device_get
+if _newclass:device = _swig_property(_libstorage.DeviceInfo_device_get, 
_libstorage.DeviceInfo_device_set)
+__swig_setmethods__[name] = _libstorage.DeviceInfo_name_set
+__swig_getmethods__[name] = _libstorage.DeviceInfo_name_get
+if _newclass:name = _swig_property(_libstorage.DeviceInfo_name_get, 
_libstorage.DeviceInfo_name_set)
+__swig_setmethods__[udevPath] = _libstorage.DeviceInfo_udevPath_set
+__swig_getmethods__[udevPath] = _libstorage.DeviceInfo_udevPath_get
+if _newclass:udevPath = 
_swig_property(_libstorage.DeviceInfo_udevPath_get, 
_libstorage.DeviceInfo_udevPath_set)
+__swig_setmethods__[udevId] = _libstorage.DeviceInfo_udevId_set
+__swig_getmethods__[udevId] = _libstorage.DeviceInfo_udevId_get
+if _newclass:udevId = _swig_property(_libstorage.DeviceInfo_udevId_get, 
_libstorage.DeviceInfo_udevId_set)
+__swig_setmethods__[usedBy] = _libstorage.DeviceInfo_usedBy_set
+__swig_getmethods__[usedBy] = _libstorage.DeviceInfo_usedBy_get
+if _newclass:usedBy = _swig_property(_libstorage.DeviceInfo_usedBy_get, 
_libstorage.DeviceInfo_usedBy_set)
+__swig_destroy__ = _libstorage.delete_DeviceInfo
+__del__ = lambda self : None;
+DeviceInfo_swigregister = _libstorage.DeviceInfo_swigregister
+DeviceInfo_swigregister(DeviceInfo)
+
+class ContainerInfo(DeviceInfo):
+__swig_setmethods__ = {}
+for _s in [DeviceInfo]: 
__swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
 __setattr__ = lambda self, name, value: _swig_setattr(self, ContainerInfo, 
name, value)
 __swig_getmethods__ = {}
+for _s in [DeviceInfo]: 
__swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
 

commit libstorage for openSUSE:Factory

2013-12-04 Thread h_root
Hello community,

here is the log from the commit of package libstorage for openSUSE:Factory 
checked in at 2013-12-04 12:30:09

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


Package is libstorage

Changes:

--- /work/SRC/openSUSE:Factory/libstorage/libstorage.changes2013-11-23 
08:14:19.0 +0100
+++ /work/SRC/openSUSE:Factory/.libstorage.new/libstorage.changes   
2013-12-04 12:30:10.0 +0100
@@ -1,0 +2,8 @@
+Tue Dec 03 17:31:28 CET 2013 - aschn...@suse.de
+
+- added list of UsedByInfo to ruby bindings
+- removed deprecated variables from ContainerInfo, VolumeInfo and
+  DiskInfo
+- pass some variables as list instead of joined string
+
+---

Old:

  libstorage-2.25.3.tar.bz2

New:

  libstorage-2.25.4.tar.bz2



Other differences:
--
++ libstorage.spec ++
--- /var/tmp/diff_new_pack.40Fa2L/_old  2013-12-04 12:30:11.0 +0100
+++ /var/tmp/diff_new_pack.40Fa2L/_new  2013-12-04 12:30:11.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   libstorage
-Version:2.25.3
+Version:2.25.4
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: libstorage-%{version}.tar.bz2
@@ -114,7 +114,7 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%package -n libstorage4
+%package -n libstorage5
 
 Requires:   coreutils
 Requires:   cryptsetup
@@ -142,7 +142,7 @@
 Summary:Library for storage management
 Group:  System/Libraries
 
-%description -n libstorage4
+%description -n libstorage5
 This package contains libstorage, a library for storage management.
 
 Authors:
@@ -150,7 +150,7 @@
 Thomas Fehr f...@suse.de
 Arvin Schnell aschn...@suse.de
 
-%files -n libstorage4 -f libstorage.lang
+%files -n libstorage5 -f libstorage.lang
 %defattr(-,root,root)
 %{_libdir}/libstorage.so.*
 %ghost /var/run/libstorage
@@ -159,20 +159,20 @@
 %doc %{prefix}/share/doc/packages/libstorage/AUTHORS
 %doc %{prefix}/share/doc/packages/libstorage/COPYING
 
-%post -n libstorage4
+%post -n libstorage5
 /sbin/ldconfig
 %if 0%{?suse_version}
 %{fillup_only -an storage}
 %endif
 
-%postun -n libstorage4
+%postun -n libstorage5
 /sbin/ldconfig
 
 %package -n libstorage-devel
 
 Requires:   gcc-c++
 Requires:   libstdc++-devel
-Requires:   libstorage4 = %version
+Requires:   libstorage5 = %version
 Requires:   libxml2-devel
 Summary:Header files and documentation for libstorage
 Group:  Development/Languages/C and C++
@@ -196,7 +196,7 @@
 
 %package -n libstorage-python
 
-Requires:   libstorage4 = %version
+Requires:   libstorage5 = %version
 %{py_requires}
 Summary:Python bindings for libstorage
 Group:  System/Libraries
@@ -215,7 +215,7 @@
 
 %package -n libstorage-ruby
 
-Requires:   libstorage4 = %version
+Requires:   libstorage5 = %version
 Summary:Ruby bindings for libstorage
 Group:  System/Libraries
 
@@ -245,7 +245,7 @@
 
 %package -n libstorage-testsuite
 
-Requires:   libstorage4 = %version
+Requires:   libstorage5 = %version
 Summary:Testsuite for libstorage
 Group:  Development/Tools/Other
 

++ libstorage-2.25.3.tar.bz2 - libstorage-2.25.4.tar.bz2 ++
 10849 lines of diff (skipped)

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



commit libstorage for openSUSE:Factory

2013-11-22 Thread h_root
Hello community,

here is the log from the commit of package libstorage for openSUSE:Factory 
checked in at 2013-11-23 08:14:17

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


Package is libstorage

Changes:

--- /work/SRC/openSUSE:Factory/libstorage/libstorage.changes2013-11-17 
20:19:48.0 +0100
+++ /work/SRC/openSUSE:Factory/.libstorage.new/libstorage.changes   
2013-11-23 08:14:19.0 +0100
@@ -1,0 +2,5 @@
+Wed Nov 20 11:35:01 CET 2013 - aschn...@suse.de
+
+- fixed writing of fstab for installation on NFS (bnc#848038)
+
+---



Other differences:
--
++ libstorage-2.25.3.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.3/bindings/python/libstorage.py 
new/libstorage-2.25.3/bindings/python/libstorage.py
--- old/libstorage-2.25.3/bindings/python/libstorage.py 2013-11-09 
11:37:05.0 +0100
+++ new/libstorage-2.25.3/bindings/python/libstorage.py 2013-11-20 
11:38:01.0 +0100
@@ -1690,10 +1690,6 @@
 StorageInterface_swigregister(StorageInterface)
 
 
-def getPresentDisks():
-  return _libstorage.getPresentDisks()
-getPresentDisks = _libstorage.getPresentDisks
-
 def initDefaultLogger(*args):
   return _libstorage.initDefaultLogger(*args)
 initDefaultLogger = _libstorage.initDefaultLogger
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.3/storage/Storage.cc 
new/libstorage-2.25.3/storage/Storage.cc
--- old/libstorage-2.25.3/storage/Storage.cc2013-11-09 11:35:59.0 
+0100
+++ new/libstorage-2.25.3/storage/Storage.cc2013-11-19 17:57:39.0 
+0100
@@ -855,20 +855,6 @@
}
 }
 
-liststring getPresentDisks()
-{
-liststring ret;
-list pair string, Disk::SysfsInfo   dlist;
-Storage::getDiskList( dlist );
-list pair string, Disk::SysfsInfo  ::const_iterator i = dlist.begin();
-while( i!=dlist.end() )
-   {
-   ret.push_back( /dev/+Disk::sysfsToDev(i-first) );
-   ++i;
-   }
-y2mil( ret:  ret );
-return( ret );
-}
 
 void
 Storage::detectFsData(const VolIterator begin, const VolIterator end, 
SystemInfo systeminfo)
@@ -6931,8 +6917,11 @@
string path = root()+/etc/fstab;
unlink( path.c_str() );
}
+
int ret = fstab-changeRootPrefix( root()+/etc );
-   if( ret!=0 )
+   if (ret == 0)
+   ret = fstab-flush();
+   if (ret != 0)
y2err(changeRootPrefix returns   ret);
}
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.3/storage/Storage.h 
new/libstorage-2.25.3/storage/Storage.h
--- old/libstorage-2.25.3/storage/Storage.h 2013-11-06 16:03:48.0 
+0100
+++ new/libstorage-2.25.3/storage/Storage.h 2013-11-15 01:42:51.0 
+0100
@@ -584,8 +584,8 @@
static void clean_tmpdir();
 
static bool getDiskList( list pair string, Disk::SysfsInfo   dlist 
);
-   void getDiskList( bool (* CheckFnc)( const Disk ),
- std::listDisk* dl );
+   void getDiskList( bool (* CheckFnc)( const Disk ), listDisk* dl );
+
void changeDeviceName( const string old, const string nw );
 
 int commit();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.3/storage/StorageInterface.h 
new/libstorage-2.25.3/storage/StorageInterface.h
--- old/libstorage-2.25.3/storage/StorageInterface.h2013-11-09 
11:35:59.0 +0100
+++ new/libstorage-2.25.3/storage/StorageInterface.h2013-11-15 
01:37:08.0 +0100
@@ -2760,13 +2760,6 @@
 
 
 /**
- * Lightweight function to get existing disks without full probing
- *
- * @return list of device names of present disk devices
- */
-liststring getPresentDisks();
-
-/**
  * Initializes default logging with explicit log dir.
  */
 void initDefaultLogger( const string logdir );
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.3/storage/Utils.cc 
new/libstorage-2.25.3/storage/Utils.cc
--- old/libstorage-2.25.3/storage/Utils.cc  2013-11-09 11:35:59.0 
+0100
+++ new/libstorage-2.25.3/storage/Utils.cc  2013-11-15 01:50:13.0 
+0100
@@ -22,6 +22,7 @@
 
 #include string
 
+#include storage/Storage.h
 #include storage/SystemInfo.h
 
 
@@ -30,6 +31,22 @@
 using namespace std;
 
 
+liststring
+getPresentDisks()
+{
+   liststring ret;
+
+   listpairstring, 

commit libstorage for openSUSE:Factory

2013-11-17 Thread h_root
Hello community,

here is the log from the commit of package libstorage for openSUSE:Factory 
checked in at 2013-11-17 20:19:47

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


Package is libstorage

Changes:

--- /work/SRC/openSUSE:Factory/libstorage/libstorage.changes2013-11-08 
16:12:36.0 +0100
+++ /work/SRC/openSUSE:Factory/.libstorage.new/libstorage.changes   
2013-11-17 20:19:48.0 +0100
@@ -1,0 +2,6 @@
+Wed Nov 13 15:28:51 CET 2013 - aschn...@suse.de
+
+- use correct binary prefix (bnc#849276)
+- version 2.25.3
+
+---

Old:

  libstorage-2.25.2.tar.bz2

New:

  libstorage-2.25.3.tar.bz2



Other differences:
--
++ libstorage.spec ++
--- /var/tmp/diff_new_pack.jr09nJ/_old  2013-11-17 20:19:49.0 +0100
+++ /var/tmp/diff_new_pack.jr09nJ/_new  2013-11-17 20:19:49.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   libstorage
-Version:2.25.2
+Version:2.25.3
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: libstorage-%{version}.tar.bz2

++ libstorage-2.25.2.tar.bz2 - libstorage-2.25.3.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.2/VERSION 
new/libstorage-2.25.3/VERSION
--- old/libstorage-2.25.2/VERSION   2013-10-30 16:07:20.0 +0100
+++ new/libstorage-2.25.3/VERSION   2013-11-13 15:30:59.0 +0100
@@ -1 +1 @@
-2.25.2
+2.25.3
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.2/storage/Device.cc 
new/libstorage-2.25.3/storage/Device.cc
--- old/libstorage-2.25.2/storage/Device.cc 2013-03-14 10:34:31.0 
+0100
+++ new/libstorage-2.25.3/storage/Device.cc 2013-11-06 18:29:21.0 
+0100
@@ -157,11 +157,11 @@
 }
 
 
-bool Device::sameDevice( const string device ) const
+bool
+Device::sameDevice(const string device) const
 {
-string d = normalizeDevice(device);
-return( d==dev ||
-   find( alt_names.begin(), alt_names.end(), d )!=alt_names.end() );
+   string d = normalizeDevice(device);
+   return d == dev || contains(alt_names, d);
 }
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.2/storage/HumanString.cc 
new/libstorage-2.25.3/storage/HumanString.cc
--- old/libstorage-2.25.2/storage/HumanString.cc2013-09-30 
11:28:44.0 +0200
+++ new/libstorage-2.25.3/storage/HumanString.cc2013-11-10 
12:42:30.0 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) [2004-2010] Novell, Inc.
+ * Copyright (c) [2004-2013] Novell, Inc.
  *
  * All Rights Reserved.
  *
@@ -54,66 +54,66 @@
break;
 
case 1:
-   /* symbol for kilo bytes (best keep untranslated) */
-   ret.push_back(_(kB));
+   /* symbol for kibi bytes (best keep untranslated) */
+   ret.push_back(_(KiB));
if (all)
-   /* symbol for kibi bytes (best keep untranslated) */
-   ret.push_back(_(KiB));
+   /* symbol for kilo bytes (best keep untranslated) */
+   ret.push_back(_(kB));
if (sloppy)
/* symbol for kilo (best keep untranslated) */
ret.push_back(_(k));
break;
 
case 2:
-   /* symbol for mega bytes (best keep untranslated) */
-   ret.push_back(_(MB));
+   /* symbol for mebi bytes (best keep untranslated) */
+   ret.push_back(_(MiB));
if (all)
-   /* symbol for mebi bytes (best keep untranslated) */
-   ret.push_back(_(MiB));
+   /* symbol for mega bytes (best keep untranslated) */
+   ret.push_back(_(MB));
if (sloppy)
/* symbol for mega (best keep untranslated) */
ret.push_back(_(M));
break;
 
case 3:
-   /* symbol for giga bytes (best keep untranslated) */
-   ret.push_back(_(GB));
+   /* symbol for gibi bytes (best keep untranslated) */
+   ret.push_back(_(GiB));
if (all)
-   /* symbol for gibi bytes (best keep untranslated) */
-   ret.push_back(_(GiB));
+   /* symbol for giga bytes (best keep untranslated) */
+   ret.push_back(_(GB));
if (sloppy)
/* symbol for giga (best keep 

commit libstorage for openSUSE:Factory

2013-11-08 Thread h_root
Hello community,

here is the log from the commit of package libstorage for openSUSE:Factory 
checked in at 2013-11-08 16:12:35

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


Package is libstorage

Changes:

--- /work/SRC/openSUSE:Factory/libstorage/libstorage.changes2013-10-23 
19:22:35.0 +0200
+++ /work/SRC/openSUSE:Factory/.libstorage.new/libstorage.changes   
2013-11-08 16:12:36.0 +0100
@@ -1,0 +2,26 @@
+Tue Nov 05 12:08:53 CET 2013 - aschn...@suse.de
+
+- support label on FAT (bnc#848052)
+
+---
+Mon Nov 04 16:49:15 CET 2013 - aschn...@suse.de
+
+- removed storage_utf8.rb (bnc#848812)
+
+---
+Tue Oct 29 14:57:13 CET 2013 - aschn...@suse.de
+
+- always use mdadm for IMSM and DDF (fate#316007)
+- version 2.25.2
+
+---
+Tue Oct 29 14:06:38 CET 2013 - aschn...@suse.de
+
+- added support for rsxx devices (fate#316440)
+
+---
+Tue Oct 29 11:59:17 CET 2013 - aschn...@suse.de
+
+- display partition type not only by number (bnc#844577)
+
+---

Old:

  libstorage-2.25.1.tar.bz2

New:

  libstorage-2.25.2.tar.bz2



Other differences:
--
++ libstorage.spec ++
--- /var/tmp/diff_new_pack.QnyBYx/_old  2013-11-08 16:12:37.0 +0100
+++ /var/tmp/diff_new_pack.QnyBYx/_new  2013-11-08 16:12:37.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   libstorage
-Version:2.25.1
+Version:2.25.2
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: libstorage-%{version}.tar.bz2
@@ -123,7 +123,7 @@
 Requires:   grep
 Requires:   lsscsi
 Requires:   lvm2
-Requires:   mdadm
+Requires:   mdadm = 3.3
 Requires:   multipath-tools
 Requires:   parted = 2.2
 Requires:   udev
@@ -235,7 +235,6 @@
 %else
 %{rb_vendorarch}/storage.so
 %endif
-%{rb_vendordir}/storage_utf8.rb
 %endif
 %if 0%{?mandriva_version}
 %{ruby_sitearchdir}/storage.so

++ libstorage-2.25.1.tar.bz2 - libstorage-2.25.2.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.1/LIBVERSION 
new/libstorage-2.25.2/LIBVERSION
--- old/libstorage-2.25.1/LIBVERSION2012-08-07 11:51:00.0 +0200
+++ new/libstorage-2.25.2/LIBVERSION2013-10-30 16:07:31.0 +0100
@@ -1 +1 @@
-4.0.0
+4.1.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.1/VERSION 
new/libstorage-2.25.2/VERSION
--- old/libstorage-2.25.1/VERSION   2013-10-23 08:08:34.0 +0200
+++ new/libstorage-2.25.2/VERSION   2013-10-30 16:07:20.0 +0100
@@ -1 +1 @@
-2.25.1
+2.25.2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.1/bindings/python/libstorage.py 
new/libstorage-2.25.2/bindings/python/libstorage.py
--- old/libstorage-2.25.1/bindings/python/libstorage.py 2013-10-21 
18:05:12.0 +0200
+++ new/libstorage-2.25.2/bindings/python/libstorage.py 2013-11-06 
14:13:42.0 +0100
@@ -193,9 +193,6 @@
 SPI = _libstorage.SPI
 USB = _libstorage.USB
 FCOE = _libstorage.FCOE
-IMSM_UNDECIDED = _libstorage.IMSM_UNDECIDED
-IMSM_DMRAID = _libstorage.IMSM_DMRAID
-IMSM_MDADM = _libstorage.IMSM_MDADM
 MPAS_UNDECIDED = _libstorage.MPAS_UNDECIDED
 MPAS_ON = _libstorage.MPAS_ON
 MPAS_OFF = _libstorage.MPAS_OFF
@@ -1529,8 +1526,6 @@
 def getContDmmultipathCoInfo(self, *args): return 
_libstorage.StorageInterface_getContDmmultipathCoInfo(self, *args)
 def getMdPartCoInfo(self, *args): return 
_libstorage.StorageInterface_getMdPartCoInfo(self, *args)
 def getContMdPartCoInfo(self, *args): return 
_libstorage.StorageInterface_getContMdPartCoInfo(self, *args)
-def setImsmDriver(self, *args): return 
_libstorage.StorageInterface_setImsmDriver(self, *args)
-def getImsmDriver(self): return 
_libstorage.StorageInterface_getImsmDriver(self)
 def setMultipathAutostart(self, *args): return 
_libstorage.StorageInterface_setMultipathAutostart(self, *args)
 def getMultipathAutostart(self): return 
_libstorage.StorageInterface_getMultipathAutostart(self)
 def getVolumes(self, *args): return 
_libstorage.StorageInterface_getVolumes(self, *args)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.1/bindings/ruby/Makefile.am 
new/libstorage-2.25.2/bindings/ruby/Makefile.am
--- 

commit libstorage for openSUSE:Factory

2013-10-23 Thread h_root
Hello community,

here is the log from the commit of package libstorage for openSUSE:Factory 
checked in at 2013-10-23 19:22:34

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


Package is libstorage

Changes:

--- /work/SRC/openSUSE:Factory/libstorage/libstorage.changes2013-10-20 
10:52:50.0 +0200
+++ /work/SRC/openSUSE:Factory/.libstorage.new/libstorage.changes   
2013-10-23 19:22:35.0 +0200
@@ -1,0 +2,6 @@
+Wed Oct 23 08:02:46 CEST 2013 - aschn...@suse.de
+
+- make btrfs the default filesystem (fate#315901)
+- version 2.25.1
+
+---

Old:

  libstorage-2.25.0.tar.bz2

New:

  libstorage-2.25.1.tar.bz2



Other differences:
--
++ libstorage.spec ++
--- /var/tmp/diff_new_pack.QTHqCN/_old  2013-10-23 19:22:36.0 +0200
+++ /var/tmp/diff_new_pack.QTHqCN/_new  2013-10-23 19:22:36.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   libstorage
-Version:2.25.0
+Version:2.25.1
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: libstorage-%{version}.tar.bz2

++ libstorage-2.25.0.tar.bz2 - libstorage-2.25.1.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.0/Makefile.in 
new/libstorage-2.25.1/Makefile.in
--- old/libstorage-2.25.0/Makefile.in   2013-10-17 10:49:13.0 +0200
+++ new/libstorage-2.25.1/Makefile.in   2013-10-23 08:14:42.0 +0200
@@ -61,7 +61,7 @@
COPYING config.guess config.sub depcomp install-sh ltmain.sh \
missing py-compile
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-am__aclocal_m4_deps = $(top_srcdir)/configure.in
+am__aclocal_m4_deps = $(top_srcdir)/configure.ac
 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.0/VERSION 
new/libstorage-2.25.1/VERSION
--- old/libstorage-2.25.0/VERSION   2013-09-30 17:06:15.0 +0200
+++ new/libstorage-2.25.1/VERSION   2013-10-23 08:08:34.0 +0200
@@ -1 +1 @@
-2.25.0
+2.25.1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.0/bindings/Makefile.in 
new/libstorage-2.25.1/bindings/Makefile.in
--- old/libstorage-2.25.0/bindings/Makefile.in  2013-10-17 10:49:13.0 
+0200
+++ new/libstorage-2.25.1/bindings/Makefile.in  2013-10-23 08:14:42.0 
+0200
@@ -56,7 +56,7 @@
 subdir = bindings
 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-am__aclocal_m4_deps = $(top_srcdir)/configure.in
+am__aclocal_m4_deps = $(top_srcdir)/configure.ac
 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
 mkinstalldirs = $(install_sh) -d
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.0/bindings/python/Makefile.in 
new/libstorage-2.25.1/bindings/python/Makefile.in
--- old/libstorage-2.25.0/bindings/python/Makefile.in   2013-10-17 
10:49:13.0 +0200
+++ new/libstorage-2.25.1/bindings/python/Makefile.in   2013-10-23 
08:14:43.0 +0200
@@ -59,7 +59,7 @@
$(srcdir)/Makefile.in $(top_srcdir)/depcomp \
$(top_srcdir)/py-compile
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-am__aclocal_m4_deps = $(top_srcdir)/configure.in
+am__aclocal_m4_deps = $(top_srcdir)/configure.ac
 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
 mkinstalldirs = $(install_sh) -d
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/libstorage-2.25.0/bindings/python/examples/Makefile.in 
new/libstorage-2.25.1/bindings/python/examples/Makefile.in
--- old/libstorage-2.25.0/bindings/python/examples/Makefile.in  2013-10-17 
10:49:13.0 +0200
+++ new/libstorage-2.25.1/bindings/python/examples/Makefile.in  2013-10-23 
08:14:43.0 +0200
@@ -57,7 +57,7 @@
 subdir = bindings/python/examples
 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-am__aclocal_m4_deps = $(top_srcdir)/configure.in
+am__aclocal_m4_deps = $(top_srcdir)/configure.ac
 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
 mkinstalldirs = $(install_sh) -d
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.0/bindings/ruby/Makefile.in 

commit libstorage for openSUSE:Factory

2013-10-20 Thread h_root
Hello community,

here is the log from the commit of package libstorage for openSUSE:Factory 
checked in at 2013-10-20 10:52:49

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


Package is libstorage

Changes:

--- /work/SRC/openSUSE:Factory/libstorage/libstorage.changes2013-10-03 
07:25:44.0 +0200
+++ /work/SRC/openSUSE:Factory/.libstorage.new/libstorage.changes   
2013-10-20 10:52:50.0 +0200
@@ -1,0 +2,15 @@
+Tue Oct 15 10:23:49 CEST 2013 - aschn...@suse.de
+
+- fixed calculation of free physical extents (bnc#844534)
+
+---
+Mon Oct 14 12:28:38 CEST 2013 - aschn...@suse.de
+
+- changed default mount-by to uuid (fate#316204)
+
+---
+Fri Oct 11 14:26:18 CEST 2013 - aschn...@suse.de
+
+- adapted to device-mapper device name changes (bnc#810840)
+
+---



Other differences:
--
++ libstorage.spec ++
+++ empty output from diff against libstorage.spec

++ libstorage-2.25.0.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.0/data/sysconfig.storage-libstorage 
new/libstorage-2.25.0/data/sysconfig.storage-libstorage
--- old/libstorage-2.25.0/data/sysconfig.storage-libstorage 2013-09-25 
18:41:29.0 +0200
+++ new/libstorage-2.25.0/data/sysconfig.storage-libstorage 2013-10-14 
11:17:15.0 +0200
@@ -2,7 +2,7 @@
 
 ## Type: string(id,path,device,uuid,label)
 # Default mount-by method.
-DEVICE_NAMES=id
+DEVICE_NAMES=uuid
 
 ## Type: string(ext2,ext3,ext4,xfs,btrfs)
 # Default filesystem type.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.0/libstorage.spec.in 
new/libstorage-2.25.0/libstorage.spec.in
--- old/libstorage-2.25.0/libstorage.spec.in2013-09-30 17:57:27.0 
+0200
+++ new/libstorage-2.25.0/libstorage.spec.in2013-10-01 18:12:29.0 
+0200
@@ -87,9 +87,9 @@
 
 %{find_lang} libstorage
 
-rm -f $RPM_BUILD_ROOT/%{python_sitearch}/_libstorage.a
+rm -f $RPM_BUILD_ROOT/%{python_sitearch}/_libstorage.a  
 rm -f $RPM_BUILD_ROOT/%{python_sitearch}/_libstorage.la
-%if 0%{?suse_version}
+%if 0%{?suse_version} 
 %if %{?rb_vendorarchdir} != 
 rm -f $RPM_BUILD_ROOT/%{rb_vendorarchdir}/storage.la
 %else
@@ -209,7 +209,7 @@
 
 %files -n libstorage-ruby
 %defattr(-,root,root)
-%if 0%{?suse_version}
+%if 0%{?suse_version} 
 %if %{?rb_vendorarchdir} != 
 %{rb_vendorarchdir}/storage.so
 %else
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.0/storage/Disk.cc 
new/libstorage-2.25.0/storage/Disk.cc
--- old/libstorage-2.25.0/storage/Disk.cc   2013-09-10 12:02:03.0 
+0200
+++ new/libstorage-2.25.0/storage/Disk.cc   2013-10-11 14:31:39.0 
+0200
@@ -754,7 +754,7 @@
 {
 // TODO: this is hackish
 if (boost::starts_with(disk, /dev/mapper/))
-   return _part;
+   return -part;
 else if (needP(disk))
return p;
 else
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.0/storage/DmPartCo.cc 
new/libstorage-2.25.0/storage/DmPartCo.cc
--- old/libstorage-2.25.0/storage/DmPartCo.cc   2013-09-27 14:09:14.0 
+0200
+++ new/libstorage-2.25.0/storage/DmPartCo.cc   2013-10-11 14:31:39.0 
+0200
@@ -72,7 +72,7 @@
 {
 int ret = 0;
 y2mil(device:  device   dev:  dev);
-string::size_type pos = device.rfind(_part);
+string::size_type pos = device.rfind(-part);
 if (pos == string::npos)
ret = DMPART_PARTITION_NOT_FOUND;
 else
@@ -472,7 +472,7 @@
 string ret = nm;
 if( num0 )
{
-   ret += _part;
+   ret += -part;
ret += decString(num);
}
 y2mil( num:  num   ret:  ret );
@@ -486,7 +486,7 @@
 string ret = dev;
 if( num0 )
{
-   ret += _part;
+   ret += -part;
ret += decString(num);
}
 y2mil( num:  num   ret:  ret );
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.0/storage/DmraidCo.cc 
new/libstorage-2.25.0/storage/DmraidCo.cc
--- old/libstorage-2.25.0/storage/DmraidCo.cc   2013-08-12 17:43:49.0 
+0200
+++ new/libstorage-2.25.0/storage/DmraidCo.cc   2013-10-11 14:31:39.0 
+0200
@@ -209,7 +209,7 @@
}
else
{
-   c.execute(DMRAIDBIN  -an -P _part);
+   c.execute(DMRAIDBIN  -an);
}
active = val;
}
diff -urN 

commit libstorage for openSUSE:Factory

2013-10-02 Thread h_root
Hello community,

here is the log from the commit of package libstorage for openSUSE:Factory 
checked in at 2013-10-03 07:25:43

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


Package is libstorage

Changes:

--- /work/SRC/openSUSE:Factory/libstorage/libstorage.changes2013-09-29 
17:49:42.0 +0200
+++ /work/SRC/openSUSE:Factory/.libstorage.new/libstorage.changes   
2013-10-03 07:25:44.0 +0200
@@ -1,0 +2,6 @@
+Mon Sep 30 11:22:12 CEST 2013 - aschn...@suse.de
+
+- force UTF-8 encoding on ruby string (bnc#841713)
+- version 2.25.0
+
+---

Old:

  libstorage-2.24.5.tar.bz2

New:

  libstorage-2.25.0.tar.bz2



Other differences:
--
++ libstorage.spec ++
--- /var/tmp/diff_new_pack.0RH2Ed/_old  2013-10-03 07:25:47.0 +0200
+++ /var/tmp/diff_new_pack.0RH2Ed/_new  2013-10-03 07:25:47.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   libstorage
-Version:2.24.5
+Version:2.25.0
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: libstorage-%{version}.tar.bz2
@@ -51,6 +51,7 @@
 %if 0%{?fedora_version} || 0%{?centos_version} || 0%{?rhel_version} || 
0%{?fedora} || 0%{?rhel}
 %{!?ruby_sitelib: %global ruby_sitelib %(ruby -r rbconfig -e 'vd = 
Config::CONFIG[vendorlibdir]; print(vd ? vd : Config::CONFIG[sitelibdir])')}
 %{!?ruby_sitearch: %global ruby_sitearch %(ruby -r rbconfig -e 'vad = 
Config::CONFIG[vendorarchdir]; print(vad ? vad : 
Config::CONFIG[sitearchdir])')}
+%{!?ruby_vendor: %global ruby_vendor %(ruby -r rbconfig -e 'vad = 
Config::CONFIG[vendor]; print(vad ? vad : Config::CONFIG[vendor])')}
 %endif
 %endif
 
@@ -234,6 +235,7 @@
 %else
 %{rb_vendorarch}/storage.so
 %endif
+%{rb_vendordir}/storage_utf8.rb
 %endif
 %if 0%{?mandriva_version}
 %{ruby_sitearchdir}/storage.so

++ libstorage-2.24.5.tar.bz2 - libstorage-2.25.0.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.24.5/Makefile.in 
new/libstorage-2.25.0/Makefile.in
--- old/libstorage-2.24.5/Makefile.in   2013-09-26 11:20:08.0 +0200
+++ new/libstorage-2.25.0/Makefile.in   2013-09-30 18:05:01.0 +0200
@@ -246,8 +246,10 @@
 RUBY_BIN_DIR = @RUBY_BIN_DIR@
 RUBY_EXTENSION_DIR = @RUBY_EXTENSION_DIR@
 RUBY_INCLUDE_DIR = @RUBY_INCLUDE_DIR@
+RUBY_LIB_DIR = @RUBY_LIB_DIR@
 RUBY_SHARED_LIB = @RUBY_SHARED_LIB@
 RUBY_SO_NAME = @RUBY_SO_NAME@
+RUBY_VENDOR_DIR = @RUBY_VENDOR_DIR@
 RUBY_VERSION = @RUBY_VERSION@
 SED = @SED@
 SET_MAKE = @SET_MAKE@
@@ -681,7 +683,7 @@
*.zip*) \
  unzip $(distdir).zip ;;\
esac
-   chmod -R a-w $(distdir); chmod u+w $(distdir)
+   chmod -R a-w $(distdir); chmod a+w $(distdir)
mkdir $(distdir)/_build
mkdir $(distdir)/_inst
chmod a-w $(distdir)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.24.5/VERSION 
new/libstorage-2.25.0/VERSION
--- old/libstorage-2.24.5/VERSION   2013-09-25 17:06:50.0 +0200
+++ new/libstorage-2.25.0/VERSION   2013-09-30 17:06:15.0 +0200
@@ -1 +1 @@
-2.24.5
+2.25.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.24.5/bindings/Makefile.in 
new/libstorage-2.25.0/bindings/Makefile.in
--- old/libstorage-2.24.5/bindings/Makefile.in  2013-09-26 11:20:08.0 
+0200
+++ new/libstorage-2.25.0/bindings/Makefile.in  2013-09-30 18:05:01.0 
+0200
@@ -193,8 +193,10 @@
 RUBY_BIN_DIR = @RUBY_BIN_DIR@
 RUBY_EXTENSION_DIR = @RUBY_EXTENSION_DIR@
 RUBY_INCLUDE_DIR = @RUBY_INCLUDE_DIR@
+RUBY_LIB_DIR = @RUBY_LIB_DIR@
 RUBY_SHARED_LIB = @RUBY_SHARED_LIB@
 RUBY_SO_NAME = @RUBY_SO_NAME@
+RUBY_VENDOR_DIR = @RUBY_VENDOR_DIR@
 RUBY_VERSION = @RUBY_VERSION@
 SED = @SED@
 SET_MAKE = @SET_MAKE@
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.24.5/bindings/python/Makefile.in 
new/libstorage-2.25.0/bindings/python/Makefile.in
--- old/libstorage-2.24.5/bindings/python/Makefile.in   2013-09-26 
11:20:08.0 +0200
+++ new/libstorage-2.25.0/bindings/python/Makefile.in   2013-09-30 
18:05:01.0 +0200
@@ -257,8 +257,10 @@
 RUBY_BIN_DIR = @RUBY_BIN_DIR@
 RUBY_EXTENSION_DIR = @RUBY_EXTENSION_DIR@
 RUBY_INCLUDE_DIR = @RUBY_INCLUDE_DIR@
+RUBY_LIB_DIR = @RUBY_LIB_DIR@
 RUBY_SHARED_LIB = @RUBY_SHARED_LIB@
 RUBY_SO_NAME = @RUBY_SO_NAME@
+RUBY_VENDOR_DIR = @RUBY_VENDOR_DIR@
 RUBY_VERSION = @RUBY_VERSION@
 SED = @SED@
 SET_MAKE = @SET_MAKE@
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 

commit libstorage for openSUSE:Factory

2013-09-29 Thread h_root
Hello community,

here is the log from the commit of package libstorage for openSUSE:Factory 
checked in at 2013-09-29 17:49:41

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


Package is libstorage

Changes:

--- /work/SRC/openSUSE:Factory/libstorage/libstorage.changes2013-09-13 
14:51:05.0 +0200
+++ /work/SRC/openSUSE:Factory/.libstorage.new/libstorage.changes   
2013-09-29 17:49:42.0 +0200
@@ -1,0 +2,6 @@
+Wed Sep 25 15:06:46 CEST 2013 - f...@suse.de
+
+- version 2.24.5
+- add code to support named raids (fate#315590)
+
+---

Old:

  libstorage-2.24.4.tar.bz2

New:

  libstorage-2.24.5.tar.bz2



Other differences:
--
++ libstorage.spec ++
--- /var/tmp/diff_new_pack.oIRaGd/_old  2013-09-29 17:49:46.0 +0200
+++ /var/tmp/diff_new_pack.oIRaGd/_new  2013-09-29 17:49:46.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   libstorage
-Version:2.24.4
+Version:2.24.5
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: libstorage-%{version}.tar.bz2

++ libstorage-2.24.4.tar.bz2 - libstorage-2.24.5.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.24.4/VERSION 
new/libstorage-2.24.5/VERSION
--- old/libstorage-2.24.4/VERSION   2013-09-13 11:11:49.0 +0200
+++ new/libstorage-2.24.5/VERSION   2013-09-25 17:06:50.0 +0200
@@ -1 +1 @@
-2.24.4
+2.24.5
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.24.4/bindings/python/libstorage.py 
new/libstorage-2.24.5/bindings/python/libstorage.py
--- old/libstorage-2.24.4/bindings/python/libstorage.py 2013-09-13 
11:25:30.0 +0200
+++ new/libstorage-2.24.5/bindings/python/libstorage.py 2013-09-26 
11:32:28.0 +0200
@@ -1432,6 +1432,7 @@
 MD_INVALID_PARITY = _libstorage.MD_INVALID_PARITY
 MD_TOO_MANY_SPARES = _libstorage.MD_TOO_MANY_SPARES
 MD_GET_STATE_FAILED = _libstorage.MD_GET_STATE_FAILED
+MD_DUPLICATE_NAME = _libstorage.MD_DUPLICATE_NAME
 MDPART_CHANGE_READONLY = _libstorage.MDPART_CHANGE_READONLY
 MDPART_INTERNAL_ERR = _libstorage.MDPART_INTERNAL_ERR
 MDPART_INVALID_VOLUME = _libstorage.MDPART_INVALID_VOLUME
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.24.4/storage/LvmVg.cc 
new/libstorage-2.24.5/storage/LvmVg.cc
--- old/libstorage-2.24.4/storage/LvmVg.cc  2013-08-12 15:16:51.0 
+0200
+++ new/libstorage-2.24.5/storage/LvmVg.cc  2013-09-23 13:21:50.0 
+0200
@@ -974,7 +974,7 @@
 LvmLvPair p=lvmLvPair(lvDeleted);
 for( LvmLvIter i=p.begin(); i!=p.end(); ++i )
{
-   cout  Deleted:  *i  endl;
+   //cout  Deleted:  *i  endl;
if( !i-isThin() )
{
mapstring,unsigned long pe_map = i-getPeMap();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.24.4/storage/Md.cc 
new/libstorage-2.24.5/storage/Md.cc
--- old/libstorage-2.24.4/storage/Md.cc 2013-08-12 15:16:51.0 +0200
+++ new/libstorage-2.24.5/storage/Md.cc 2013-09-25 17:06:50.0 +0200
@@ -45,12 +45,18 @@
: Volume(c, name, device), md_type(Type), md_parity(PAR_DEFAULT), 
chunk_k(0),
  sb_ver(01.00.00), destrSb(false), devs(devices), spare(spares), 
has_container(false), inactive(false)
 {
-   y2deb(constructed Md   dev   on   cont-device());
+   y2mil(constructed Md   dev   on   cont-device());
 
assert(c.type() == MD);
 
-   numeric = true;
-   mdStringNum(name, num);
+   numeric = !boost::starts_with( device, /dev/md/ );
+   if( !numeric )
+   {
+   nm = device.substr(8);
+   num = 0;
+   }
+   else
+   mdStringNum(name, num);
 
getStorage()-addUsedBy(devs, UB_MD, dev);
getStorage()-addUsedBy(spares, UB_MD, dev);
@@ -63,7 +69,7 @@
: Volume(c, name, device, systeminfo), md_type(RAID_UNK), 
md_parity(PAR_DEFAULT),
  chunk_k(0), sb_ver(01.00.00), destrSb(false), has_container(false), 
inactive(false)
 {
-   y2deb(constructed Md   device   on   cont-device());
+   y2mil(constructed Md   device   on   cont-device());
 
assert(c.type() == MD);
 
@@ -120,6 +126,14 @@
{
md_uuid = details.uuid;
md_name = details.devname;
+   if( !md_name.empty() )
+   {
+   numeric=false;
+   nm = md_name;
+   dev = /dev/md/+md_name;
+   alt_names.remove(dev);
+ 

commit libstorage for openSUSE:Factory

2013-09-13 Thread h_root
Hello community,

here is the log from the commit of package libstorage for openSUSE:Factory 
checked in at 2013-09-13 14:51:04

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


Package is libstorage

Changes:

--- /work/SRC/openSUSE:Factory/libstorage/libstorage.changes2013-08-25 
13:34:33.0 +0200
+++ /work/SRC/openSUSE:Factory/.libstorage.new/libstorage.changes   
2013-09-13 14:51:05.0 +0200
@@ -1,0 +2,7 @@
+Tue Sep 10 12:19:43 CEST 2013 - aschn...@suse.de
+
+- removed warning popup during probing about parted not being
+  able to read partition table (fate#307585)
+- version 2.24.4
+
+---
@@ -4 +11 @@
-- make additonal types known to ruby/python bindings
+- make additional types known to ruby/python bindings
@@ -538 +545 @@
-- add option -P _part to make dmraid decativate raid (bnc#712671)
+- add option -P _part to make dmraid deactivate raid (bnc#712671)

Old:

  libstorage-2.24.3.tar.bz2

New:

  libstorage-2.24.4.tar.bz2



Other differences:
--
++ libstorage.spec ++
--- /var/tmp/diff_new_pack.bhzqHs/_old  2013-09-13 14:51:06.0 +0200
+++ /var/tmp/diff_new_pack.bhzqHs/_new  2013-09-13 14:51:06.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   libstorage
-Version:2.24.3
+Version:2.24.4
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: libstorage-%{version}.tar.bz2

++ libstorage-2.24.3.tar.bz2 - libstorage-2.24.4.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.24.3/VERSION 
new/libstorage-2.24.4/VERSION
--- old/libstorage-2.24.3/VERSION   2013-08-22 12:32:57.0 +0200
+++ new/libstorage-2.24.4/VERSION   2013-09-13 11:11:49.0 +0200
@@ -1 +1 @@
-2.24.3
+2.24.4
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.24.3/storage/Disk.cc 
new/libstorage-2.24.4/storage/Disk.cc
--- old/libstorage-2.24.3/storage/Disk.cc   2013-08-12 15:16:51.0 
+0200
+++ new/libstorage-2.24.4/storage/Disk.cc   2013-09-10 12:26:49.0 
+0200
@@ -507,22 +507,6 @@
{
ronly = true;
has_fake_partition = checkFakePartition(systeminfo, pl);
-
-   Text txt = sformat(
-   // popup text %1$s is replaced by disk name e.g. /dev/hda
-_(The partitioning on disk %1$s is not readable by\n
-the partitioning tool parted, which is used to change the\n
-partition table.\n
-\n
-You can use the partitions on disk %1$s as they are.\n
-You can format them and assign mount points to them, but you\n
-cannot add, edit, resize, or remove partitions from that\n
-disk with this tool.), dev.c_str() );
-
-   if( has_fake_partition || getenv(LIBSTORAGE_NO_PART_CHECK)!=NULL )
-   y2war( ignoring failed partition check parted/kernel on disk:  
device() );
-   else
-   getStorage()-addInfoPopupText( dev, txt );
}
 if( range_exceed0 )
{
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.24.3/storage/gen_md5sum.cc 
new/libstorage-2.24.4/storage/gen_md5sum.cc
--- old/libstorage-2.24.3/storage/gen_md5sum.cc 2013-08-22 12:38:30.0 
+0200
+++ new/libstorage-2.24.4/storage/gen_md5sum.cc 2013-09-10 12:33:18.0 
+0200
@@ -1,5 +1,5 @@
-#define SOURCES_MD5SUM   fb852c08cdc238877fe46e10d81434aa
-#define SOURCES_MD5_DATE  Thu Aug 22 12:38:30 CEST 2013 
+#define SOURCES_MD5SUM   7bb9bf00d5213abfb1af55d0f4810110
+#define SOURCES_MD5_DATE  Tue Sep 10 12:33:18 CEST 2013 
 namespace storage
 {
 const char* GetSourceMd5() { return SOURCES_MD5SUM; }

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



commit libstorage for openSUSE:Factory

2013-08-25 Thread h_root
Hello community,

here is the log from the commit of package libstorage for openSUSE:Factory 
checked in at 2013-08-25 13:34:31

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


Package is libstorage

Changes:

--- /work/SRC/openSUSE:Factory/libstorage/libstorage.changes2013-08-12 
11:05:04.0 +0200
+++ /work/SRC/openSUSE:Factory/.libstorage.new/libstorage.changes   
2013-08-25 13:34:33.0 +0200
@@ -1,0 +2,18 @@
+Thu Aug 22 13:58:29 CEST 2013 - f...@suse.de
+
+- make additonal types known to ruby/python bindings
+- version 2.24.3
+
+---
+Thu Aug 22 12:17:09 CEST 2013 - aschn...@suse.de
+
+- added udevadm settle call (bnc#836048)
+
+---
+Mon Aug 12 10:34:38 CEST 2013 - f...@suse.de
+
+- remove cruft to support broken ycp bindings
+- improvements in ruby bindings for usage in yast2-storage
+- version 2.24.2
+
+---

Old:

  libstorage-2.24.1.tar.bz2

New:

  libstorage-2.24.3.tar.bz2



Other differences:
--
++ libstorage.spec ++
--- /var/tmp/diff_new_pack.hc7NnF/_old  2013-08-25 13:34:34.0 +0200
+++ /var/tmp/diff_new_pack.hc7NnF/_new  2013-08-25 13:34:34.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   libstorage
-Version:2.24.1
+Version:2.24.3
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: libstorage-%{version}.tar.bz2

++ libstorage-2.24.1.tar.bz2 - libstorage-2.24.3.tar.bz2 ++
 1910 lines of diff (skipped)

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



commit libstorage for openSUSE:Factory

2013-08-12 Thread h_root
Hello community,

here is the log from the commit of package libstorage for openSUSE:Factory 
checked in at 2013-08-12 11:05:02

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


Package is libstorage

Changes:

--- /work/SRC/openSUSE:Factory/libstorage/libstorage.changes2013-07-27 
15:47:40.0 +0200
+++ /work/SRC/openSUSE:Factory/.libstorage.new/libstorage.changes   
2013-08-12 11:05:04.0 +0200
@@ -1,0 +2,5 @@
+Wed Aug  7 15:59:47 CEST 2013 - f...@suse.de
+
+- fix progress bar for EXT filesystems
+
+---



Other differences:
--
++ libstorage-2.24.1.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.24.1/storage/OutputProcessor.cc 
new/libstorage-2.24.1/storage/OutputProcessor.cc
--- old/libstorage-2.24.1/storage/OutputProcessor.cc2013-01-22 
11:28:07.0 +0100
+++ new/libstorage-2.24.1/storage/OutputProcessor.cc2013-08-07 
16:02:18.0 +0200
@@ -51,46 +51,46 @@
{
seen += val;
string::size_type pos;
-   string::size_type bpos = seen.find( \b );
-   y2deb(bpos:  bpos);
-   if( bpos==0 )
-   {
-   seen.erase( 0, seen.find_first_not_of( \b, bpos ));
-   }
-   while( first  (pos=seen.find( \n )) != string::npos  posbpos )
-   {
+   string::size_type bpos;
+   if( !inode_tab )
+   inode_tab = seen.find(Writing inode tables)!=string::npos;
+   bpos = (inode_tab?seen.find( \b ):string::npos);
+   if( inode_tab )
+   bpos = seen.find( \b );
+   while( !inode_tab  (pos=seen.find( \n )) != string::npos )
seen.erase( 0, pos+1 );
-   }
-   while( bpos != string::npos )
+   y2deb(first:  first   inode:  inode_tab   bpos:  bpos);
+   while( inode_tab  bpos != string::npos )
{
pos = seen.find_first_of( 0123456789 );
-   if( pos != string::npos )
-   seen.erase( 0, pos );
y2deb(seen:  seen);
-   string number = seen.substr( 0, bpos );
-   y2deb(number:  number);
-   liststring l = splitString(number, / );
-   liststring::const_iterator i = l.begin();
-   if( i != l.end() )
+   if( pos != string::npos )
{
-   unsigned cval, mx;
-   *i++  cval;
-   if( first  i != l.end() )
-   {
-   *i  mx;
-   setMaxValue( mx+4 );
-   setCurValue( 0 );
-   first = false;
-   }
-   else if( !first )
+   string number = seen.substr( pos, bpos );
+   y2deb(number:  number);
+   liststring l = splitString(number, / );
+   liststring::const_iterator i = l.begin();
+   if( i != l.end() )
{
-   setCurValue( cval );
+   unsigned cval, mx;
+   *i++  cval;
+   if( first  i != l.end() )
+   {
+   *i  mx;
+   setMaxValue( mx+4 );
+   setCurValue( 0 );
+   first = false;
+   }
+   else if( !first )
+   {
+   setCurValue( cval );
+   }
}
}
seen.erase( 0, seen.find_first_not_of( \b, bpos ));
bpos = seen.find( \b );
}
-   if( seen.find( done )!=string::npos )
+   if( inode_tab  seen.find( done )!=string::npos )
{
setCurValue(getMaxValue() - 4);
done = true;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.24.1/storage/OutputProcessor.h 
new/libstorage-2.24.1/storage/OutputProcessor.h
--- old/libstorage-2.24.1/storage/OutputProcessor.h 2013-01-22 
11:28:07.0 +0100
+++ new/libstorage-2.24.1/storage/OutputProcessor.h 2013-08-07 
16:02:18.0 +0200
@@ -79,6 +79,7 @@
{
setMaxValue(100);
done = false;
+   inode_tab = false;
}
 
virtual void process(const string txt, bool stderr);
@@ -86,6 +87,7 @@
 protected:
string seen;
bool done;
+   bool inode_tab;
 };
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.24.1/storage/Storage.cc 
new/libstorage-2.24.1/storage/Storage.cc
--- old/libstorage-2.24.1/storage/Storage.cc

commit libstorage for openSUSE:Factory

2013-07-27 Thread h_root
Hello community,

here is the log from the commit of package libstorage for openSUSE:Factory 
checked in at 2013-07-27 15:47:37

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


Package is libstorage

Changes:

--- /work/SRC/openSUSE:Factory/libstorage/libstorage.changes2013-07-07 
22:18:31.0 +0200
+++ /work/SRC/openSUSE:Factory/.libstorage.new/libstorage.changes   
2013-07-27 15:47:40.0 +0200
@@ -1,0 +2,5 @@
+Tue Jul 23 17:02:29 CEST 2013 - f...@suse.de
+
+- remove obsolete empty function initDefaultLogger()
+
+---



Other differences:
--
++ libstorage-2.24.1.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/libstorage-2.24.1/bindings/ruby/examples/output_test.rb 
new/libstorage-2.24.1/bindings/ruby/examples/output_test.rb
--- old/libstorage-2.24.1/bindings/ruby/examples/output_test.rb 2013-01-22 
11:28:07.0 +0100
+++ new/libstorage-2.24.1/bindings/ruby/examples/output_test.rb 2013-07-23 
17:20:13.0 +0200
@@ -2,7 +2,6 @@
 
 require 'storage'
 
-Storage::initDefaultLogger()
 env = Storage::Environment.new(true)
 storageInterface = Storage::createStorageInterface(env)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.24.1/storage/Storage.cc 
new/libstorage-2.24.1/storage/Storage.cc
--- old/libstorage-2.24.1/storage/Storage.cc2013-06-19 12:25:52.0 
+0200
+++ new/libstorage-2.24.1/storage/Storage.cc2013-07-23 17:20:13.0 
+0200
@@ -64,13 +64,6 @@
 using namespace std;
 
 void
-initDefaultLogger()
-{
-/* initentionally left empty for backward compatibility */
-/* logdir initialisation is in constructor of class Environment */
-}
-
-void
 initDefaultLogger( const string logdir )
 {
 string path(logdir);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.24.1/storage/StorageInterface.h 
new/libstorage-2.24.1/storage/StorageInterface.h
--- old/libstorage-2.24.1/storage/StorageInterface.h2013-04-16 
17:08:01.0 +0200
+++ new/libstorage-2.24.1/storage/StorageInterface.h2013-07-23 
17:20:13.0 +0200
@@ -2790,11 +2790,6 @@
 liststring getPresentDisks();
 
 /**
- * Initializes default logging.
- */
-void initDefaultLogger();
-
-/**
  * Initializes default logging with explicit log dir.
  */
 void initDefaultLogger( const string logdir );
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.24.1/storage/gen_md5sum.cc 
new/libstorage-2.24.1/storage/gen_md5sum.cc
--- old/libstorage-2.24.1/storage/gen_md5sum.cc 2013-07-04 11:17:27.0 
+0200
+++ new/libstorage-2.24.1/storage/gen_md5sum.cc 2013-07-23 17:28:02.0 
+0200
@@ -1,5 +1,5 @@
-#define SOURCES_MD5SUM   fae6721060325cccfb77feebdc3e7763
-#define SOURCES_MD5_DATE  Thu Jul 4 11:17:27 CEST 2013 
+#define SOURCES_MD5SUM   e2d082378bc85881c543e00f8cbc1b1c
+#define SOURCES_MD5_DATE  Tue Jul 23 17:28:02 CEST 2013 
 namespace storage
 {
 const char* GetSourceMd5() { return SOURCES_MD5SUM; }

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



commit libstorage for openSUSE:Factory

2013-07-07 Thread h_root
Hello community,

here is the log from the commit of package libstorage for openSUSE:Factory 
checked in at 2013-07-07 22:18:29

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


Package is libstorage

Changes:

--- /work/SRC/openSUSE:Factory/libstorage/libstorage.changes2013-06-28 
11:50:54.0 +0200
+++ /work/SRC/openSUSE:Factory/.libstorage.new/libstorage.changes   
2013-07-07 22:18:31.0 +0200
@@ -1,0 +2,5 @@
+Wed Jul  3 12:49:31 CEST 2013 - f...@suse.de
+
+- allow to fake EFI detection with env var LIBSTORAGE_ENFORCE_EFI
+
+---



Other differences:
--
++ libstorage-2.24.1.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.24.1/storage/AppUtil.cc 
new/libstorage-2.24.1/storage/AppUtil.cc
--- old/libstorage-2.24.1/storage/AppUtil.cc2013-03-11 18:16:32.0 
+0100
+++ new/libstorage-2.24.1/storage/AppUtil.cc2013-07-04 11:10:52.0 
+0200
@@ -706,7 +706,6 @@
 {
 y2mil( Arch:  arch   Instsys:  instsys );
 liststring ign;
-liststring s390;
 const char* pathes[] = { 
 #include ./gen_pathlist.cc
};
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.24.1/storage/ArchInfo.cc 
new/libstorage-2.24.1/storage/ArchInfo.cc
--- old/libstorage-2.24.1/storage/ArchInfo.cc   2013-03-05 12:16:50.0 
+0100
+++ new/libstorage-2.24.1/storage/ArchInfo.cc   2013-07-03 12:50:52.0 
+0200
@@ -115,7 +115,8 @@
}
else
{
-   is_efiboot = checkDir( /sys/firmware/efi/vars );
+   is_efiboot = checkDir( /sys/firmware/efi/vars ) ||
+getenv(LIBSTORAGE_ENFORCE_EFI)!=NULL;
}
 }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.24.1/storage/gen_md5sum.cc 
new/libstorage-2.24.1/storage/gen_md5sum.cc
--- old/libstorage-2.24.1/storage/gen_md5sum.cc 2013-06-19 12:41:44.0 
+0200
+++ new/libstorage-2.24.1/storage/gen_md5sum.cc 2013-07-04 11:17:27.0 
+0200
@@ -1,5 +1,5 @@
-#define SOURCES_MD5SUM   7a7c73b36739330d1e0b8631b9b422a0
-#define SOURCES_MD5_DATE  Wed Jun 19 12:41:44 CEST 2013 
+#define SOURCES_MD5SUM   fae6721060325cccfb77feebdc3e7763
+#define SOURCES_MD5_DATE  Thu Jul 4 11:17:27 CEST 2013 
 namespace storage
 {
 const char* GetSourceMd5() { return SOURCES_MD5SUM; }

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



commit libstorage for openSUSE:Factory

2013-05-27 Thread h_root
Hello community,

here is the log from the commit of package libstorage for openSUSE:Factory 
checked in at 2013-05-27 09:52:10

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


Package is libstorage

Changes:

--- /work/SRC/openSUSE:Factory/libstorage/libstorage.changes2013-05-02 
11:22:09.0 +0200
+++ /work/SRC/openSUSE:Factory/.libstorage.new/libstorage.changes   
2013-05-27 09:52:11.0 +0200
@@ -1,0 +2,13 @@
+Mon May 13 13:20:37 CEST 2013 - f...@suse.de
+
+- supported label size for swap is 15, not 16 like other fs have
+  (bnc#818822)
+
+---
+Tue May  7 17:13:52 CEST 2013 - f...@suse.de
+
+- detects lvm pools also when broken (bnc#818780)
+- fixed missing umount of btrfs volume when disk label is removed
+  (bnc#818705)
+
+---



Other differences:
--
++ libstorage-2.24.0.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.24.0/storage/BtrfsCo.cc 
new/libstorage-2.24.0/storage/BtrfsCo.cc
--- old/libstorage-2.24.0/storage/BtrfsCo.cc2013-01-22 11:28:07.0 
+0100
+++ new/libstorage-2.24.0/storage/BtrfsCo.cc2013-05-07 17:46:33.0 
+0200
@@ -447,7 +447,9 @@
 if( b != NULL )
{
getStorage()-showInfoCb( b-removeText(true), b-isSilent() );
-   ret = b-clearSignature();
+   ret = b-prepareRemove();
+   if( ret==0 )
+   ret = b-clearSignature();
if( ret==0  !removeFromList(v) )
ret = BTRFS_REMOVE_NO_BTRFS;
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.24.0/storage/DmCo.cc 
new/libstorage-2.24.0/storage/DmCo.cc
--- old/libstorage-2.24.0/storage/DmCo.cc   2013-04-23 16:41:32.0 
+0200
+++ new/libstorage-2.24.0/storage/DmCo.cc   2013-05-07 18:51:32.0 
+0200
@@ -197,6 +197,7 @@
 
 const CmdDmsetup cmddmsetup = systeminfo.getCmdDmsetup();
 liststring lvm_pools;
+liststring lvm_tmeta;
 for (CmdDmsetup::const_iterator it1 = cmddmsetup.begin(); it1 != 
cmddmsetup.end(); ++it1)
 {
 if( boost::ends_with(it1-first,-tpool) )
@@ -214,6 +215,24 @@
 delete(m);
 }
 }
+if( boost::ends_with(it1-first,_tmeta) )
+{
+string name = it1-first.substr( 0, it1-first.size()-6 );
+   if( find( lvm_tmeta.begin(), lvm_tmeta.end(), name 
)==lvm_tmeta.end() )
+   lvm_tmeta.push_back( name );
+   }
+}
+y2mil( lvm_pools:  lvm_pools );
+y2mil( lvm_tmeta:  lvm_tmeta );
+for (CmdDmsetup::const_iterator it1 = cmddmsetup.begin(); it1 != 
cmddmsetup.end(); ++it1)
+{
+if( boost::ends_with(it1-first,_tdata) )
+{
+string name = it1-first.substr( 0, it1-first.size()-6 );
+   if( find( lvm_tmeta.begin(), lvm_tmeta.end(), name 
)!=lvm_tmeta.end() 
+   find( lvm_pools.begin(), lvm_pools.end(), name 
)==lvm_pools.end() )
+   lvm_pools.push_back( name );
+   }
 }
 y2mil( lvm_pools:  lvm_pools );
 for (CmdDmsetup::const_iterator it1 = cmddmsetup.begin(); it1 != 
cmddmsetup.end(); ++it1)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.24.0/storage/Storage.cc 
new/libstorage-2.24.0/storage/Storage.cc
--- old/libstorage-2.24.0/storage/Storage.cc2013-04-16 17:08:01.0 
+0200
+++ new/libstorage-2.24.0/storage/Storage.cc2013-05-13 13:26:32.0 
+0200
@@ -5913,7 +5913,7 @@
false, 0, 64);
 
 static FsCapabilitiesX swapCaps (true, false, true, false, true, true,
-false, 16, 64);
+false, 15, 64);
 
 static FsCapabilitiesX jfsCaps (false, false, false, false, true, true,
false, 16, 16*1024);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.24.0/storage/gen_md5sum.cc 
new/libstorage-2.24.0/storage/gen_md5sum.cc
--- old/libstorage-2.24.0/storage/gen_md5sum.cc 2013-04-23 16:47:08.0 
+0200
+++ new/libstorage-2.24.0/storage/gen_md5sum.cc 2013-05-13 13:33:04.0 
+0200
@@ -1,5 +1,5 @@
-#define SOURCES_MD5SUM   a1195219a8bf31603329755701314345
-#define SOURCES_MD5_DATE  Tue Apr 23 16:47:08 CEST 2013 
+#define SOURCES_MD5SUM   ff532e4a9eed072311561487c8d2b102
+#define SOURCES_MD5_DATE  Mon May 13 13:33:04 CEST 2013 
 namespace storage
 {

commit libstorage for openSUSE:Factory

2013-05-02 Thread h_root
Hello community,

here is the log from the commit of package libstorage for openSUSE:Factory 
checked in at 2013-05-02 11:22:07

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


Package is libstorage

Changes:

--- /work/SRC/openSUSE:Factory/libstorage/libstorage.changes2013-04-17 
23:05:07.0 +0200
+++ /work/SRC/openSUSE:Factory/.libstorage.new/libstorage.changes   
2013-05-02 11:22:09.0 +0200
@@ -1,0 +2,11 @@
+Tue Apr 23 14:34:47 CEST 2013 - aschn...@suse.de
+
+- fixed parser for dmsetup output for device names containing a
+  colon (bnc#816063)
+
+---
+Fri Apr 19 12:49:10 CEST 2013 - f...@suse.de
+
+- fixed bug with activated encryption on DASDs (bnc#810706)
+
+---



Other differences:
--
++ libstorage-2.24.0.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.24.0/storage/Dasd.cc 
new/libstorage-2.24.0/storage/Dasd.cc
--- old/libstorage-2.24.0/storage/Dasd.cc   2013-03-05 17:56:33.0 
+0100
+++ new/libstorage-2.24.0/storage/Dasd.cc   2013-04-19 13:06:32.0 
+0200
@@ -299,11 +299,22 @@
 {
 int ret = 0;
 getStorage()-showInfoCb( fdasdText(), silent );
+PartPair p = partPair();
+PartIter i = p.begin();
+while( ret==0  i!=p.end() )
+   {
+   if( i-deleted() )
+   {
+   getStorage()-removeDmMapsTo( getPartDevice(i-OrigNr()) );
+   i-prepareRemove();
+   }
+   ++i;
+   }
 string inpname = getStorage()-tmpDir()+/fdasd_inp;
 ofstream inpfile( inpname.c_str() );
 classic(inpfile);
-PartPair p = partPair(Partition::notDeleted);
-PartIter i = p.begin();
+p = partPair(Partition::notDeleted);
+i = p.begin();
 while( i!=p.end() )
{
string start = decString(i-cylStart() * new_geometry.heads);
@@ -333,7 +344,6 @@
if( i-deleted() )
{
rem_list.push_back( (*i) );
-   i-prepareRemove();
}
if( i-created() )
{
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.24.0/storage/DmCo.cc 
new/libstorage-2.24.0/storage/DmCo.cc
--- old/libstorage-2.24.0/storage/DmCo.cc   2013-01-22 11:28:07.0 
+0100
+++ new/libstorage-2.24.0/storage/DmCo.cc   2013-04-23 16:41:32.0 
+0200
@@ -40,14 +40,14 @@
 
 CmdDmsetup::CmdDmsetup()
 {
-   SystemCmd c(DMSETUPBIN  --columns --noheadings -o 
name,major,minor,segments,uuid info);
+   SystemCmd c(DMSETUPBIN  --columns --separator '/' --noheadings -o 
name,major,minor,segments,uuid info);
if (c.retcode() != 0 || c.numLines() == 0)
return;
 
for (vectorstring::const_iterator it = c.stdout().begin(); it != 
c.stdout().end(); ++it)
{
-   liststring sl = splitString(*it, :);
-   if (sl.size() = 4)
+   liststring sl = splitString(*it, /);
+   if (sl.size() = 5)
{
Entry entry;
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.24.0/storage/gen_md5sum.cc 
new/libstorage-2.24.0/storage/gen_md5sum.cc
--- old/libstorage-2.24.0/storage/gen_md5sum.cc 2013-04-16 17:14:03.0 
+0200
+++ new/libstorage-2.24.0/storage/gen_md5sum.cc 2013-04-23 16:47:08.0 
+0200
@@ -1,5 +1,5 @@
-#define SOURCES_MD5SUM   317b010a7293044ab7e888b166dcbaff
-#define SOURCES_MD5_DATE  Tue Apr 16 17:14:03 CEST 2013 
+#define SOURCES_MD5SUM   a1195219a8bf31603329755701314345
+#define SOURCES_MD5_DATE  Tue Apr 23 16:47:08 CEST 2013 
 namespace storage
 {
 const char* GetSourceMd5() { return SOURCES_MD5SUM; }

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



commit libstorage for openSUSE:Factory

2013-04-14 Thread h_root
Hello community,

here is the log from the commit of package libstorage for openSUSE:Factory 
checked in at 2013-04-14 10:33:45

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


Package is libstorage, Maintainer is aschn...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/libstorage/libstorage.changes2013-04-03 
12:58:00.0 +0200
+++ /work/SRC/openSUSE:Factory/.libstorage.new/libstorage.changes   
2013-04-14 10:33:58.0 +0200
@@ -1,0 +2,5 @@
+Thu Mar 28 12:38:07 CET 2013 - f...@suse.de
+
+- fix bug while formatting as btrfs after resizing (bnc#812162)
+
+---



Other differences:
--
++ libstorage-2.23.10.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.23.10/storage/Volume.cc 
new/libstorage-2.23.10/storage/Volume.cc
--- old/libstorage-2.23.10/storage/Volume.cc2013-03-26 17:31:39.0 
+0100
+++ new/libstorage-2.23.10/storage/Volume.cc2013-04-04 15:36:33.0 
+0200
@@ -1603,6 +1603,7 @@
 
 int Volume::resizeFs()
 {
+y2mil( vol:  *this );
 SystemCmd c;
 string cmd;
 int ret = 0;
@@ -1612,7 +1613,14 @@
cmd += dmcrypt_dev.substr(dmcrypt_dev.rfind( '/' )+1);
c.execute( cmd );
}
-if( !format  !ignore_fs )
+bool needFsResize = !format  !ignore_fs;
+if( needFsResize  isUsedBy(UB_BTRFS) )
+   {
+   const Volume *bvol=NULL;
+   if( getStorage()-findUuid( getUsedBy().front().device(), bvol ))
+   needFsResize = !bvol-getFormat()  !bvol-ignoreFs();
+   }
+if( needFsResize )
{
switch( fs )
{
@@ -1741,7 +1749,7 @@
}
}
 ignore_fs = false;
-y2mil(ret:  ret);
+y2mil( ret:  ret   needFsResize:  needFsResize );
 return( ret );
 }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.23.10/storage/gen_md5sum.cc 
new/libstorage-2.23.10/storage/gen_md5sum.cc
--- old/libstorage-2.23.10/storage/gen_md5sum.cc2013-03-26 
17:37:18.0 +0100
+++ new/libstorage-2.23.10/storage/gen_md5sum.cc2013-04-04 
15:43:04.0 +0200
@@ -1,5 +1,5 @@
-#define SOURCES_MD5SUM   335f8c05b705c53cd8d932fc78650114
-#define SOURCES_MD5_DATE  Tue Mar 26 17:37:18 CET 2013 
+#define SOURCES_MD5SUM   5e5223261fe93c2e45f4902531e61eeb
+#define SOURCES_MD5_DATE  Thu Apr 4 15:43:04 CEST 2013 
 namespace storage
 {
 const char* GetSourceMd5() { return SOURCES_MD5SUM; }

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



commit libstorage for openSUSE:Factory

2013-04-03 Thread h_root
Hello community,

here is the log from the commit of package libstorage for openSUSE:Factory 
checked in at 2013-04-03 12:57:59

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


Package is libstorage, Maintainer is aschn...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/libstorage/libstorage.changes2013-03-05 
16:32:36.0 +0100
+++ /work/SRC/openSUSE:Factory/.libstorage.new/libstorage.changes   
2013-04-03 12:58:00.0 +0200
@@ -1,0 +2,23 @@
+Tue Mar 26 17:25:02 CET 2013 - f...@suse.de
+
+- fix wrong handling of shrinking swap (bnc#803800)
+- restructured handling of resizing of existing fs
+
+---
+Tue Mar 19 18:41:08 CET 2013 - f...@suse.de
+
+- fix wrong size calculation when deleting thin LVs (bnc#810305)
+
+---
+Mon Mar 11 17:53:25 CET 2013 - f...@suse.de
+
+- version 2.23.10
+- fix LVM encryption when btrfs fs is present (bnc#808020)
+
+---
+Wed Mar  6 14:43:59 CET 2013 - f...@suse.de
+
+- improve handling of udev by-id links for dm devices
+- fix detect of encrypted volumes (bnc#808487)
+
+---

Old:

  libstorage-2.23.9.tar.bz2

New:

  libstorage-2.23.10.tar.bz2



Other differences:
--
++ libstorage.spec ++
--- /var/tmp/diff_new_pack.4CNPJ2/_old  2013-04-03 12:58:02.0 +0200
+++ /var/tmp/diff_new_pack.4CNPJ2/_new  2013-04-03 12:58:02.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   libstorage
-Version:2.23.9
+Version:2.23.10
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: libstorage-%{version}.tar.bz2

++ libstorage-2.23.9.tar.bz2 - libstorage-2.23.10.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.23.9/VERSION 
new/libstorage-2.23.10/VERSION
--- old/libstorage-2.23.9/VERSION   2013-03-05 12:16:50.0 +0100
+++ new/libstorage-2.23.10/VERSION  2013-03-18 13:56:34.0 +0100
@@ -1 +1 @@
-2.23.9
+2.23.10
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.23.9/storage/AppUtil.cc 
new/libstorage-2.23.10/storage/AppUtil.cc
--- old/libstorage-2.23.9/storage/AppUtil.cc2013-02-20 18:26:33.0 
+0100
+++ new/libstorage-2.23.10/storage/AppUtil.cc   2013-03-11 18:16:32.0 
+0100
@@ -146,20 +146,24 @@
 
 
 bool
-getMajorMinor(const string device, unsigned long major, unsigned long 
minor)
+getMajorMinor(const string device, unsigned long major, unsigned long 
minor, bool may_fail)
 {
bool ret = false;
string dev = normalizeDevice(device);
struct stat sbuf;
if (stat(device.c_str(), sbuf) == 0)
{
-   major = gnu_dev_major(sbuf.st_rdev);
-   minor = gnu_dev_minor(sbuf.st_rdev);
-   ret = true;
+   ret = S_ISBLK(sbuf.st_mode)||S_ISLNK(sbuf.st_mode);
+   if( ret )
+   {
+   major = gnu_dev_major(sbuf.st_rdev);
+   minor = gnu_dev_minor(sbuf.st_rdev);
+   }
}
-   else
+   else 
{
-   y2err(stat for   device   failed errno:  errno   (  
strerror(errno)  ));
+   if( !may_fail )
+   y2err(stat for   device   failed errno:  errno   
(  strerror(errno)  ));
}
return ret;
 }
@@ -538,7 +542,12 @@
 
string::size_type pos = tmp.find_first_not_of(./);
if (pos != string::npos)
-   links[udevDecode(entry-d_name)] = tmp.substr(pos);
+   {
+   tmp.erase(0,pos);
+   if( boost::starts_with(tmp, dev/))
+   tmp.erase(0,4);
+   links[udevDecode(entry-d_name)] = tmp;
+   }
}
closedir(dir);
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.23.9/storage/AppUtil.h 
new/libstorage-2.23.10/storage/AppUtil.h
--- old/libstorage-2.23.9/storage/AppUtil.h 2013-02-20 18:26:33.0 
+0100
+++ new/libstorage-2.23.10/storage/AppUtil.h2013-03-11 18:16:32.0 
+0100
@@ -57,7 +57,7 @@
 
 bool getStatVfs(const string path, StatVfs);
 
-bool getMajorMinor(const string device, unsigned long major, unsigned 
long minor);
+bool getMajorMinor(const string device, unsigned long major, unsigned 
long minor, 

commit libstorage for openSUSE:Factory

2013-03-05 Thread h_root
Hello community,

here is the log from the commit of package libstorage for openSUSE:Factory 
checked in at 2013-03-05 16:32:35

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


Package is libstorage, Maintainer is aschn...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/libstorage/libstorage.changes2013-03-01 
07:25:43.0 +0100
+++ /work/SRC/openSUSE:Factory/.libstorage.new/libstorage.changes   
2013-03-05 16:32:36.0 +0100
@@ -1,0 +2,13 @@
+Tue Mar  5 11:49:34 CET 2013 - f...@suse.de
+
+- version 2.23.9
+- detect is_efiboot by checking for /sys/firmware/efi (bnc#806490)
+- fix handling of encrypted LVM based proposal on partitioned Dm
+  and Md devices (bnc#805169)
+  
+---
+Mon Mar  4 15:38:19 CET 2013 - f...@suse.de
+
+- prevent dangling btrfs shadow volumes (bnc#803935)
+
+---

Old:

  libstorage-2.23.8.tar.bz2

New:

  libstorage-2.23.9.tar.bz2



Other differences:
--
++ libstorage.spec ++
--- /var/tmp/diff_new_pack.lRbD9G/_old  2013-03-05 16:32:38.0 +0100
+++ /var/tmp/diff_new_pack.lRbD9G/_new  2013-03-05 16:32:38.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   libstorage
-Version:2.23.8
+Version:2.23.9
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: libstorage-%{version}.tar.bz2

++ libstorage-2.23.8.tar.bz2 - libstorage-2.23.9.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.23.8/VERSION 
new/libstorage-2.23.9/VERSION
--- old/libstorage-2.23.8/VERSION   2013-02-28 15:36:33.0 +0100
+++ new/libstorage-2.23.9/VERSION   2013-03-05 12:16:50.0 +0100
@@ -1 +1 @@
-2.23.8
+2.23.9
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.23.8/storage/ArchInfo.cc 
new/libstorage-2.23.9/storage/ArchInfo.cc
--- old/libstorage-2.23.8/storage/ArchInfo.cc   2013-01-22 11:28:07.0 
+0100
+++ new/libstorage-2.23.9/storage/ArchInfo.cc   2013-03-05 12:16:50.0 
+0100
@@ -25,6 +25,7 @@
 
 #include storage/ArchInfo.h
 #include storage/AsciiFile.h
+#include storage/AppUtil.h
 #include storage/StorageTypes.h
 
 
@@ -114,19 +115,7 @@
}
else
{
-   string val;
-   if (instsys)
-   {
-   InstallInfFile ii(/etc/install.inf);
-   if (ii.getValue(EFI, val))
-   is_efiboot = val == 1;
-   }
-   else
-   {
-   SysconfigFile sc(/etc/sysconfig/bootloader);
-   if (sc.getValue(LOADER_TYPE, val))
-   is_efiboot = val == elilo;
-   }
+   is_efiboot = checkDir( /sys/firmware/efi/vars );
}
 }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.23.8/storage/Disk.cc 
new/libstorage-2.23.9/storage/Disk.cc
--- old/libstorage-2.23.8/storage/Disk.cc   2013-02-15 10:47:03.0 
+0100
+++ new/libstorage-2.23.9/storage/Disk.cc   2013-03-04 15:46:32.0 
+0100
@@ -1390,6 +1390,8 @@
listVolume*::iterator vi = l.begin();
while( ret==0  vi!=l.end() )
{
+   if ((*vi)-isUsedBy())
+   getStorage()-removeUsing( (*vi)-device(), 
(*vi)-getUsedBy() );
if( !removeFromList( *vi ))
ret = DISK_PARTITION_NOT_FOUND;
++vi;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.23.8/storage/DmPartCo.cc 
new/libstorage-2.23.9/storage/DmPartCo.cc
--- old/libstorage-2.23.8/storage/DmPartCo.cc   2013-01-22 11:28:07.0 
+0100
+++ new/libstorage-2.23.9/storage/DmPartCo.cc   2013-03-05 11:56:31.0 
+0100
@@ -92,6 +92,15 @@
dm-getFsInfo( p );
dm-setCreated();
dm-addUdevData();
+   ConstDmPartPair pp = dmpartPair();
+   for( ConstDmPartIter i=pp.begin(); i!=pp.end(); ++i )
+   {
+   if( i-deleted()  i-nr()==p-nr()  
!i-getCryptPwd().empty())
+   {
+   y2mil(harvesting old password);
+   dm-setCryptPwd(i-getCryptPwd());
+   }
+   }
addToList( dm );
}
handleWholeDevice();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.23.8/storage/LvmVg.cc 
new/libstorage-2.23.9/storage/LvmVg.cc
--- 

commit libstorage for openSUSE:Factory

2013-02-28 Thread h_root
Hello community,

here is the log from the commit of package libstorage for openSUSE:Factory 
checked in at 2013-03-01 07:25:41

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


Package is libstorage, Maintainer is aschn...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/libstorage/libstorage.changes2013-02-22 
16:53:53.0 +0100
+++ /work/SRC/openSUSE:Factory/.libstorage.new/libstorage.changes   
2013-03-01 07:25:43.0 +0100
@@ -1,0 +2,6 @@
+Wed Feb 27 18:19:47 CET 2013 - f...@suse.de
+
+- version 2.23.8
+- fix handling of inactive raid devices (bnc#798275)
+
+---
@@ -13 +19 @@
-  /dev/mapper/dm
+  /dev/mapper/dm (bnc#805169)

Old:

  libstorage-2.23.7.tar.bz2

New:

  libstorage-2.23.8.tar.bz2



Other differences:
--
++ libstorage.spec ++
--- /var/tmp/diff_new_pack.qs5nFl/_old  2013-03-01 07:25:44.0 +0100
+++ /var/tmp/diff_new_pack.qs5nFl/_new  2013-03-01 07:25:44.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   libstorage
-Version:2.23.7
+Version:2.23.8
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: libstorage-%{version}.tar.bz2

++ libstorage-2.23.7.tar.bz2 - libstorage-2.23.8.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.23.7/VERSION 
new/libstorage-2.23.8/VERSION
--- old/libstorage-2.23.7/VERSION   2013-02-21 16:25:43.0 +0100
+++ new/libstorage-2.23.8/VERSION   2013-02-28 15:36:33.0 +0100
@@ -1 +1 @@
-2.23.7
+2.23.8
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.23.7/bindings/python/libstorage.py 
new/libstorage-2.23.8/bindings/python/libstorage.py
--- old/libstorage-2.23.7/bindings/python/libstorage.py 2013-02-21 
19:20:06.0 +0100
+++ new/libstorage-2.23.8/bindings/python/libstorage.py 2013-02-28 
15:44:59.0 +0100
@@ -856,6 +856,9 @@
 __swig_setmethods__[spares] = _libstorage.MdInfo_spares_set
 __swig_getmethods__[spares] = _libstorage.MdInfo_spares_get
 if _newclass:spares = _swig_property(_libstorage.MdInfo_spares_get, 
_libstorage.MdInfo_spares_set)
+__swig_setmethods__[inactive] = _libstorage.MdInfo_inactive_set
+__swig_getmethods__[inactive] = _libstorage.MdInfo_inactive_get
+if _newclass:inactive = _swig_property(_libstorage.MdInfo_inactive_get, 
_libstorage.MdInfo_inactive_set)
 __swig_destroy__ = _libstorage.delete_MdInfo
 __del__ = lambda self : None;
 MdInfo_swigregister = _libstorage.MdInfo_swigregister
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.23.7/storage/Md.cc 
new/libstorage-2.23.8/storage/Md.cc
--- old/libstorage-2.23.7/storage/Md.cc 2013-01-22 11:28:07.0 +0100
+++ new/libstorage-2.23.8/storage/Md.cc 2013-02-27 18:26:33.0 +0100
@@ -43,7 +43,7 @@
 Md::Md(const MdCo c, const string name, const string device, MdType 
Type,
   const liststring devices, const liststring spares)
: Volume(c, name, device), md_type(Type), md_parity(PAR_DEFAULT), 
chunk_k(0),
- sb_ver(01.00.00), destrSb(false), devs(devices), spare(spares), 
has_container(false)
+ sb_ver(01.00.00), destrSb(false), devs(devices), spare(spares), 
has_container(false), inactive(false)
 {
y2deb(constructed Md   dev   on   cont-device());
 
@@ -61,7 +61,7 @@
 
 Md::Md(const MdCo c, const string name, const string device, 
SystemInfo systeminfo)
: Volume(c, name, device, systeminfo), md_type(RAID_UNK), 
md_parity(PAR_DEFAULT),
- chunk_k(0), sb_ver(01.00.00), destrSb(false), has_container(false)
+ chunk_k(0), sb_ver(01.00.00), destrSb(false), has_container(false), 
inactive(false)
 {
y2deb(constructed Md   device   on   cont-device());
 
@@ -86,6 +86,8 @@
devs = entry.devices;
spare = entry.spares;
 
+   inactive = entry.inactive;
+
if (entry.readonly)
setReadonly();
 
@@ -130,7 +132,8 @@
  chunk_k(v.chunk_k), md_uuid(v.md_uuid), md_name(v.md_name),
  sb_ver(v.sb_ver), destrSb(v.destrSb), devs(v.devs), spare(v.spare),
  udev_id(udev_id),
- has_container(v.has_container), parent_container(v.parent_container),
+ has_container(v.has_container), inactive(v.inactive),
+ parent_container(v.parent_container),
  parent_uuid(v.parent_uuid), parent_md_name(v.parent_md_name),
  parent_metadata(v.parent_metadata), parent_member(v.parent_member)
 {
@@ -543,6 +546,7 @@
 info.sb_ver = 

commit libstorage for openSUSE:Factory

2013-02-22 Thread h_root


binB6IA9VIYrT.bin
Description: Binary data


commit libstorage for openSUSE:Factory

2013-02-21 Thread h_root
Hello community,

here is the log from the commit of package libstorage for openSUSE:Factory 
checked in at 2013-02-21 10:42:16

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


Package is libstorage, Maintainer is aschn...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/libstorage/libstorage.changes2013-02-19 
13:37:02.0 +0100
+++ /work/SRC/openSUSE:Factory/.libstorage.new/libstorage.changes   
2013-02-21 10:42:17.0 +0100
@@ -1,0 +2,12 @@
+Wed Feb 20 18:09:17 CET 2013 - f...@suse.de
+
+- version 2.23.6
+- recognize /dev/disk-by-id/dm-name-nm as alias to 
+  /dev/mapper/dm
+
+---
+Tue Feb 19 15:57:52 CET 2013 - aschn...@suse.de
+
+- use option -f for vgremove (bnc#781402)
+
+---

Old:

  libstorage-2.23.5.tar.bz2

New:

  libstorage-2.23.6.tar.bz2



Other differences:
--
++ libstorage.spec ++
--- /var/tmp/diff_new_pack.GAutVs/_old  2013-02-21 10:42:19.0 +0100
+++ /var/tmp/diff_new_pack.GAutVs/_new  2013-02-21 10:42:19.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   libstorage
-Version:2.23.5
+Version:2.23.6
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: libstorage-%{version}.tar.bz2

++ libstorage-2.23.5.tar.bz2 - libstorage-2.23.6.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.23.5/VERSION 
new/libstorage-2.23.6/VERSION
--- old/libstorage-2.23.5/VERSION   2013-02-19 12:02:36.0 +0100
+++ new/libstorage-2.23.6/VERSION   2013-02-20 19:02:41.0 +0100
@@ -1 +1 @@
-2.23.5
+2.23.6
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.23.5/storage/AppUtil.cc 
new/libstorage-2.23.6/storage/AppUtil.cc
--- old/libstorage-2.23.5/storage/AppUtil.cc2013-01-22 11:28:07.0 
+0100
+++ new/libstorage-2.23.6/storage/AppUtil.cc2013-02-20 18:26:33.0 
+0100
@@ -413,6 +413,14 @@
 }
 }
 
+string afterLast(const string s, const string pat )
+{
+string ret(s);
+string::size_type pos = s.find_last_of(pat);
+if( pos!=string::npos )
+   ret.erase( 0, pos+pat.length() );
+return( ret );
+}
 
 string
 udevAppendPart(const string s, unsigned num)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.23.5/storage/AppUtil.h 
new/libstorage-2.23.6/storage/AppUtil.h
--- old/libstorage-2.23.5/storage/AppUtil.h 2013-01-22 11:28:07.0 
+0100
+++ new/libstorage-2.23.6/storage/AppUtil.h 2013-02-20 18:26:33.0 
+0100
@@ -69,6 +69,7 @@
 const string removeSur =  \t\n );
 
 string udevAppendPart(const string, unsigned num);
+string afterLast(const string s, const string pat );
 
 string udevEncode(const string);
 string udevDecode(const string);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.23.5/storage/Dm.cc 
new/libstorage-2.23.6/storage/Dm.cc
--- old/libstorage-2.23.5/storage/Dm.cc 2013-01-22 11:28:07.0 +0100
+++ new/libstorage-2.23.6/storage/Dm.cc 2013-02-20 18:26:33.0 +0100
@@ -219,11 +219,7 @@
 {
 getMajorMinor();
 if( majorNr()==Dm::dmMajor() )
-   {
-   string d = /dev/dm- + decString(minorNr());
-   if( d!=dev )
-   replaceAltName( /dev/dm-, d );
-   }
+   addDmNames(minorNr());
 num = mnr;
 }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.23.5/storage/DmPart.cc 
new/libstorage-2.23.6/storage/DmPart.cc
--- old/libstorage-2.23.5/storage/DmPart.cc 2013-01-22 11:28:07.0 
+0100
+++ new/libstorage-2.23.6/storage/DmPart.cc 2013-02-20 18:26:33.0 
+0100
@@ -84,7 +84,7 @@
 getMajorMinor();
 if (mjr != old_mjr || mnr != old_mnr)
{
-   replaceAltName(/dev/dm-, /dev/dm- + decString(mnr));
+   addDmNames(mnr);
getTableInfo();
}
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.23.5/storage/Loop.cc 
new/libstorage-2.23.6/storage/Loop.cc
--- old/libstorage-2.23.5/storage/Loop.cc   2013-01-22 11:28:07.0 
+0100
+++ new/libstorage-2.23.6/storage/Loop.cc   2013-02-20 18:26:33.0 
+0100
@@ -146,7 +146,6 @@
 if( active )
{
getMajorMinor();
-   replaceAltName( /dev/dm-, /dev/dm-+decString(mnr) );
}
 

commit libstorage for openSUSE:Factory

2013-02-19 Thread h_root
Hello community,

here is the log from the commit of package libstorage for openSUSE:Factory 
checked in at 2013-02-19 13:37:00

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


Package is libstorage, Maintainer is aschn...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/libstorage/libstorage.changes2013-02-08 
07:12:18.0 +0100
+++ /work/SRC/openSUSE:Factory/.libstorage.new/libstorage.changes   
2013-02-19 13:37:02.0 +0100
@@ -1,0 +2,12 @@
+Fri Feb 15 10:00:20 CET 2013 - aschn...@suse.de
+
+- version 2.23.5
+- detect fake partitions on FBA DASDs (bnc#786164)
+
+---
+Thu Feb  7 16:48:23 CET 2013 - f...@suse.de
+
+- create partition type gpt_sync_mbr instead of plain gpt also
+  on ppc architecture (bnc#797485)
+
+---

Old:

  libstorage-2.23.4.tar.bz2

New:

  libstorage-2.23.5.tar.bz2



Other differences:
--
++ libstorage.spec ++
--- /var/tmp/diff_new_pack.7qgsQF/_old  2013-02-19 13:37:03.0 +0100
+++ /var/tmp/diff_new_pack.7qgsQF/_new  2013-02-19 13:37:03.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   libstorage
-Version:2.23.4
+Version:2.23.5
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: libstorage-%{version}.tar.bz2

++ libstorage-2.23.4.tar.bz2 - libstorage-2.23.5.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.23.4/VERSION 
new/libstorage-2.23.5/VERSION
--- old/libstorage-2.23.4/VERSION   2013-02-07 15:29:31.0 +0100
+++ new/libstorage-2.23.5/VERSION   2013-02-19 12:02:36.0 +0100
@@ -1 +1 @@
-2.23.4
+2.23.5
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.23.4/bindings/python/libstorage.py 
new/libstorage-2.23.5/bindings/python/libstorage.py
--- old/libstorage-2.23.4/bindings/python/libstorage.py 2013-02-07 
15:39:18.0 +0100
+++ new/libstorage-2.23.5/bindings/python/libstorage.py 2013-02-19 
12:10:44.0 +0100
@@ -451,6 +451,9 @@
 __swig_setmethods__[transport] = _libstorage.DiskInfo_transport_set
 __swig_getmethods__[transport] = _libstorage.DiskInfo_transport_get
 if _newclass:transport = 
_swig_property(_libstorage.DiskInfo_transport_get, 
_libstorage.DiskInfo_transport_set)
+__swig_setmethods__[has_fake_partition] = 
_libstorage.DiskInfo_has_fake_partition_set
+__swig_getmethods__[has_fake_partition] = 
_libstorage.DiskInfo_has_fake_partition_get
+if _newclass:has_fake_partition = 
_swig_property(_libstorage.DiskInfo_has_fake_partition_get, 
_libstorage.DiskInfo_has_fake_partition_set)
 __swig_setmethods__[iscsi] = _libstorage.DiskInfo_iscsi_set
 __swig_getmethods__[iscsi] = _libstorage.DiskInfo_iscsi_get
 if _newclass:iscsi = _swig_property(_libstorage.DiskInfo_iscsi_get, 
_libstorage.DiskInfo_iscsi_set)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.23.4/storage/Disk.cc 
new/libstorage-2.23.5/storage/Disk.cc
--- old/libstorage-2.23.4/storage/Disk.cc   2013-02-05 12:48:51.0 
+0100
+++ new/libstorage-2.23.5/storage/Disk.cc   2013-02-15 10:47:03.0 
+0100
@@ -50,7 +50,7 @@
   unsigned long long SizeK, SystemInfo systeminfo)
: Container(s, name, device, staticType(), systeminfo),
  init_disk(false), transport(TUNKNOWN), dmp_slave(false), 
no_addpart(false),
- gpt_enlarge(false), del_ptable(false)
+ gpt_enlarge(false), del_ptable(false), has_fake_partition(false)
 {
 logfile_name = boost::replace_all_copy(nm, /, _);
 getMajorMinor();
@@ -69,7 +69,7 @@
: Container(s, name, device, staticType(), systeminfo),
  max_primary(0), ext_possible(false), max_logical(0),
  init_disk(false), transport(TUNKNOWN), dmp_slave(false), 
no_addpart(false),
- gpt_enlarge(false), range(255), del_ptable(false)
+ gpt_enlarge(false), range(255), del_ptable(false), 
has_fake_partition(false)
 {
 y2mil(constructed Disk name:  name   nr   num   sizeK:  
SizeK);
 logfile_name = name + decString(num);
@@ -84,7 +84,7 @@
: Container(s, staticType(), node), label(), udev_path(),
  udev_id(), max_primary(0), ext_possible(false), max_logical(0),
  init_disk(false), transport(TUNKNOWN), dmp_slave(false), 
no_addpart(false),
- gpt_enlarge(false), range(4), del_ptable(false)
+ gpt_enlarge(false), range(4), del_ptable(false), 
has_fake_partition(false)
 {

commit libstorage for openSUSE:Factory

2013-02-07 Thread h_root
Hello community,

here is the log from the commit of package libstorage for openSUSE:Factory 
checked in at 2013-02-08 07:12:16

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


Package is libstorage, Maintainer is aschn...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/libstorage/libstorage.changes2012-12-21 
10:17:20.0 +0100
+++ /work/SRC/openSUSE:Factory/.libstorage.new/libstorage.changes   
2013-02-08 07:12:18.0 +0100
@@ -1,0 +2,12 @@
+Tue Jan 29 10:21:10 CET 2013 - f...@suse.de
+
+- version 2.23.4
+- fixed wrong display of fs type when formatting btrfs (bnc#799897)
+
+---
+Fri Jan 04 10:36:36 CET 2013 - aschn...@suse.de
+
+- do not resize filesystem if enlarging partition failed
+  (bnc#796339)
+
+---

Old:

  libstorage-2.23.3.tar.bz2

New:

  libstorage-2.23.4.tar.bz2



Other differences:
--
++ libstorage.spec ++
--- /var/tmp/diff_new_pack.HZlsDi/_old  2013-02-08 07:12:19.0 +0100
+++ /var/tmp/diff_new_pack.HZlsDi/_new  2013-02-08 07:12:19.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libstorage
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:   libstorage
-Version:2.23.3
+Version:2.23.4
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: libstorage-%{version}.tar.bz2

++ libstorage-2.23.3.tar.bz2 - libstorage-2.23.4.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.23.3/VERSION 
new/libstorage-2.23.4/VERSION
--- old/libstorage-2.23.3/VERSION   2012-12-20 12:41:32.0 +0100
+++ new/libstorage-2.23.4/VERSION   2013-02-07 15:29:31.0 +0100
@@ -1 +1 @@
-2.23.3
+2.23.4
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.23.3/storage/Disk.cc 
new/libstorage-2.23.4/storage/Disk.cc
--- old/libstorage-2.23.3/storage/Disk.cc   2012-12-19 12:53:15.0 
+0100
+++ new/libstorage-2.23.4/storage/Disk.cc   2013-02-05 12:48:51.0 
+0100
@@ -1093,7 +1093,7 @@
  cylinderToKb(len), Region(start, len), 
type);
ConstPartPair pp = partPair();
ConstPartIter i = pp.begin();
-   while( i!=pp.end()  !(i-deleted()  i-cylStart()==start) )
+   while( i!=pp.end()  !(i-deleted()  i-cylStart()==start  
i-type()==type) )
++i;
if( i!=pp.end() )
{
@@ -2010,7 +2010,7 @@
if( ret==0  p-type()!=EXTENDED )
{
ret = p-zeroIfNeeded();
-   if( !dmp_slave  !p-getFormat() )
+   if( !dmp_slave  !p-getFormat()  !p-isUsedBy(UB_BTRFS))
{
bool lsave = false;
string lbl;
@@ -2350,7 +2350,7 @@
Storage::waitForDevice(p-device());
y2mil(after resize size:  p-sizeK()   resize:  
(p-needShrink()||p-needExtend()));
}
-   if( needExtend  !dmp_slave  
+   if( ret == 0  needExtend  !dmp_slave 
p-getFs()!=HFS  p-getFs()!=HFSPLUS  p-getFs()!=VFAT  
p-getFs()!=FSNONE )
ret = p-resizeFs();

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



commit libstorage for openSUSE:Factory

2012-12-21 Thread h_root
Hello community,

here is the log from the commit of package libstorage for openSUSE:Factory 
checked in at 2012-12-21 10:17:17

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


Package is libstorage, Maintainer is aschn...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/libstorage/libstorage.changes2012-12-08 
15:52:09.0 +0100
+++ /work/SRC/openSUSE:Factory/.libstorage.new/libstorage.changes   
2012-12-21 10:17:20.0 +0100
@@ -1,0 +2,9 @@
+Wed Dec 19 19:42:20 CET 2012 - f...@suse.de
+
+- version 2.23.3
+- change order of vgchange/vgscan call in LvmVg to work around 
+  udev not creating LVM device nodes any more (bnc#794692)
+- add function umountDeviceUns to make YCP able to prevent removal 
+  of crypt helper devices when doing fstab import (bnc#794692)
+
+---

Old:

  libstorage-2.23.2.tar.bz2

New:

  libstorage-2.23.3.tar.bz2



Other differences:
--
++ libstorage.spec ++
--- /var/tmp/diff_new_pack.rviAXK/_old  2012-12-21 10:17:21.0 +0100
+++ /var/tmp/diff_new_pack.rviAXK/_new  2012-12-21 10:17:21.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   libstorage
-Version:2.23.2
+Version:2.23.3
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: libstorage-%{version}.tar.bz2

++ libstorage-2.23.2.tar.bz2 - libstorage-2.23.3.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.23.2/VERSION 
new/libstorage-2.23.3/VERSION
--- old/libstorage-2.23.2/VERSION   2012-12-07 16:52:36.0 +0100
+++ new/libstorage-2.23.3/VERSION   2012-12-20 12:41:32.0 +0100
@@ -1 +1 @@
-2.23.2
+2.23.3
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.23.2/bindings/python/libstorage.py 
new/libstorage-2.23.3/bindings/python/libstorage.py
--- old/libstorage-2.23.2/bindings/python/libstorage.py 2012-11-21 
14:31:21.0 +0100
+++ new/libstorage-2.23.3/bindings/python/libstorage.py 2012-12-20 
11:35:01.0 +0100
@@ -1667,6 +1667,7 @@
 def removeBackupState(self, *args): return 
_libstorage.StorageInterface_removeBackupState(self, *args)
 def checkDeviceMounted(self, *args): return 
_libstorage.StorageInterface_checkDeviceMounted(self, *args)
 def umountDevice(self, *args): return 
_libstorage.StorageInterface_umountDevice(self, *args)
+def umountDeviceUns(self, *args): return 
_libstorage.StorageInterface_umountDeviceUns(self, *args)
 def mountDevice(self, *args): return 
_libstorage.StorageInterface_mountDevice(self, *args)
 def activateEncryption(self, *args): return 
_libstorage.StorageInterface_activateEncryption(self, *args)
 def mountDeviceOpts(self, *args): return 
_libstorage.StorageInterface_mountDeviceOpts(self, *args)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.23.2/storage/LvmVg.cc 
new/libstorage-2.23.3/storage/LvmVg.cc
--- old/libstorage-2.23.2/storage/LvmVg.cc  2012-11-15 11:55:52.0 
+0100
+++ new/libstorage-2.23.3/storage/LvmVg.cc  2012-12-19 14:19:13.0 
+0100
@@ -1307,8 +1307,8 @@
if (val)
{
Dm::activate(true);
-   c.execute(VGSCANBIN  --mknodes);
c.execute(VGCHANGEBIN  -a y);
+   c.execute(VGSCANBIN  --mknodes);
}
else
{
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.23.2/storage/Storage.cc 
new/libstorage-2.23.3/storage/Storage.cc
--- old/libstorage-2.23.2/storage/Storage.cc2012-12-03 16:34:37.0 
+0100
+++ new/libstorage-2.23.3/storage/Storage.cc2012-12-19 19:32:53.0 
+0100
@@ -7050,6 +7050,7 @@
const string opts )
 {
 bool ret = true;
+bool didCrsetup = false;
 assertInit();
 y2mil(device:  device   mp:  mp   ro:  ro   opts:  
opts);
 VolIterator vol;
@@ -7058,6 +7059,8 @@
if( vol-needCrsetup() )
{
ret = vol-doCrsetup()==0;
+   if( ret==0 )
+   didCrsetup = true;
}
if( ret )
{
@@ -7066,7 +7069,7 @@
ret = vol-mount( mp, ro )==0;
vol-setFstabOption( save );
}
-   if( !ret )
+   if( !ret  didCrsetup )
vol-crUnsetup();
}
 else
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.23.2/storage/Storage.h 
new/libstorage-2.23.3/storage/Storage.h
--- 

commit libstorage for openSUSE:Factory

2012-12-08 Thread h_root
Hello community,

here is the log from the commit of package libstorage for openSUSE:Factory 
checked in at 2012-12-08 15:52:06

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


Package is libstorage, Maintainer is aschn...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/libstorage/libstorage.changes2012-11-08 
08:05:29.0 +0100
+++ /work/SRC/openSUSE:Factory/.libstorage.new/libstorage.changes   
2012-12-08 15:52:09.0 +0100
@@ -1,0 +2,21 @@
+Fri Dec 07 09:49:55 CET 2012 - aschn...@suse.de
+
+- escape meta-characters for regular expressions (bnc#792245)
+- 2.23.2
+
+---
+Tue Nov 20 15:37:01 CET 2012 - aschn...@suse.de
+
+- updated check for parted errors (bnc#790481)
+
+---
+Thu Nov 15 11:46:25 CET 2012 - aschn...@suse.de
+
+- added another udevadm settle call (bnc#781402)
+
+---
+Tue Nov 13 16:33:32 CET 2012 - f...@suse.de
+
+- remove boost-devel from Requires of libstorage-devel
+
+---

Old:

  libstorage-2.23.1.tar.bz2

New:

  libstorage-2.23.2.tar.bz2



Other differences:
--
++ libstorage.spec ++
--- /var/tmp/diff_new_pack.YJPaco/_old  2012-12-08 15:52:10.0 +0100
+++ /var/tmp/diff_new_pack.YJPaco/_new  2012-12-08 15:52:10.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   libstorage
-Version:2.23.1
+Version:2.23.2
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: libstorage-%{version}.tar.bz2
@@ -169,7 +169,6 @@
 
 %package -n libstorage-devel
 
-Requires:   boost-devel
 Requires:   gcc-c++
 Requires:   libstdc++-devel
 Requires:   libstorage4 = %version

++ libstorage-2.23.1.tar.bz2 - libstorage-2.23.2.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.23.1/Makefile.in 
new/libstorage-2.23.2/Makefile.in
--- old/libstorage-2.23.1/Makefile.in   2012-11-07 16:25:00.0 +0100
+++ new/libstorage-2.23.2/Makefile.in   2012-12-07 16:53:25.0 +0100
@@ -681,7 +681,7 @@
*.zip*) \
  unzip $(distdir).zip ;;\
esac
-   chmod -R a-w $(distdir); chmod a+w $(distdir)
+   chmod -R a-w $(distdir); chmod u+w $(distdir)
mkdir $(distdir)/_build
mkdir $(distdir)/_inst
chmod a-w $(distdir)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.23.1/VERSION 
new/libstorage-2.23.2/VERSION
--- old/libstorage-2.23.1/VERSION   2012-11-07 16:23:39.0 +0100
+++ new/libstorage-2.23.2/VERSION   2012-12-07 16:52:36.0 +0100
@@ -1 +1 @@
-2.23.1
+2.23.2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.23.1/libstorage.spec.in 
new/libstorage-2.23.2/libstorage.spec.in
--- old/libstorage-2.23.1/libstorage.spec.in2012-06-14 11:03:35.0 
+0200
+++ new/libstorage-2.23.2/libstorage.spec.in2012-11-13 16:41:59.0 
+0100
@@ -152,7 +152,7 @@
 %package -n libstorage-devel
 
 Requires:   libstorage@LIBVERSION_MAJOR@ = %version
-Requires:   gcc-c++ libstdc++-devel boost-devel libxml2-devel
+Requires:   gcc-c++ libstdc++-devel libxml2-devel
 Summary:Header files and documentation for libstorage
 Group:  Development/Languages/C and C++
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.23.1/storage/Dasdview.cc 
new/libstorage-2.23.2/storage/Dasdview.cc
--- old/libstorage-2.23.1/storage/Dasdview.cc   2012-06-14 11:03:35.0 
+0200
+++ new/libstorage-2.23.2/storage/Dasdview.cc   2012-12-03 14:38:44.0 
+0100
@@ -124,7 +124,7 @@
{
scanGeometry(cmd);
 
-   Regex part(^ + device + [0123456789]+$);
+   Regex part(^ + Regex::escape(device) + [0123456789]+$);
cmd.select( device );
int cnt = cmd.numLines();
for (int i = 0; i  cnt; ++i)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.23.1/storage/Disk.cc 
new/libstorage-2.23.2/storage/Disk.cc
--- old/libstorage-2.23.1/storage/Disk.cc   2012-11-05 18:36:38.0 
+0100
+++ new/libstorage-2.23.2/storage/Disk.cc   2012-12-03 16:18:28.0 
+0100
@@ -417,6 +417,11 @@
y2mil( resetting retcode cmd   ret   of:  cmd_line );
ret = 0;
}
+if( ret!=0  tmp.find( Error informing the 

commit libstorage for openSUSE:Factory

2012-11-07 Thread h_root
Hello community,

here is the log from the commit of package libstorage for openSUSE:Factory 
checked in at 2012-11-08 08:05:27

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


Package is libstorage, Maintainer is aschn...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/libstorage/libstorage.changes2012-09-23 
08:45:41.0 +0200
+++ /work/SRC/openSUSE:Factory/.libstorage.new/libstorage.changes   
2012-11-08 08:05:29.0 +0100
@@ -1,0 +2,17 @@
+Wed Nov  7 16:14:01 CET 2012  - f...@suse.de
+
+- 2.23.1
+- support creation of BIOS grub partition on GPT (bnc#786870)
+
+---
+Mon Nov  5 11:58:12 CET 2012  - f...@suse.de
+
+- freq and passno should be 0 for BTRFS fs in fstab (bnc#786719)
+
+---
+Tue Oct 16 15:00:38 CEST 2012 - f...@suse.de
+
+- ignore failed partition removal if partition table is later
+  initialized anyway (bnc#785234)
+
+---

Old:

  libstorage-2.23.0.tar.bz2

New:

  libstorage-2.23.1.tar.bz2



Other differences:
--
++ libstorage.spec ++
--- /var/tmp/diff_new_pack.Z6YxPD/_old  2012-11-08 08:05:30.0 +0100
+++ /var/tmp/diff_new_pack.Z6YxPD/_new  2012-11-08 08:05:30.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   libstorage
-Version:2.23.0
+Version:2.23.1
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: libstorage-%{version}.tar.bz2

++ libstorage-2.23.0.tar.bz2 - libstorage-2.23.1.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.23.0/VERSION 
new/libstorage-2.23.1/VERSION
--- old/libstorage-2.23.0/VERSION   2012-09-12 19:17:01.0 +0200
+++ new/libstorage-2.23.1/VERSION   2012-11-07 16:23:39.0 +0100
@@ -1 +1 @@
-2.23.0
+2.23.1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.23.0/storage/Disk.cc 
new/libstorage-2.23.1/storage/Disk.cc
--- old/libstorage-2.23.0/storage/Disk.cc   2012-06-19 11:07:17.0 
+0200
+++ new/libstorage-2.23.1/storage/Disk.cc   2012-11-05 18:36:38.0 
+0100
@@ -490,7 +490,10 @@
 cannot add, edit, resize, or remove partitions from that\n
 disk with this tool.), dev.c_str() );
 
-   getStorage()-addInfoPopupText( dev, txt );
+   if( getenv(LIBSTORAGE_NO_PART_CHECK)!=NULL )
+   y2war( ignoring failed partition check parted/kernel on disk:  
device() );
+   else
+   getStorage()-addInfoPopupText( dev, txt );
ronly = true;
}
 if( range_exceed0 )
@@ -1684,6 +1687,9 @@
 
options   set   p-nr()   boot   
((p-boot()||p-id()==Partition::ID_GPT_BOOT)?on:off);
 
+   if (label == gpt)
+   options   set   p-nr()   bios_grub   
(p-id()==Partition::ID_GPT_BIOS?on:off);
+
if (p-id() = 255  label == msdos)
options   set   p-nr()   type   p-id();
}
@@ -2049,7 +2055,10 @@
cmd_line  PARTEDCMD  quote(device())   rm   p-OrigNr();
if( execCheckFailed( cmd_line.str() ) )
{
-   ret = DISK_REMOVE_PARTITION_PARTED_FAILED;
+   if( !del_ptable )
+   ret = DISK_REMOVE_PARTITION_PARTED_FAILED;
+   else
+   y2war( suppressing failed removal del_ptable:  
del_ptable );
}
ProcParts parts;
if( parts.findDevice(getPartName(p-OrigNr())) )
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.23.0/storage/Parted.cc 
new/libstorage-2.23.1/storage/Parted.cc
--- old/libstorage-2.23.0/storage/Parted.cc 2012-06-14 11:03:35.0 
+0200
+++ new/libstorage-2.23.1/storage/Parted.cc 2012-11-05 18:33:26.0 
+0100
@@ -336,6 +336,10 @@
{
entry.id = Partition::ID_APPLE_HFS;
}
+   if (contains(flags, bios_grub))
+   {
+   entry.id = Partition::ID_GPT_BIOS;
+   }
}
y2mil(num:  entry.num   id:  entry.id   type:  
toString(entry.type));
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.23.0/storage/Partition.h 
new/libstorage-2.23.1/storage/Partition.h
--- old/libstorage-2.23.0/storage/Partition.h   2012-06-14 11:03:35.0 
+0200
+++ new/libstorage-2.23.1/storage/Partition.h   2012-11-05 18:28:29.0 
+0100
@@ -40,7 +40,7 @@
 ID_EXTENDED=0x0f, 

commit libstorage for openSUSE:Factory

2012-09-23 Thread h_root
Hello community,

here is the log from the commit of package libstorage for openSUSE:Factory 
checked in at 2012-09-23 08:45:39

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


Package is libstorage, Maintainer is aschn...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/libstorage/libstorage.changes2012-08-15 
11:19:24.0 +0200
+++ /work/SRC/openSUSE:Factory/.libstorage.new/libstorage.changes   
2012-09-23 08:45:41.0 +0200
@@ -1,0 +2,11 @@
+Thu Aug 30 17:28:25 CEST 2012 - f...@suse.de
+
+- 2.23.0
+- first final implementation of thin provisioning in LVM
+
+---
+Thu Aug 23 16:53:39 CEST 2012 - f...@suse.de
+
+- add code for detection and handling of thin provisioning in LVM
+
+---

Old:

  libstorage-2.22.11.tar.bz2

New:

  libstorage-2.23.0.tar.bz2



Other differences:
--
++ libstorage.spec ++
--- /var/tmp/diff_new_pack.pzHFjK/_old  2012-09-23 08:45:43.0 +0200
+++ /var/tmp/diff_new_pack.pzHFjK/_new  2012-09-23 08:45:43.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   libstorage
-Version:2.22.11
+Version:2.23.0
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: libstorage-%{version}.tar.bz2

++ libstorage-2.22.11.tar.bz2 - libstorage-2.23.0.tar.bz2 ++
 13208 lines of diff (skipped)

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



commit libstorage for openSUSE:Factory

2012-08-15 Thread h_root
Hello community,

here is the log from the commit of package libstorage for openSUSE:Factory 
checked in at 2012-08-15 11:19:22

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


Package is libstorage, Maintainer is aschn...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/libstorage/libstorage.changes2012-08-13 
19:53:54.0 +0200
+++ /work/SRC/openSUSE:Factory/.libstorage.new/libstorage.changes   
2012-08-15 11:19:24.0 +0200
@@ -1,0 +2,6 @@
+Tue Aug 14 12:40:44 CEST 2012 - aschn...@suse.de
+
+- 2.22.11
+- allow mount-by label and uuid for NTFS (bnc#775594)
+
+---

Old:

  libstorage-2.22.10.tar.bz2

New:

  libstorage-2.22.11.tar.bz2



Other differences:
--
++ libstorage.spec ++
--- /var/tmp/diff_new_pack.ObywqC/_old  2012-08-15 11:19:28.0 +0200
+++ /var/tmp/diff_new_pack.ObywqC/_new  2012-08-15 11:19:28.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   libstorage
-Version:2.22.10
+Version:2.22.11
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: libstorage-%{version}.tar.bz2

++ libstorage-2.22.10.tar.bz2 - libstorage-2.22.11.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.22.10/VERSION 
new/libstorage-2.22.11/VERSION
--- old/libstorage-2.22.10/VERSION  2012-08-13 16:01:13.0 +0200
+++ new/libstorage-2.22.11/VERSION  2012-08-14 12:49:16.0 +0200
@@ -1 +1 @@
-2.22.10
+2.22.11
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.22.10/storage/Storage.cc 
new/libstorage-2.22.11/storage/Storage.cc
--- old/libstorage-2.22.10/storage/Storage.cc   2012-08-13 15:55:36.0 
+0200
+++ new/libstorage-2.22.11/storage/Storage.cc   2012-08-14 12:29:44.0 
+0200
@@ -5783,8 +5783,8 @@
 static FsCapabilitiesX xfsCaps (true, true, false, false, true, true,
false, 12, 40*1024);
 
-static FsCapabilitiesX ntfsCaps (true, false, true, false, false, false,
-false, 0, 10*1024);
+static FsCapabilitiesX ntfsCaps (true, false, true, false, true, true,
+false, 32, 10*1024);
 
 static FsCapabilitiesX fatCaps (true, false, true, false, false, false,
false, 0, 64);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.22.10/storage/StorageDefines.h 
new/libstorage-2.22.11/storage/StorageDefines.h
--- old/libstorage-2.22.10/storage/StorageDefines.h 2012-06-19 
12:37:19.0 +0200
+++ new/libstorage-2.22.11/storage/StorageDefines.h 2012-08-14 
12:45:55.0 +0200
@@ -95,6 +95,7 @@
 #define TUNEREISERBIN  /sbin/reiserfstune
 #define TUNEJFSBIN /sbin/jfs_tune
 #define XFSADMINBIN/usr/sbin/xfs_admin
+#define NTFSLABELBIN   /usr/sbin/ntfslabel
 
 #define FSCKBIN/sbin/fsck
 #define FSCKEXT2BIN/sbin/fsck.ext2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.22.10/storage/Volume.cc 
new/libstorage-2.22.11/storage/Volume.cc
--- old/libstorage-2.22.10/storage/Volume.cc2012-08-07 19:17:11.0 
+0200
+++ new/libstorage-2.22.11/storage/Volume.cc2012-08-14 12:46:13.0 
+0200
@@ -2507,6 +2507,9 @@
cmd = BTRFSBIN  filesystem label  + quote(mountDevice());
cmd +=   + quote(label);
break;
+   case NTFS:
+   cmd = NTFSLABELBIN   + quote(mountDevice()) +   + 
quote(label);
+   break;
default:
ret = VOLUME_MKLABEL_FS_UNABLE;
break;

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



commit libstorage for openSUSE:Factory

2012-08-08 Thread h_root
Hello community,

here is the log from the commit of package libstorage for openSUSE:Factory 
checked in at 2012-08-08 21:55:12

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


Package is libstorage, Maintainer is aschn...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/libstorage/libstorage.changes2012-07-18 
17:24:47.0 +0200
+++ /work/SRC/openSUSE:Factory/.libstorage.new/libstorage.changes   
2012-08-08 21:55:13.0 +0200
@@ -1,0 +2,23 @@
+Tue Aug  7 19:18:21 CEST 2012 - f...@suse.de
+
+- 2.22.9
+- use mount point as base for dm name if available (bnc#768572)
+
+---
+Thu Aug  2 13:11:39 CEST 2012 - f...@suse.de
+
+- fix handling of LVMs with mix of encrypted and unencrypted PVs
+- fix handling of encrypted PVs with non-standard dm name 
+
+---
+Tue Jul 24 18:35:04 CEST 2012 - f...@suse.de
+
+- improve handling of btrfs on non-formatted root fs  
+
+---
+Mon Jul 23 17:22:34 CEST 2012 - f...@suse.de
+
+- fix uuid handling when changing format false-true-false for
+  btrfs filesystems (bnc#772112)
+
+---

Old:

  libstorage-2.22.8.tar.bz2

New:

  libstorage-2.22.9.tar.bz2



Other differences:
--
++ libstorage.spec ++
--- /var/tmp/diff_new_pack.Wbiwpy/_old  2012-08-08 21:55:14.0 +0200
+++ /var/tmp/diff_new_pack.Wbiwpy/_new  2012-08-08 21:55:14.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   libstorage
-Version:2.22.8
+Version:2.22.9
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: libstorage-%{version}.tar.bz2

++ libstorage-2.22.8.tar.bz2 - libstorage-2.22.9.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.22.8/VERSION 
new/libstorage-2.22.9/VERSION
--- old/libstorage-2.22.8/VERSION   2012-07-16 15:19:31.0 +0200
+++ new/libstorage-2.22.9/VERSION   2012-08-08 13:49:37.0 +0200
@@ -1 +1 @@
-2.22.8
+2.22.9
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.22.8/examples/TestLogging.cc 
new/libstorage-2.22.9/examples/TestLogging.cc
--- old/libstorage-2.22.8/examples/TestLogging.cc   2012-06-13 
10:15:45.0 +0200
+++ new/libstorage-2.22.9/examples/TestLogging.cc   2012-08-02 
13:17:13.0 +0200
@@ -4,6 +4,7 @@
  *  the disk_* and volume_* files in /var/log/YaST2/ will be generated.
  */
 
+#include stdlib.h
 #include unistd.h
 #include iostream
 #include fstream
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.22.8/storage/Btrfs.cc 
new/libstorage-2.22.9/storage/Btrfs.cc
--- old/libstorage-2.22.8/storage/Btrfs.cc  2012-04-25 11:58:58.0 
+0200
+++ new/libstorage-2.22.9/storage/Btrfs.cc  2012-07-24 18:40:52.0 
+0200
@@ -131,6 +131,43 @@
 y2mil( devs:  devs );
 }
 
+void Btrfs::detectSubvol()
+{
+y2mil( dev:  device() );
+if( getFormat() )
+clearSubvol();
+else
+{
+bool mounted = false;
+string mp = getMount();
+if( !isMounted()  getStorage()-mountTmpRo( this, mp ) )
+mounted = true;
+if( !mp.empty() )
+{
+clearSubvol();
+SystemCmd cmd( BTRFSBIN  subvolume list  + mp );
+for( vectorstring::const_iterator s=cmd.stdout().begin(); 
+ s!=cmd.stdout().end(); ++s )
+{
+string subvol;
+string::size_type pos = s-find(  path  );
+if( pos!=string::npos )
+pos = s-find_first_not_of( app_ws, pos+5 );
+if( pos!=string::npos )
+subvol = s-substr( pos, s-find_last_not_of( app_ws ) );
+if( !subvol.empty() )
+addSubvol( subvol );
+}
+}
+if( mounted )
+{
+getStorage()-umountDev( device() );
+if( mp!=getMount() )
+rmdir( mp.c_str() );
+}
+}
+y2mil( ret dev:  device()   subvol:  subvol );
+}
 
 void Btrfs::addSubvol( const string path )
 {
@@ -504,13 +541,12 @@
 ret = Volume::setFormat( val, new_fs );
 if( ret==0 )
{
-   if( val )
-   {
-   orig_uuid = uuid;
-   uuid = co()-fakeUuid();
-   }
+if( val )
+uuid = co()-fakeUuid();
+ 

commit libstorage for openSUSE:Factory

2012-07-18 Thread h_root
Hello community,

here is the log from the commit of package libstorage for openSUSE:Factory 
checked in at 2012-07-18 17:24:46

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


Package is libstorage, Maintainer is aschn...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/libstorage/libstorage.changes2012-06-29 
07:00:51.0 +0200
+++ /work/SRC/openSUSE:Factory/.libstorage.new/libstorage.changes   
2012-07-18 17:24:47.0 +0200
@@ -1,0 +2,6 @@
+Mon Jul 16 15:19:41 CEST 2012 - aschn...@suse.de
+
+- 2.22.8
+- increased major number of library (bnc#771641)
+
+---

Old:

  libstorage-2.22.7.tar.bz2

New:

  libstorage-2.22.8.tar.bz2



Other differences:
--
++ libstorage.spec ++
--- /var/tmp/diff_new_pack.wsZseL/_old  2012-07-18 17:24:51.0 +0200
+++ /var/tmp/diff_new_pack.wsZseL/_new  2012-07-18 17:24:51.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   libstorage
-Version:2.22.7
+Version:2.22.8
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: libstorage-%{version}.tar.bz2
@@ -113,7 +113,7 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%package -n libstorage3
+%package -n libstorage4
 
 Requires:   coreutils
 Requires:   cryptsetup
@@ -141,7 +141,7 @@
 Summary:Library for storage management
 Group:  System/Libraries
 
-%description -n libstorage3
+%description -n libstorage4
 This package contains libstorage, a library for storage management.
 
 Authors:
@@ -149,7 +149,7 @@
 Thomas Fehr f...@suse.de
 Arvin Schnell aschn...@suse.de
 
-%files -n libstorage3 -f libstorage.lang
+%files -n libstorage4 -f libstorage.lang
 %defattr(-,root,root)
 %{_libdir}/libstorage.so.*
 %ghost /var/run/libstorage
@@ -158,13 +158,13 @@
 %doc %{prefix}/share/doc/packages/libstorage/AUTHORS
 %doc %{prefix}/share/doc/packages/libstorage/COPYING
 
-%post -n libstorage3
+%post -n libstorage4
 /sbin/ldconfig
 %if 0%{?suse_version}
 %{fillup_only -an storage}
 %endif
 
-%postun -n libstorage3
+%postun -n libstorage4
 /sbin/ldconfig
 
 %package -n libstorage-devel
@@ -172,7 +172,7 @@
 Requires:   boost-devel
 Requires:   gcc-c++
 Requires:   libstdc++-devel
-Requires:   libstorage3 = %version
+Requires:   libstorage4 = %version
 Requires:   libxml2-devel
 Summary:Header files and documentation for libstorage
 Group:  Development/Languages/C and C++
@@ -196,7 +196,7 @@
 
 %package -n libstorage-python
 
-Requires:   libstorage3 = %version
+Requires:   libstorage4 = %version
 %{py_requires}
 Summary:Python bindings for libstorage
 Group:  System/Libraries
@@ -215,7 +215,7 @@
 
 %package -n libstorage-ruby
 
-Requires:   libstorage3 = %version
+Requires:   libstorage4 = %version
 Summary:Ruby bindings for libstorage
 Group:  System/Libraries
 
@@ -245,7 +245,7 @@
 
 %package -n libstorage-testsuite
 
-Requires:   libstorage3 = %version
+Requires:   libstorage4 = %version
 Summary:Testsuite for libstorage
 Group:  Development/Tools/Other
 

++ libstorage-2.22.7.tar.bz2 - libstorage-2.22.8.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.22.7/LIBVERSION 
new/libstorage-2.22.8/LIBVERSION
--- old/libstorage-2.22.7/LIBVERSION2012-06-14 11:03:35.0 +0200
+++ new/libstorage-2.22.8/LIBVERSION2012-07-16 15:19:21.0 +0200
@@ -1 +1 @@
-3.0.0
+4.0.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.22.7/VERSION 
new/libstorage-2.22.8/VERSION
--- old/libstorage-2.22.7/VERSION   2012-06-28 16:32:05.0 +0200
+++ new/libstorage-2.22.8/VERSION   2012-07-16 15:19:31.0 +0200
@@ -1 +1 @@
-2.22.7
+2.22.8
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.22.7/storage/StorageVersion.h 
new/libstorage-2.22.8/storage/StorageVersion.h
--- old/libstorage-2.22.7/storage/StorageVersion.h  2012-06-28 
16:33:24.0 +0200
+++ new/libstorage-2.22.8/storage/StorageVersion.h  2012-07-16 
15:26:26.0 +0200
@@ -24,9 +24,9 @@
 #define STORAGE_VERSION_H
 
 
-#define LIBSTORAGE_VERSION_STRING 3.0.0
+#define LIBSTORAGE_VERSION_STRING 4.0.0
 
-#define LIBSTORAGE_VERSION_MAJOR 3
+#define LIBSTORAGE_VERSION_MAJOR 4
 #define LIBSTORAGE_VERSION_MINOR 0
 #define LIBSTORAGE_VERSION_PATCHLEVEL 0
 

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



commit libstorage for openSUSE:Factory

2012-06-28 Thread h_root
Hello community,

here is the log from the commit of package libstorage for openSUSE:Factory 
checked in at 2012-06-29 07:00:50

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


Package is libstorage, Maintainer is aschn...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/libstorage/libstorage.changes2012-06-25 
12:35:37.0 +0200
+++ /work/SRC/openSUSE:Factory/.libstorage.new/libstorage.changes   
2012-06-29 07:00:51.0 +0200
@@ -1,0 +2,11 @@
+Wed Jun 27 15:13:23 CEST 2012 - f...@suse.de
+
+- 2.22.7
+- add function to replace complete list of md component devices
+
+---
+Tue Jun 26 19:05:26 CEST 2012 - f...@suse.de
+
+- suppress helper dm maps for lvm pool and lvm raid volumes
+
+---

Old:

  libstorage-2.22.6.tar.bz2

New:

  libstorage-2.22.7.tar.bz2



Other differences:
--
++ libstorage.spec ++
--- /var/tmp/diff_new_pack.Wqn4x9/_old  2012-06-29 07:00:55.0 +0200
+++ /var/tmp/diff_new_pack.Wqn4x9/_new  2012-06-29 07:00:55.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   libstorage
-Version:2.22.6
+Version:2.22.7
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: libstorage-%{version}.tar.bz2

++ libstorage-2.22.6.tar.bz2 - libstorage-2.22.7.tar.bz2 ++
 17179 lines of diff (skipped)
retrying with extended exclude list
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/libstorage-2.22.6/VERSION new/libstorage-2.22.7/VERSION
--- old/libstorage-2.22.6/VERSION   2012-06-19 11:07:17.0 +0200
+++ new/libstorage-2.22.7/VERSION   2012-06-28 16:32:05.0 +0200
@@ -1 +1 @@
-2.22.6
+2.22.7
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/libstorage-2.22.6/bindings/python/libstorage.py 
new/libstorage-2.22.7/bindings/python/libstorage.py
--- old/libstorage-2.22.6/bindings/python/libstorage.py 2012-06-19 
11:11:40.0 +0200
+++ new/libstorage-2.22.7/bindings/python/libstorage.py 2012-06-25 
12:47:06.0 +0200
@@ -1,9 +1,10 @@
 # This file was automatically generated by SWIG (http://www.swig.org).
-# Version 1.3.40
+# Version 2.0.4
 #
 # Do not make changes to this file unless you know what you are doing--modify
 # the SWIG interface file instead.
-# This file is compatible with both classic and new-style classes.
+
+
 
 from sys import version_info
 if version_info = (2,6,0):
@@ -39,7 +40,7 @@
 return
 method = class_type.__swig_setmethods__.get(name,None)
 if method: return method(self,value)
-if (not static) or hasattr(self,name):
+if (not static):
 self.__dict__[name] = value
 else:
 raise AttributeError(You cannot add attributes to %s % self)
@@ -1614,6 +1615,7 @@
 def createMdAny(self, *args): return 
_libstorage.StorageInterface_createMdAny(self, *args)
 def removeMd(self, *args): return 
_libstorage.StorageInterface_removeMd(self, *args)
 def extendMd(self, *args): return 
_libstorage.StorageInterface_extendMd(self, *args)
+def updateMd(self, *args): return 
_libstorage.StorageInterface_updateMd(self, *args)
 def shrinkMd(self, *args): return 
_libstorage.StorageInterface_shrinkMd(self, *args)
 def changeMdType(self, *args): return 
_libstorage.StorageInterface_changeMdType(self, *args)
 def changeMdChunk(self, *args): return 
_libstorage.StorageInterface_changeMdChunk(self, *args)
@@ -1993,5 +1995,6 @@
 dequelvmlvinfo_swigregister = _libstorage.dequelvmlvinfo_swigregister
 dequelvmlvinfo_swigregister(dequelvmlvinfo)
 
+# This file is compatible with both classic and new-style classes.
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/libstorage-2.22.6/examples/Makefile.example 
new/libstorage-2.22.7/examples/Makefile.example
--- old/libstorage-2.22.6/examples/Makefile.example 2012-06-14 

commit libstorage for openSUSE:Factory

2012-06-25 Thread h_root
Hello community,

here is the log from the commit of package libstorage for openSUSE:Factory 
checked in at 2012-06-25 12:35:30

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


Package is libstorage, Maintainer is aschn...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/libstorage/libstorage.changes2012-06-13 
22:48:08.0 +0200
+++ /work/SRC/openSUSE:Factory/.libstorage.new/libstorage.changes   
2012-06-25 12:35:37.0 +0200
@@ -1,0 +2,6 @@
+Mon Jun 18 14:21:12 CEST 2012 - f...@suse.de
+
+- 2.22.6
+- check for existence of all used binaries
+
+---

Old:

  libstorage-2.22.5.tar.bz2

New:

  libstorage-2.22.6.tar.bz2



Other differences:
--
++ libstorage.spec ++
--- /var/tmp/diff_new_pack.LPQfHN/_old  2012-06-25 12:35:39.0 +0200
+++ /var/tmp/diff_new_pack.LPQfHN/_new  2012-06-25 12:35:39.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   libstorage
-Version:2.22.5
+Version:2.22.6
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: libstorage-%{version}.tar.bz2

++ libstorage-2.22.5.tar.bz2 - libstorage-2.22.6.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.22.5/VERSION 
new/libstorage-2.22.6/VERSION
--- old/libstorage-2.22.5/VERSION   2012-06-12 11:08:14.0 +0200
+++ new/libstorage-2.22.6/VERSION   2012-06-19 11:07:17.0 +0200
@@ -1 +1 @@
-2.22.5
+2.22.6
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.22.5/storage/AppUtil.cc 
new/libstorage-2.22.6/storage/AppUtil.cc
--- old/libstorage-2.22.5/storage/AppUtil.cc2012-06-13 11:14:03.0 
+0200
+++ new/libstorage-2.22.6/storage/AppUtil.cc2012-06-19 12:08:57.0 
+0200
@@ -36,6 +36,7 @@
 #include storage/AsciiFile.h
 #include storage/Storage.h
 #include storage/StorageTmpl.h
+#include storage/StorageDefines.h
 #include storage/AppUtil.h
 #include storage/StorageTypes.h
 
@@ -367,6 +368,17 @@
 pfc( level, component, file, line, func, stream-str() );
 delete stream;
 }
+
+static FILE* logf = NULL;
+
+static void close_logf()
+{
+if( logf )
+{
+fclose(logf);
+logf=NULL;
+}
+}
 
 void defaultLogDo( int level, const string comp, const char* file,
int line, const char* fct, const string content )
@@ -377,22 +389,25 @@
  (  fct  ):  line;
 string prefix = pfx.str();
 
-FILE* f = fopen(filename.c_str(), a);
+if( !logf )
+{
+logf = fopen(filename.c_str(), a);
+setlinebuf(logf);
+atexit( close_logf );
+}
 
 string::size_type pos1 = 0;
 
-while( true  f )
+while( true  logf )
 {
 string::size_type pos2 = content.find('\n', pos1);;
 if (pos2 != string::npos || pos1 != content.length())
-fprintf(f, %s - %s\n, prefix.c_str(), 
+fprintf(logf, %s - %s\n, prefix.c_str(), 
 content.substr(pos1, pos2 - pos1).c_str());
 if (pos2 == string::npos)
 break;
 pos1 = pos2 + 1;
 }
-if(f)
-fclose(f);
 }
 
 
@@ -667,6 +682,34 @@
return s  fixed  double(tv.tv_sec) + (double)(tv.tv_usec) / 
100.0  s;
 }
 
+void checkBinPaths( const string arch, bool instsys )
+{
+y2mil( Arch:  arch   Instsys:  instsys );
+liststring ign;
+liststring s390;
+const char* pathes[] = { 
+#include ./gen_pathlist.cc
+   };
+ign.push_back( PORTMAPBIN );
+if( !boost::starts_with(arch,s390) )
+{
+ign.push_back( FDASDBIN );
+ign.push_back( DASDVIEWBIN );
+ign.push_back( DASDFMTBIN );
+}
+y2mil( ign:  ign );
+LogLevel level = instsys?storage::ERROR:storage::MILESTONE;
+for( unsigned i=0; ilengthof(pathes); i++ )
+{
+if( !contains( ign, pathes[i] ))
+{
+if( access( pathes[i], X_OK )!=0 )
+y2log_op( level, __FILE__, __LINE__, __FUNCTION__,
+  error accessing:  pathes[i] );
+}
+}
+}
+
 
 const string app_ws =  \t\n;
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.22.5/storage/AppUtil.h 
new/libstorage-2.22.6/storage/AppUtil.h
--- old/libstorage-2.22.5/storage/AppUtil.h 2012-06-12 14:04:59.0 
+0200
+++ new/libstorage-2.22.6/storage/AppUtil.h 2012-06-19 12:04:01.0 
+0200
@@ -43,6 +43,7 @@
 void 

commit libstorage for openSUSE:Factory

2012-06-13 Thread h_root
Hello community,

here is the log from the commit of package libstorage for openSUSE:Factory 
checked in at 2012-06-13 22:47:44

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


Package is libstorage, Maintainer is aschn...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/libstorage/libstorage.changes2012-05-31 
17:06:33.0 +0200
+++ /work/SRC/openSUSE:Factory/.libstorage.new/libstorage.changes   
2012-06-13 22:48:08.0 +0200
@@ -1,0 +2,6 @@
+Tue Jun 12 11:07:04 CEST 2012 - f...@suse.de
+
+- 2.22.5
+- get rid of usage of blocxx for logging purposes
+
+---

Old:

  libstorage-2.22.4.tar.bz2

New:

  libstorage-2.22.5.tar.bz2



Other differences:
--
++ libstorage.spec ++
--- /var/tmp/diff_new_pack.ELQm1h/_old  2012-06-13 22:48:09.0 +0200
+++ /var/tmp/diff_new_pack.ELQm1h/_new  2012-06-13 22:48:09.0 +0200
@@ -17,14 +17,13 @@
 
 
 Name:   libstorage
-Version:2.22.4
+Version:2.22.5
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: libstorage-%{version}.tar.bz2
 
 Prefix: /usr
 
-BuildRequires:  blocxx-devel
 BuildRequires:  boost-devel
 BuildRequires:  dejagnu
 BuildRequires:  doxygen
@@ -98,7 +97,11 @@
 rm -f $RPM_BUILD_ROOT/%{python_sitearch}/_libstorage.a  
 rm -f $RPM_BUILD_ROOT/%{python_sitearch}/_libstorage.la
 %if 0%{?suse_version}
-rm $RPM_BUILD_ROOT/%{rb_vendorarchdir}/storage.la
+%if %{?rb_vendorarchdir} != 
+rm -f $RPM_BUILD_ROOT/%{rb_vendorarchdir}/storage.la
+%else
+rm -f $RPM_BUILD_ROOT/%{rb_vendorarch}/storage.la
+%endif
 %endif
 %if 0%{?mandriva_version}
 rm $RPM_BUILD_ROOT/%{ruby_sitearchdir}/storage.la
@@ -166,7 +169,6 @@
 
 %package -n libstorage-devel
 
-Requires:   blocxx-devel
 Requires:   boost-devel
 Requires:   gcc-c++
 Requires:   libstdc++-devel
@@ -228,7 +230,11 @@
 %files -n libstorage-ruby
 %defattr(-,root,root)
 %if 0%{?suse_version}
+%if %{?rb_vendorarchdir} != 
 %{rb_vendorarchdir}/storage.so
+%else
+%{rb_vendorarch}/storage.so
+%endif
 %endif
 %if 0%{?mandriva_version}
 %{ruby_sitearchdir}/storage.so

++ libstorage-2.22.4.tar.bz2 - libstorage-2.22.5.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.22.4/VERSION 
new/libstorage-2.22.5/VERSION
--- old/libstorage-2.22.4/VERSION   2012-05-29 11:08:49.0 +0200
+++ new/libstorage-2.22.5/VERSION   2012-06-12 11:08:14.0 +0200
@@ -1 +1 @@
-2.22.4
+2.22.5
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.22.4/bindings/python/libstorage.py 
new/libstorage-2.22.5/bindings/python/libstorage.py
--- old/libstorage-2.22.4/bindings/python/libstorage.py 2012-05-02 
18:11:53.0 +0200
+++ new/libstorage-2.22.5/bindings/python/libstorage.py 2012-06-12 
14:05:44.0 +0200
@@ -1670,9 +1670,21 @@
 StorageInterface_swigregister(StorageInterface)
 
 
-def initDefaultLogger():
-  return _libstorage.initDefaultLogger()
-initDefaultLogger = _libstorage.initDefaultLogger
+def setLogDoCallback(*args):
+  return _libstorage.setLogDoCallback(*args)
+setLogDoCallback = _libstorage.setLogDoCallback
+
+def getLogDoCallback():
+  return _libstorage.getLogDoCallback()
+getLogDoCallback = _libstorage.getLogDoCallback
+
+def setLogQueryCallback(*args):
+  return _libstorage.setLogQueryCallback(*args)
+setLogQueryCallback = _libstorage.setLogQueryCallback
+
+def getLogQueryCallback():
+  return _libstorage.getLogQueryCallback()
+getLogQueryCallback = _libstorage.getLogQueryCallback
 class Environment(_object):
 __swig_setmethods__ = {}
 __setattr__ = lambda self, name, value: _swig_setattr(self, Environment, 
name, value)
@@ -1706,6 +1718,10 @@
 Environment_swigregister = _libstorage.Environment_swigregister
 Environment_swigregister(Environment)
 
+def initDefaultLogger(*args):
+  return _libstorage.initDefaultLogger(*args)
+initDefaultLogger = _libstorage.initDefaultLogger
+
 
 def createStorageInterface(*args):
   return _libstorage.createStorageInterface(*args)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.22.4/examples/Makefile.am 
new/libstorage-2.22.5/examples/Makefile.am
--- old/libstorage-2.22.4/examples/Makefile.am  2010-07-29 15:46:59.0 
+0200
+++ new/libstorage-2.22.5/examples/Makefile.am  2012-06-12 10:12:47.0 
+0200
@@ -7,7 +7,7 @@
 LDADD = ../storage/libstorage.la
 
 noinst_PROGRAMS = TestDisk TestDiskLog TestStorage TestProbing TestLvm 
\
-   TestMd TestLoop TestLock SaveGraph 

commit libstorage for openSUSE:Factory

2012-05-31 Thread h_root
Hello community,

here is the log from the commit of package libstorage for openSUSE:Factory 
checked in at 2012-05-31 17:06:22

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


Package is libstorage, Maintainer is aschn...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/libstorage/libstorage.changes2012-05-08 
11:14:58.0 +0200
+++ /work/SRC/openSUSE:Factory/.libstorage.new/libstorage.changes   
2012-05-31 17:06:33.0 +0200
@@ -1,0 +2,18 @@
+Tue May 29 11:08:39 CEST 2012 - f...@suse.de
+
+- 2.22.4
+- fix building of ruby bindings
+
+---
+Wed May 16 17:26:59 CEST 2012 - f...@suse.de
+
+- 2.22.3
+- use udev_id for base name of encrypted dm map instead of device
+  name (bnc#760213)
+
+---
+Tue May  8 13:53:07 CEST 2012 - f...@suse.de
+
+- fix bug formatting a mounted btrfs volume as non-btrfs (bnc#755704)
+
+---

Old:

  libstorage-2.22.2.tar.bz2

New:

  libstorage-2.22.4.tar.bz2



Other differences:
--
++ libstorage.spec ++
--- /var/tmp/diff_new_pack.uCO1f5/_old  2012-05-31 17:06:34.0 +0200
+++ /var/tmp/diff_new_pack.uCO1f5/_new  2012-05-31 17:06:34.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   libstorage
-Version:2.22.2
+Version:2.22.4
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: libstorage-%{version}.tar.bz2
@@ -98,7 +98,7 @@
 rm -f $RPM_BUILD_ROOT/%{python_sitearch}/_libstorage.a  
 rm -f $RPM_BUILD_ROOT/%{python_sitearch}/_libstorage.la
 %if 0%{?suse_version}
-rm $RPM_BUILD_ROOT/%{rb_vendorarch}/storage.la
+rm $RPM_BUILD_ROOT/%{rb_vendorarchdir}/storage.la
 %endif
 %if 0%{?mandriva_version}
 rm $RPM_BUILD_ROOT/%{ruby_sitearchdir}/storage.la
@@ -228,7 +228,7 @@
 %files -n libstorage-ruby
 %defattr(-,root,root)
 %if 0%{?suse_version}
-%{rb_vendorarch}/storage.so
+%{rb_vendorarchdir}/storage.so
 %endif
 %if 0%{?mandriva_version}
 %{ruby_sitearchdir}/storage.so

++ libstorage-2.22.2.tar.bz2 - libstorage-2.22.4.tar.bz2 ++
 39501 lines of diff (skipped)

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



commit libstorage for openSUSE:Factory

2012-05-08 Thread h_root
Hello community,

here is the log from the commit of package libstorage for openSUSE:Factory 
checked in at 2012-05-08 11:14:55

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


Package is libstorage, Maintainer is aschn...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/libstorage/libstorage.changes2012-03-22 
12:35:45.0 +0100
+++ /work/SRC/openSUSE:Factory/.libstorage.new/libstorage.changes   
2012-05-08 11:14:58.0 +0200
@@ -1,0 +2,19 @@
+Wed May  2 18:08:06 CEST 2012 - f...@suse.de
+
+- 2.22.2
+- add code to support resizing of a btrfs volume (bnc#731753)
+
+---
+Thu Apr  5 11:59:15 CEST 2012 - f...@suse.de
+
+- suppress dm maps for -real and -cow of LVM snapshots in
+  general Dm container
+- fix order of LV removals in removeVg when snapshots are present
+  (bnc#755021)
+
+---
+Mon Apr 02 16:11:03 CEST 2012 - aschn...@suse.de
+
+- calculate max_primary for artificial XEN disks (bnc#754649)
+
+---

Old:

  libstorage-2.22.1.tar.bz2

New:

  libstorage-2.22.2.tar.bz2



Other differences:
--
++ libstorage.spec ++
--- /var/tmp/diff_new_pack.Wdw6XM/_old  2012-05-08 11:14:59.0 +0200
+++ /var/tmp/diff_new_pack.Wdw6XM/_new  2012-05-08 11:14:59.0 +0200
@@ -15,27 +15,46 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
-
 
 Name:   libstorage
-Version:2.22.1
+Version:2.22.2
 Release:0
-License:GPL-2.0
-Group:  System/Libraries
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: libstorage-%{version}.tar.bz2
 
 Prefix: /usr
 
-BuildRequires:  blocxx-devel boost-devel dejagnu doxygen gcc-c++ libtool 
libxml2-devel python-devel ruby-devel swig
+BuildRequires:  blocxx-devel
+BuildRequires:  boost-devel
+BuildRequires:  dejagnu
+BuildRequires:  doxygen
+BuildRequires:  gcc-c++
+BuildRequires:  libtool
+BuildRequires:  libxml2-devel
+BuildRequires:  python-devel
+BuildRequires:  ruby
+BuildRequires:  ruby-devel
+BuildRequires:  swig
 
 Summary:Library for storage management
+License:GPL-2.0
+Group:  System/Libraries
 Url:http://en.opensuse.org/Portal:Libstorage
 
 %description
 This package contains libstorage, a library for storage management.
 
+%{!?python_sitelib: %global python_sitelib %(%{__python} -c from 
distutils.sysconfig import get_python_lib; print get_python_lib())}
+%{!?python_sitearch: %global python_sitearch %(%{__python} -c from 
distutils.sysconfig import get_python_lib; print get_python_lib(1))}
+%{!?py_requires: %global py_requires Requires: python}
+
+%if 0%{?ruby_sitelib} == 0
+%if 0%{?fedora_version} || 0%{?centos_version} || 0%{?rhel_version} || 
0%{?fedora} || 0%{?rhel}
+%{!?ruby_sitelib: %global ruby_sitelib %(ruby -r rbconfig -e 'vd = 
Config::CONFIG[vendorlibdir]; print(vd ? vd : Config::CONFIG[sitelibdir])')}
+%{!?ruby_sitearch: %global ruby_sitearch %(ruby -r rbconfig -e 'vad = 
Config::CONFIG[vendorarchdir]; print(vad ? vad : 
Config::CONFIG[sitearchdir])')}
+%endif
+%endif
+
 %prep
 %setup -n libstorage-%{version}
 
@@ -50,6 +69,14 @@
 autoconf
 
 %{?suse_update_config:%{suse_update_config -f}}
+%if 0%{?fedora_version} || 0%{?centos_version}
+CXXFLAGS=-I/usr/include/libxml2 \
+%else
+%if 0%{?rhel_version} = 500  0%{?rhel_version}  600
+CXXFLAGS=-I/usr/include/libxml2 -I/usr/include/c++/4.1.1/tr1 \
+%endif
+%endif
+
 ./configure --libdir=%{_libdir} --prefix=%{prefix} --mandir=%{_mandir} 
--disable-silent-rules
 make %{?jobs:-j%jobs}
 
@@ -76,19 +103,34 @@
 %if 0%{?mandriva_version}
 rm $RPM_BUILD_ROOT/%{ruby_sitearchdir}/storage.la
 %endif
+%if 0%{?fedora_version} || 0%{?rhel_version} || 0%{?centos_version}
+rm $RPM_BUILD_ROOT/%{ruby_sitearch}/storage.la
+%endif
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %package -n libstorage3
 
-Requires:   parted = 2.2 mdadm device-mapper lvm2 dmraid multipath-tools 
cryptsetup
-Requires:   coreutils udev util-linux = 2.16 grep lsscsi
+Requires:   coreutils
+Requires:   cryptsetup
+Requires:   device-mapper
+Requires:   dmraid
+Requires:   grep
+Requires:   lsscsi
+Requires:   lvm2
+Requires:   mdadm
+Requires:   multipath-tools
+Requires:   parted = 2.2
+Requires:   udev
+Requires:   util-linux = 2.16
 %ifarch s390 s390x
 Requires:   s390-tools
 %endif
 
+%if 0%{?suse_version}
 PreReq: %fillup_prereq
+%endif
 Obsoletes:  yast2-storage-lib
 Provides:   yast2-storage-lib
 Obsoletes: 

commit libstorage for openSUSE:Factory

2012-03-22 Thread h_root
Hello community,

here is the log from the commit of package libstorage for openSUSE:Factory 
checked in at 2012-03-22 12:34:28

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


Package is libstorage, Maintainer is aschn...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/libstorage/libstorage.changes2011-12-07 
14:38:00.0 +0100
+++ /work/SRC/openSUSE:Factory/.libstorage.new/libstorage.changes   
2012-03-22 12:35:45.0 +0100
@@ -1,0 +2,76 @@
+Thu Mar 15 17:12:34 CET 2012 - aschn...@suse.de
+
+- fixes for gcc 4.7
+- 2.22.1
+
+---
+Mon Mar 12 17:07:54 CET 2012 - f...@suse.de
+
+- tell in resize text that it may potentially need very long to 
+  complete and that one must not abort while resize is running
+  (bnc#749946)
+
+---
+Mon Mar 12 16:42:36 CET 2012 - aschn...@suse.de
+
+- removed deactivation of MD RAIDs using DM during installation
+  (bnc#751780)
+
+---
+Tue Mar  6 13:00:11 CET 2012 - f...@suse.de
+
+- do not detect loop device with range1 as disks 
+
+---
+Tue Jan 31 14:47:10 CET 2012 - aschn...@suse.de
+
+- add by-id names to alt-names of DmPartCo (bnc#744194)
+
+---
+Wed Jan 25 12:20:53 CET 2012 - f...@suse.de
+
+- allow resize and move of simple btrfs volumes if they are
+  formatted anyway (bnc#742491)
+
+---
+Tue Jan 24 17:55:44 CET 2012 - f...@suse.de
+
+- fix bug introduced with second to last commit 
+- make sure error popup contains always valid info
+- remove btrfs volumes when partition table gets destroyed (bnc#742491)
+
+---
+Tue Jan 24 14:15:29 CET 2012 - aschn...@suse.de
+
+- added interface to control autostarting of multipath (bnc#742913)
+
+---
+Tue Jan 24 13:28:45 CET 2012 - f...@suse.de
+
+- complete renaming of devs in Btrfs class (bnc#742491)
+- fix bug in btrfs uuid handling introduced in 2.17.124 (bnc#742491)
+
+---
+Fri Jan 20 10:49:38 CET 2012 - aschn...@suse.de
+
+- fixed read-only mount of volumes for resize information detection
+  (bnc#736098)
+
+---
+Wed Jan 11 16:10:33 CET 2012 - f...@suse.de
+
+- fix bug when extending a btrfs fs that had format set (bnc#732988)
+- fix problem handling used by for btrfs during extend
+
+---
+Wed Dec 21 12:04:31 CET 2011 - aschn...@suse.de
+
+- handle FBA DASD with parted instead of fdasd (bnc#584703)
+
+---
+Tue Dec 20 15:05:13 CET 2011 - aschn...@suse.de
+
+- ask user to activate multipath if setup appears to be multipath
+  (see bnc#727428 and bnc#735038)
+
+---

Old:

  libstorage-2.22.0.tar.bz2

New:

  libstorage-2.22.1.tar.bz2



Other differences:
--
++ libstorage.spec ++
--- /var/tmp/diff_new_pack.jt2OIe/_old  2012-03-22 12:35:46.0 +0100
+++ /var/tmp/diff_new_pack.jt2OIe/_new  2012-03-22 12:35:46.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libstorage
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,9 +19,9 @@
 
 
 Name:   libstorage
-Version:2.22.0
+Version:2.22.1
 Release:0
-License:GPL
+License:GPL-2.0
 Group:  System/Libraries
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: libstorage-%{version}.tar.bz2

++ libstorage-2.22.0.tar.bz2 - libstorage-2.22.1.tar.bz2 ++
 2054 lines of diff (skipped)

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



commit libstorage for openSUSE:Factory

2011-12-07 Thread h_root
Hello community,

here is the log from the commit of package libstorage for openSUSE:Factory 
checked in at 2011-12-07 14:37:58

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


Package is libstorage, Maintainer is aschn...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/libstorage/libstorage.changes2011-11-08 
17:43:41.0 +0100
+++ /work/SRC/openSUSE:Factory/.libstorage.new/libstorage.changes   
2011-12-07 14:38:00.0 +0100
@@ -1,0 +2,41 @@
+Tue Dec 06 14:08:41 CET 2011 - aschn...@suse.de
+
+- add function getResursiveUsedBy (for bnc#734786)
+- make getResursiveUsing also take a list as input
+
+---
+Wed Nov 23 15:25:59 CET 2011 - aschn...@suse.de
+
+- add name in /dev/md/ to alt-names of partitioned RAID
+  (bnc#726319)
+
+---
+Tue Nov 22 10:20:02 UTC 2011 - co...@suse.com
+
+- add libtool as buildrequire to avoid implicit dependency
+
+---
+Fri Nov 18 15:01:39 CET 2011 - aschn...@suse.de
+
+- merged proofread texts
+
+---
+Thu Nov 17 15:44:52 CET 2011 - f...@suse.de
+   
+- create btrfs subvolumes before mounting (bnc#731059)
+ 
+---
+Tue Nov 15 17:12:34 CET 2011 - f...@suse.de
+
+- try umount in mountTmpMount by dir first to handle cases where 
+  same device is mounted multiple times
+
+---
+Wed Nov 09 12:29:53 CET 2011 - aschn...@suse.de
+
+- avoid detection on volumes on disk used by other stuff (bnc#729155)
+- fixed NFS detection (bnc#729155)
+- improved multipath parser (see bnc#727428)
+- 2.22.0
+
+---

Old:

  libstorage-2.21.15.tar.bz2

New:

  libstorage-2.22.0.tar.bz2



Other differences:
--
++ libstorage.spec ++
--- /var/tmp/diff_new_pack.vh1sVY/_old  2011-12-07 14:38:01.0 +0100
+++ /var/tmp/diff_new_pack.vh1sVY/_new  2011-12-07 14:38:01.0 +0100
@@ -19,7 +19,7 @@
 
 
 Name:   libstorage
-Version:2.21.15
+Version:2.22.0
 Release:0
 License:GPL
 Group:  System/Libraries
@@ -28,7 +28,7 @@
 
 Prefix: /usr
 
-BuildRequires:  blocxx-devel boost-devel dejagnu doxygen gcc-c++ libxml2-devel 
python-devel ruby-devel swig
+BuildRequires:  blocxx-devel boost-devel dejagnu doxygen gcc-c++ libtool 
libxml2-devel python-devel ruby-devel swig
 
 Summary:Library for storage management
 Url:http://en.opensuse.org/Portal:Libstorage

++ libstorage-2.21.15.tar.bz2 - libstorage-2.22.0.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.21.15/VERSION 
new/libstorage-2.22.0/VERSION
--- old/libstorage-2.21.15/VERSION  2011-11-08 11:42:24.0 +0100
+++ new/libstorage-2.22.0/VERSION   2011-11-09 14:47:02.0 +0100
@@ -1 +1 @@
-2.21.15
+2.22.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.21.15/bindings/python/libstorage.py 
new/libstorage-2.22.0/bindings/python/libstorage.py
--- old/libstorage-2.21.15/bindings/python/libstorage.py2011-10-25 
17:55:14.0 +0200
+++ new/libstorage-2.22.0/bindings/python/libstorage.py 2011-12-06 
17:17:58.0 +0100
@@ -1573,6 +1573,7 @@
 def setRecursiveRemoval(self, *args): return 
_libstorage.StorageInterface_setRecursiveRemoval(self, *args)
 def getRecursiveRemoval(self): return 
_libstorage.StorageInterface_getRecursiveRemoval(self)
 def getRecursiveUsing(self, *args): return 
_libstorage.StorageInterface_getRecursiveUsing(self, *args)
+def getRecursiveUsedBy(self, *args): return 
_libstorage.StorageInterface_getRecursiveUsedBy(self, *args)
 def setZeroNewPartitions(self, *args): return 
_libstorage.StorageInterface_setZeroNewPartitions(self, *args)
 def getZeroNewPartitions(self): return 
_libstorage.StorageInterface_getZeroNewPartitions(self)
 def setPartitionAlignment(self, *args): return 
_libstorage.StorageInterface_setPartitionAlignment(self, *args)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.21.15/bindings/ruby/storage_wrap.cxx 
new/libstorage-2.22.0/bindings/ruby/storage_wrap.cxx
--- old/libstorage-2.21.15/bindings/ruby/storage_wrap.cxx   2011-10-25 
17:56:02.0 +0200
+++ new/libstorage-2.22.0/bindings/ruby/storage_wrap.cxx  

commit libstorage for openSUSE:Factory

2011-11-05 Thread h_root
Hello community,

here is the log from the commit of package libstorage for openSUSE:Factory 
checked in at 2011-11-05 11:19:58

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


Package is libstorage, Maintainer is aschn...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/libstorage/libstorage.changes2011-11-02 
11:59:10.0 +0100
+++ /work/SRC/openSUSE:Factory/.libstorage.new/libstorage.changes   
2011-11-05 11:49:05.0 +0100
@@ -1,0 +2,8 @@
+Thu Nov  3 10:55:36 CET 2011  - f...@suse.de
+
+- 2.21.14
+- fix fstab handling when mount-by-uuid is reformatted (bnc#728000)
+- add local static struct to getContVolInfo to prevent strings 
+  from being freed while perl interface might still access them 
+
+---

Old:

  libstorage-2.21.13.tar.bz2

New:

  libstorage-2.21.14.tar.bz2



Other differences:
--
++ libstorage.spec ++
--- /var/tmp/diff_new_pack.edHJHY/_old  2011-11-05 11:49:28.0 +0100
+++ /var/tmp/diff_new_pack.edHJHY/_new  2011-11-05 11:49:28.0 +0100
@@ -19,7 +19,7 @@
 
 
 Name:   libstorage
-Version:2.21.13
+Version:2.21.14
 Release:0
 License:GPL
 Group:  System/Libraries

++ libstorage-2.21.13.tar.bz2 - libstorage-2.21.14.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.21.13/VERSION 
new/libstorage-2.21.14/VERSION
--- old/libstorage-2.21.13/VERSION  2011-10-31 18:46:39.0 +0100
+++ new/libstorage-2.21.14/VERSION  2011-11-03 16:49:19.0 +0100
@@ -1 +1 @@
-2.21.13
+2.21.14
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.21.13/storage/Storage.cc 
new/libstorage-2.21.14/storage/Storage.cc
--- old/libstorage-2.21.13/storage/Storage.cc   2011-10-25 16:24:38.0 
+0200
+++ new/libstorage-2.21.14/storage/Storage.cc   2011-11-03 10:40:00.0 
+0100
@@ -5079,10 +5079,11 @@
 int
 Storage::getContVolInfo(const string device, ContVolInfo info)
 {
+static ContVolInfo s_info; // workaround for broken ycp bindings
 int ret = STORAGE_VOLUME_NOT_FOUND;
 ConstContIterator c;
 ConstVolIterator v;
-info.ctype = CUNKNOWN;
+s_info.ctype = CUNKNOWN;
 assertInit();
 if (findVolume(device, c, v))
{
@@ -5095,23 +5096,24 @@
findVolume(b-device(), c, v, true);
}
}
-   info.ctype = c-type();
-   info.cname = c-name();
-   info.cdevice = c-device();
-   info.vname = v-name();
-   info.vdevice = v-device();
+   s_info.ctype = c-type();
+   s_info.cname = c-name();
+   s_info.cdevice = c-device();
+   s_info.vname = v-name();
+   s_info.vdevice = v-device();
if( v-isNumeric() )
-   info.num = v-nr();
+   s_info.num = v-nr();
}
 else if (findContainer(device, c))
 {
ret = 0;
-   info.ctype = c-type();
-   info.cname = c-name();
-   info.cdevice = c-device();
-   info.vname = ;
-   info.vdevice = ;
+   s_info.ctype = c-type();
+   s_info.cname = c-name();
+   s_info.cdevice = c-device();
+   s_info.vname = ;
+   s_info.vdevice = ;
 }
+info = s_info;
 y2mil(device:  device   ret:  ret   cname:  info.cname 
   vname:  info.vname);
 return ret;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.21.13/storage/Volume.cc 
new/libstorage-2.21.14/storage/Volume.cc
--- old/libstorage-2.21.13/storage/Volume.cc2011-10-26 14:08:29.0 
+0200
+++ new/libstorage-2.21.14/storage/Volume.cc2011-11-03 13:42:51.0 
+0100
@@ -539,9 +539,7 @@
 
if (!entry.fs_uuid.empty())
{
-   uuid = entry.fs_uuid;
-   alt_names.remove_if(string_contains(/by-uuid/));
-   alt_names.push_back(/dev/disk/by-uuid/ + uuid);
+   updateUuid(entry.fs_uuid);
}
 
if (!entry.fs_label.empty())
@@ -917,6 +915,13 @@
 return( ret );
 }
 
+void Volume::updateUuid( const string new_uuid )
+{
+uuid = new_uuid;
+alt_names.remove_if(string_contains(/by-uuid/));
+alt_names.push_back(/dev/disk/by-uuid/ + uuid);
+}
+
 int Volume::doFormat()
 {
 static int fcount=1000;
@@ -1084,6 +1089,10 @@
 if( ret==0 )
{
triggerUdevUpdate();
+   Blkid blkid(mountDevice());
+   Blkid::Entry entry;
+   if( findBlkid( blkid, entry )  entry.is_fs  !entry.fs_uuid.empty())
+  

commit libstorage for openSUSE:Factory

2011-11-02 Thread h_root
Hello community,

here is the log from the commit of package libstorage for openSUSE:Factory 
checked in at 2011-11-02 11:59:04

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


Package is libstorage, Maintainer is aschn...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/libstorage/libstorage.changes2011-10-27 
19:36:38.0 +0200
+++ /work/SRC/openSUSE:Factory/.libstorage.new/libstorage.changes   
2011-11-02 11:59:10.0 +0100
@@ -1,0 +2,6 @@
+Mon Oct 31 18:38:21 CET 2011  - f...@suse.de
+
+- 2.21.13
+- improve detection of /home partition (bnc#727362)
+
+---

Old:

  libstorage-2.21.12.tar.bz2

New:

  libstorage-2.21.13.tar.bz2



Other differences:
--
++ libstorage.spec ++
--- /var/tmp/diff_new_pack.dzsXSC/_old  2011-11-02 11:59:11.0 +0100
+++ /var/tmp/diff_new_pack.dzsXSC/_new  2011-11-02 11:59:11.0 +0100
@@ -19,7 +19,7 @@
 
 
 Name:   libstorage
-Version:2.21.12
+Version:2.21.13
 Release:0
 License:GPL
 Group:  System/Libraries

++ libstorage-2.21.12.tar.bz2 - libstorage-2.21.13.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.21.12/VERSION 
new/libstorage-2.21.13/VERSION
--- old/libstorage-2.21.12/VERSION  2011-10-27 13:35:05.0 +0200
+++ new/libstorage-2.21.13/VERSION  2011-10-31 18:46:39.0 +0100
@@ -1 +1 @@
-2.21.12
+2.21.13
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.21.12/storage/FreeInfo.cc 
new/libstorage-2.21.13/storage/FreeInfo.cc
--- old/libstorage-2.21.12/storage/FreeInfo.cc  2010-07-29 15:47:00.0 
+0200
+++ new/libstorage-2.21.13/storage/FreeInfo.cc  2011-10-31 18:18:22.0 
+0100
@@ -123,7 +123,7 @@
const liststring dirs = glob(mp + /*, GLOB_NOSORT | GLOB_ONLYDIR);
for (liststring::const_iterator dir = dirs.begin(); dir != 
dirs.end(); ++dir)
{
-   if (*dir != root  checkDir(*dir))
+   if ( !boost::ends_with(*dir,/root)  checkDir(*dir))
{
for (unsigned int i = 0; i  lengthof(files); ++i)
{
@@ -230,6 +230,28 @@
 
content_info.homes = numHomes(mp);
 
+   if( content_info.homes==0  !vol.getLabel().empty() )
+   {
+   string lab = boost::to_lower_copy(vol.getLabel());
+   y2mil( label:  vol.getLabel()   lab:  lab );
+   if( boost::starts_with( lab, home ))
+   content_info.homes = 1;
+   }
+   if( content_info.homes==0  
+   (vol.getFs()==EXT2 || vol.getFs()==EXT3 || vol.getFs()==EXT4 ))
+   {
+   SystemCmd c( /sbin/tune2fs -l  + vol.mountDevice() +  | grep 
'^Last mounted on:' );
+   if( c.retcode()==0  c.numLines()0 )
+   {
+   string line = c.getLine(0);
+   line = line.substr( line.find( ':' )+1 );
+   y2mil( line:  c.getLine(0)   lin:  line );
+   line = extractNthWord( 0, line );
+   y2mil( dir:  line );
+   if( line == /home )
+   content_info.homes = 1;
+   }
+   }
y2mil(device:  vol.device() content_info);
return content_info;
 }

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



commit libstorage for openSUSE:Factory

2011-10-16 Thread h_root

Hello community,

here is the log from the commit of package libstorage for openSUSE:Factory
checked in at Sun Oct 16 12:53:20 CEST 2011.




--- openSUSE:Factory/libstorage/libstorage.changes  2011-10-07 
00:50:56.0 +0200
+++ /mounts/work_src_done/STABLE/libstorage/libstorage.changes  2011-10-14 
14:12:05.0 +0200
@@ -1,0 +2,6 @@
+Wed Oct 12 14:40:23 CEST 2011 - aschn...@suse.de
+
+- updated translations
+- 2.21.9
+
+---

calling whatdependson for head-i586


Old:

  libstorage-2.21.8.tar.bz2

New:

  libstorage-2.21.9.tar.bz2



Other differences:
--
++ libstorage.spec ++
--- /var/tmp/diff_new_pack.EmS4xU/_old  2011-10-16 12:53:12.0 +0200
+++ /var/tmp/diff_new_pack.EmS4xU/_new  2011-10-16 12:53:12.0 +0200
@@ -19,7 +19,7 @@
 
 
 Name:   libstorage
-Version:2.21.8
+Version:2.21.9
 Release:0
 License:GPL
 Group:  System/Libraries

++ libstorage-2.21.8.tar.bz2 - libstorage-2.21.9.tar.bz2 ++
 21542 lines of diff (skipped)

continue with q...



Remember to have fun...

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



commit libstorage for openSUSE:Factory

2011-10-06 Thread h_root

Hello community,

here is the log from the commit of package libstorage for openSUSE:Factory
checked in at Fri Oct 7 00:49:45 CEST 2011.




--- openSUSE:Factory/libstorage/libstorage.changes  2011-09-23 
02:10:54.0 +0200
+++ libstorage/libstorage.changes   2011-10-06 19:26:39.0 +0200
@@ -1,0 +2,7 @@
+Mon Sep 19 12:18:31 CEST 2011 - f...@suse.de
+
+- version 2.21.8
+- fix bug that prevent mounting by-id and by-path for BTRFS volumes
+  (bnc#718717)
+
+---

calling whatdependson for head-i586


Old:

  libstorage-2.21.7.tar.bz2

New:

  libstorage-2.21.8.tar.bz2



Other differences:
--
++ libstorage.spec ++
--- /var/tmp/diff_new_pack.NaAFD1/_old  2011-10-07 00:49:41.0 +0200
+++ /var/tmp/diff_new_pack.NaAFD1/_new  2011-10-07 00:49:41.0 +0200
@@ -19,7 +19,7 @@
 
 
 Name:   libstorage
-Version:2.21.7
+Version:2.21.8
 Release:0
 License:GPL
 Group:  System/Libraries

++ libstorage-2.21.7.tar.bz2 - libstorage-2.21.8.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.21.7/VERSION 
new/libstorage-2.21.8/VERSION
--- old/libstorage-2.21.7/VERSION   2011-09-15 12:14:12.0 +0200
+++ new/libstorage-2.21.8/VERSION   2011-10-06 18:19:58.0 +0200
@@ -1 +1 @@
-2.21.7
+2.21.8
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.21.7/storage/Geometry.cc 
new/libstorage-2.21.8/storage/Geometry.cc
--- old/libstorage-2.21.7/storage/Geometry.cc   2010-12-07 12:37:50.0 
+0100
+++ new/libstorage-2.21.8/storage/Geometry.cc   2011-10-06 18:15:24.0 
+0200
@@ -21,6 +21,7 @@
 
 
 #include fcntl.h
+#include errno.h
 #include sys/types.h
 #include sys/stat.h
 #include sys/mount.h
@@ -200,6 +201,9 @@
 
close(fd);
}
+else
+   y2err( failure opening disk:  device   errno:  errno 
+   (  strerror(errno)  ) );
 
y2mil(device:  device   ret:  ret   geo:  geo);
return ret;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.21.7/storage/Volume.cc 
new/libstorage-2.21.8/storage/Volume.cc
--- old/libstorage-2.21.7/storage/Volume.cc 2011-09-07 17:14:31.0 
+0200
+++ new/libstorage-2.21.8/storage/Volume.cc 2011-09-19 12:11:22.0 
+0200
@@ -266,14 +266,15 @@
 switch (mby)
 {
case MOUNTBY_PATH:
-   if (cType() != DISK)
+   if (cType() != DISK  cType() != BTRFSC )
ret = false;
if (udevPath().empty())
ret = false;
break;
 
case MOUNTBY_ID:
-   if (cType() != DISK  cType() != DMRAID  cType() != DMMULTIPATH 
 cType() != MD  cType() != MDPART)
+   if (cType() != DISK  cType() != DMRAID  cType() != DMMULTIPATH 
 
+   cType() != MD  cType() != MDPART  cType() != BTRFSC )
ret = false;
if (udevId().empty()  cType() != MD)
ret = false;

continue with q...



Remember to have fun...

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



commit libstorage for openSUSE:Factory

2011-09-19 Thread h_root

Hello community,

here is the log from the commit of package libstorage for openSUSE:Factory
checked in at Mon Sep 19 17:54:18 CEST 2011.




--- libstorage/libstorage.changes   2011-09-08 17:18:16.0 +0200
+++ libstorage/libstorage.changes   2011-09-15 17:17:44.0 +0200
@@ -1,0 +2,9 @@
+Tue Sep 13 18:42:17 CEST 2011 - f...@suse.de
+
+- version 2.21.7
+- add examples for ruby and python usage to devel package
+- add ruby bindings to libstorage
+- make functions returning data via non-const references usable 
+  in python (bnc#717323)
+
+---

calling whatdependson for head-i586


Old:

  libstorage-2.21.6.tar.bz2

New:

  libstorage-2.21.7.tar.bz2



Other differences:
--
++ libstorage.spec ++
--- /var/tmp/diff_new_pack.EsC1G0/_old  2011-09-19 17:54:12.0 +0200
+++ /var/tmp/diff_new_pack.EsC1G0/_new  2011-09-19 17:54:12.0 +0200
@@ -19,8 +19,8 @@
 
 
 Name:   libstorage
-Version:2.21.6
-Release:1
+Version:2.21.7
+Release:0
 License:GPL
 Group:  System/Libraries
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
@@ -28,7 +28,7 @@
 
 Prefix: /usr
 
-BuildRequires:  blocxx-devel boost-devel dejagnu doxygen gcc-c++ libxml2-devel 
python-devel swig
+BuildRequires:  blocxx-devel boost-devel dejagnu doxygen gcc-c++ libxml2-devel 
python-devel ruby-devel swig
 
 Summary:Library for storage management
 Url:http://en.opensuse.org/Portal:Libstorage
@@ -70,13 +70,18 @@
 
 rm -f $RPM_BUILD_ROOT/%{python_sitearch}/_libstorage.a  
 rm -f $RPM_BUILD_ROOT/%{python_sitearch}/_libstorage.la
+%if 0%{?suse_version}
+rm $RPM_BUILD_ROOT/%{rb_vendorarch}/storage.la
+%endif
+%if 0%{?mandriva_version}
+rm $RPM_BUILD_ROOT/%{ruby_sitearchdir}/storage.la
+%endif
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %package -n libstorage3
 
-
 Requires:   parted = 2.2 mdadm device-mapper lvm2 dmraid multipath-tools 
cryptsetup
 Requires:   coreutils udev util-linux = 2.16 grep lsscsi
 %ifarch s390 s390x
@@ -157,6 +162,29 @@
 %{python_sitelib}/libstorage.py*
 %attr(755,root,root) %{python_sitearch}/_libstorage.so
 
+%package -n libstorage-ruby
+
+Requires:   libstorage3 = %version
+Summary:Ruby bindings for libstorage
+Group:  System/Libraries
+
+%description ruby
+This package contains Ruby bindings for libstorage.
+
+Authors:
+
+Thomas Fehr f...@suse.de
+Arvin Schnell aschn...@suse.de
+
+%files -n libstorage-ruby
+%defattr(-,root,root)
+%if 0%{?suse_version}
+%{rb_vendorarch}/storage.so
+%endif
+%if 0%{?mandriva_version}
+%{ruby_sitearchdir}/storage.so
+%endif
+
 %package -n libstorage-testsuite
 
 Requires:   libstorage3 = %version

++ libstorage-2.21.6.tar.bz2 - libstorage-2.21.7.tar.bz2 ++
 42128 lines of diff (skipped)






Remember to have fun...

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



commit libstorage for openSUSE:Factory

2011-09-09 Thread h_root

Hello community,

here is the log from the commit of package libstorage for openSUSE:Factory
checked in at Fri Sep 9 13:20:39 CEST 2011.




--- libstorage/libstorage.changes   2011-08-25 13:09:40.0 +0200
+++ /mounts/work_src_done/STABLE/libstorage/libstorage.changes  2011-09-08 
17:18:16.0 +0200
@@ -1,0 +2,25 @@
+Wed Sep  7 16:47:34 CEST 2011 - f...@suse.de
+
+- version 2.21.6
+- ignore btrfs fs when blockid does not see also btrfs (bnc#716058)
+- call zeroDevice always before formatting to prevent multiple
+  signatures being present (bnc#716058)
+- use wipefs to remove any existing signatures in zeroDevice
+
+---
+Mon Sep  5 16:01:05 CEST 2011 - f...@suse.de
+
+- fix detection of mount by label on btrfs
+- use btrfs filesystem label to handle label on btrfs
+
+---
+Mon Sep 05 14:17:29 CEST 2011 - aschn...@suse.de
+
+- handle device name change in btrfs (bnc#715652)
+
+---
+Tue Aug 30 11:09:46 CEST 2011 - aschn...@suse.de
+
+- fixed setting of size for partitions on MD RAID (bnc#714397)
+
+---

calling whatdependson for head-i586


Old:

  libstorage-2.21.5.tar.bz2

New:

  libstorage-2.21.6.tar.bz2



Other differences:
--
++ libstorage.spec ++
--- /var/tmp/diff_new_pack.xA1IIq/_old  2011-09-09 13:20:34.0 +0200
+++ /var/tmp/diff_new_pack.xA1IIq/_new  2011-09-09 13:20:34.0 +0200
@@ -19,7 +19,7 @@
 
 
 Name:   libstorage
-Version:2.21.5
+Version:2.21.6
 Release:1
 License:GPL
 Group:  System/Libraries
@@ -89,6 +89,7 @@
 Obsoletes:  libstorage  2.21.2
 Provides:   libstorage = %{version}
 Summary:Library for storage management
+Group:  System/Libraries
 
 %description -n libstorage3
 This package contains libstorage, a library for storage management.
@@ -173,4 +174,5 @@
 %defattr(-,root,root)
 %dir /usr/lib/libstorage
 /usr/lib/libstorage/testsuite-real
+
 %changelog

++ libstorage-2.21.5.tar.bz2 - libstorage-2.21.6.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.21.5/VERSION 
new/libstorage-2.21.6/VERSION
--- old/libstorage-2.21.5/VERSION   2011-08-25 13:03:00.0 +0200
+++ new/libstorage-2.21.6/VERSION   2011-09-08 12:06:22.0 +0200
@@ -1 +1 @@
-2.21.5
+2.21.6
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.21.5/storage/Btrfs.cc 
new/libstorage-2.21.6/storage/Btrfs.cc
--- old/libstorage-2.21.5/storage/Btrfs.cc  2011-08-09 15:39:44.0 
+0200
+++ new/libstorage-2.21.6/storage/Btrfs.cc  2011-09-07 16:52:25.0 
+0200
@@ -43,7 +43,8 @@
 y2mil(constructed btrfs vol size:  sz   devs:  devs );
 y2mil(constructed btrfs vol from:  v );
 setFs(BTRFS);
-changeMountBy(MOUNTBY_UUID);
+if( getMountBy()!=MOUNTBY_LABEL )
+   changeMountBy(MOUNTBY_UUID);
 setSize( sz );
 }
 
@@ -476,12 +477,31 @@
 if( devices.size()1 )
{
for( liststring::const_iterator s=devices.begin(); s!=devices.end(); 
++s )
-   getContainer()-getStorage()-zeroDevice(*s,0);
+   getContainer()-getStorage()-zeroDevice(*s);
}
 y2mil( ret:  ret );
 return( ret );
 }
 
+
+void
+Btrfs::changeDeviceName( const string old, const string nw )
+{
+   if (dev == old)
+   {
+   Volume const* v;
+   if (getStorage()-findVolume(old, v))
+   setNameDevice(v-name(), nw);
+   else
+   y2err(device   old   not fount);
+   }
+
+   liststring::iterator i = find(dev_add.begin(), dev_add.end(), old);
+   if (i != dev_add.end())
+   *i = nw;
+}
+
+
 Text Btrfs::removeText(bool doing) const
 {
 Text txt;
@@ -494,9 +514,9 @@
 else
{
// displayed text before action, %1$s is replaced by device names e.g 
/dev/sda1 /dev/sda2
-   
// %2$s is replaced by size (e.g. 623.5 MB)
-   
txt = sformat( _(Delete Btrfs volume on devices %1$s (%2$s)), 
-  d.c_str(), sizeString().c_str() );
+   // %2$s is replaced by size (e.g. 623.5 MB)
+   txt = sformat( _(Delete Btrfs volume on devices %1$s (%2$s)),
+  d.c_str(), sizeString().c_str() );
}
 return( txt );
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.21.5/storage/Btrfs.h 

commit libstorage for openSUSE:Factory

2011-08-25 Thread h_root

Hello community,

here is the log from the commit of package libstorage for openSUSE:Factory
checked in at Thu Aug 25 14:24:31 CEST 2011.




--- libstorage/libstorage.changes   2011-08-11 17:38:57.0 +0200
+++ /mounts/work_src_done/STABLE/libstorage/libstorage.changes  2011-08-25 
13:09:40.0 +0200
@@ -1,0 +2,12 @@
+Wed Aug 24 16:55:01 CEST 2011 - f...@suse.de
+
+- use new gpt_sync_mbr only on non-EFI systems, on EFI systems
+  plain gpt is used (bnc#710402)
+- version 2.21.5
+  
+---
+Tue Aug 23 12:13:48 CEST 2011 - f...@suse.de
+
+- add option -P _part to make dmraid decativate raid (bnc#712671)
+
+---

calling whatdependson for head-i586


Old:

  libstorage-2.21.4.tar.bz2

New:

  libstorage-2.21.5.tar.bz2



Other differences:
--
++ libstorage.spec ++
--- /var/tmp/diff_new_pack.ODwv6X/_old  2011-08-25 14:20:01.0 +0200
+++ /var/tmp/diff_new_pack.ODwv6X/_new  2011-08-25 14:20:01.0 +0200
@@ -19,7 +19,7 @@
 
 
 Name:   libstorage
-Version:2.21.4
+Version:2.21.5
 Release:1
 License:GPL
 Group:  System/Libraries

++ libstorage-2.21.4.tar.bz2 - libstorage-2.21.5.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.21.4/VERSION 
new/libstorage-2.21.5/VERSION
--- old/libstorage-2.21.4/VERSION   2011-08-11 11:31:23.0 +0200
+++ new/libstorage-2.21.5/VERSION   2011-08-25 13:03:00.0 +0200
@@ -1 +1 @@
-2.21.4
+2.21.5
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.21.4/storage/BtrfsCo.cc 
new/libstorage-2.21.5/storage/BtrfsCo.cc
--- old/libstorage-2.21.4/storage/BtrfsCo.cc2011-08-09 15:39:44.0 
+0200
+++ new/libstorage-2.21.5/storage/BtrfsCo.cc2011-08-15 17:00:30.0 
+0200
@@ -87,11 +87,20 @@
Volume const* cv = NULL;
unsigned long long sum_size = 0;
liststring an;
+   bool forbidden = false;
for( liststring::const_iterator d=e.devices.begin(); 
d!=e.devices.end(); ++d )
{
Volume const* v;
if( getStorage()-findVolume( *d, v ))
{
+   listUsedBy ub = v-getUsedBy();
+   for( listUsedBy::const_iterator i=ub.begin(); 
+i!=ub.end(); ++i )
+   {
+   forbidden = i-type()!=UB_BTRFS;
+   }
+   if( !ub.empty() )
+   y2mil( used_by:  ub );
if( cv==NULL || 
(cv-getMount().empty()  !v-getMount().empty()) ||
(!cv-getFormat()  v-getFormat() ))
@@ -104,15 +113,22 @@
y2war( device   *d   not found );
}
liststring devs;
-   for( liststring::const_iterator i=e.devices.begin(); 
i!=e.devices.end(); ++i )
+   if( forbidden )
+   cv = NULL;
+   else
{
-   const Device* v;
-   if( getStorage()-findDevice( *i, v ) )
-   devs.push_back( v-device() );
-   else
-   devs.push_back( *i );
+   for( liststring::const_iterator i=e.devices.begin(); 
+i!=e.devices.end(); ++i )
+   {
+   const Device* v;
+   if( getStorage()-findDevice( *i, v ) )
+   devs.push_back( v-device() );
+   else
+   devs.push_back( *i );
+   }
}
-   y2mil( cv:  cv   sum:  sum_size   devs:  devs );
+   y2mil( forbidden:  forbidden   cv:  cv  
+   sum:  sum_size   devs:  devs );
if( cv!=NULL )
{
Btrfs* b = new Btrfs( *this, *cv, sum_size, devs );
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.21.4/storage/Disk.cc 
new/libstorage-2.21.5/storage/Disk.cc
--- old/libstorage-2.21.4/storage/Disk.cc   2011-07-28 12:34:30.0 
+0200
+++ new/libstorage-2.21.5/storage/Disk.cc   2011-08-24 16:59:00.0 
+0200
@@ -1574,7 +1574,17 @@
 cmd_line  MDADMBIN  --zero-superblock --force   quote(device());
 execCheckFailed( cmd_line.str() );
 cmd_line.str();
-cmd_line  PARTEDCMD  quote(device())   mklabel   label;
+string lab(label);
+if( lab==gpt )
+   {
+   const ArchInfo ai = getStorage()-getArchInfo();
+   if( !ai.is_efiboot  (ai.arch==i386 || ai.arch==x86_64))
+   {
+   y2mil( efi:  ai.is_efiboot   arch:  ai.arch );
+   

commit libstorage for openSUSE:Factory

2011-08-12 Thread h_root

Hello community,

here is the log from the commit of package libstorage for openSUSE:Factory
checked in at Fri Aug 12 09:41:09 CEST 2011.




--- libstorage/libstorage.changes   2011-07-08 14:20:26.0 +0200
+++ /mounts/work_src_done/STABLE/libstorage/libstorage.changes  2011-08-11 
17:38:57.0 +0200
@@ -1,0 +2,47 @@
+Wed Aug 10 16:39:19 CEST 2011 - f...@suse.de
+
+- support label on btrfs 
+- version 2.21.4
+
+---
+Tue Aug  9 16:29:08 CEST 2011 - f...@suse.de
+
+- fix bugs in subvolume handling during install
+
+---
+Fri Aug 05 12:06:28 CEST 2011 - aschn...@suse.de
+
+- moved lock from to /var/run/libstorage (bnc#710356)
+
+---
+Thu Aug  4 17:30:06 CEST 2011 - f...@suse.de
+
+- avoid crash when btrfs signature is on disk device (bnc#710043)
+  
+---
+Tue Aug  2 14:03:30 CEST 2011 - f...@suse.de
+
+- call waitForDevice in checkDevice to work around possible
+  temporary device node removal by udev (bnc#709464)
+  
+---
+Thu Jul 28 12:36:14 CEST 2011 - f...@suse.de
+
+- changes needed to fix bnc#707472
+
+---
+Tue Jul 26 12:21:56 CEST 2011 - aschn...@suse.de
+
+- fixed commit action calculation for DASDs (bnc#706911)
+
+---
+Tue Jul 19 17:17:10 CEST 2011 - aschn...@suse.de
+
+- fixed size calculation for very small partitions (bnc#705566)
+
+---
+Tue Jul 19 15:17:48 CEST 2011 - f...@suse.de
+
+- fix failing testsuite if program without setup_system is first
+
+---

calling whatdependson for head-i586


Old:

  libstorage-2.21.3.tar.bz2

New:

  libstorage-2.21.4.tar.bz2



Other differences:
--
++ libstorage.spec ++
--- /var/tmp/diff_new_pack.TCt90Y/_old  2011-08-12 09:39:44.0 +0200
+++ /var/tmp/diff_new_pack.TCt90Y/_new  2011-08-12 09:39:44.0 +0200
@@ -19,8 +19,8 @@
 
 
 Name:   libstorage
-Version:2.21.3
-Release:5
+Version:2.21.4
+Release:1
 License:GPL
 Group:  System/Libraries
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
@@ -63,7 +63,8 @@
 %install
 make install DESTDIR=$RPM_BUILD_ROOT
 
-install -d -m 755 $RPM_BUILD_ROOT/var/lock/libstorage
+install -d -m 755 $RPM_BUILD_ROOT/var/run/libstorage
+touch $RPM_BUILD_ROOT/var/run/libstorage/lock
 
 %{find_lang} libstorage
 
@@ -100,7 +101,7 @@
 %files -n libstorage3 -f libstorage.lang
 %defattr(-,root,root)
 %{_libdir}/libstorage.so.*
-%dir /var/lock/libstorage
+%ghost /var/run/libstorage
 /var/adm/fillup-templates/sysconfig.storage-libstorage
 %doc %dir %{prefix}/share/doc/packages/libstorage
 %doc %{prefix}/share/doc/packages/libstorage/AUTHORS

++ libstorage-2.21.3.tar.bz2 - libstorage-2.21.4.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.21.3/VERSION 
new/libstorage-2.21.4/VERSION
--- old/libstorage-2.21.3/VERSION   2011-06-10 09:24:57.0 +0200
+++ new/libstorage-2.21.4/VERSION   2011-08-11 11:31:23.0 +0200
@@ -1 +1 @@
-2.21.3
+2.21.4
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.21.3/bindings/python/libstorage.py 
new/libstorage-2.21.4/bindings/python/libstorage.py
--- old/libstorage-2.21.3/bindings/python/libstorage.py 2011-07-05 
14:26:29.0 +0200
+++ new/libstorage-2.21.4/bindings/python/libstorage.py 2011-08-11 
17:36:00.0 +0200
@@ -428,6 +428,9 @@
 __swig_setmethods__[disklabel] = _libstorage.DiskInfo_disklabel_set
 __swig_getmethods__[disklabel] = _libstorage.DiskInfo_disklabel_get
 if _newclass:disklabel = 
_swig_property(_libstorage.DiskInfo_disklabel_get, 
_libstorage.DiskInfo_disklabel_set)
+__swig_setmethods__[orig_disklabel] = 
_libstorage.DiskInfo_orig_disklabel_set
+__swig_getmethods__[orig_disklabel] = 
_libstorage.DiskInfo_orig_disklabel_get
+if _newclass:orig_disklabel = 
_swig_property(_libstorage.DiskInfo_orig_disklabel_get, 
_libstorage.DiskInfo_orig_disklabel_set)
 __swig_setmethods__[maxPrimary] = _libstorage.DiskInfo_maxPrimary_set
 __swig_getmethods__[maxPrimary] = _libstorage.DiskInfo_maxPrimary_get
 if _newclass:maxPrimary = 
_swig_property(_libstorage.DiskInfo_maxPrimary_get, 
_libstorage.DiskInfo_maxPrimary_set)
@@ -1019,6 +1022,12 @@
 __swig_setmethods__[subvol] = _libstorage.BtrfsInfo_subvol_set
 __swig_getmethods__[subvol] = 

commit libstorage for openSUSE:Factory

2011-07-11 Thread h_root

Hello community,

here is the log from the commit of package libstorage for openSUSE:Factory
checked in at Mon Jul 11 09:00:24 CEST 2011.




--- libstorage/libstorage.changes   2011-06-17 11:09:36.0 +0200
+++ /mounts/work_src_done/STABLE/libstorage/libstorage.changes  2011-07-08 
14:20:26.0 +0200
@@ -1,0 +2,11 @@
+Wed Jul  6 19:04:10 CEST 2011 - f...@suse.de
+
+- fix bug when setting mount point and changing fstype from
+  non-btrfs to btrfs and vice versa
+  
+---
+Tue Jul 05 14:53:34 CEST 2011 - aschn...@suse.de
+
+- provide defines with version info
+
+---

calling whatdependson for head-i586




Other differences:
--
++ libstorage.spec ++
--- /var/tmp/diff_new_pack.XxA6jo/_old  2011-07-11 08:59:22.0 +0200
+++ /var/tmp/diff_new_pack.XxA6jo/_new  2011-07-11 08:59:22.0 +0200
@@ -20,7 +20,7 @@
 
 Name:   libstorage
 Version:2.21.3
-Release:3
+Release:5
 License:GPL
 Group:  System/Libraries
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
@@ -31,6 +31,7 @@
 BuildRequires:  blocxx-devel boost-devel dejagnu doxygen gcc-c++ libxml2-devel 
python-devel swig
 
 Summary:Library for storage management
+Url:http://en.opensuse.org/Portal:Libstorage
 
 %description
 This package contains libstorage, a library for storage management.

++ libstorage-2.21.3.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.21.3/Makefile.in 
new/libstorage-2.21.3/Makefile.in
--- old/libstorage-2.21.3/Makefile.in   2011-06-17 11:05:03.0 +0200
+++ new/libstorage-2.21.3/Makefile.in   2011-07-08 14:19:37.0 +0200
@@ -175,8 +175,11 @@
 LIBOBJS = @LIBOBJS@
 LIBS = @LIBS@
 LIBTOOL = @LIBTOOL@
+LIBVERSION = @LIBVERSION@
 LIBVERSION_INFO = @LIBVERSION_INFO@
 LIBVERSION_MAJOR = @LIBVERSION_MAJOR@
+LIBVERSION_MINOR = @LIBVERSION_MINOR@
+LIBVERSION_PATCHLEVEL = @LIBVERSION_PATCHLEVEL@
 LIPO = @LIPO@
 LN_S = @LN_S@
 LTLIBOBJS = @LTLIBOBJS@
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.21.3/bindings/Makefile.in 
new/libstorage-2.21.3/bindings/Makefile.in
--- old/libstorage-2.21.3/bindings/Makefile.in  2011-06-17 11:05:02.0 
+0200
+++ new/libstorage-2.21.3/bindings/Makefile.in  2011-07-08 14:19:36.0 
+0200
@@ -135,8 +135,11 @@
 LIBOBJS = @LIBOBJS@
 LIBS = @LIBS@
 LIBTOOL = @LIBTOOL@
+LIBVERSION = @LIBVERSION@
 LIBVERSION_INFO = @LIBVERSION_INFO@
 LIBVERSION_MAJOR = @LIBVERSION_MAJOR@
+LIBVERSION_MINOR = @LIBVERSION_MINOR@
+LIBVERSION_PATCHLEVEL = @LIBVERSION_PATCHLEVEL@
 LIPO = @LIPO@
 LN_S = @LN_S@
 LTLIBOBJS = @LTLIBOBJS@
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.21.3/bindings/python/Makefile.in 
new/libstorage-2.21.3/bindings/python/Makefile.in
--- old/libstorage-2.21.3/bindings/python/Makefile.in   2011-06-17 
11:05:02.0 +0200
+++ new/libstorage-2.21.3/bindings/python/Makefile.in   2011-07-08 
14:19:36.0 +0200
@@ -153,8 +153,11 @@
 LIBOBJS = @LIBOBJS@
 LIBS = $(top_builddir)/storage/libstorage.la
 LIBTOOL = @LIBTOOL@
+LIBVERSION = @LIBVERSION@
 LIBVERSION_INFO = @LIBVERSION_INFO@
 LIBVERSION_MAJOR = @LIBVERSION_MAJOR@
+LIBVERSION_MINOR = @LIBVERSION_MINOR@
+LIBVERSION_PATCHLEVEL = @LIBVERSION_PATCHLEVEL@
 LIPO = @LIPO@
 LN_S = @LN_S@
 LTLIBOBJS = @LTLIBOBJS@
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.21.3/configure 
new/libstorage-2.21.3/configure
--- old/libstorage-2.21.3/configure 2011-06-17 11:05:01.0 +0200
+++ new/libstorage-2.21.3/configure 2011-07-08 14:19:35.0 +0200
@@ -755,7 +755,10 @@
 LIBOBJS
 fillupdir
 LIBVERSION_INFO
+LIBVERSION_PATCHLEVEL
+LIBVERSION_MINOR
 LIBVERSION_MAJOR
+LIBVERSION
 AM_BACKSLASH
 AM_DEFAULT_VERBOSITY
 pkgpyexecdir
@@ -4963,13 +4966,13 @@
 else
   lt_cv_nm_interface=BSD nm
   echo int some_variable = 0;  conftest.$ac_ext
-  (eval echo \\$as_me:4966: $ac_compile\ 5)
+  (eval echo \\$as_me:4969: $ac_compile\ 5)
   (eval $ac_compile 2conftest.err)
   cat conftest.err 5
-  (eval echo \\$as_me:4969: $NM \\\conftest.$ac_objext 5)
+  (eval echo \\$as_me:4972: $NM \\\conftest.$ac_objext 5)
   (eval $NM \conftest.$ac_objext\ 2conftest.err  conftest.out)
   cat conftest.err 5
-  (eval echo \\$as_me:4972: output\ 5)
+  (eval echo \\$as_me:4975: output\ 5)
   cat conftest.out 5
   if $GREP 'External.*some_variable' conftest.out  /dev/null; then
 lt_cv_nm_interface=MS dumpbin
@@ -6175,7 +6178,7 @@
   ;;
 *-*-irix6*)
   # Find out which ABI we are using.
-  echo '#line 6178 configure'  conftest.$ac_ext
+  echo '#line 6181 configure'  

commit libstorage for openSUSE:Factory

2011-06-17 Thread h_root

Hello community,

here is the log from the commit of package libstorage for openSUSE:Factory
checked in at Fri Jun 17 12:47:33 CEST 2011.




--- libstorage/libstorage.changes   2011-06-09 15:56:25.0 +0200
+++ /mounts/work_src_done/STABLE/libstorage/libstorage.changes  2011-06-17 
11:09:36.0 +0200
@@ -1,0 +2,5 @@
+Fri Jun 17 10:59:02 CEST 2011 - aschn...@suse.de
+
+- updated translations
+
+---

calling whatdependson for head-i586




Other differences:
--
++ libstorage.spec ++
--- /var/tmp/diff_new_pack.RSS36P/_old  2011-06-17 12:40:33.0 +0200
+++ /var/tmp/diff_new_pack.RSS36P/_new  2011-06-17 12:40:33.0 +0200
@@ -20,7 +20,7 @@
 
 Name:   libstorage
 Version:2.21.3
-Release:1
+Release:3
 License:GPL
 Group:  System/Libraries
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build

++ libstorage-2.21.3.tar.bz2 ++
 31100 lines of diff (skipped)






Remember to have fun...

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



commit libstorage for openSUSE:Factory

2011-05-30 Thread h_root

Hello community,

here is the log from the commit of package libstorage for openSUSE:Factory
checked in at Mon May 30 15:59:42 CEST 2011.




--- libstorage/libstorage.changes   2011-05-26 16:32:30.0 +0200
+++ libstorage/libstorage.changes   2011-05-30 11:41:32.0 +0200
@@ -1,0 +2,5 @@
+Fri May 27 18:21:44 UTC 2011 - co...@novell.com
+
+- fix package rename
+
+---

calling whatdependson for head-i586




Other differences:
--
++ libstorage.spec ++
--- /var/tmp/diff_new_pack.RkHt6f/_old  2011-05-30 15:59:01.0 +0200
+++ /var/tmp/diff_new_pack.RkHt6f/_new  2011-05-30 15:59:01.0 +0200
@@ -20,7 +20,7 @@
 
 Name:   libstorage
 Version:2.21.2
-Release:1
+Release:2
 License:GPL
 Group:  System/Libraries
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
@@ -84,6 +84,8 @@
 PreReq: %fillup_prereq
 Obsoletes:  yast2-storage-lib
 Provides:   yast2-storage-lib
+Obsoletes:  libstorage  2.21.2
+Provides:   libstorage = %{version}
 Summary:Library for storage management
 
 %description -n libstorage3

++ libstorage-2.21.2.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.21.2/libstorage.spec.in 
new/libstorage-2.21.2/libstorage.spec.in
--- old/libstorage-2.21.2/libstorage.spec.in2011-05-26 16:30:48.0 
+0200
+++ new/libstorage-2.21.2/libstorage.spec.in2011-05-30 11:40:51.0 
+0200
@@ -68,6 +68,8 @@
 PreReq:%fillup_prereq
 Obsoletes: yast2-storage-lib
 Provides:  yast2-storage-lib
+Obsoletes: libstorage  2.21.2
+Provides:  libstorage = %{version}
 Summary:   Library for storage management
 
 %description -n libstorage@LIBVERSION_MAJOR@






Remember to have fun...

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



commit libstorage for openSUSE:Factory

2011-05-27 Thread h_root

Hello community,

here is the log from the commit of package libstorage for openSUSE:Factory
checked in at Fri May 27 10:40:52 CEST 2011.




--- libstorage/libstorage.changes   2011-02-04 10:51:51.0 +0100
+++ /mounts/work_src_done/STABLE/libstorage/libstorage.changes  2011-05-26 
16:32:30.0 +0200
@@ -1,0 +2,42 @@
+Thu May 26 16:07:46 CEST 2011 - f...@suse.de
+
+- more btrfs related bugfixes
+
+---
+Thu May 26 11:51:55 CEST 2011 - aschn...@suse.de
+
+- adapted to parted 2.4
+- 2.21.2
+
+---
+Thu May 12 13:31:16 CEST 2011 - f...@suse.de
+
+- fix missing crypttab entry in installed system (bnc#693325)
+- 2.21.1
+
+---
+Thu Apr 21 11:16:43 CEST 2011 - f...@suse.de
+
+- add support for tmpfs (fate#303810)
+
+---
+Thu Mar 24 17:28:53 CET 2011 - f...@suse.de
+
+- add code to add/remove volumes to/from BTRFS volume
+
+---
+Thu Mar  3 19:31:43 CET 2011 - f...@suse.de
+
+- bugfixes and improvements in BTRFS handling
+
+---
+Wed Feb 16 11:12:02 CET 2011 - aschn...@suse.de
+
+- make temporary mounts more robust (see bnc #672118)
+
+---
+Thu Feb  3 15:54:24 CET 2011 - f...@suse.de
+
+- add options provided in addNfs call to volume automatically
+
+---
@@ -6 +47,0 @@
-- 2.20.7

calling whatdependson for head-i586


Old:

  libstorage-2.20.7.tar.bz2
  libstorage-rpmlintrc

New:

  libstorage-2.21.2.tar.bz2



Other differences:
--
++ libstorage.spec ++
--- /var/tmp/diff_new_pack.w3JDbv/_old  2011-05-27 10:13:43.0 +0200
+++ /var/tmp/diff_new_pack.w3JDbv/_new  2011-05-27 10:13:43.0 +0200
@@ -19,37 +19,22 @@
 
 
 Name:   libstorage
-Version:2.20.7
+Version:2.21.2
 Release:1
 License:GPL
 Group:  System/Libraries
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source: libstorage-%{version}.tar.bz2
-Source1:libstorage-rpmlintrc
 
 Prefix: /usr
 
 BuildRequires:  blocxx-devel boost-devel dejagnu doxygen gcc-c++ libxml2-devel 
python-devel swig
 
-Requires:   parted = 2.2 mdadm device-mapper lvm2 dmraid multipath-tools 
cryptsetup
-Requires:   coreutils udev util-linux = 2.16 grep lsscsi
-%ifarch s390 s390x
-Requires:   s390-tools
-%endif
-
-PreReq: %fillup_prereq
-Obsoletes:  yast2-storage-lib
-Provides:   yast2-storage-lib
 Summary:Library for storage management
 
 %description
 This package contains libstorage, a library for storage management.
 
-Authors:
-
-Thomas Fehr f...@suse.de
-Arvin Schnell aschn...@suse.de
-
 %prep
 %setup -n libstorage-%{version}
 
@@ -87,7 +72,29 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files -f libstorage.lang
+%package -n libstorage3
+
+
+Requires:   parted = 2.2 mdadm device-mapper lvm2 dmraid multipath-tools 
cryptsetup
+Requires:   coreutils udev util-linux = 2.16 grep lsscsi
+%ifarch s390 s390x
+Requires:   s390-tools
+%endif
+
+PreReq: %fillup_prereq
+Obsoletes:  yast2-storage-lib
+Provides:   yast2-storage-lib
+Summary:Library for storage management
+
+%description -n libstorage3
+This package contains libstorage, a library for storage management.
+
+Authors:
+
+Thomas Fehr f...@suse.de
+Arvin Schnell aschn...@suse.de
+
+%files -n libstorage3 -f libstorage.lang
 %defattr(-,root,root)
 %{_libdir}/libstorage.so.*
 %dir /var/lock/libstorage
@@ -96,21 +103,21 @@
 %doc %{prefix}/share/doc/packages/libstorage/AUTHORS
 %doc %{prefix}/share/doc/packages/libstorage/COPYING
 
-%post
+%post -n libstorage3
 /sbin/ldconfig
 %{fillup_only -an storage}
 
-%postun
+%postun -n libstorage3
 /sbin/ldconfig
 
-%package devel
-License:GPL
-Requires:   libstorage = %version
+%package -n libstorage-devel
+
+Requires:   libstorage3 = %version
 Requires:   gcc-c++ libstdc++-devel boost-devel blocxx-devel libxml2-devel
 Summary:Header files and documentation for libstorage
 Group:  Development/Languages/C and C++
 
-%description devel
+%description -n libstorage-devel
 This package contains header files and documentation for developing with
 libstorage.
 
@@ -119,7 +126,7 @@
 Thomas Fehr f...@suse.de
 Arvin Schnell aschn...@suse.de
 
-%files devel
+%files -n libstorage-devel
 %defattr(-,root,root)
 %{_libdir}/libstorage.la
 %{_libdir}/libstorage.so
@@ -127,9 +134,9 @@
 %doc %{prefix}/share/doc/packages/libstorage/autodocs
 %doc