Hello community,

here is the log from the commit of package efivar for openSUSE:Factory checked 
in at 2018-07-02 23:27:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/efivar (Old)
 and      /work/SRC/openSUSE:Factory/.efivar.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "efivar"

Mon Jul  2 23:27:56 2018 rev:10 rq:619118 version:36

Changes:
--------
--- /work/SRC/openSUSE:Factory/efivar/efivar.changes    2017-03-31 
15:05:16.228155670 +0200
+++ /work/SRC/openSUSE:Factory/.efivar.new/efivar.changes       2018-07-02 
23:28:02.289651374 +0200
@@ -1,0 +2,7 @@
+Wed Jun 20 15:03:30 UTC 2018 - [email protected]
+
+- Update to version 36
+- adjust libefiboot-export-disk_get_partition_info.patch to fit
+  new version
+
+-------------------------------------------------------------------

Old:
----
  efivar-31.tar.bz2

New:
----
  efivar-36.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ efivar.spec ++++++
--- /var/tmp/diff_new_pack.JnCJ6z/_old  2018-07-02 23:28:03.405650000 +0200
+++ /var/tmp/diff_new_pack.JnCJ6z/_new  2018-07-02 23:28:03.405650000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package efivar
 #
-# Copyright (c) 2017 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
@@ -28,10 +28,10 @@
 %define major 1
 
 Name:           efivar
-Version:        31
+Version:        36
 Release:        0
 Summary:        Tools to manage UEFI variables
-License:        LGPL-2.1
+License:        LGPL-2.1-only
 Group:          Development/Libraries/C and C++
 Url:            https://github.com/rhinstaller/efivar
 Source:         
https://github.com/rhinstaller/%{name}/releases/download/%{version}/%{name}-%{version}.tar.bz2

++++++ efivar-31.tar.bz2 -> efivar-36.tar.bz2 ++++++
++++ 15727 lines of diff (skipped)

++++++ libefiboot-export-disk_get_partition_info.patch ++++++
--- /var/tmp/diff_new_pack.JnCJ6z/_old  2018-07-02 23:28:03.573649793 +0200
+++ /var/tmp/diff_new_pack.JnCJ6z/_new  2018-07-02 23:28:03.573649793 +0200
@@ -1,26 +1,8 @@
-From: Raymund Will <[email protected]>
-Date: Fri, 3 Mar 2017 18:36:30 +0100
-Subject: [PATCH] libefiboot: export disk_get_partition_info()
-References: bsc#870211, bsc#945705
-
-This is necessary to extend to functionality of 'efibootmgr --delete'
-beyond a mere '--bootnum'-usage.
-
-Signed-off-by: Raymund Will <[email protected]>
----
- src/disk.c                        | 27 +++++++++++++++++++++++++++
- src/include/efivar/efiboot-disk.h | 32 ++++++++++++++++++++++++++++++++
- src/include/efivar/efiboot.h      |  1 +
- src/libefiboot.map.in             |  4 ++++
- 5 files changed, 67 insertions(+), 2 deletions(-)
- create mode 100644 src/include/efivar/efiboot-disk.h
-
-diff --git a/src/disk.c b/src/disk.c
-index 91d636d..df8066b 100644
---- a/src/disk.c
-+++ b/src/disk.c
-@@ -247,6 +247,33 @@ get_partition_info(int fd, uint32_t options,
-       return rc;
+diff -ruN efivar-36.orig/src/disk.c efivar-36/src/disk.c
+--- efivar-36.orig/src/disk.c  2018-06-20 15:11:14.775975508 +0200
++++ efivar-36/src/disk.c       2018-06-20 16:45:26.191953950 +0200
+@@ -256,6 +256,33 @@
+       return true;
  }
  
 +/*
@@ -41,23 +23,21 @@
 +__attribute__((__nonnull__ (3,4,5,6,7)))
 +__attribute__((__visibility__ ("default")))
 +efi_disk_get_partition_info (int fd, 
-+                       uint32_t part,
-+                       uint64_t *start, uint64_t *size,
-+                       uint8_t *signature,
-+                       uint8_t *mbr_type, uint8_t *signature_type)
++                         uint32_t part,
++                         uint64_t *start, uint64_t *size,
++                         uint8_t *signature,
++                         uint8_t *mbr_type, uint8_t *signature_type)
 +{
-+      return get_partition_info(fd, EFIBOOT_OPTIONS_IGNORE_PMBR_ERR, part,
-+                      start, size, signature, mbr_type, signature_type);
++        return get_partition_info(fd, EFIBOOT_OPTIONS_IGNORE_PMBR_ERR, part,
++                        start, size, signature, mbr_type, signature_type);
 +}
 +
- ssize_t
- __attribute__((__visibility__ ("hidden")))
- _make_hd_dn(uint8_t *buf, ssize_t size, int fd, uint32_t partition,
-diff --git a/src/include/efivar/efiboot-disk.h 
b/src/include/efivar/efiboot-disk.h
-new file mode 100644
-index 0000000..50ae862
---- /dev/null
-+++ b/src/include/efivar/efiboot-disk.h
+ ssize_t HIDDEN
+ _make_hd_dn(uint8_t *buf, ssize_t size, int fd, int32_t partition,
+           uint32_t options)
+diff -ruN efivar-36.orig/src/include/efivar/efiboot-disk.h 
efivar-36/src/include/efivar/efiboot-disk.h
+--- efivar-36.orig/src/include/efivar/efiboot-disk.h   1970-01-01 
01:00:00.000000000 +0100
++++ efivar-36/src/include/efivar/efiboot-disk.h        2018-06-20 
16:47:47.111953412 +0200
 @@ -0,0 +1,32 @@
 +/*
 + * libefiboot - library for the manipulation of EFI boot variables
@@ -91,29 +71,24 @@
 +      __attribute__((__visibility__ ("default")));
 +
 +#endif /* _EFIBOOT_BOOT_H */
-diff --git a/src/include/efivar/efiboot.h b/src/include/efivar/efiboot.h
-index 9a4b450..a2512b0 100644
---- a/src/include/efivar/efiboot.h
-+++ b/src/include/efivar/efiboot.h
+diff -ruN efivar-36.orig/src/include/efivar/efiboot.h 
efivar-36/src/include/efivar/efiboot.h
+--- efivar-36.orig/src/include/efivar/efiboot.h        2018-06-20 
15:11:14.779975508 +0200
++++ efivar-36/src/include/efivar/efiboot.h     2018-06-20 16:49:20.599953055 
+0200
 @@ -34,5 +34,6 @@
  
- #include <efiboot-creator.h>
- #include <efiboot-loadopt.h>
-+#include <efiboot-disk.h>
+ #include <efivar/efiboot-creator.h>
+ #include <efivar/efiboot-loadopt.h>
++#include <efivar/efiboot-disk.h>
  
  #endif /* EFIBOOT_H */
-diff --git a/src/libefiboot.map.in b/src/libefiboot.map.in
-index cb19d65..15970d9 100644
---- a/src/libefiboot.map.in
-+++ b/src/libefiboot.map.in
-@@ -33,3 +33,7 @@ LIBEFIBOOT_1.29 {
+diff -ruN efivar-36.orig/src/libefiboot.map.in efivar-36/src/libefiboot.map.in
+--- efivar-36.orig/src/libefiboot.map.in       2018-06-20 15:11:14.779975508 
+0200
++++ efivar-36/src/libefiboot.map.in    2018-06-21 18:32:07.615999484 +0200
+@@ -33,3 +33,7 @@
  
  LIBEFIBOOT_1.30 {
  } LIBEFIBOOT_1.29;
 +
 +LIBEFIBOOT_1.31 {
-+      global: efi_disk_get_partition_info;
++        global: efi_disk_get_partition_info;
 +} LIBEFIBOOT_1.30;
--- 
-2.6.6
-


Reply via email to