Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
5884a4c2fd
!21 update libdnet to 1.17.0
From: @XWwalker 
Reviewed-by: @robertxw 
Signed-off-by: @robertxw
2024-01-13 02:56:47 +00:00
xingwei
2fbc49cd29 update libdnet to 1.17.0 2024-01-05 02:40:07 +00:00
openeuler-ci-bot
bfd3557050
!19 Upgrade to latest release [libdnet -> 1.16.4]
From: @Jason_828e 
Reviewed-by: @robertxw 
Signed-off-by: @robertxw
2023-07-28 08:54:39 +00:00
Jason_828e
8ac026b83a update version to 1.16.4 2023-07-13 21:08:20 +08:00
openeuler-ci-bot
dcbe7a2908
!16 fix libdnet build error
From: @yangl777 
Reviewed-by: @seuzw 
Signed-off-by: @seuzw
2023-02-09 09:41:17 +00:00
yangl777
975dd33de6 fix libdnet build error 2023-02-09 08:54:07 +00:00
openeuler-ci-bot
571703a6d9
!15 update libdnet to 1.16.3
From: @xinghe_1 
Reviewed-by: @seuzw 
Signed-off-by: @seuzw
2023-02-03 08:16:40 +00:00
xinghe
e3ce6d7127 update libdnet to 1.16.3 2023-02-03 07:00:53 +00:00
openeuler-ci-bot
caef8a5bb6
!9 add Obsoletes "< version" in spec
From: @XWwalker 
Reviewed-by: @seuzw 
Signed-off-by: @seuzw
2022-11-18 07:11:17 +00:00
xingwei
775e71f178 add Obsoletes '< version' in spec 2022-11-18 03:21:18 +00:00
4 changed files with 40 additions and 40 deletions

View File

@ -1,25 +0,0 @@
From 1c0e8ac9c02d82209a3405a972174a795d044038 Mon Sep 17 00:00:00 2001
From: qingkaishi <qingkaishi@gmail.com>
Date: Wed, 9 Sep 2020 23:58:28 +0800
Subject: [PATCH] fix Potential Null Pointer Dereference
---
test/dnet/fw.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/dnet/fw.c b/test/dnet/fw.c
index 1557827..c845263 100644
--- a/test/dnet/fw.c
+++ b/test/dnet/fw.c
@@ -108,7 +108,7 @@ arg_to_fr(int argc, char *argv[], struct fw_rule *fr)
p = strtok(argv[4], ":");
- if (addr_aton(p, &fr->fw_src) < 0)
+ if (!p || addr_aton(p, &fr->fw_src) < 0)
return (-1);
if ((p = strtok(NULL, ":")) != NULL) {
--
2.33.0

Binary file not shown.

BIN
libdnet-1.17.0.tar.gz Normal file

Binary file not shown.

View File

@ -1,15 +1,15 @@
Name: libdnet
Version: 1.14
Release: 2
Version: 1.17.0
Release: 1
Summary: Simple portable interface work with low-level networking routines
License: BSD
URL: https://github.com/ofalk/%{name}
Source: https://github.com/ofalk/libdnet/archive/%{name}-%{version}.tar.gz
Patch0: backport-fix-Potential-Null-Pointer-Dereference.patch
BuildRequires: gcc-c++
BuildRequires: python3-Cython
BuildRequires: gcc-c++ autoconf automake libtool
BuildRequires: python3-Cython
BuildRequires: make check-devel python3-setuptools
%description
%{name} provides a simplified, portable interface to several low-level networking
@ -35,7 +35,7 @@ Requires: %{name} = %{version}-%{release}
%package -n python3-%{name}
%{?python_provide:%python_provide python3-%{name}}
Provides: %{name}-python = %{version}-%{release}
Obsoletes: %{name}-python
Obsoletes: %{name}-python < %{version}-%{release}
Summary: Python bindings for %{name}
Requires: %{name} = %{version}-%{release}
BuildRequires: python3-devel
@ -49,18 +49,15 @@ Python3 package for python-%{name}
%autosetup -n %{name}-%{name}-%{version} -p1
%build
autoreconf -i
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
%configure
%configure --disable-static
%disable_rpath
%make_build
pushd python
%{__python3} setup.py build
popd
%install
%{__make} install DESTDIR=%{buildroot}
%make_install
pushd python
%{__python3} setup.py install --skip-build --root %{buildroot}
@ -79,9 +76,7 @@ popd
%defattr(-,root,root)
%{_bindir}/dnet-config
%{_libdir}/%{name}.so
%{_includedir}/dnet/*.h
%{_includedir}/dnet.h
%{_libdir}/*.a
%{_includedir}/*
%files progs
%defattr(-,root,root)
@ -98,6 +93,36 @@ popd
%{_mandir}/man8/*.8*
%changelog
* Fri Jan 05 2024 xingwei <xingwei14@h-partners.com> - 1.17.0-1
- Type:requirements
- ID:NA
- SUG:NA
- DESC: update libdnet to 1.17.0
* Thu Jul 13 2023 chenzixuan <chenzixuan@kylinos.cn> - 1.16.4-1
- Type:requirements
- ID:NA
- SUG:NA
- DESC: update libdnet to 1.16.4
* Thu Feb 09 2023 yanglu <yanglu72@h-partners.com> - 1.16.3-2
- Type:bugfix
- ID:NA
- SUG:NA
- DESC: fix libdnet build error
* Fri Feb 03 2023 xinghe <xinghe2@h-partners.com> - 1.16.3-1
- Type:requirements
- ID:NA
- SUG:NA
- DESC: update libdnet to 1.16.3
* Fri Nov 18 2022 xingwei <xingwei14@h-partners.com> - 1.14-3
- Type:bugfix
- ID:NA
- SUG:NA
- DESC: add Obsoletes '< version' in spec
* Tue Nov 01 2022 xingwei <xingwei14@h-partners.com> - 1.14-2
- Type:bugfix
- ID:NA