Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package fwupdate.16052 for
openSUSE:Leap:15.2:Update checked in at 2021-04-09 00:41:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2:Update/fwupdate.16052 (Old)
and /work/SRC/openSUSE:Leap:15.2:Update/.fwupdate.16052.new.2401 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "fwupdate.16052"
Fri Apr 9 00:41:54 2021 rev:1 rq:883829 version:12
Changes:
--------
New Changes file:
--- /dev/null 2021-03-11 01:47:46.020784395 +0100
+++
/work/SRC/openSUSE:Leap:15.2:Update/.fwupdate.16052.new.2401/fwupdate.changes
2021-04-09 00:41:54.538111193 +0200
@@ -0,0 +1,190 @@
+-------------------------------------------------------------------
+Tue Mar 30 09:22:29 UTC 2021 - Gary Ching-Pang Lin <[email protected]>
+
+- Add fwupdate-bsc1182057-add-sbat-support.patch to add SBAT
+ section to EFI images (bsc#1182057)
+ + Also specify the vendor SBAT
+
+-------------------------------------------------------------------
+Wed Oct 16 06:58:36 UTC 2019 - Gary Ching-Pang Lin <[email protected]>
+
+- Add fwupdate-bsc1152928-update-aarch64-linker-script.patch to
+ update the linker script for AArch64 to match the one in
+ gnu-efi (bsc#1152928)
+
+-------------------------------------------------------------------
+Mon Jan 28 08:14:59 UTC 2019 - Gary Ching-Pang Lin <[email protected]>
+
+- Fix the destination of 'efi'-executables for i586 (FATE#326960)
+
+-------------------------------------------------------------------
+Thu Jan 17 16:10:37 UTC 2019 - [email protected]
+
+- Move 'efi'-executables to '/usr/share/efi' (FATE#326960)
+
+-------------------------------------------------------------------
+Tue Oct 23 03:42:04 UTC 2018 - Gary Ching-Pang Lin <[email protected]>
+
+- Amend the spec file to avoid fwup*.efi from being removed
+ mistakenly (bsc#1112832)
+
+-------------------------------------------------------------------
+Thu Jul 19 21:56:34 UTC 2018 - [email protected]
+
+- Update to version 12 (FATE#326702)
+ + Better CI.
+ + Limit how large our WMI buffer can be.
+ + Add fwup_version() because fwupd wants it.
+ + Fix linking on (some) platforms that need libgcc_eh.a.
+ + abicheck improvements.
+ + Default to creating a UX capsule, whatever it may actually do.
+- Refresh fwupdate-suse-build.patch with quilt.
+- Use url for source tarball and license tag for COPYING.
+
+-------------------------------------------------------------------
+Thu Jun 28 06:25:59 UTC 2018 - [email protected]
+
+- Correct the requirement of efivar-devel version
+
+-------------------------------------------------------------------
+Wed Jun 20 11:59:51 UTC 2018 - [email protected]
+
+- Update to version 11
+ + lots of fixes from cov-scan and clang analyzer
+ + support for Lenovo machines
+ + experimental support for UI Capsules
+ + Dell WMI support
+ + lots of bugfixes
+ + configurable EFI ESP location by setting ESPMOUNTPOINT or the git
+ config property fwupdate.espmountdir during the build.
+ + Lots of coverity work
+ + ABI compatibility checking during the release process
+ + Make subdirectory builds work
+- removed fwupdate-list-firmware-types.patch
+
+-------------------------------------------------------------------
+Mon Apr 9 03:37:59 UTC 2018 - [email protected]
+
+- Require shim only for x86_64 (bsc#1088434)
+
+-------------------------------------------------------------------
+Fri Feb 9 09:58:45 UTC 2018 - [email protected]
+
+- Remove fwupdate-bsc988886-add-leading-space.patch and bump the
+ shim version requirement since we got the new signature for shim
+ (bsc#1054712)
+
+-------------------------------------------------------------------
+Mon Dec 18 10:42:01 CET 2017 - [email protected]
+
+- bring back accidental removed needssslcertforbuild
+
+-------------------------------------------------------------------
+Fri Dec 15 15:37:49 UTC 2017 - [email protected]
+
+- EFI updates through fwupdate are also possible on Aarch64.
+ smbios support is only relevant for some Dell machines, i.e.
+ x86 only.
+
+-------------------------------------------------------------------
+Thu Dec 14 14:37:10 CET 2017 - [email protected]
+
+- disable _unique_debug_names fow now
+ fwupdate wants to install it's own debug files, but doesn't know
+ about this option yet
+
+-------------------------------------------------------------------
+Mon Nov 20 03:10:06 UTC 2017 - [email protected]
+
+- Add back fwupdate-bsc988886-add-leading-space.patch due to the
+ long pending shim signature request. Also drop the shim version
+ requirement.
+
+-------------------------------------------------------------------
+Tue Aug 29 10:24:16 UTC 2017 - [email protected]
+
+- Update to 9+git21.gcd8f7d7 (FATE#322805)
+- Add the new BuildRequires: libsmbios-devel
+- Update the so version of libfwup
+- Refresh fwupdate-suse-build.patch
+- Remove the upstream patches
+ + fwupdate-fix-efivar-0.24-api.patch
+ + fwupdate-bsc988000-set-a-mode-with-efi_set_variable.patch
+ + fwupdate-unset-immutable-flag.patch
+- Drop fwupdate-bsc988886-add-leading-space.patch (Need shim >= 11)
+- Add fwupdate-list-firmware-types.patch to list the supported
+ firmware types
+
+-------------------------------------------------------------------
+Thu Mar 30 04:10:51 UTC 2017 - [email protected]
+
+- Remove the debug source and info of the EFI files when disabling
+ the debug build (bsc#1031554)
+ + Also remove the efi-debuginfo subpackage since the debug file
+ is packaged correctly now.
+
+-------------------------------------------------------------------
+Thu Mar 9 15:43:29 UTC 2017 - [email protected]
+
+- Enable efivar API patch based on pkg-config data and require
+ at least gnu-efi-3.0.2. (ramification of FATE#322108)
+
+-------------------------------------------------------------------
+Thu Jul 28 06:38:09 UTC 2016 - [email protected]
+
+- Relax the requirement of efivar-devel and disable the efivar API
+ patch for openSUSE Leap 42.x and SLE
+
+-------------------------------------------------------------------
+Thu Jul 21 02:11:31 UTC 2016 - [email protected]
+
+- Amend the spec file to detect SLE/openSUSE (bsc#990228)
+
+-------------------------------------------------------------------
+Fri Jul 15 03:45:05 UTC 2016 - [email protected]
+
+- Add fwupdate-fix-efivar-0.24-api.patch to fix the compilation
+ errors due to the change of efivar APIs
+- Bump BuildRequires of efivar-devel to 0.24
+- Add fwupdate-unset-immutable-flag.patch to unset the immutable
+ flag before clean the EFI variables (bsc#964726)
+- Amend fwupdate-suse-build.patch (FATE#319345)
+ + omit the build-id and package fwudpate-efi-debuginfo in a less
+ hacky way.
+ + Use the RPM_OPT_FLAGS for the user space programs
+- Add fwupdate-bsc988886-add-leading-space.patch to add the leading
+ space to the load option (bsc#988886)
+
+-------------------------------------------------------------------
+Thu Jul 7 03:11:01 UTC 2016 - [email protected]
+
+- Correct the EFI dir for SLE-12-SP2 (FATE#319345)
+- Install fwup*.efi to the EFI system partition (FATE#319345)
+- Add fwupdate-bsc988000-set-a-mode-with-efi_set_variable.patch to
+ fix the file mode (bsc#988000)
+
+-------------------------------------------------------------------
+Sun May 8 19:10:52 UTC 2016 - [email protected]
+
+- Drop unnecessary specfile elements.
+ fwupdate seems not required for libfwup, remove the requirement.
+- Correct requires of fwupdate-devel
+- Use source URLs
+
+-------------------------------------------------------------------
+Fri May 6 15:58:30 UTC 2016 - [email protected]
+
+- own bash-completion directory as no longer provided by
+ util-linux (boo#977259)
+
+-------------------------------------------------------------------
+Mon Mar 28 09:16:51 UTC 2016 - [email protected]
+
+- Add the missing Group
+
+-------------------------------------------------------------------
+Wed Mar 2 08:24:12 UTC 2016 - [email protected]
+
+- initial import 0.5 (FATE#319345)
+- Add fwupdate-suse-build.patch to change the destination of the
+ EFI files and remove the po files
New:
----
fwupdate-12.tar.bz2
fwupdate-bsc1152928-update-aarch64-linker-script.patch
fwupdate-bsc1182057-add-sbat-support.patch
fwupdate-suse-build.patch
fwupdate.changes
fwupdate.spec
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ fwupdate.spec ++++++
#
# spec file for package fwupdate
#
# 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
# 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 https://bugs.opensuse.org/
#
# needssslcertforbuild
%ifarch %{x86} x86_64
# as soon as the kernel support SMBIOS calls over ACPI-WMI,
# this is no longer needed
%bcond_without libsmbios
%else
%bcond_with libsmbios
%endif
Name: fwupdate
Version: 12
Release: 0
Summary: Tools to manage UEFI firmware updates
License: GPL-2.0-or-later
Group: System/Base
Url: https://github.com/rhinstaller/fwupdate
Source0:
https://github.com/rhboot/fwupdate/releases/download/%{version}/%{name}-%{version}.tar.bz2
Patch0: %{name}-suse-build.patch
Patch1: %{name}-bsc1152928-update-aarch64-linker-script.patch
Patch2: %{name}-bsc1182057-add-sbat-support.patch
BuildRequires: efivar-devel >= 34
BuildRequires: elfutils
BuildRequires: fdupes
BuildRequires: gettext
BuildRequires: gnu-efi >= 3.0.2
%if %{with libsmbios}
BuildRequires: libsmbios-devel
%endif
BuildRequires: pesign-obs-integration
BuildRequires: pkg-config
BuildRequires: popt-devel
BuildRequires: systemd-rpm-macros
Requires: %{name}-efi
Requires: efibootmgr
Requires: libfwup1 = %{version}-%{release}
%ifarch x86_64
Requires: shim >= 11
%endif
%{?systemd_requires}
ExclusiveArch: x86_64 %{ix86} aarch64
%if 0%{?is_opensuse}
%global efidir opensuse
%else
%global efidir sles
%endif
%undefine _unique_debug_names
%if 0%{?suse_version} > 1500
%define sysefibasedir %{_datadir}/efi
%define sysefidir %{sysefibasedir}/%{_target_cpu}
%else
%define sysefidir %{_libdir}/efi
%endif
%description
fwupdate provides a simple command line interface to the UEFI firmware updates.
%package -n libfwup1
Summary: Library to manage UEFI firmware updates
Group: System/Libraries
%description -n libfwup1
Library to allow for the simple manipulation of UEFI firmware updates.
%package devel
Summary: Development headers for libfwup
Group: Development/Libraries/Other
Requires: efivar-devel >= 34
Requires: fwupdate = %{version}-%{release}
Requires: libfwup1 = %{version}-%{release}
%description devel
development headers required to use libfwup.
%package efi
Summary: UEFI binaries used by libfwup
Group: System/Base
%ifarch x86_64
Requires: shim
%endif
%description efi
UEFI binaries used by libfwup to update the firmware.
%prep
%setup -q -n %{name}-%{version}
%patch0 -p1
%patch1 -p1
%patch2 -p1
%build
distro_id="sle"
distro_name="SUSE Linux Enterprise"
distro_sbat=1
sbat="fwupdate.${distro_id},${distro_sbat},${distro_name},%{name},%{version},mail:[email protected]"
echo ${sbat} >> data/sbat.csv
make PJONES="$RPM_OPT_FLAGS" libdir=%{_libdir} bindir=%{_bindir} \
EFIDIR=%{efidir} GNUEFIDIR=%{_libdir} TARGETDIR=%{sysefidir} \
%{?_smp_mflags}
%install
export BRP_PESIGN_FILES='%{_libdir}/efi/fwup*.efi'
%make_install libdir=%{_libdir} bindir=%{_bindir} mandir=%{_mandir} \
localedir=%{_datadir}/locale/ includedir=%{_includedir} \
libexecdir=%{_libexecdir} datadir=%{_datadir} EFIDIR=%{efidir} \
TARGETDIR=%{sysefidir}
echo 0%{?_build_create_debug}
%if 0%{?_build_create_debug} == 0
rm -rf %{buildroot}/usr/src/debug/%{name}*
rm -f %{buildroot}/usr/lib/debug/%{sysefidir}/fwup*.efi.debug
%endif
%fdupes %{buildroot}%{_mandir}/*
# create rcsymlink
mkdir -p %{buildroot}%{_sbindir}
ln -sv %{_sbindir}/service %{buildroot}%{_sbindir}/rcfwupdate-cleanup
%pre
%service_add_pre fwupdate-cleanup.service
%post
%service_add_post fwupdate-cleanup.service
%preun
%service_del_preun fwupdate-cleanup.service
%postun
%service_del_postun fwupdate-cleanup.service
%post -n libfwup1 -p /sbin/ldconfig
%postun -n libfwup1 -p /sbin/ldconfig
%posttrans -n %{name}-efi
# Create the directory for the firwmare update capsule
mkdir -p /boot/efi/EFI/%{efidir}/fw
# Install the UEFI firmware update program
cp %{sysefidir}/fwup*.efi /boot/efi/EFI/%{efidir}
%postun -n %{name}-efi
if [ "$1" = 0 ] ; then
# Remove all the capsules
rm -rf /boot/efi/EFI/%{efidir}/fw
# Remove the UEFI firmware update program
rm -f /boot/efi/EFI/%{efidir}/fwup*.efi
fi
%files
%defattr(-,root,root)
%license COPYING
%{_bindir}/fwupdate
%doc %{_mandir}/man1/*
%dir %{_datadir}/bash-completion
%dir %{_datadir}/bash-completion/completions
%{_datadir}/bash-completion/completions/fwupdate
%{_unitdir}/fwupdate-cleanup.service
%ghost %attr(0755,root,root) %dir %{_rundir}/fwupdate/
%attr(0755,root,root) %dir %{_libexecdir}/fwupdate/
%{_libexecdir}/fwupdate/cleanup
%{_sbindir}/rcfwupdate-cleanup
%files devel
%defattr(-,root,root)
%doc %{_mandir}/man3/*
%{_includedir}/*
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%files -n libfwup1
%defattr(-,root,root)
%{_libdir}/*.so.*
%files efi
%defattr(-,root,root)
%dir %{?sysefibasedir}
%dir %{sysefidir}
%{sysefidir}/fwup*.efi
%changelog
++++++ fwupdate-bsc1152928-update-aarch64-linker-script.patch ++++++
diff --git a/efi/elf_aarch64_efi.lds b/efi/elf_aarch64_efi.lds
index 365692d..836d982 100644
--- a/efi/elf_aarch64_efi.lds
+++ b/efi/elf_aarch64_efi.lds
@@ -4,7 +4,7 @@ ENTRY(_start)
SECTIONS
{
.text 0x0 : {
- _text = .;
+ _text = .;
*(.text.head)
*(.text)
*(.text.*)
@@ -12,10 +12,11 @@ SECTIONS
*(.srodata)
*(.rodata*)
. = ALIGN(16);
- _etext = .;
}
+ _etext = .;
+ _text_size = . - _text;
.dynamic : { *(.dynamic) }
- .data :
+ .data : ALIGN(4096)
{
_data = .;
*(.sdata)
@@ -37,20 +38,21 @@ SECTIONS
. = ALIGN(16);
_bss_end = .;
}
- .note.gnu.build-id : { *(.note.gnu.build-id) }
.rela.dyn : { *(.rela.dyn) }
.rela.plt : { *(.rela.plt) }
.rela.got : { *(.rela.got) }
.rela.data : { *(.rela.data) *(.rela.data*) }
+ . = ALIGN(512);
_edata = .;
- _data_size = . - _etext;
+ _data_size = . - _data;
. = ALIGN(4096);
.dynsym : { *(.dynsym) }
. = ALIGN(4096);
.dynstr : { *(.dynstr) }
. = ALIGN(4096);
+ .note.gnu.build-id : { *(.note.gnu.build-id) }
/DISCARD/ :
{
*(.rel.reloc)
++++++ fwupdate-bsc1182057-add-sbat-support.patch ++++++
>From ed4d0fb9c5148ab4d534f4fbcde5c368eab3b0ee Mon Sep 17 00:00:00 2001
From: Gary Lin <[email protected]>
Date: Wed, 24 Feb 2021 16:45:40 +0800
Subject: [PATCH] Add SBAT Support to EFI binaries
Signed-off-by: Gary Lin <[email protected]>
---
data/sbat.csv | 2 ++
efi/Makefile | 13 ++++++++++---
efi/elf_aarch64_efi.lds | 10 ++++++++++
efi/elf_ia32_efi.lds | 8 ++++++++
efi/elf_x86_64_efi.lds | 8 ++++++++
5 files changed, 38 insertions(+), 3 deletions(-)
create mode 100644 data/sbat.csv
diff --git a/data/sbat.csv b/data/sbat.csv
new file mode 100644
index 0000000..5103ee5
--- /dev/null
+++ b/data/sbat.csv
@@ -0,0 +1,2 @@
+sbat,1,SBAT Version,sbat,1,https://github.com/rhboot/shim/blob/main/SBAT.md
+fwupdate,1,Firmware Update
Utility,fwupdate,12,https://github.com/rhboot/fwupdate
diff --git a/efi/Makefile b/efi/Makefile
index f4d079e..f27fe65 100644
--- a/efi/Makefile
+++ b/efi/Makefile
@@ -8,6 +8,7 @@ endif
include $(TOP)/Make.defaults
include $(TOP)/Make.rules
VPATH = $(TOP)/efi
+SBATPATH ?= $(TOP)/data/sbat.csv
CFLAGS ?= -Og -g3 -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 \
-fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 \
@@ -71,6 +72,12 @@ endif
TARGETS = fakeesrt2.efi fakeesrt.efi dumpesrt.efi $(FWUP).efi mkvar.efi
dumpf.efi mkvar2.efi
+sbat.o : $(SBATPATH)
+ $(CC) -x c -c -o $@ /dev/null
+ $(OBJCOPY) --add-section .sbat=$(SBATPATH) \
+ --set-section-flags .sbat=contents,alloc,load,readonly,data \
+ $@
+
all : $(TARGETS)
abidw abicheck :
@@ -93,7 +100,7 @@ ifneq ($(OBJCOPY_GTE224),1)
$(error objcopy >= 2.24 is required)
endif
$(OBJCOPY) -j .text -j .sdata -j .data -j .dynamic -j .dynsym \
- -j .rel* -j .rela* -j .reloc -j .eh_frame \
+ -j .rel* -j .rela* -j .reloc -j .eh_frame -j .sbat \
$(FORMAT) $^ $@
%.efi.debug : %.so
@@ -101,7 +108,7 @@ ifneq ($(OBJCOPY_GTE224),1)
$(error objcopy >= 2.24 is required)
endif
$(OBJCOPY) -j .text -j .sdata -j .data -j .dynamic -j .dynsym \
- -j .rel* -j .rela* -j .reloc -j .eh_frame \
+ -j .rel* -j .rela* -j .reloc -j .eh_frame -j .sbat \
-j .debug* -j .note.gnu.build-id \
$^ $@
@@ -109,7 +116,7 @@ endif
$(READELF) -n $^ | grep "Build ID:" | \
sed -e 's/^.*Build ID: //' -e 's,^\(..\),\1/,' > $@
-%.so : %.o
+%.so : %.o sbat.o
$(CC) $(CCLDFLAGS) -o $@ $^ -lefi -lgnuefi \
$(LIBGCC) \
-T elf_$(ARCH)_efi.lds
diff --git a/efi/elf_aarch64_efi.lds b/efi/elf_aarch64_efi.lds
index 836d982..9b4bc59 100644
--- a/efi/elf_aarch64_efi.lds
+++ b/efi/elf_aarch64_efi.lds
@@ -39,6 +39,16 @@ SECTIONS
_bss_end = .;
}
+ . = ALIGN(4096);
+ .sbat :
+ {
+ _sbat = .;
+ *(.sbat)
+ *(.sbat.*)
+ _esbat = .;
+ }
+ . = ALIGN(4096);
+
.rela.dyn : { *(.rela.dyn) }
.rela.plt : { *(.rela.plt) }
.rela.got : { *(.rela.got) }
diff --git a/efi/elf_ia32_efi.lds b/efi/elf_ia32_efi.lds
index 2308b8a..25ed142 100644
--- a/efi/elf_ia32_efi.lds
+++ b/efi/elf_ia32_efi.lds
@@ -47,6 +47,14 @@ SECTIONS
}
.note.gnu.build-id : { *(.note.gnu.build-id) }
+ . = ALIGN(4096);
+ .sbat :
+ {
+ _sbat = .;
+ *(.sbat)
+ *(.sbat.*)
+ _esbat = .;
+ }
. = ALIGN(4096);
.dynamic : { *(.dynamic) }
. = ALIGN(4096);
diff --git a/efi/elf_x86_64_efi.lds b/efi/elf_x86_64_efi.lds
index 73a79e7..9936936 100644
--- a/efi/elf_x86_64_efi.lds
+++ b/efi/elf_x86_64_efi.lds
@@ -47,6 +47,14 @@ SECTIONS
}
.note.gnu.build-id : { *(.note.gnu.build-id) }
+ . = ALIGN(4096);
+ .sbat :
+ {
+ _sbat = .;
+ *(.sbat)
+ *(.sbat.*)
+ _esbat = .;
+ }
. = ALIGN(4096);
.dynamic : { *(.dynamic) }
. = ALIGN(4096);
--
2.29.2
++++++ fwupdate-suse-build.patch ++++++
Index: fwupdate-12/efi/Makefile
===================================================================
--- fwupdate-12.orig/efi/Makefile 2018-06-28 20:00:19.000000000 +0200
+++ fwupdate-12/efi/Makefile 2018-07-20 00:03:26.235908973 +0200
@@ -128,9 +128,6 @@ define inst =
$(INSTALL) -m 755 $(1) $(DESTDIR)$(TARGETDIR)/$(1)
$(INSTALL) -d -m 755 $(DESTDIR)$(DEBUGINFO)$(TARGETDIR)/
$(INSTALL) -m 755 $(1).debug $(DESTDIR)$(DEBUGINFO)$(TARGETDIR)/$(1).debug
- $(INSTALL) -d -m 755 $(DESTDIR)$(DEBUGINFO)/.build-id/$(buildiddir)
- ln -sf ../../../../$(TARGETDIR)/$(1)
$(DESTDIR)$(DEBUGINFO)/.build-id/$(buildiddir)/$(buildidname)
- ln -sf ../../$(TARGETDIR)$(1).debug
$(DESTDIR)$(DEBUGINFO)/.build-id/$(buildiddir)/$(buildidname).debug
endef
install : | check_efidir_error
Index: fwupdate-12/linux/Makefile
===================================================================
--- fwupdate-12.orig/linux/Makefile 2018-06-28 20:00:19.000000000 +0200
+++ fwupdate-12/linux/Makefile 2018-07-20 00:03:26.235908973 +0200
@@ -133,8 +133,6 @@ install : check_efidir_error all
$(foreach x, $(PCTARGETS), $(INSTALL) -m 644 $(x) $(DESTDIR)$(pcdir) ;)
$(INSTALL) -d -m 755 $(DESTDIR)$(includedir)/
$(INSTALL) -m 644 $(INCTARGETS) $(DESTDIR)$(includedir)/
- $(INSTALL) -d -m 755 $(DESTDIR)$(localedir)/en/
- $(INSTALL) -m 644 $(POTARGETS) $(DESTDIR)$(localedir)/en/
$(INSTALL) -d -m 755 $(DESTDIR)$(bindir)/
$(foreach x, $(BINTARGETS), $(INSTALL) -m 755 $(x) $(DESTDIR)$(bindir);)
$(foreach x, $(wildcard *.so.1.$(VERSION)), \