|
|
@ -1,7 +1,7 @@
|
|
|
|
Summary: C library for portable packet creation and injection
|
|
|
|
Summary: C library for portable packet creation and injection
|
|
|
|
Name: libnet
|
|
|
|
Name: libnet
|
|
|
|
Version: 1.2
|
|
|
|
Version: 1.2
|
|
|
|
Release: 6%{?dist}
|
|
|
|
Release: 7%{?dist}
|
|
|
|
License: BSD
|
|
|
|
License: BSD
|
|
|
|
URL: https://github.com/libnet/libnet
|
|
|
|
URL: https://github.com/libnet/libnet
|
|
|
|
# This used to be https://github.com/libnet/libnet/releases/download/v%%{version}/%%{name}-%%{version}.tar.gz
|
|
|
|
# This used to be https://github.com/libnet/libnet/releases/download/v%%{version}/%%{name}-%%{version}.tar.gz
|
|
|
@ -13,6 +13,7 @@ Source0: libnet-1.2-repack.tar.gz
|
|
|
|
Patch0: libnet-config.patch
|
|
|
|
Patch0: libnet-config.patch
|
|
|
|
Patch1: libnet_pblock.patch
|
|
|
|
Patch1: libnet_pblock.patch
|
|
|
|
Patch2: https://patch-diff.githubusercontent.com/raw/libnet/libnet/pull/120.patch
|
|
|
|
Patch2: https://patch-diff.githubusercontent.com/raw/libnet/libnet/pull/120.patch
|
|
|
|
|
|
|
|
Patch3: https://patch-diff.githubusercontent.com/raw/libnet/libnet/pull/102.patch
|
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: %{_bindir}/pod2man
|
|
|
|
BuildRequires: %{_bindir}/pod2man
|
|
|
@ -55,6 +56,7 @@ developing applications that use libnet.
|
|
|
|
%patch0 -p1
|
|
|
|
%patch0 -p1
|
|
|
|
%patch1 -p1
|
|
|
|
%patch1 -p1
|
|
|
|
%patch2 -p1
|
|
|
|
%patch2 -p1
|
|
|
|
|
|
|
|
%patch3 -p1
|
|
|
|
# Avoid library soname bump (https://github.com/libnet/libnet/issues/115)
|
|
|
|
# Avoid library soname bump (https://github.com/libnet/libnet/issues/115)
|
|
|
|
sed -e 's/-version-info 9:0:0/-version-info 9:0:8/' -i src/Makefile.{am,in}
|
|
|
|
sed -e 's/-version-info 9:0:0/-version-info 9:0:8/' -i src/Makefile.{am,in}
|
|
|
|
|
|
|
|
|
|
|
@ -104,8 +106,12 @@ done
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Wed Mar 15 2023 MSVSphere Packaging Team <packager@msvsphere.ru> - 1.2-6
|
|
|
|
* Wed Oct 16 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 1.2-7
|
|
|
|
- Rebuilt for MSVSphere 9.1.
|
|
|
|
- Rebuilt for MSVSphere 9.5
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Mar 07 2024 Adrian Reber <areber@redhat.com> - 1.2-7
|
|
|
|
|
|
|
|
- Apply upstream patch to fix 3 findings from static application security testing
|
|
|
|
|
|
|
|
Resolves: RHEL-27656
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.2-6
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.2-6
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|