Blame SPECS/libndp.spec

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