Sync from SUSE:ALP:Source:Standard:1.0 saltbundle-libffi revision 893f18b0927c3725514435230dfca56c

This commit is contained in:
Adrian Schröter 2024-07-12 12:14:39 +02:00
commit 336bc88a3d
5 changed files with 218 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

BIN
libffi-3.4.4.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -0,0 +1 @@
addFilter('shlib-policy-name-error')

86
saltbundle-libffi.changes Normal file
View File

@ -0,0 +1,86 @@
-------------------------------------------------------------------
Tue Apr 23 08:37:47 UTC 2024 - Victor Zhestkov <vzhestkov@suse.com>
- Align with libffi_3_4 from SLE 15 SP5 Update
- Update to 3.4.4:
* Important aarch64 fixes, including support for linux builds
with Link Time Optimization (-flto).
* Fix x86 stdcall stack alignment.
* Fix x86 Windows msvc assembler compatibility.
* Fix moxie and or1k small structure args.
- Update to 3.4.3:
* All struct args are passed by value, regardless of size, as per ABIs.
* Enable static trampolines for Cygwin.
* Add support for Loongson's LoongArch64 architecture.
* Fix x32 static trampolines.
* Fix 32-bit x86 stdcall stack corruption.
* Fix ILP32 aarch64 support.
- Update to 3.4.2:
* Add static trampoline support for Linux on x86_64 and ARM64.
* Add support for Alibaba's CSKY architecture.
* Add support for Kalray's KVX architecture.
* Add support for Intel Control-flow Enforcement Technology (CET).
* Add support for ARM Pointer Authentication (PA).
* Fix 32-bit PPC regression.
* Fix MIPS soft-float problem.
* Enable tmpdir override with the $LIBFFI_TMPDIR environment variable.
* Enable compatibility with MSVC runtime stack checking.
* Reject float and small integer argument in ffi_prep_cif_var().
* Callers must promote these types themselves.
- Added:
* saltbundle-libffi-rpmlintrc
- Removed:
* baselibs.conf
* libffi-include-location.patch
* libffi-riscv.patch
-------------------------------------------------------------------
Wed Dec 20 15:26:21 UTC 2023 - Victor Zhestkov <vzhestkov@suse.com>
- First submission of saltbundle-libffi based on libffi of SLE15
-------------------------------------------------------------------
Mon Mar 12 10:57:40 UTC 2018 - schwab@suse.de
- libffi-riscv.patch: add support for RISC-V
-------------------------------------------------------------------
Thu Feb 22 15:10:35 UTC 2018 - fvogt@suse.com
- Use %license (boo#1082318)
-------------------------------------------------------------------
Tue Feb 20 09:55:15 UTC 2018 - schwab@suse.de
- Remove aarch64-struct-by-value.patch, needs to be fixed in python.
-------------------------------------------------------------------
Mon Sep 18 10:46:22 UTC 2017 - schwab@suse.de
- aarch64-struct-by-value.patch: fix passing struct by value on aarch64
-------------------------------------------------------------------
Tue Mar 14 08:14:20 UTC 2017 - dleuenberger@suse.com
- Add baselibs.conf in order to build libffi7-32bit (boo#1029263).
-------------------------------------------------------------------
Tue Feb 28 14:51:07 UTC 2017 - rguenther@suse.com
- Change License to MIT.
-------------------------------------------------------------------
Tue Feb 7 23:21:39 UTC 2017 - jengelh@inai.de
- Provide a _service file (and run it)
-------------------------------------------------------------------
Tue Feb 7 09:10:05 UTC 2017 - rguenther@suse.com
- Package libffi from https://github.com/libffi at 60e4250a77eb3

105
saltbundle-libffi.spec Normal file
View File

@ -0,0 +1,105 @@
#
# spec file for package saltbundle-libffi
#
# Copyright (c) 2024 SUSE LLC
#
# 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/
#
%define libffi_sover 8
Name: saltbundle-libffi
Version: 3.4.4
Release: 0
Summary: Foreign Function Interface Library
License: MIT
Group: Development/Languages/C and C++
URL: https://sourceware.org/libffi/
Source: https://github.com/libffi/libffi/releases/download/v%{version}/libffi-%{version}.tar.gz
Source100: saltbundle-libffi-rpmlintrc
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: gcc-c++
BuildRequires: libtool
BuildRequires: texinfo
BuildRequires: pkg-config
# for make check
#BuildRequires: dejagnu
#BuildRequires: expect
%description
The libffi library provides a portable, high level programming
interface to various calling conventions. This allows a programmer to
call any function specified by a call interface description at run
time.
%package devel
Summary: Include files for development with libffi
Group: Development/Languages/C and C++
Requires: saltbundle-libffi%{libffi_sover} = %{version}
%description devel
The libffi library provides a portable, high level programming
interface to various calling conventions. This allows a programmer to
call any function specified by a call interface description at run
time.
%package -n saltbundle-libffi%{libffi_sover}
Summary: Foreign Function Interface Library
Group: System/Libraries
%description -n saltbundle-libffi%{libffi_sover}
The libffi library provides a portable, high level programming
interface to various calling conventions. This allows a programmer to
call any function specified by a call interface description at run
time.
%post -n saltbundle-libffi%{libffi_sover} -p /sbin/ldconfig
%postun -n saltbundle-libffi%{libffi_sover} -p /sbin/ldconfig
%prep
%autosetup -p1 -n libffi-%{version}
%build
# https://github.com/libffi/libffi/pull/647
%configure --disable-exec-static-tramp
%make_build
%check
# do not disable "make check", FIX THE BUGS!
# %make_build check
%install
%make_install
# do not package the static library
rm %{buildroot}%{_libdir}/libffi.a
rm %{buildroot}%{_libdir}/libffi.la
rm -rf %{buildroot}%{_infodir}/dir
%files devel
%{_libdir}/libffi.so
%{_includedir}/ffi.h
%{_includedir}/ffitarget.h
%{_libdir}/pkgconfig/libffi.pc
%doc %{_mandir}/man3/ffi.3%{?ext_man}
%doc %{_mandir}/man3/ffi_call.3%{?ext_man}
%doc %{_mandir}/man3/ffi_prep_cif.3%{?ext_man}
%doc %{_mandir}/man3/ffi_prep_cif_var.3%{?ext_man}
%doc %{_infodir}/libffi.info%{?ext_info}
%files -n saltbundle-libffi%{libffi_sover}
%license LICENSE
%{_libdir}/libffi.so.%{libffi_sover}*
%changelog