ndisc6/ndisc6.spec
2022-04-06 14:13:02 +08:00

61 lines
1.3 KiB
RPMSpec

Name: ndisc6
Version: 1.0.4
Release: 3
Summary: IPv6 diagnostic tools
License: GPLv2 or GPLv3
URL: http://www.remlab.net/ndisc6
Source0: http://www.remlab.net/files/ndisc6/%{name}-%{version}.tar.bz2
Patch0: bugfix-add-self-mac-check.patch
Patch1: bugfix-add-SO_BINDTODEVICE.patch
BuildRequires: gcc perl-generators
%description
NDisc6 is a small collection of useful tools for IPv6 networking.
It includes the follwing programs :
- ndisc6: ICMPv6 Neighbor Discovery tool
- rdisc6: ICMPv6 Router Discovery tool
- tcptraceroute6: lightweight IPv6 tcptraceroute
- traceroute6: IPv6 traceroute
- rdnssd: Recursive DNS Servers discovery Daemon
%package_help
%prep
%autosetup -n %{name}-%{version} -p1
%build
%configure --disable-suid-install
%make_build
%install
%make_install
%files
%defattr(-,root,root)
%doc AUTHORS README
%license COPYING
%{_sysconfdir}/rdnssd
%{_bindir}/*
%{_sbindir}/*
%{_datadir}/locale/*
%files help
%defattr(-,root,root)
%doc ChangeLog NEWS
%{_mandir}/man*
%changelog
* Tue Apr 5 2022 gaoxingwang <gaoxingwang@huawei.com> - 1.0.4-3
- Type:bugfix
- CVE:NA
- SUG:restart
- DESC: add self mac check and fix issue in VRF
* Mon Oct 19 2020 orange-snn <songnannan2@huawei.com> - 1.0.4-2
- change the spec name to ndisc6 from ndisc
* Thu Jan 7 2018 openEuler Buildteam <buildteam@openeuler.org> - 1.0.4-1
- Package init