Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade: libsigsegv version to 2.14 #11056

Open
wants to merge 1 commit into
base: 3.0-dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions SPECS-EXTENDED/libsigsegv/libsigsegv.signatures.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"Signatures": {
"libsigsegv-2.11.tar.gz": "dd7c2eb2ef6c47189406d562c1dc0f96f2fc808036834d596075d58377e37a18"
"libsigsegv-2.14.tar.gz": "cdac3941803364cf81a908499beb79c200ead60b6b5b40cad124fd1e06caa295"
}
}
}
47 changes: 18 additions & 29 deletions SPECS-EXTENDED/libsigsegv/libsigsegv.spec
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,16 @@ Distribution: Azure Linux

Summary: Library for handling page faults in user mode
Name: libsigsegv
Version: 2.11
Release: 11%{?dist}

License: GPLv2+
Version: 2.14
Release: 1%{?dist}
License: GPL-2.0-or-later
URL: https://www.gnu.org/software/libsigsegv/
Source0: http://ftp.gnu.org/gnu/libsigsegv/libsigsegv-%{version}.tar.gz
Patch0: configure.patch
Patch0: configure.patch

BuildRequires: automake libtool
BuildRequires: gcc
BuildRequires: make

%description
This is a library for handling page faults in user mode. A page fault
Expand All @@ -38,35 +39,24 @@ Requires: %{name}-devel%{?_isa} = %{version}-%{release}


%prep
%setup -q
%patch 0 -p1
%autosetup -p1


%build
# for patch1, rpaths
autoreconf -ivf

%configure \
--enable-shared \
--disable-silent-rules \
--enable-static

make %{?_smp_mflags}

%make_build

%install
make install DESTDIR=%{buildroot}

## FIXME/TODO: review if this is needed anymore, particularly after usrmove

# move shlib to %{_lib}
pushd %{buildroot}%{_libdir}
mkdir ../../%{_lib}
mv libsigsegv.so.2* ../../%{_lib}/
ln -sf ../../%{_lib}/libsigsegv.so.2 %{buildroot}%{_libdir}/libsigsegv.so
popd


## unpackaged files
rm -fv %{buildroot}%{_libdir}/lib*.la
%make_install
# remove libtool archives
find %{buildroot} -type f -name "*.la" -delete


%check
Expand All @@ -76,13 +66,9 @@ make check
%ldconfig_scriptlets

%files
%doc AUTHORS NEWS README
%license COPYING

/%{_lib}/libsigsegv.so.2*



%doc AUTHORS NEWS README
%{_libdir}/libsigsegv.so.2*

%files devel
%{_libdir}/libsigsegv.so
Expand All @@ -93,6 +79,9 @@ make check


%changelog
* Mon Nov 12 2024 Sumit Jena <[email protected]> - 2.14-1
- Update to version 2.14

* Fri Oct 15 2021 Pawel Winogrodzki <[email protected]> - 2.11-11
- Initial CBL-Mariner import from Fedora 32 (license: MIT).

Expand Down
4 changes: 2 additions & 2 deletions cgmanifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -10911,8 +10911,8 @@
"type": "other",
"other": {
"name": "libsigsegv",
"version": "2.11",
"downloadUrl": "http://ftp.gnu.org/gnu/libsigsegv/libsigsegv-2.11.tar.gz"
"version": "2.14",
"downloadUrl": "http://ftp.gnu.org/gnu/libsigsegv/libsigsegv-2.14.tar.gz "
}
}
},
Expand Down