Hello community,

here is the log from the commit of package pesign for openSUSE:Factory checked 
in at 2014-11-12 00:20:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/pesign (Old)
 and      /work/SRC/openSUSE:Factory/.pesign.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "pesign"

Changes:
--------
--- /work/SRC/openSUSE:Factory/pesign/pesign.changes    2014-07-02 
15:04:14.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.pesign.new/pesign.changes       2014-11-12 
00:20:54.000000000 +0100
@@ -1,0 +2,23 @@
+Fri Oct 31 07:16:40 UTC 2014 - [email protected]
+
+- Update pesign-suse-build.patch to set LIBDIR for AArch64
+
+-------------------------------------------------------------------
+Tue Oct 28 08:47:34 UTC 2014 - [email protected]
+
+- Update to version 0.110
+- Add pesign-fix-authvar-write-loop.patch to fix the write loop in
+  authvar
+- Add pesign-install-supplementary-programs.patch to install the
+  supplementary programs
+- Refresh patches
+  + pesign-fix-build-errors.patch
+  + pesign-run.patch
+  + pesign-suse-build.patch
+- Drop upstreamed patches
+  + pesign-clear-padding-bits.patch
+  + pesign-enable-supplementary-programs.patch
+  + pesign-no-db.patch
+- Enable aarch64
+
+-------------------------------------------------------------------

Old:
----
  pesign-0.109.tar.gz
  pesign-clear-padding-bits.patch
  pesign-enable-supplementary-programs.patch
  pesign-no-db.patch

New:
----
  pesign-0.110.tar.bz2
  pesign-fix-authvar-write-loop.patch
  pesign-install-supplementary-programs.patch

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

Other differences:
------------------
++++++ pesign.spec ++++++
--- /var/tmp/diff_new_pack.EFnpTH/_old  2014-11-12 00:20:55.000000000 +0100
+++ /var/tmp/diff_new_pack.EFnpTH/_new  2014-11-12 00:20:55.000000000 +0100
@@ -17,36 +17,36 @@
 
 
 Name:           pesign
-Version:        0.109
+Version:        0.110
 Release:        0
 Summary:        Signing tool for PE-COFF binaries
 License:        GPL-2.0
 Group:          Productivity/Security
 Url:            https://github.com/vathpela/pesign
-Source:         %{name}-%{version}.tar.gz
+Source:         %{name}-%{version}.tar.bz2
 # PATCH-FIX-SUSE pesign-suse-build.patch [email protected] -- Adjust Makefile for 
the build service
 Patch1:         pesign-suse-build.patch
 # PATCH-FIX-UPSTREAM pesign-fix-build-errors.patch [email protected] -- Fix gcc 
warnings
 Patch2:         pesign-fix-build-errors.patch
 # PATCH-FIX-UPSTREAM pesign-privkey_unneeded.diff [email protected] -- Don't check 
the private key when importing the raw signature
 Patch3:         pesign-privkey_unneeded.diff
-# PATCH-FIX-UPSTREAM pesign-clear-padding-bits.patch [email protected] -- Clear 
the allocated space before inserting the certificate list
-Patch4:         pesign-clear-padding-bits.patch
 # PATCH-FIX-SUSE use-standard-pid-location.patch [email protected] --Use 
standard /run instead of /var/run for pidfile
-Patch6:         use-standard-pid-location.patch
-# PATCH-FIX-UPSTREAM pesign-no-db.patch [email protected] -- Allow some commands 
to proceed without a NSS database
-Patch7:         pesign-no-db.patch
+Patch4:         use-standard-pid-location.patch
 # PATCH-FIX-SUSE pesign-run.patch [email protected] - Use /run instead of /var/run
-Patch8:         pesign-run.patch
-# PATCH-FIX-UPSTREAM pesign-enable-supplementary-programs.patch [email protected] 
-- Fix and enable the supplementary programs
-Patch9:         pesign-enable-supplementary-programs.patch
+Patch5:         pesign-run.patch
+# PATCH-FIX-UPSTREAM pesign-fix-authvar-write-loop.patch [email protected] -- Fix 
the write loop in authvar
+Patch6:         pesign-fix-authvar-write-loop.patch
+# PATCH-FIX-SUSE pesign-install-supplementary-programs.patch [email protected] -- 
Install the supplementary programs
+Patch7:         pesign-install-supplementary-programs.patch
+BuildRequires:  efivar-devel
+BuildRequires:  libuuid-devel
 BuildRequires:  mozilla-nss-devel
 BuildRequires:  pkg-config
 BuildRequires:  popt-devel
 BuildRequires:  pkgconfig(systemd)
 %{?systemd_requires}
 PreReq:         pwdutils
-ExclusiveArch:  ia64 %ix86 x86_64
+ExclusiveArch:  ia64 %ix86 x86_64 aarch64
 
 %description
 Signing tool for PE-COFF binaries, hopefully at least vaguely compliant
@@ -64,10 +64,9 @@
 %patch2 -p1
 %patch3 -p1
 %patch4 -p1
+%patch5 -p1
 %patch6 -p1
 %patch7 -p1
-%patch8 -p1
-%patch9 -p1
 
 %build
 make OPTFLAGS="$RPM_OPT_FLAGS"

++++++ pesign-0.109.tar.gz -> pesign-0.110.tar.bz2 ++++++
++++ 4964 lines of diff (skipped)

++++++ pesign-fix-authvar-write-loop.patch ++++++
>From e3aee739b92c4124fc1207fb06a7dd1cd89d03ae Mon Sep 17 00:00:00 2001
From: Gary Ching-Pang Lin <[email protected]>
Date: Tue, 1 Jul 2014 14:43:35 +0800
Subject: [PATCH] authvar: fix the write loop

I forgot to move the pointer...

Also use offsetof() instead of the wordsize check.

Signed-off-by: Gary Ching-Pang Lin <[email protected]>
---
 src/authvar_context.c | 16 +++++++---------
 1 file changed, 7 insertions(+), 9 deletions(-)

diff --git a/src/authvar_context.c b/src/authvar_context.c
index c988e96..675967c 100644
--- a/src/authvar_context.c
+++ b/src/authvar_context.c
@@ -18,6 +18,7 @@
  */
 
 #include <unistd.h>
+#include <stddef.h>
 #include <sys/mman.h>
 
 #include <prerror.h>
@@ -133,11 +134,7 @@ generate_descriptor(authvar_context *ctx)
        if (rc < 0)
                cmsreterr(-1, ctx->cms_ctx, "could not create signed data");
 
-#if __WORDSIZE == 64
-       offset = (uint64_t) &((win_cert_uefi_guid_t *)0)->data;
-#else
-       offset = (uint32_t) &((win_cert_uefi_guid_t *)0)->data;
-#endif
+       offset = offsetof(win_cert_uefi_guid_t, data);
        authinfo = calloc(offset + sd_der.len, 1);
        if (!authinfo)
                cmsreterr(-1, ctx->cms_ctx, "could not allocate authinfo");
@@ -160,6 +157,7 @@ write_authvar(authvar_context *ctx)
        void *buffer, *ptr;
        size_t buf_len, des_len, remain;
        ssize_t wlen;
+       off_t offset;
 
        if (!ctx->authinfo)
                cmsreterr(-1, ctx->cms_ctx, "Not a valid authvar");
@@ -187,17 +185,17 @@ write_authvar(authvar_context *ctx)
        if (ctx->value_size > 0)
                memcpy(ptr, ctx->value, ctx->value_size);
 
-       if (!ctx->to_firmware) {
-               ftruncate(ctx->exportfd, buf_len);
+       if (!ctx->to_firmware)
                lseek(ctx->exportfd, 0, SEEK_SET);
-       }
 
        remain = buf_len;
+       offset = 0;
        do {
-               wlen = write(ctx->exportfd, buffer, remain);
+               wlen = write(ctx->exportfd, buffer + offset, remain);
                if (wlen < 0)
                        cmsreterr(-1, ctx->cms_ctx, "failed to write authvar");
                remain -= wlen;
+               offset += wlen;
        } while (remain > 0);
 
        return 0;
-- 
1.8.4.5

++++++ pesign-fix-build-errors.patch ++++++
--- /var/tmp/diff_new_pack.EFnpTH/_old  2014-11-12 00:20:55.000000000 +0100
+++ /var/tmp/diff_new_pack.EFnpTH/_new  2014-11-12 00:20:55.000000000 +0100
@@ -1,20 +1,8 @@
-From 4e03c90bb48e6f9c9d9c9aed491fbcc5be684e7b Mon Sep 17 00:00:00 2001
-From: Gary Ching-Pang Lin <[email protected]>
-Date: Tue, 9 Jul 2013 12:17:31 +0800
-Subject: [PATCH] Fix build errors
-
----
- src/daemon.c    | 36 +++++++++++++++++++++++++++++-------
- src/efikeygen.c |  3 ++-
- src/password.c  |  3 ++-
- src/pesign.c    | 10 ++++++++--
- 4 files changed, 41 insertions(+), 11 deletions(-)
-
 diff --git a/src/daemon.c b/src/daemon.c
-index b2801b9..832a0ea 100644
+index c14b64b..5652ba1 100644
 --- a/src/daemon.c
 +++ b/src/daemon.c
-@@ -432,7 +432,11 @@ malformed:
+@@ -544,7 +544,11 @@ malformed:
                if (rc < 0) {
  err_attached:
                        pe_end(outpe);
@@ -27,7 +15,7 @@
                        goto finish;
                }
                ssize_t sigspace = calculate_signature_space(ctx->cms, outpe);
-@@ -450,21 +454,34 @@ err_attached:
+@@ -562,21 +566,34 @@ err_attached:
                                ctx->cms->num_signatures, outpe);
                pe_end(outpe);
        } else {
@@ -67,7 +55,7 @@
        }
  
  finish:
-@@ -996,7 +1013,12 @@ daemonize(cms_context *cms_ctx, char *certdir, int 
do_fork)
+@@ -1182,7 +1199,12 @@ daemonize(cms_context *cms_ctx, char *certdir, int 
do_fork)
                exit(1);
        }
  
@@ -81,23 +69,6 @@
  
        if (getuid() == 0) {
                /* process is running as root, drop privileges */
-diff --git a/src/efikeygen.c b/src/efikeygen.c
-index ac27acc..8c3e814 100644
---- a/src/efikeygen.c
-+++ b/src/efikeygen.c
-@@ -330,10 +330,11 @@ populate_extensions(cms_context *cms, CERTCertificate 
*cert,
- {
-       CERTAttribute *attr = NULL;
-       SECOidData *oid;
-+      int i;
- 
-       oid = SECOID_FindOIDByTag(SEC_OID_PKCS9_EXTENSION_REQUEST);
- 
--      for (int i; crq->attributes[i]; i++) {
-+      for (i = 0; crq->attributes[i]; i++) {
-               attr = crq->attributes[i];
-               if (attr->attrType.len != oid->oid.len)
-                       continue;
 diff --git a/src/password.c b/src/password.c
 index 43186df..9a9c911 100644
 --- a/src/password.c
@@ -113,7 +84,7 @@
        if (isTTY) {
            fprintf(output, "\n");
 diff --git a/src/pesign.c b/src/pesign.c
-index 890ebfc..fe77c9d 100644
+index ff4f2bf..40a1e43 100644
 --- a/src/pesign.c
 +++ b/src/pesign.c
 @@ -164,9 +164,15 @@ open_output(pesign_context *ctx)
@@ -134,6 +105,15 @@
  
        Pe_Cmd cmd = ctx->outfd == STDOUT_FILENO ? PE_C_RDWR : PE_C_RDWR_MMAP;
        ctx->outpe = pe_begin(ctx->outfd, cmd, NULL);
--- 
-1.8.1.4
-
+diff --git a/src/signed_data.c b/src/signed_data.c
+index 2fa1cdd..247ec57 100644
+--- a/src/signed_data.c
++++ b/src/signed_data.c
+@@ -133,6 +133,7 @@ generate_signerInfo_list(cms_context *cms, SpcSignerInfo 
***signerInfo_list_p, S
+       SpcSignerInfo **signerInfo_list;
+       int err, rc;
+ 
++      err = 0;
+       if (!signerInfo_list_p)
+               return -1;
+ 

++++++ pesign-install-supplementary-programs.patch ++++++
diff --git a/src/Makefile b/src/Makefile
index 4c86a2a..062b544 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -79,14 +79,16 @@ install :
        $(INSTALL) -m 755 pesign $(INSTALLROOT)$(PREFIX)/bin/
        $(INSTALL) -m 755 client $(INSTALLROOT)$(PREFIX)/bin/pesign-client
        $(INSTALL) -m 755 efikeygen $(INSTALLROOT)$(PREFIX)/bin/
-       #$(INSTALL) -m 755 pesigcheck $(INSTALLROOT)$(PREFIX)/bin/
+       $(INSTALL) -m 755 pesigcheck $(INSTALLROOT)$(PREFIX)/bin/
+       $(INSTALL) -m 755 efisiglist $(INSTALLROOT)$(PREFIX)/bin/
+       $(INSTALL) -m 755 authvar $(INSTALLROOT)$(PREFIX)/bin/
        $(INSTALL) -d -m 755 $(INSTALLROOT)/etc/popt.d/
        $(INSTALL) -m 644 pesign.popt $(INSTALLROOT)/etc/popt.d/
        $(INSTALL) -d -m 755 $(INSTALLROOT)/usr/share/man/man1/
        $(INSTALL) -m 644 pesign.1 $(INSTALLROOT)/usr/share/man/man1/
        $(INSTALL) -m 644 pesign-client.1 $(INSTALLROOT)/usr/share/man/man1/
        $(INSTALL) -m 644 efikeygen.1 $(INSTALLROOT)/usr/share/man/man1/
-       #$(INSTALL) -m 644 pesigcheck.1 $(INSTALLROOT)/usr/share/man/man1/
+       $(INSTALL) -m 644 pesigcheck.1 $(INSTALLROOT)/usr/share/man/man1/
        $(INSTALL) -d -m 755 $(INSTALLROOT)/etc/rpm/
        $(INSTALL) -m 644 macros.pesign $(INSTALLROOT)/etc/rpm/
 
++++++ pesign-run.patch ++++++
--- /var/tmp/diff_new_pack.EFnpTH/_old  2014-11-12 00:20:55.000000000 +0100
+++ /var/tmp/diff_new_pack.EFnpTH/_new  2014-11-12 00:20:55.000000000 +0100
@@ -1,8 +1,14 @@
-Index: pesign-0.109/src/Makefile
-===================================================================
---- pesign-0.109.orig/src/Makefile
-+++ pesign-0.109/src/Makefile
-@@ -79,7 +79,7 @@ install_sysvinit:
+---
+ src/Makefile        |    2 +-
+ src/daemon.h        |    4 ++--
+ src/macros.pesign   |    2 +-
+ src/pesign.sysvinit |   14 +++++++-------
+ src/tmpfiles.conf   |    2 +-
+ 5 files changed, 12 insertions(+), 12 deletions(-)
+
+--- a/src/Makefile
++++ b/src/Makefile
+@@ -74,7 +74,7 @@ install_sysvinit:
  
  install :
        $(INSTALL) -d -m 700 $(INSTALLROOT)/etc/pki/pesign/
@@ -11,25 +17,21 @@
        $(INSTALL) -d -m 755 $(INSTALLROOT)$(PREFIX)/bin/
        $(INSTALL) -m 755 pesign $(INSTALLROOT)$(PREFIX)/bin/
        $(INSTALL) -m 755 client $(INSTALLROOT)$(PREFIX)/bin/pesign-client
-Index: pesign-0.109/src/daemon.h
-===================================================================
---- pesign-0.109.orig/src/daemon.h
-+++ pesign-0.109/src/daemon.h
-@@ -47,7 +47,7 @@ typedef enum {
+--- a/src/daemon.h
++++ b/src/daemon.h
+@@ -49,7 +49,7 @@ typedef enum {
  } pesignd_cmd;
  
- #define PESIGND_VERSION 0xa3cf41cb
+ #define PESIGND_VERSION 0x2a9edaf0
 -#define SOCKPATH      "/var/run/pesign/socket"
 -#define PIDFILE               "/var/run/pesign.pid"
 +#define SOCKPATH      "/run/pesign/socket"
 +#define PIDFILE               "/run/pesign.pid"
  
  #endif /* DAEMON_H */
-Index: pesign-0.109/src/macros.pesign
-===================================================================
---- pesign-0.109.orig/src/macros.pesign
-+++ pesign-0.109/src/macros.pesign
-@@ -34,7 +34,7 @@
+--- a/src/macros.pesign
++++ b/src/macros.pesign
+@@ -36,7 +36,7 @@
        %{_pesign} -R ${sattrs}.sig -I ${sattrs} %{-i}                  \\\
                   --certdir ${nss} -c signer %{-o}                     \
        rm -rf ${sattrs} ${sattrs}.sig ${nss}                           \
@@ -38,10 +40,8 @@
        %{_pesign_client} -t "OpenSC Card (Fedora Signer)"              \\\
                          -c "/CN=Fedora Secure Boot Signer"            \\\
                          %{-i} %{-o} %{-e} %{-s} %{-C}                 \
-Index: pesign-0.109/src/pesign.sysvinit
-===================================================================
---- pesign-0.109.orig/src/pesign.sysvinit
-+++ pesign-0.109/src/pesign.sysvinit
+--- a/src/pesign.sysvinit
++++ b/src/pesign.sysvinit
 @@ -4,7 +4,7 @@
  #
  # chkconfig: - 50 50
@@ -81,10 +81,8 @@
      RETVAL=$?
      echo
      rm -f /var/lock/subsys/pesign
-Index: pesign-0.109/src/tmpfiles.conf
-===================================================================
---- pesign-0.109.orig/src/tmpfiles.conf
-+++ pesign-0.109/src/tmpfiles.conf
+--- a/src/tmpfiles.conf
++++ b/src/tmpfiles.conf
 @@ -1 +1 @@
 -D /var/run/pesign 0770 pesign pesign -
 +D /run/pesign 0770 pesign pesign -

++++++ pesign-suse-build.patch ++++++
--- /var/tmp/diff_new_pack.EFnpTH/_old  2014-11-12 00:20:55.000000000 +0100
+++ /var/tmp/diff_new_pack.EFnpTH/_new  2014-11-12 00:20:55.000000000 +0100
@@ -1,25 +1,18 @@
----
- Make.defaults       |    5 +++--
- Make.rules          |    4 ++--
- Makefile            |    4 ++--
- src/Makefile        |    9 +++++----
- src/pesign.sysvinit |   12 ++++++++----
- util/Makefile       |    6 +++---
- 6 files changed, 23 insertions(+), 17 deletions(-)
-
+diff --git a/Make.defaults b/Make.defaults
+index 95ba9d5..c03bf70 100644
 --- a/Make.defaults
 +++ b/Make.defaults
-@@ -5,7 +5,8 @@ HOSTARCH   = $(shell uname -m | sed s,i[
+@@ -5,7 +5,8 @@ HOSTARCH   = $(shell uname -m | sed s,i[3456789]86,ia32,)
  ARCH     := $(shell uname -m | sed s,i[3456789]86,ia32,)
  INCDIR           = -I$(TOPDIR)/include
  CPPFLAGS   = -DCONFIG_$(ARCH)
--CFLAGS           = $(ARCH3264) -g -O0 -fpic -Wall -fshort-wchar 
-fno-strict-aliasing -fno-merge-constants --std=gnu99 -D_GNU_SOURCE
-+OPTFLAGS   = -O0 -g
-+CFLAGS           = $(ARCH3264) $(OPTFLAGS) -fpic -Wall -fshort-wchar 
-fno-strict-aliasing -fno-merge-constants --std=gnu99 -D_GNU_SOURCE
+-CFLAGS     = -g -O0
++OPTFLAGS   = -g -O0
++CFLAGS     = $(OPTFLAGS)
+ BUILDFLAGS := $(CFLAGS) $(ARCH3264) -Wall -fshort-wchar -fno-strict-aliasing 
-fno-merge-constants --std=gnu99 -D_GNU_SOURCE -Wno-unused-result 
-Wno-unused-function
  ASFLAGS    = $(ARCH3264)
  LDFLAGS          = -nostdlib
- CCLDFLAGS  = -shared
-@@ -22,7 +23,7 @@ OBJCOPY       = $(bindir)objcopy
+@@ -23,7 +24,7 @@ OBJCOPY       = $(bindir)objcopy
  
  ifeq ($(ARCH),ia64)
    CFLAGS += -mfixed-range=f32-f127
@@ -28,9 +21,18 @@
  endif
  
  ifeq ($(ARCH), ia32)
+@@ -41,3 +42,6 @@ ifeq ($(ARCH), x86_64)
+   endif
+ endif
+ 
++ifeq ($(ARCH), aarch64)
++  LIBDIR := $(PREFIX)/lib64
++endif
+diff --git a/Make.rules b/Make.rules
+index 2749521..3553a03 100644
 --- a/Make.rules
 +++ b/Make.rules
-@@ -2,10 +2,10 @@
+@@ -2,10 +2,11 @@
        $(AR) -cvqs $@ $^
  
  % : %.o
@@ -38,33 +40,13 @@
 +      $(CC) -o $@ $^ $(foreach lib,$(LIBS),-l$(lib)) $(CCLDFLAGS) $(foreach 
pklib,$(PKLIBS), $(shell pkg-config --libs-only-l --libs-only-other $(pklib))) 
-lpthread
  
  %.so : 
--      $(CC) $(INCDIR) $(CFLAGS) -Wl,-soname,$(SONAME) $(CCLDFLAGS) $^ -o $@
-+      $(CC) $(INCDIR) $(CFLAGS) -Wl,-soname,$(SONAME) $^ $(CCLDFLAGS) -o $@
+       $(CC) $(INCDIR) $(BUILDFLAGS) -Wl,-soname,$(SONAME) $(CCLDFLAGS) $^ -o 
$@
++      $(CC) $(INCDIR) $(BUILDFLAGS) -Wl,-soname,$(SONAME) $^ $(CCLDFLAGS) -o 
$@
  
  %.o: %.c
-       $(CC) $(INCDIR) $(CFLAGS) $(CPPFLAGS) -c $< -o $@
---- a/util/Makefile
-+++ b/util/Makefile
-@@ -4,7 +4,7 @@ TOPDIR = $(SRCDIR)/..
- include $(TOPDIR)/Make.defaults
- 
- FORMAT=efi-app-$(HOSTARCH)
--LDFLAGS = -nostdlib -T $(LIBDIR)/gnuefi/elf_$(HOSTARCH)_efi.lds -shared 
-Bsymbolic $(LIBDIR)/gnuefi/crt0-efi-$(HOSTARCH).o -L$(LIBDIR)
-+LDFLAGS = -nostdlib -T $(LIBDIR)/elf_$(HOSTARCH)_efi.lds -shared -Bsymbolic 
$(LIBDIR)/crt0-efi-$(HOSTARCH).o -L$(LIBDIR)
- LIBS=-lefi -lgnuefi $(shell $(CC) -print-libgcc-file-name)
- CCLDFLAGS =
- CFLAGS = -I/usr/include/efi/ -I/usr/include/efi/$(HOSTARCH)/ 
-I/usr/include/efi/protocol -fpic -fshort-wchar -fno-reorder-functions 
-fno-strict-aliasing -fno-merge-constants -mno-red-zone 
-Wimplicit-function-declaration
-@@ -17,8 +17,8 @@ clean :
-       @rm -rfv *.o *.a *.so $(TARGETS)
- 
- install :
--      $(INSTALL) -d -m 755 $(INSTALLROOT)/boot/efi/EFI/redhat/
--      $(INSTALL) -m 755 *.efi $(INSTALLROOT)/boot/efi/EFI/redhat/
-+      $(INSTALL) -d -m 755 $(INSTALLROOT)/boot/efi/EFI/SuSE/
-+      $(INSTALL) -m 755 *.efi $(INSTALLROOT)/boot/efi/EFI/SuSE/
- 
- .PHONY: all clean install
- 
+       $(CC) $(INCDIR) $(BUILDFLAGS) $(CPPFLAGS) -c $< -o $@
+diff --git a/src/pesign.sysvinit b/src/pesign.sysvinit
+index ea37c58..120a49c 100644
 --- a/src/pesign.sysvinit
 +++ b/src/pesign.sysvinit
 @@ -6,21 +6,25 @@
@@ -97,3 +79,27 @@
      RETVAL=$?
      echo
      touch /var/lock/subsys/pesign
+diff --git a/util/Makefile b/util/Makefile
+index ff11cb8..5d4cebb 100644
+--- a/util/Makefile
++++ b/util/Makefile
+@@ -4,7 +4,7 @@ TOPDIR = $(SRCDIR)/..
+ include $(TOPDIR)/Make.defaults
+ 
+ FORMAT=efi-app-$(HOSTARCH)
+-LDFLAGS = -nostdlib -T $(LIBDIR)/gnuefi/elf_$(HOSTARCH)_efi.lds -shared 
-Bsymbolic $(LIBDIR)/gnuefi/crt0-efi-$(HOSTARCH).o -L$(LIBDIR)
++LDFLAGS = -nostdlib -T $(LIBDIR)/elf_$(HOSTARCH)_efi.lds -shared -Bsymbolic 
$(LIBDIR)/crt0-efi-$(HOSTARCH).o -L$(LIBDIR)
+ LIBS=-lefi -lgnuefi $(shell $(CC) -print-libgcc-file-name)
+ CCLDFLAGS =
+ BUILDFLAGS = -I/usr/include/efi/ -I/usr/include/efi/$(HOSTARCH)/ 
-I/usr/include/efi/protocol -fpic -fshort-wchar -fno-reorder-functions 
-fno-strict-aliasing -fno-merge-constants -mno-red-zone 
-Wimplicit-function-declaration
+@@ -17,8 +17,8 @@ clean :
+       @rm -rfv *.o *.a *.so $(TARGETS)
+ 
+ install :
+-      $(INSTALL) -d -m 755 $(INSTALLROOT)/boot/efi/EFI/redhat/
+-      $(INSTALL) -m 755 *.efi $(INSTALLROOT)/boot/efi/EFI/redhat/
++      $(INSTALL) -d -m 755 $(INSTALLROOT)/boot/efi/EFI/SuSE/
++      $(INSTALL) -m 755 *.efi $(INSTALLROOT)/boot/efi/EFI/SuSE/
+ 
+ .PHONY: all clean install
+ 

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to