2013-05-10 06:38:46 +00:00
|
|
|
Name: libndp
|
2013-10-15 12:39:45 +00:00
|
|
|
Version: 1.2
|
2014-06-07 04:34:04 +00:00
|
|
|
Release: 3%{?dist}
|
2013-05-10 06:38:46 +00:00
|
|
|
Summary: Library for Neighbor Discovery Protocol
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
License: LGPLv2+
|
|
|
|
URL: http://www.libndp.org/
|
2013-08-08 08:53:44 +00:00
|
|
|
Source: http://www.libndp.org/files/libndp-%{version}.tar.gz
|
2013-05-10 06:38:46 +00:00
|
|
|
|
2014-05-16 19:53:37 +00:00
|
|
|
Patch0: 0001-libndp-fix-cppcheck-Undefined-behavior-Variable-buf-.patch
|
|
|
|
|
2013-05-10 06:38:46 +00:00
|
|
|
%description
|
|
|
|
This package contains a library which provides a wrapper
|
|
|
|
for IPv6 Neighbor Discovery Protocol. It also provides a tool
|
|
|
|
named ndptool for sending and receiving NDP messages.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Libraries and header files for libndp development
|
|
|
|
Requires: libndp = %{version}-%{release}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
The libndp-devel package contains the header files and libraries
|
|
|
|
necessary for developing programs using libndp.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2014-05-16 19:53:37 +00:00
|
|
|
%patch0 -p1 -b .fix_cppcheck_var_buf
|
2013-05-10 06:38:46 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
%configure --disable-static
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
|
|
|
|
find $RPM_BUILD_ROOT -name \*.la -delete
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%doc COPYING
|
|
|
|
%{_libdir}/*so.*
|
|
|
|
%{_bindir}/ndptool
|
|
|
|
%{_mandir}/man8/ndptool.8*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%{_includedir}/*
|
|
|
|
%{_libdir}/*.so
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
|
|
|
|
%changelog
|
2014-06-07 04:34:04 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2014-05-16 19:53:37 +00:00
|
|
|
* Tue Jan 21 2014 Jiri Pirko <jpirko@redhat.com> - 1.2-2
|
|
|
|
- libndp: fix [cppcheck] Undefined behavior: Variable 'buf' is used as parameter and destination in s[n]printf() [1044084] [1091720]
|
|
|
|
|
2013-10-15 12:39:45 +00:00
|
|
|
* Tue Oct 15 2013 Jiri Pirko <jpirko@redhat.com> - 1.2-1
|
|
|
|
- Update to 1.2
|
|
|
|
- libndp: silently ignore packets with optlen 0
|
|
|
|
- libndp: fix processing for larger options
|
|
|
|
- libndp: do not fail on receiving non-ndp packets
|
|
|
|
|
2013-10-04 12:25:15 +00:00
|
|
|
* Fri Oct 04 2013 Jiri Pirko <jpirko@redhat.com> - 1.1-1
|
|
|
|
- Update to 1.1
|
|
|
|
|
2013-09-13 15:05:55 +00:00
|
|
|
* Fri Sep 13 2013 Dan Williams <dcbw@redhat.com> - 1.0-2
|
|
|
|
- Fix .pc file includes path
|
|
|
|
- Fix ndptool -v argument
|
|
|
|
|
2013-08-08 08:53:44 +00:00
|
|
|
* Thu Aug 08 2013 Jiri Pirko <jpirko@redhat.com> - 1.0-1
|
|
|
|
- Update to 1.0
|
|
|
|
|
2013-08-03 06:20:38 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-4.20130723git873037a
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-07-24 17:31:44 +00:00
|
|
|
* Wed Jul 24 2013 Dan Williams <dcbw@redhat.com> - 0.1-3.20130723git873037a
|
|
|
|
- Update to git 873037a
|
|
|
|
|
2013-06-07 06:56:32 +00:00
|
|
|
* Fri Jun 07 2013 Jiri Pirko <jpirko@redhat.com> - 0.1-2.20130607git39e1f53
|
|
|
|
- Update to git 39e1f53
|
2013-05-10 06:38:46 +00:00
|
|
|
|
|
|
|
* Sat May 04 2013 Jiri Pirko <jpirko@redhat.com> - 0.1-1.20130504gitca3c399
|
|
|
|
- Initial build.
|