Blame SPECS/libndp.spec

e229db
Name: libndp
f9401c
Version: 1.7
404da3
Release: 5%{?dist}
e229db
Summary: Library for Neighbor Discovery Protocol
e229db
Group: System Environment/Libraries
e229db
License: LGPLv2+
e229db
URL: http://www.libndp.org/
e229db
Source: http://www.libndp.org/files/libndp-%{version}.tar.gz
e229db
f9401c
Patch1: 0001-ndptool-add-T-target-support.patch
f9401c
Patch2: 0002-ndptool-fix-target-parameter-typo.patch
f9401c
Patch3: 0003-libndp-close-sockfd-after-using-to-avoid-handle-leak.patch
f9401c
Patch4: 0004-libndp-fix-nd_msg-typo-when-setting-target-address.patch
f9401c
Patch5: 0005-ndptool-add-D-dest-support.patch
f9401c
Patch6: 0006-ndptool-fix-potential-memory-leak-caused-by-strdup.patch
404da3
Patch7: 0007-libndp-ndptool-use-poll-instead-of-select.patch
f9401c
e229db
%description
e229db
This package contains a library which provides a wrapper
e229db
for IPv6 Neighbor Discovery Protocol.  It also provides a tool
e229db
named ndptool for sending and receiving NDP messages.
e229db
e229db
%package devel
e229db
Group: Development/Libraries
e229db
Summary: Libraries and header files for libndp development
e229db
Requires: libndp = %{version}-%{release}
e229db
e229db
%description devel
e229db
The libndp-devel package contains the header files and libraries
e229db
necessary for developing programs using libndp.
e229db
e229db
%prep
e229db
%setup -q
f9401c
%patch1 -p1 -b .ndptool_add_T_target_support
f9401c
%patch2 -p1 -b .ndptool_fix_target_parameter_typo
f9401c
%patch3 -p1 -b .libndp_close_sockfd_after_using
f9401c
%patch4 -p1 -b .libndp_fix_nd_msg_typo
f9401c
%patch5 -p1 -b .ndptool_add_D_dest_support
f9401c
%patch6 -p1 -b .ndptool_fix_potential_memory_leak
404da3
%patch7 -p1 -b .ndptool_use_poll
e229db
e229db
%build
e229db
%configure --disable-static
e229db
make %{?_smp_mflags}
e229db
e229db
%install
e229db
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
e229db
find $RPM_BUILD_ROOT -name \*.la -delete
e229db
e229db
%post -p /sbin/ldconfig
e229db
e229db
%postun -p /sbin/ldconfig
e229db
e229db
%files
e229db
%doc COPYING
e229db
%{_libdir}/*so.*
e229db
%{_bindir}/ndptool
e229db
%{_mandir}/man8/ndptool.8*
e229db
e229db
%files devel
e229db
%{_includedir}/*
e229db
%{_libdir}/*.so
e229db
%{_libdir}/pkgconfig/*.pc
e229db
e229db
%changelog
404da3
* Fri Mar 12 2021 Hangbin Liu <haliu@redhat.com> - 1.7-5
404da3
- Bump the version number due to conflict with (rhbz 1933041)
404da3
404da3
* Fri Mar 12 2021 Hangbin Liu <haliu@redhat.com> - 1.7-4
404da3
- libndp,ndptool: use poll() instead of select (rhbz 1937721)
404da3
f9401c
* Fri Nov 01 2019 Hangbin Liu <haliu@redhat.com> - 1.7-3
f9401c
- ndptool: add -D dest support (rhbz 1697595)
f9401c
- ndptool: fix potential memory leak caused by strdup (rhbz 1697595)
f9401c
f9401c
* Fri Nov 01 2019 Hangbin Liu <haliu@redhat.com> - 1.7-2
f9401c
- ndptool: add -T target support (rhbz 1666194)
f9401c
- ndptool: fix target parameter typo (rhbz 1666194)
f9401c
- libndp: close sockfd after using to avoid handle leak (rhbz 1666194)
f9401c
- libndp: fix nd_msg typo when setting target address (rhbz 1666194)
f9401c
f9401c
* Thu Jul 18 2019 Hangbin Liu <haliu@redhat.com> - 1.7-1
f9401c
- Update to 1.7
f9401c
- libndp: apply filter to raw socket to only accept ND messages
f9401c
- libndp: move ndp_sock_{open,close}() after msg parsing functions
f9401c
- ndptool: Fix compilation on musl libc
f9401c
f9401c
* Tue Jul 16 2019 Hangbin Liu <haliu@redhat.com> - 1.6-7
f9401c
- Add libndp gating test (rhbz 1682325)
f9401c
e229db
* Fri Sep 28 2018 Eric Garver <egarver@redhat.com> - 1.6-6
e229db
- Rebuilt for annocheck fixes (rhbz 1630584)
e229db
e229db
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.6-5
e229db
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
e229db
e229db
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.6-4
e229db
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
e229db
e229db
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.6-3
e229db
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
e229db
e229db
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.6-2
e229db
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
e229db
e229db
* Tue May 17 2016 Jiri Pirko <jiri@mellanox.com> - 1.6-1
e229db
- Update to 1.6
e229db
- libndb: reject redirect and router advertisements from non-link-local
e229db
- libndp: validate the IPv6 hop limit
e229db
- libndp: revert API change for ndp_msg_send() and add ndp_msg_send_with_flags()
e229db
- libndp: fix type of field "na" in "struct ndp_msgna"
e229db
- ndptool: add option to send messages types
e229db
- libndp: add option flags to send messages
e229db
- Add SubmittingPatches howto
e229db
e229db
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-3
e229db
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
e229db
e229db
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-2
e229db
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
e229db
e229db
* Thu Apr 02 2015 Jiri Pirko <jpirko@redhat.com> - 1.5-1
e229db
- Update to 1.5
e229db
- ndptool: use conventional signal handlers instead of signalfd
e229db
e229db
* Sat Feb 21 2015 Till Maas <opensource@till.name> - 1.4-3
e229db
- Rebuilt for Fedora 23 Change
e229db
  https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
e229db
e229db
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-2
e229db
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
e229db
e229db
* Tue Jul 29 2014 Jiri Pirko <jpirko@redhat.com> - 1.4-1
e229db
- Update to 1.4
e229db
- libndp: fix buffer overflow in ndp_msg_opt_dnssl_domain()
e229db
e229db
* Thu Jun 26 2014 Jiri Pirko <jpirko@redhat.com> - 1.3-1
e229db
- Update to 1.3
e229db
- Add missing <stdarg.h> include for va_list
e229db
e229db
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-3
e229db
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
e229db
e229db
* Tue Jan 21 2014 Jiri Pirko <jpirko@redhat.com> - 1.2-2
e229db
- libndp: fix [cppcheck] Undefined behavior: Variable 'buf' is used as parameter and destination in s[n]printf() [1044084] [1091720]
e229db
e229db
* Tue Oct 15 2013 Jiri Pirko <jpirko@redhat.com> - 1.2-1
e229db
- Update to 1.2
e229db
- libndp: silently ignore packets with optlen 0
e229db
- libndp: fix processing for larger options
e229db
- libndp: do not fail on receiving non-ndp packets
e229db
e229db
* Fri Oct 04 2013 Jiri Pirko <jpirko@redhat.com> - 1.1-1
e229db
- Update to 1.1
e229db
e229db
* Fri Sep 13 2013 Dan Williams <dcbw@redhat.com> - 1.0-2
e229db
- Fix .pc file includes path
e229db
- Fix ndptool -v argument
e229db
e229db
* Thu Aug 08 2013 Jiri Pirko <jpirko@redhat.com> - 1.0-1
e229db
- Update to 1.0
e229db
e229db
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-4.20130723git873037a
e229db
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
e229db
e229db
* Wed Jul 24 2013 Dan Williams <dcbw@redhat.com> - 0.1-3.20130723git873037a
e229db
- Update to git 873037a
e229db
e229db
* Fri Jun 07 2013 Jiri Pirko <jpirko@redhat.com> - 0.1-2.20130607git39e1f53
e229db
- Update to git 39e1f53
e229db
e229db
* Sat May 04 2013 Jiri Pirko <jpirko@redhat.com> - 0.1-1.20130504gitca3c399
e229db
- Initial build.