Blame SPECS/libndp.spec

957695
Name: libndp
957695
Version: 1.2
2480dc
Release: 7%{?dist}
957695
Summary: Library for Neighbor Discovery Protocol
957695
Group: System Environment/Libraries
957695
License: LGPLv2+
957695
URL: http://www.libndp.org/
957695
Source: http://www.libndp.org/files/libndp-%{version}.tar.gz
957695
89129d
Patch0: 0001-libndp-fix-cppcheck-Undefined-behavior-Variable-buf-.patch
2ff4c2
Patch1: 0001-libndp-validate-the-IPv6-hop-limit.patch
2ff4c2
Patch2: 0002-libndb-reject-redirect-and-router-advertisements-fro.patch
2480dc
Patch3: 0003-libndp-add-option-flags-to-send-messages.patch
2480dc
Patch4: 0004-ndptool-add-option-to-send-messages-types.patch
2480dc
Patch5: 0005-libndp-fix-type-of-field-na-in-struct-ndp_msgna.patch
2480dc
Patch6: 0006-libndp-revert-API-change-for-ndp_msg_send-and-add-nd.patch
89129d
957695
%description
957695
This package contains a library which provides a wrapper
957695
for IPv6 Neighbor Discovery Protocol.  It also provides a tool
957695
named ndptool for sending and receiving NDP messages.
957695
957695
%package devel
957695
Group: Development/Libraries
957695
Summary: Libraries and header files for libndp development
957695
Requires: libndp = %{version}-%{release}
957695
957695
%description devel
957695
The libndp-devel package contains the header files and libraries
957695
necessary for developing programs using libndp.
957695
957695
%prep
957695
%setup -q
89129d
%patch0 -p1 -b .fix_cppcheck_var_buf
2ff4c2
%patch1 -p1 -b .hop-limit
2ff4c2
%patch2 -p1 -b .link-local
2480dc
%patch3 -p1 -b .flags-to-send-msgs
2480dc
%patch4 -p1 -b .opts-to-send-msgs-types
2480dc
%patch5 -p1 -b .fix-type-of-na
2480dc
%patch6 -p1 -b .revert-api-change-for-ndp_msg_send
957695
957695
%build
957695
%configure --disable-static
957695
make %{?_smp_mflags}
957695
957695
%install
957695
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
957695
find $RPM_BUILD_ROOT -name \*.la -delete
957695
957695
%post -p /sbin/ldconfig
957695
957695
%postun -p /sbin/ldconfig
957695
957695
%files
957695
%doc COPYING
957695
%{_libdir}/*so.*
957695
%{_bindir}/ndptool
957695
%{_mandir}/man8/ndptool.8*
957695
957695
%files devel
957695
%{_includedir}/*
957695
%{_libdir}/*.so
957695
%{_libdir}/pkgconfig/*.pc
957695
957695
%changelog
2480dc
* Tue May 17 2016 Eric Garver <egarver@redhat.com> - 1.2-7
2480dc
- libndp: add option flags to send messages
2480dc
- ndptool: add option to send messages types
2480dc
- libndp: fix type of field "na" in "struct ndp_msgna"
2480dc
- libndp: revert API change for ndp_msg_send() and add
2480dc
2ff4c2
* Sat May 14 2016 Lubomir Rintel <lrintel@redhat.com> - 1.2-6
2ff4c2
- libndp: fix hop limit validation [CVE-2016-3698]
2ff4c2
2ff4c2
* Fri May 06 2016 Lubomir Rintel <lrintel@redhat.com> - 1.2-5
2ff4c2
- libndp: validate the IPv6 hop limit [CVE-2016-3698]
2ff4c2
- libndb: reject redirect and router advertisements from non-link-local [CVE-2016-3698]
2ff4c2
89129d
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 1.2-4
89129d
- Mass rebuild 2014-01-24
89129d
89129d
* Tue Jan 21 2014 Jiri Pirko <jpirko@redhat.com> - 1.2-3
89129d
- libndp: fix [cppcheck] Undefined behavior: Variable 'buf' is used as parameter and destination in s[n]printf() [1044084]
89129d
89129d
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.2-2
89129d
- Mass rebuild 2013-12-27
89129d
957695
* Tue Oct 15 2013 Jiri Pirko <jpirko@redhat.com> - 1.2-1
957695
- Update to 1.2
957695
- libndp: silently ignore packets with optlen 0 [1016064]
957695
- libndp: fix processing for larger options [1016064]
957695
- libndp: do not fail on receiving non-ndp packets [1016078]
957695
957695
* Fri Sep 13 2013 Dan Williams <dcbw@redhat.com> - 1.0-2
957695
- Fix .pc file includes path
957695
- Fix ndptool -v argument
957695
957695
* Thu Aug 08 2013 Jiri Pirko <jpirko@redhat.com> - 1.0-1
957695
- Update to 1.0
957695
957695
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-4.20130723git873037a
957695
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
957695
957695
* Wed Jul 24 2013 Dan Williams <dcbw@redhat.com> - 0.1-3.20130723git873037a
957695
- Update to git 873037a
957695
957695
* Fri Jun 07 2013 Jiri Pirko <jpirko@redhat.com> - 0.1-2.20130607git39e1f53
957695
- Update to git 39e1f53
957695
957695
* Sat May 04 2013 Jiri Pirko <jpirko@redhat.com> - 0.1-1.20130504gitca3c399
957695
- Initial build.