From d56b121fce17b281e5e510ccb3716e8c16732791 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0abata?= Date: Thu, 15 Oct 2020 16:41:56 +0200 Subject: [PATCH] RHEL 9.0.0 Alpha bootstrap The content of this branch was automatically imported from Fedora ELN with the following as its source: https://src.fedoraproject.org/rpms/libndp#587681f7f222866ebf665d1bfaafe334dd506ff1 --- .gitignore | 9 ++++ libndp.spec | 148 ++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 158 insertions(+) create mode 100644 libndp.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..95d60e0 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1,9 @@ +/libndp-20130504gitca3c399.tar.gz +/libndp-20130607git39e1f53.tar.gz +/libndp-1.0.tar.gz +/libndp-1.2.tar.gz +/libndp-1.3.tar.gz +/libndp-1.4.tar.gz +/libndp-1.5.tar.gz +/libndp-1.6.tar.gz +/libndp-1.7.tar.gz diff --git a/libndp.spec b/libndp.spec new file mode 100644 index 0000000..e48fe5a --- /dev/null +++ b/libndp.spec @@ -0,0 +1,148 @@ +Name: libndp +Version: 1.7 +Release: 6%{?dist} +Summary: Library for Neighbor Discovery Protocol +License: LGPLv2+ +URL: http://www.libndp.org/ +Source: http://www.libndp.org/files/libndp-%{version}.tar.gz + +BuildRequires: gcc +%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 +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 + +%build +%configure --disable-static +make %{?_smp_mflags} + +%install +make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" +find $RPM_BUILD_ROOT -name \*.la -delete + +%ldconfig_scriptlets + +%files +%doc COPYING +%{_libdir}/*so.* +%{_bindir}/ndptool +%{_mandir}/man8/ndptool.8* + +%files devel +%{_includedir}/* +%{_libdir}/*.so +%{_libdir}/pkgconfig/*.pc + +%changelog +* Tue Jul 28 2020 Fedora Release Engineering - 1.7-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Wed Jan 29 2020 Fedora Release Engineering - 1.7-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Jul 25 2019 Fedora Release Engineering - 1.7-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Fri Feb 01 2019 Fedora Release Engineering - 1.7-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Jul 13 2018 Fedora Release Engineering - 1.7-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Fri Jun 08 2018 Jiri Pirko - 1.7-1 +- 1.7 release +- libndp: apply filter to raw socket to only accept ND messages +- libndp: move ndp_sock_{open,close}() after msg parsing functions +- ndptool: Fix compilation on musl libc + +* Wed Feb 07 2018 Fedora Release Engineering - 1.6-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Aug 03 2017 Fedora Release Engineering - 1.6-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 1.6-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Fri Feb 10 2017 Fedora Release Engineering - 1.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Tue May 17 2016 Jiri Pirko - 1.6-1 +- Update to 1.6 +- libndb: reject redirect and router advertisements from non-link-local +- libndp: validate the IPv6 hop limit +- libndp: revert API change for ndp_msg_send() and add ndp_msg_send_with_flags() +- libndp: fix type of field "na" in "struct ndp_msgna" +- ndptool: add option to send messages types +- libndp: add option flags to send messages +- Add SubmittingPatches howto + +* Thu Feb 04 2016 Fedora Release Engineering - 1.5-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Wed Jun 17 2015 Fedora Release Engineering - 1.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Thu Apr 02 2015 Jiri Pirko - 1.5-1 +- Update to 1.5 +- ndptool: use conventional signal handlers instead of signalfd + +* Sat Feb 21 2015 Till Maas - 1.4-3 +- Rebuilt for Fedora 23 Change + https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code + +* Sun Aug 17 2014 Fedora Release Engineering - 1.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Tue Jul 29 2014 Jiri Pirko - 1.4-1 +- Update to 1.4 +- libndp: fix buffer overflow in ndp_msg_opt_dnssl_domain() + +* Thu Jun 26 2014 Jiri Pirko - 1.3-1 +- Update to 1.3 +- Add missing include for va_list + +* Sat Jun 07 2014 Fedora Release Engineering - 1.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Tue Jan 21 2014 Jiri Pirko - 1.2-2 +- libndp: fix [cppcheck] Undefined behavior: Variable 'buf' is used as parameter and destination in s[n]printf() [1044084] [1091720] + +* Tue Oct 15 2013 Jiri Pirko - 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 + +* Fri Oct 04 2013 Jiri Pirko - 1.1-1 +- Update to 1.1 + +* Fri Sep 13 2013 Dan Williams - 1.0-2 +- Fix .pc file includes path +- Fix ndptool -v argument + +* Thu Aug 08 2013 Jiri Pirko - 1.0-1 +- Update to 1.0 + +* Sat Aug 03 2013 Fedora Release Engineering - 0.1-4.20130723git873037a +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Wed Jul 24 2013 Dan Williams - 0.1-3.20130723git873037a +- Update to git 873037a + +* Fri Jun 07 2013 Jiri Pirko - 0.1-2.20130607git39e1f53 +- Update to git 39e1f53 + +* Sat May 04 2013 Jiri Pirko - 0.1-1.20130504gitca3c399 +- Initial build. diff --git a/sources b/sources new file mode 100644 index 0000000..631ca01 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (libndp-1.7.tar.gz) = 4aadaf6d7d8b9e57983cba17ce92715cceef6635613c4c5326decb97fb575ce5f5d5586a629645e3605a03e385c6481bfb6c4458216be2bbd36959af62783790