commit bcache-tools for openSUSE:Factory

2020-11-02 Thread root
Hello community,

here is the log from the commit of package bcache-tools for openSUSE:Factory 
checked in at 2020-11-02 14:04:41

Comparing /work/SRC/openSUSE:Factory/bcache-tools (Old)
 and  /work/SRC/openSUSE:Factory/.bcache-tools.new.3463 (New)


Package is "bcache-tools"

Mon Nov  2 14:04:41 2020 rev:13 rq:845049 version:1.1

Changes:

--- /work/SRC/openSUSE:Factory/bcache-tools/bcache-tools.changes
2020-09-10 22:48:17.919837824 +0200
+++ /work/SRC/openSUSE:Factory/.bcache-tools.new.3463/bcache-tools.changes  
2020-11-02 14:06:20.604770670 +0100
@@ -1,0 +2,54 @@
+Tue Oct 13 04:32:51 UTC 2020 - Coly Li 
+
+- Remove dependence of smartcols bcache-tools.spec, bcache-tools
+  code doesn't need it now. (jsc#SLE-9807)
+- Remove 1001-udev-do-not-rely-on-DRIVER-variable.patch because
+  we have 0013-bcache-tools-Export-CACHED_UUID-and-CACHED_LABEL.patch
+  to provide static UUIDs. (jsc#SLE-9807)
+- bcache-tools: add man page bcache-status.8 (jsc#SLE-9807)
+  0017-bcache-tools-add-man-page-bcache-status.8.patch
+- bcache-tools: add bcache-status (jsc#SLE-9807)
+  0016-bcache-tools-add-bcache-status.patch
+- bcache-tools: make: permit only one cache device to be
+  specified (jsc#SLE-9807)
+  0015-bcache-tools-make-permit-only-one-cache-device-to-be.patch
+- bcache-tools: Remove the dependency on libsmartcols
+  (jsc#SLE-9807)
+  0014-bcache-tools-Remove-the-dependency-on-libsmartcols.patch
+- bcache-tools: Export CACHED_UUID and CACHED_LABEL
+  (jsc#SLE-9807)
+  0013-bcache-tools-Export-CACHED_UUID-and-CACHED_LABEL.patch
+- bcache-tools: Fix potential coredump issues (jsc#SLE-9807)
+  0012-bcache-tools-Fix-potential-coredump-issues.patch
+- bcache-tools: add print_cache_set_supported_feature_sets()
+  in lib.c (jsc#SLE-9807)
+  0011-bcache-tools-add-print_cache_set_supported_feature_s.patch
+- bcache-tools: add large_bucket incompat feature (jsc#SLE-9807)
+  0010-bcache-tools-add-large_bucket-incompat-feature.patch
+- bcache-tools: upgrade super block versions for feature sets
+  (jsc#SLE-9807)
+  0009-bcache-tools-upgrade-super-block-versions-for-featur.patch
+- bcache-tools: define separated super block for in-memory and
+  on-disk format (jsc#SLE-9807)
+  0008-bcache-tools-define-separated-super-block-for-in-mem.patch
+- bcache-tools: add to_cache_sb() and to_cache_sb_disk()
+  (jsc#SLE-9807)
+  0007-bcache-tools-add-to_cache_sb-and-to_cache_sb_disk.patch
+- bcache-tools: list.h: only define offsetof() when it is
+  undefined (jsc#SLE-9807)
+  0006-bcache-tools-list.h-only-define-offsetof-when-it-is-.patch
+- bcache-tools: bitwise.h: more swap bitwise for different
+  CPU endians (jsc#SLE-9807)
+  0005-bcache-tools-bitwise.h-more-swap-bitwise-for-differe.patch
+- bcache-tools: add struct cache_sb_disk into bcache.h (jsc#SLE-9807)
+  0004-bcache-tools-add-struct-cache_sb_disk-into-bcache.h.patch
+- bcache-tools: convert writeback to writethrough mode for zoned
+  backing device (jsc#SLE-9807)
+  0003-bcache-tools-convert-writeback-to-writethrough-mode-.patch
+- bcache-tools: add is_zoned_device() (jsc#SLE-9807)
+  0002-bcache-tools-add-is_zoned_device.patch
+- bcache-tools: set zoned size aligned data_offset on backing device
+  for zoned devive (jsc#SLE-9807)
+  0001-bcache-tools-set-zoned-size-aligned-data_offset-on-b.patch
+
+---

Old:

  1001-udev-do-not-rely-on-DRIVER-variable.patch

New:

  0001-bcache-tools-set-zoned-size-aligned-data_offset-on-b.patch
  0002-bcache-tools-add-is_zoned_device.patch
  0003-bcache-tools-convert-writeback-to-writethrough-mode-.patch
  0004-bcache-tools-add-struct-cache_sb_disk-into-bcache.h.patch
  0005-bcache-tools-bitwise.h-more-swap-bitwise-for-differe.patch
  0006-bcache-tools-list.h-only-define-offsetof-when-it-is-.patch
  0007-bcache-tools-add-to_cache_sb-and-to_cache_sb_disk.patch
  0008-bcache-tools-define-separated-super-block-for-in-mem.patch
  0009-bcache-tools-upgrade-super-block-versions-for-featur.patch
  0010-bcache-tools-add-large_bucket-incompat-feature.patch
  0011-bcache-tools-add-print_cache_set_supported_feature_s.patch
  0012-bcache-tools-Fix-potential-coredump-issues.patch
  0013-bcache-tools-Export-CACHED_UUID-and-CACHED_LABEL.patch
  0014-bcache-tools-Remove-the-dependency-on-libsmartcols.patch
  0015-bcache-tools-make-permit-only-one-cache-device-to-be.patch
  0016-bcache-tools-add-bcache-status.patch
  0017-bcache-tools-add-man-page-bcache-status.8.patch



Other differences:
--
++ bcache-tools.spec ++
--- /var/tmp/diff_new_pack.ul0rl4/_old  2020-11-02 14:06:21.304771204 +0100
+++ /var/tmp/diff_new_pack.ul0rl4/_new  2020-11-02 14:06:21.304771204 +0100
@@ -25,11 +25,26 @@
 URL:

commit bcache-tools for openSUSE:Factory

2020-09-10 Thread root
Hello community,

here is the log from the commit of package bcache-tools for openSUSE:Factory 
checked in at 2020-09-10 22:47:53

Comparing /work/SRC/openSUSE:Factory/bcache-tools (Old)
 and  /work/SRC/openSUSE:Factory/.bcache-tools.new.4249 (New)


Package is "bcache-tools"

Thu Sep 10 22:47:53 2020 rev:12 rq:832982 version:1.1

Changes:

--- /work/SRC/openSUSE:Factory/bcache-tools/bcache-tools.changes
2020-01-23 16:09:54.671600183 +0100
+++ /work/SRC/openSUSE:Factory/.bcache-tools.new.4249/bcache-tools.changes  
2020-09-10 22:48:17.919837824 +0200
@@ -1,0 +2,5 @@
+Tue Sep  8 11:58:38 UTC 2020 - Jan Engelhardt 
+
+- Cure fallout from %_libexecdir change [boo#1174075, boo#1176244]
+
+---



Other differences:
--
++ bcache-tools.spec ++
--- /var/tmp/diff_new_pack.7vh79U/_old  2020-09-10 22:48:18.767838606 +0200
+++ /var/tmp/diff_new_pack.7vh79U/_new  2020-09-10 22:48:18.767838606 +0200
@@ -40,8 +40,9 @@
 
 %build
 export SUSE_ASNEEDED=0
-make all CFLAGS="%optflags $(pkg-config blkid uuid smartcols --cflags) 
-std=gnu99" \
-   LDFLAGS="$(pkg-config blkid uuid smartcols --libs)" %{?_smp_mflags}
+%make_build all \
+   CFLAGS="%optflags $(pkg-config blkid uuid smartcols --cflags) 
-std=gnu99" \
+   LDFLAGS="$(pkg-config blkid uuid smartcols --libs)"
 
 %install
 b="%buildroot"
@@ -49,7 +50,7 @@
 mkdir -p "$b"/{sbin,%_sbindir,%_mandir/man8,/lib/udev/rules.d}
 mkdir -p "$b/%_sysconfdir/initramfs-tools/scripts/init-premount"
 mkdir -p "$b/%_sysconfdir/initramfs-tools/hooks"
-make install DESTDIR="$b" DRACUTLIBDIR="%_libexecdir/dracut"
+%make_install DRACUTLIBDIR="%_prefix/lib/dracut"
 # Not used in openSUSE
 rm -Rf "$b/%_sysconfdir/initramfs-tools" "$b/%_prefix/lib/initcpio" \
"$b/%_datadir/initramfs-tools"
@@ -60,8 +61,8 @@
 %_sbindir/bcache-super-show
 %_sbindir/make-bcache
 %_sbindir/bcache
+%_prefix/lib/dracut/
 %_prefix/lib/udev
-%_libexecdir/dracut/
 %_mandir/man8/*.8*
 %license COPYING
 




commit bcache-tools for openSUSE:Factory

2020-01-23 Thread root
Hello community,

here is the log from the commit of package bcache-tools for openSUSE:Factory 
checked in at 2020-01-23 16:08:34

Comparing /work/SRC/openSUSE:Factory/bcache-tools (Old)
 and  /work/SRC/openSUSE:Factory/.bcache-tools.new.26092 (New)


Package is "bcache-tools"

Thu Jan 23 16:08:34 2020 rev:11 rq:765450 version:1.1

Changes:

--- /work/SRC/openSUSE:Factory/bcache-tools/bcache-tools.changes
2019-08-27 10:18:11.571952328 +0200
+++ /work/SRC/openSUSE:Factory/.bcache-tools.new.26092/bcache-tools.changes 
2020-01-23 16:09:54.671600183 +0100
@@ -1,0 +2,8 @@
+Tue Jan 14 19:27:52 UTC 2020 - Jan Engelhardt 
+
+- Update to tag 1.1
+  * add blkdiscard for cache dev
+  * add 'label' field
+  * allow users to set label for device
+
+---

Old:

  bcache-tools-1.0.8+suse5.tar.xz

New:

  bcache-tools-1.1.tar.xz



Other differences:
--
++ bcache-tools.spec ++
--- /var/tmp/diff_new_pack.5nu212/_old  2020-01-23 16:09:57.111601629 +0100
+++ /var/tmp/diff_new_pack.5nu212/_new  2020-01-23 16:09:57.115601631 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package bcache-tools
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,21 +17,20 @@
 
 
 Name:   bcache-tools
+Version:1.1
+Release:0
 Summary:Configuration utilities for bcache
 License:GPL-2.0-only
 Group:  System/Base
-Version:1.0.8+suse5
-Release:0
-Url:http://bcache.evilpiepirate.org/
+URL:http://bcache.evilpiepirate.org/
 
-#Git-Clone:http://evilpiepirate.org/git/bcache-tools.git
 Source: %name-%version.tar.xz
 Patch1: 1001-udev-do-not-rely-on-DRIVER-variable.patch
-BuildRequires:  libblkid-devel
-BuildRequires:  libsmartcols-devel
-BuildRequires:  libuuid-devel
 BuildRequires:  pkg-config
 BuildRequires:  xz
+BuildRequires:  pkgconfig(blkid)
+BuildRequires:  pkgconfig(smartcols)
+BuildRequires:  pkgconfig(uuid)
 
 %description
 This package contains utilities for configuring the bcache Module.

++ _service ++
--- /var/tmp/diff_new_pack.5nu212/_old  2020-01-23 16:09:57.135601643 +0100
+++ /var/tmp/diff_new_pack.5nu212/_new  2020-01-23 16:09:57.139601645 +0100
@@ -3,10 +3,9 @@
git

git://git.kernel.org/pub/scm/linux/kernel/git/colyli/bcache-tools
-   for-next
-   
-   a73679b22c333763597d39c72112ef5a53f55419
-   1.0.8+suse@TAG_OFFSET@
+   bcache-tools-1.1
+   bcache-tools-1.1
+   1.1


*.tar

++ bcache-tools-1.0.8+suse5.tar.xz -> bcache-tools-1.1.tar.xz ++
 2541 lines of diff (skipped)




commit bcache-tools for openSUSE:Factory

2019-08-27 Thread root
Hello community,

here is the log from the commit of package bcache-tools for openSUSE:Factory 
checked in at 2019-08-27 10:17:46

Comparing /work/SRC/openSUSE:Factory/bcache-tools (Old)
 and  /work/SRC/openSUSE:Factory/.bcache-tools.new.7948 (New)


Package is "bcache-tools"

Tue Aug 27 10:17:46 2019 rev:10 rq:725414 version:1.0.8+suse5

Changes:

--- /work/SRC/openSUSE:Factory/bcache-tools/bcache-tools.changes
2018-10-25 08:09:00.144319331 +0200
+++ /work/SRC/openSUSE:Factory/.bcache-tools.new.7948/bcache-tools.changes  
2019-08-27 10:18:11.571952328 +0200
@@ -1,0 +2,7 @@
+Thu Aug 22 20:00:37 UTC 2019 - Jan Engelhardt 
+
+- Add a _service file for the tarball from outer space.
+- Shift the version number to 1.0.8+suse5 because there has never
+  been a 1.0.9 release.
+
+---
@@ -13,0 +21 @@
+
@@ -65 +72,0 @@
-

Old:

  bcache-tools-1.0.9.tar.xz

New:

  _service
  bcache-tools-1.0.8+suse5.tar.xz



Other differences:
--
++ bcache-tools.spec ++
--- /var/tmp/diff_new_pack.ItVJTa/_old  2019-08-27 10:18:11.963952303 +0200
+++ /var/tmp/diff_new_pack.ItVJTa/_new  2019-08-27 10:18:11.967952302 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package bcache-tools
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 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
@@ -20,15 +20,13 @@
 Summary:Configuration utilities for bcache
 License:GPL-2.0-only
 Group:  System/Base
-Version:1.0.9
+Version:1.0.8+suse5
 Release:0
 Url:http://bcache.evilpiepirate.org/
 
 #Git-Clone:http://evilpiepirate.org/git/bcache-tools.git
 Source: %name-%version.tar.xz
-Patch1001:  1001-udev-do-not-rely-on-DRIVER-variable.patch
-
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+Patch1: 1001-udev-do-not-rely-on-DRIVER-variable.patch
 BuildRequires:  libblkid-devel
 BuildRequires:  libsmartcols-devel
 BuildRequires:  libuuid-devel
@@ -39,8 +37,7 @@
 This package contains utilities for configuring the bcache Module.
 
 %prep
-%setup -qn %name
-%patch1001 -p1
+%autosetup -p1
 
 %build
 export SUSE_ASNEEDED=0
@@ -61,13 +58,12 @@
 mv "$b/lib/udev" "$b/%_prefix/lib/"
 
 %files
-%defattr(-,root,root)
 %_sbindir/bcache-super-show
 %_sbindir/make-bcache
 %_sbindir/bcache
 %_prefix/lib/udev
 %_libexecdir/dracut/
 %_mandir/man8/*.8*
-%doc COPYING
+%license COPYING
 
 %changelog

++ _service ++


git

git://git.kernel.org/pub/scm/linux/kernel/git/colyli/bcache-tools
for-next

a73679b22c333763597d39c72112ef5a53f55419
1.0.8+suse@TAG_OFFSET@


*.tar
xz






commit bcache-tools for openSUSE:Factory

2018-10-25 Thread root
Hello community,

here is the log from the commit of package bcache-tools for openSUSE:Factory 
checked in at 2018-10-25 08:08:56

Comparing /work/SRC/openSUSE:Factory/bcache-tools (Old)
 and  /work/SRC/openSUSE:Factory/.bcache-tools.new (New)


Package is "bcache-tools"

Thu Oct 25 08:08:56 2018 rev:9 rq:642704 version:1.0.9

Changes:

--- /work/SRC/openSUSE:Factory/bcache-tools/bcache-tools.changes
2015-03-30 19:33:28.0 +0200
+++ /work/SRC/openSUSE:Factory/.bcache-tools.new/bcache-tools.changes   
2018-10-25 08:09:00.144319331 +0200
@@ -1,0 +2,13 @@
+Fri Sep 14 07:27:58 UTC 2018 - col...@suse.com
+
+- Update bcache-tools to 1.0.9, this is required by yast2 bcache module
+  development. In this version a new program named "bcache" is added,
+  by this program people may avoid many operations on sysfs entries.
+  (bsc#1109460) 
+- Remove the following patche since it is in upstream,
+  - 0001-build-remove-inline-keyword-from-crc64.patch
+- Rename prefix of
+  0001-udev-do-not-rely-on-DRIVER-variable.patch
+  to a SUSE specific patch prefix  
+  1001-udev-do-not-rely-on-DRIVER-variable.patch 
+---

Old:

  0001-build-remove-inline-keyword-from-crc64.patch
  0001-udev-do-not-rely-on-DRIVER-variable.patch
  bcache-tools-1.0.8.tar.xz

New:

  1001-udev-do-not-rely-on-DRIVER-variable.patch
  bcache-tools-1.0.9.tar.xz



Other differences:
--
++ bcache-tools.spec ++
--- /var/tmp/diff_new_pack.gvF5up/_old  2018-10-25 08:09:00.824318885 +0200
+++ /var/tmp/diff_new_pack.gvF5up/_new  2018-10-25 08:09:00.828318882 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package bcache-tools
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 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
@@ -12,24 +12,25 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 Name:   bcache-tools
 Summary:Configuration utilities for bcache
-License:GPL-2.0
+License:GPL-2.0-only
 Group:  System/Base
-Version:1.0.8
+Version:1.0.9
 Release:0
 Url:http://bcache.evilpiepirate.org/
 
 #Git-Clone:http://evilpiepirate.org/git/bcache-tools.git
 Source: %name-%version.tar.xz
-Patch1: 0001-build-remove-inline-keyword-from-crc64.patch
-Patch2: 0001-udev-do-not-rely-on-DRIVER-variable.patch
+Patch1001:  1001-udev-do-not-rely-on-DRIVER-variable.patch
+
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  libblkid-devel
+BuildRequires:  libsmartcols-devel
 BuildRequires:  libuuid-devel
 BuildRequires:  pkg-config
 BuildRequires:  xz
@@ -39,12 +40,12 @@
 
 %prep
 %setup -qn %name
-%patch -P 1 -P 2 -p1
+%patch1001 -p1
 
 %build
 export SUSE_ASNEEDED=0
-make all CFLAGS="%optflags $(pkg-config blkid uuid --cflags) -std=gnu99" \
-   LDFLAGS="$(pkg-config blkid uuid --libs)" %{?_smp_mflags}
+make all CFLAGS="%optflags $(pkg-config blkid uuid smartcols --cflags) 
-std=gnu99" \
+   LDFLAGS="$(pkg-config blkid uuid smartcols --libs)" %{?_smp_mflags}
 
 %install
 b="%buildroot"
@@ -63,6 +64,7 @@
 %defattr(-,root,root)
 %_sbindir/bcache-super-show
 %_sbindir/make-bcache
+%_sbindir/bcache
 %_prefix/lib/udev
 %_libexecdir/dracut/
 %_mandir/man8/*.8*

++ 0001-udev-do-not-rely-on-DRIVER-variable.patch -> 
1001-udev-do-not-rely-on-DRIVER-variable.patch ++

++ bcache-tools-1.0.8.tar.xz -> bcache-tools-1.0.9.tar.xz ++
 2484 lines of diff (skipped)




commit bcache-tools for openSUSE:Factory

2015-03-30 Thread h_root
Hello community,

here is the log from the commit of package bcache-tools for openSUSE:Factory 
checked in at 2015-03-30 19:33:27

Comparing /work/SRC/openSUSE:Factory/bcache-tools (Old)
 and  /work/SRC/openSUSE:Factory/.bcache-tools.new (New)


Package is bcache-tools

Changes:

--- /work/SRC/openSUSE:Factory/bcache-tools/bcache-tools.changes
2014-08-20 10:51:24.0 +0200
+++ /work/SRC/openSUSE:Factory/.bcache-tools.new/bcache-tools.changes   
2015-03-30 19:33:28.0 +0200
@@ -1,0 +2,9 @@
+Fri Mar 27 18:02:05 UTC 2015 - jeng...@inai.de
+
+- Update to new upstream release 1.0.8
+* bcache-register is now a C program
+- Add 0001-udev-do-not-rely-on-DRIVER-variable.patch to entirely
+  disable /dev/bcache symlinks for now, rather than have it
+  half-working [bnc#880858]
+
+---

Old:

  bcache-tools-0.9.tar.xz

New:

  0001-udev-do-not-rely-on-DRIVER-variable.patch
  bcache-tools-1.0.8.tar.xz



Other differences:
--
++ bcache-tools.spec ++
--- /var/tmp/diff_new_pack.vUDo0m/_old  2015-03-30 19:33:29.0 +0200
+++ /var/tmp/diff_new_pack.vUDo0m/_new  2015-03-30 19:33:29.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package bcache-tools
 #
-# Copyright (c) 2014 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
@@ -20,14 +20,14 @@
 Summary:Configuration utilities for bcache
 License:GPL-2.0
 Group:  System/Base
-Version:0.9
+Version:1.0.8
 Release:0
-#Git-Snapshot: v0.9
 Url:http://bcache.evilpiepirate.org/
 
 #Git-Clone:http://evilpiepirate.org/git/bcache-tools.git
 Source: %name-%version.tar.xz
 Patch1: 0001-build-remove-inline-keyword-from-crc64.patch
+Patch2: 0001-udev-do-not-rely-on-DRIVER-variable.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  libblkid-devel
 BuildRequires:  libuuid-devel
@@ -39,7 +39,7 @@
 
 %prep
 %setup -qn %name
-%patch -P 1 -p1
+%patch -P 1 -P 2 -p1
 
 %build
 export SUSE_ASNEEDED=0
@@ -52,8 +52,10 @@
 mkdir -p $b/{sbin,%_sbindir,%_mandir/man8,/lib/udev/rules.d}
 mkdir -p $b/%_sysconfdir/initramfs-tools/scripts/init-premount
 mkdir -p $b/%_sysconfdir/initramfs-tools/hooks
-make install DESTDIR=$b
-rm -Rf $b/%_sysconfdir/initramfs-tools
+make install DESTDIR=$b DRACUTLIBDIR=%_libexecdir/dracut
+# Not used in openSUSE
+rm -Rf $b/%_sysconfdir/initramfs-tools $b/%_prefix/lib/initcpio \
+   $b/%_datadir/initramfs-tools
 mkdir -p $b/%_prefix/lib
 mv $b/lib/udev $b/%_prefix/lib/
 
@@ -62,6 +64,7 @@
 %_sbindir/bcache-super-show
 %_sbindir/make-bcache
 %_prefix/lib/udev
+%_libexecdir/dracut/
 %_mandir/man8/*.8*
 %doc COPYING
 

++ 0001-udev-do-not-rely-on-DRIVER-variable.patch ++
From b48c30983b1510d94745bd07494fa81a68a5896e Mon Sep 17 00:00:00 2001
From: Jan Engelhardt jeng...@inai.de
Date: Sat, 28 Mar 2015 10:50:57 +0100
Subject: [PATCH] udev: do not rely on DRIVER variable

The DRIVER variable will only be set on a single event (when the
module creates the first instance?). Any subsequent udev event, e.g. a
change event for bcache0, does not have the DRIVER tag set. In fact,
most events don't. (This can be reproduced with `udevadm trigger`.)
This leads to a change in the contents of the SYMLINK variable which
leads to removal of /dev/bcache/, since DRIVER is not set.

Don't even bother to create such a volatile /dev/bcache/ in the
first place so users don't go chasing after it.

References: https://bugzilla.opensuse.org/880858
---
 69-bcache.rules | 6 --
 1 file changed, 6 deletions(-)

diff --git a/69-bcache.rules b/69-bcache.rules
index 9cc7f0d..096fde6 100644
--- a/69-bcache.rules
+++ b/69-bcache.rules
@@ -22,11 +22,5 @@ RUN{builtin}+=kmod load bcache
 RUN+=bcache-register $tempnode
 LABEL=bcache_backing_end
 
-# Cached devices: symlink
-DRIVER==bcache, ENV{CACHED_UUID}==?*, \
-SYMLINK+=bcache/by-uuid/$env{CACHED_UUID}
-DRIVER==bcache, ENV{CACHED_LABEL}==?*, \
-SYMLINK+=bcache/by-label/$env{CACHED_LABEL}
-
 LABEL=bcache_end
 
-- 
2.1.4

++ bcache-tools-0.9.tar.xz - bcache-tools-1.0.8.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/bcache-tools/.gitignore new/bcache-tools/.gitignore
--- old/bcache-tools/.gitignore 2014-04-04 09:56:32.0 +0200
+++ new/bcache-tools/.gitignore 2015-03-27 18:41:23.0 +0100
@@ -1,5 +1,7 @@
-bcache-super-show
-make-bcache
-probe-bcache
+/bcache-super-show
+/bcache-test

commit bcache-tools for openSUSE:Factory

2014-08-20 Thread h_root
Hello community,

here is the log from the commit of package bcache-tools for openSUSE:Factory 
checked in at 2014-08-20 10:51:03

Comparing /work/SRC/openSUSE:Factory/bcache-tools (Old)
 and  /work/SRC/openSUSE:Factory/.bcache-tools.new (New)


Package is bcache-tools

Changes:

--- /work/SRC/openSUSE:Factory/bcache-tools/bcache-tools.changes
2014-04-13 13:14:28.0 +0200
+++ /work/SRC/openSUSE:Factory/.bcache-tools.new/bcache-tools.changes   
2014-08-20 10:51:24.0 +0200
@@ -1,0 +2,5 @@
+Mon Aug 18 14:59:41 UTC 2014 - meiss...@suse.com
+
+- removed unnecessary openssl-devel buildrequires
+
+---



Other differences:
--
++ bcache-tools.spec ++
--- /var/tmp/diff_new_pack.qSIDuP/_old  2014-08-20 10:51:25.0 +0200
+++ /var/tmp/diff_new_pack.qSIDuP/_new  2014-08-20 10:51:25.0 +0200
@@ -31,7 +31,6 @@
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  libblkid-devel
 BuildRequires:  libuuid-devel
-BuildRequires:  openssl-devel
 BuildRequires:  pkg-config
 BuildRequires:  xz
 

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



commit bcache-tools for openSUSE:Factory

2014-04-13 Thread h_root
Hello community,

here is the log from the commit of package bcache-tools for openSUSE:Factory 
checked in at 2014-04-13 13:14:27

Comparing /work/SRC/openSUSE:Factory/bcache-tools (Old)
 and  /work/SRC/openSUSE:Factory/.bcache-tools.new (New)


Package is bcache-tools

Changes:

--- /work/SRC/openSUSE:Factory/bcache-tools/bcache-tools.changes
2014-03-21 13:28:34.0 +0100
+++ /work/SRC/openSUSE:Factory/.bcache-tools.new/bcache-tools.changes   
2014-04-13 13:14:28.0 +0200
@@ -1,0 +2,10 @@
+Fri Apr  4 07:57:33 UTC 2014 - jeng...@inai.de
+
+- Update to new upstream release 0.9
+* Run probe-bcache a little later in the udev rule sequence
+  (moving from position 61 to 69), fixing a machine hang on
+  bcache reassemble (bnc#868938)
+- Add 0001-build-remove-inline-keyword-from-crc64.patch, this is
+  a build fix.
+
+---

Old:

  bcache-tools-0.1.g71.tar.xz

New:

  0001-build-remove-inline-keyword-from-crc64.patch
  bcache-tools-0.9.tar.xz



Other differences:
--
++ bcache-tools.spec ++
--- /var/tmp/diff_new_pack.wyjZ2J/_old  2014-04-13 13:14:29.0 +0200
+++ /var/tmp/diff_new_pack.wyjZ2J/_new  2014-04-13 13:14:29.0 +0200
@@ -20,16 +20,19 @@
 Summary:Configuration utilities for bcache
 License:GPL-2.0
 Group:  System/Base
-Version:0.1.g71
+Version:0.9
 Release:0
-#Snapshot: 0b57e166ae86d525ef42842cabf7692fc7c44039
+#Git-Snapshot: v0.9
 Url:http://bcache.evilpiepirate.org/
 
 #Git-Clone:http://evilpiepirate.org/git/bcache-tools.git
 Source: %name-%version.tar.xz
+Patch1: 0001-build-remove-inline-keyword-from-crc64.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  libblkid-devel
 BuildRequires:  libuuid-devel
 BuildRequires:  openssl-devel
+BuildRequires:  pkg-config
 BuildRequires:  xz
 
 %description
@@ -37,9 +40,12 @@
 
 %prep
 %setup -qn %name
+%patch -P 1 -p1
 
 %build
-make all CFLAGS=%optflags %{?_smp_mflags}
+export SUSE_ASNEEDED=0
+make all CFLAGS=%optflags $(pkg-config blkid uuid --cflags) -std=gnu99 \
+   LDFLAGS=$(pkg-config blkid uuid --libs) %{?_smp_mflags}
 
 %install
 b=%buildroot
@@ -49,7 +55,6 @@
 mkdir -p $b/%_sysconfdir/initramfs-tools/hooks
 make install DESTDIR=$b
 rm -Rf $b/%_sysconfdir/initramfs-tools
-mv $b/lib/udev/rules.d/61-bcache.rules $b/lib/udev/rules.d/74-bcache.rules
 mkdir -p $b/%_prefix/lib
 mv $b/lib/udev $b/%_prefix/lib/
 
@@ -57,7 +62,6 @@
 %defattr(-,root,root)
 %_sbindir/bcache-super-show
 %_sbindir/make-bcache
-/sbin/probe-bcache
 %_prefix/lib/udev
 %_mandir/man8/*.8*
 %doc COPYING

++ 0001-build-remove-inline-keyword-from-crc64.patch ++
From 96e990f72720c87c0bd85b31f819bddcdfdb22d7 Mon Sep 17 00:00:00 2001
From: Jan Engelhardt jeng...@inai.de
Date: Fri, 4 Apr 2014 10:08:17 +0200
Subject: [PATCH] build: remove inline keyword from crc64

In optimization levels like -O2, crc64 gets inlined for me and a
linker error follows, because there is no more crc64 function in the
object output.
---
 bcache.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bcache.c b/bcache.c
index 8f37445..8b4b986 100644
--- a/bcache.c
+++ b/bcache.c
@@ -115,7 +115,7 @@ static const uint64_t crc_table[256] = {
0x9AFCE626CE85B507ULL
 };
 
-inline uint64_t crc64(const void *_data, size_t len)
+uint64_t crc64(const void *_data, size_t len)
 {
uint64_t crc = 0xULL;
const unsigned char *data = _data;
-- 
1.8.4.5

++ bcache-tools-0.1.g71.tar.xz - bcache-tools-0.9.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/bcache-tools/61-bcache.rules 
new/bcache-tools/61-bcache.rules
--- old/bcache-tools/61-bcache.rules2013-08-08 00:00:49.0 +0200
+++ new/bcache-tools/61-bcache.rules1970-01-01 01:00:00.0 +0100
@@ -1,25 +0,0 @@
-# register bcache devices as they come up
-# man 7 udev for syntax
-
-SUBSYSTEM!=block, GOTO=bcache_end
-ACTION==remove, GOTO=bcache_end
-
-# Backing devices: scan, symlink, register
-IMPORT{program}=/sbin/blkid -o udev $tempnode
-# blkid and probe-bcache can disagree, in which case don't register
-ENV{ID_FS_TYPE}==?*, ENV{ID_FS_TYPE}!=bcache, GOTO=bcache_backing_end
-
-IMPORT{program}=/sbin/probe-bcache -o udev $tempnode
-ENV{ID_FS_UUID_ENC}==?*, SYMLINK+=disk/by-uuid/$env{ID_FS_UUID_ENC}
-SUBSYSTEM==block, ACTION==add|change, ENV{ID_FS_TYPE}==bcache, \
-RUN+=bcache-register $tempnode
-LABEL=bcache_backing_end
-
-# Cached devices: symlink
-DRIVER==bcache, ENV{CACHED_UUID}==?*, \
-SYMLINK+=bcache/by-uuid/$env{CACHED_UUID}
-DRIVER==bcache, 

commit bcache-tools for openSUSE:Factory

2014-03-21 Thread h_root
Hello community,

here is the log from the commit of package bcache-tools for openSUSE:Factory 
checked in at 2014-03-21 13:28:33

Comparing /work/SRC/openSUSE:Factory/bcache-tools (Old)
 and  /work/SRC/openSUSE:Factory/.bcache-tools.new (New)


Package is bcache-tools

Changes:

--- /work/SRC/openSUSE:Factory/bcache-tools/bcache-tools.changes
2013-08-12 10:15:51.0 +0200
+++ /work/SRC/openSUSE:Factory/.bcache-tools.new/bcache-tools.changes   
2014-03-21 13:28:34.0 +0100
@@ -1,0 +2,6 @@
+Wed Mar 19 10:22:13 UTC 2014 - oneu...@suse.com
+
+- Move bcache rule from position 61 to position 74
+  (bnc#868938) 
+
+---



Other differences:
--
++ bcache-tools.spec ++
--- /var/tmp/diff_new_pack.rL4ePU/_old  2014-03-21 13:28:35.0 +0100
+++ /var/tmp/diff_new_pack.rL4ePU/_new  2014-03-21 13:28:35.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package bcache-tools
 #
-# 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
@@ -49,6 +49,7 @@
 mkdir -p $b/%_sysconfdir/initramfs-tools/hooks
 make install DESTDIR=$b
 rm -Rf $b/%_sysconfdir/initramfs-tools
+mv $b/lib/udev/rules.d/61-bcache.rules $b/lib/udev/rules.d/74-bcache.rules
 mkdir -p $b/%_prefix/lib
 mv $b/lib/udev $b/%_prefix/lib/
 

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



commit bcache-tools for openSUSE:Factory

2013-08-12 Thread h_root
Hello community,

here is the log from the commit of package bcache-tools for openSUSE:Factory 
checked in at 2013-08-12 10:15:49

Comparing /work/SRC/openSUSE:Factory/bcache-tools (Old)
 and  /work/SRC/openSUSE:Factory/.bcache-tools.new (New)


Package is bcache-tools

Changes:

--- /work/SRC/openSUSE:Factory/bcache-tools/bcache-tools.changes
2013-07-02 06:44:08.0 +0200
+++ /work/SRC/openSUSE:Factory/.bcache-tools.new/bcache-tools.changes   
2013-08-12 10:15:51.0 +0200
@@ -1,0 +2,6 @@
+Wed Aug  7 22:02:31 UTC 2013 - jeng...@inai.de
+
+- Update to new snapshot 0.1.g71
+* Support for superblocks up to version 4
+
+---

Old:

  bcache-tools-0.1.g45.tar.xz

New:

  bcache-tools-0.1.g71.tar.xz



Other differences:
--
++ bcache-tools.spec ++
--- /var/tmp/diff_new_pack.gXTj4x/_old  2013-08-12 10:15:52.0 +0200
+++ /var/tmp/diff_new_pack.gXTj4x/_new  2013-08-12 10:15:52.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package bcache-tools
 #
-# Copyright (c) 2009 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
@@ -15,19 +15,22 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 Name:   bcache-tools
 Summary:Configuration utilities for bcache
-Version:0.1.g45
-#Snapshot: 42c182c6ab1530b5e3b18893f284da3eaec46e74
-Release:0
-Group:  System/Base
 License:GPL-2.0
+Group:  System/Base
+Version:0.1.g71
+Release:0
+#Snapshot: 0b57e166ae86d525ef42842cabf7692fc7c44039
 Url:http://bcache.evilpiepirate.org/
 
 #Git-Clone:http://evilpiepirate.org/git/bcache-tools.git
 Source: %name-%version.tar.xz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  openssl-devel libuuid-devel xz
+BuildRequires:  libuuid-devel
+BuildRequires:  openssl-devel
+BuildRequires:  xz
 
 %description
 This package contains utilities for configuring the bcache Module.
@@ -46,16 +49,16 @@
 mkdir -p $b/%_sysconfdir/initramfs-tools/hooks
 make install DESTDIR=$b
 rm -Rf $b/%_sysconfdir/initramfs-tools
-mkdir -p $b/%_prefix/lib/udev/rules.d
-mv $b/lib/udev/rules.d/* $b/%_prefix/lib/udev/rules.d/
+mkdir -p $b/%_prefix/lib
+mv $b/lib/udev $b/%_prefix/lib/
 
 %files
 %defattr(-,root,root)
+%_sbindir/bcache-super-show
 %_sbindir/make-bcache
 /sbin/probe-bcache
-%dir %_prefix/lib/udev
-%dir %_prefix/lib/udev/rules.d
-%_prefix/lib/udev/rules.d/61-bcache.rules
+%_prefix/lib/udev
 %_mandir/man8/*.8*
+%doc COPYING
 
 %changelog

++ bcache-tools-0.1.g45.tar.xz - bcache-tools-0.1.g71.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/bcache-tools/.gitignore new/bcache-tools/.gitignore
--- old/bcache-tools/.gitignore 2013-03-22 13:11:31.0 +0100
+++ new/bcache-tools/.gitignore 2013-08-08 00:00:49.0 +0200
@@ -1,3 +1,4 @@
+bcache-super-show
 make-bcache
 probe-bcache
 .*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/bcache-tools/61-bcache.rules 
new/bcache-tools/61-bcache.rules
--- old/bcache-tools/61-bcache.rules2013-03-22 13:11:31.0 +0100
+++ new/bcache-tools/61-bcache.rules2013-08-08 00:00:49.0 +0200
@@ -1,3 +1,25 @@
-KERNEL==sd*, ENV{DEVTYPE}==disk, IMPORT{program}=/sbin/probe-bcache -o 
udev $tempnode
+# register bcache devices as they come up
+# man 7 udev for syntax
 
+SUBSYSTEM!=block, GOTO=bcache_end
+ACTION==remove, GOTO=bcache_end
+
+# Backing devices: scan, symlink, register
+IMPORT{program}=/sbin/blkid -o udev $tempnode
+# blkid and probe-bcache can disagree, in which case don't register
+ENV{ID_FS_TYPE}==?*, ENV{ID_FS_TYPE}!=bcache, GOTO=bcache_backing_end
+
+IMPORT{program}=/sbin/probe-bcache -o udev $tempnode
 ENV{ID_FS_UUID_ENC}==?*, SYMLINK+=disk/by-uuid/$env{ID_FS_UUID_ENC}
+SUBSYSTEM==block, ACTION==add|change, ENV{ID_FS_TYPE}==bcache, \
+RUN+=bcache-register $tempnode
+LABEL=bcache_backing_end
+
+# Cached devices: symlink
+DRIVER==bcache, ENV{CACHED_UUID}==?*, \
+SYMLINK+=bcache/by-uuid/$env{CACHED_UUID}
+DRIVER==bcache, ENV{CACHED_LABEL}==?*, \
+SYMLINK+=bcache/by-label/$env{CACHED_LABEL}
+
+LABEL=bcache_end
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/bcache-tools/COPYING new/bcache-tools/COPYING
--- old/bcache-tools/COPYING2013-03-22 13:11:31.0 +0100
+++ new/bcache-tools/COPYING2013-08-08 

commit bcache-tools for openSUSE:Factory

2013-07-01 Thread h_root
Hello community,

here is the log from the commit of package bcache-tools for openSUSE:Factory 
checked in at 2013-07-02 06:44:07

Comparing /work/SRC/openSUSE:Factory/bcache-tools (Old)
 and  /work/SRC/openSUSE:Factory/.bcache-tools.new (New)


Package is bcache-tools

Changes:

New Changes file:

--- /dev/null   2013-06-28 09:24:09.524034006 +0200
+++ /work/SRC/openSUSE:Factory/.bcache-tools.new/bcache-tools.changes   
2013-07-02 06:44:08.0 +0200
@@ -0,0 +1,16 @@
+---
+Wed Jun 26 21:30:55 UTC 2013 - jeng...@inai.de
+
+- Move udev rules to /usr/lib/udev/rules.d
+
+---
+Tue Feb 26 09:07:16 UTC 2013 - jeng...@inai.de
+
+- Update to new current snapshot
+  42c182c6ab1530b5e3b18893f284da3eaec46e74 (0.1.g45)
+
+---
+Mon Feb 21 13:58:10 UTC 2011 - r...@suse.de
+
+- create package 
+

New:

  bcache-tools-0.1.g45.tar.xz
  bcache-tools.changes
  bcache-tools.spec



Other differences:
--
++ bcache-tools.spec ++
#
# spec file for package bcache-tools
#
# Copyright (c) 2009 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An Open Source License is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

Name:   bcache-tools
Summary:Configuration utilities for bcache
Version:0.1.g45
#Snapshot:  42c182c6ab1530b5e3b18893f284da3eaec46e74
Release:0
Group:  System/Base
License:GPL-2.0
Url:http://bcache.evilpiepirate.org/

#Git-Clone: http://evilpiepirate.org/git/bcache-tools.git
Source: %name-%version.tar.xz
BuildRoot:  %{_tmppath}/%{name}-%{version}-build
BuildRequires:  openssl-devel libuuid-devel xz

%description
This package contains utilities for configuring the bcache Module.

%prep
%setup -qn %name

%build
make all CFLAGS=%optflags %{?_smp_mflags}

%install
b=%buildroot
# Without these existing, make install would fail
mkdir -p $b/{sbin,%_sbindir,%_mandir/man8,/lib/udev/rules.d}
mkdir -p $b/%_sysconfdir/initramfs-tools/scripts/init-premount
mkdir -p $b/%_sysconfdir/initramfs-tools/hooks
make install DESTDIR=$b
rm -Rf $b/%_sysconfdir/initramfs-tools
mkdir -p $b/%_prefix/lib/udev/rules.d
mv $b/lib/udev/rules.d/* $b/%_prefix/lib/udev/rules.d/

%files
%defattr(-,root,root)
%_sbindir/make-bcache
/sbin/probe-bcache
%dir %_prefix/lib/udev
%dir %_prefix/lib/udev/rules.d
%_prefix/lib/udev/rules.d/61-bcache.rules
%_mandir/man8/*.8*

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