update code

This commit is contained in:
zhuchunyi 2019-11-06 19:44:09 +08:00
parent a3cfe55ee5
commit b8f648a41d

View File

@ -3,7 +3,7 @@
Name: nmap Name: nmap
Epoch: 2 Epoch: 2
Version: 7.70 Version: 7.70
Release: 6 Release: 8
License: Nmap License: Nmap
Summary: A tool for network discovery and security auditing. Summary: A tool for network discovery and security auditing.
Requires: %{name}-ncat = %{epoch}:%{version}-%{release} Requires: %{name}-ncat = %{epoch}:%{version}-%{release}
@ -20,7 +20,7 @@ BuildRequires: gcc-c++ openssl-devel gtk2-devel lua-devel libpcap-devel pc
BuildRequires: dos2unix libtool automake autoconf gettext-devel libssh2-devel BuildRequires: dos2unix libtool automake autoconf gettext-devel libssh2-devel
Obsoletes: nmap-frontend nmap-ndiff nmap-ncat nc < 1.109.20120711-2 Obsoletes: nmap-frontend nmap-ndiff nmap-ncat nc < 1.109.20120711-2
Obsoletes: nc6 < 1.00-22 Obsoletes: nc6 < 1.00-22
Provides: nmap-frontend nmap-ndiff nmap-ncat nc nc6 Provides: nmap-frontend nmap-ndiff nmap-ncat nc nc6
%define pixmap_srcdir zenmap/share/pixmaps %define pixmap_srcdir zenmap/share/pixmaps
@ -62,7 +62,8 @@ ln -s ncat %{buildroot}%{_bindir}/nc
%files -f nmap.lang %files -f nmap.lang
%defattr(-,root,root) %defattr(-,root,root)
%exclude %{_datadir}/ncat %exclude %{_datadir}/ncat
%doc COPYING* ncat/docs/AUTHORS ncat/docs/README %doc ncat/docs/AUTHORS ncat/docs/README
%license COPYING docs/3rd-party-licenses.txt docs/Nmap-Third-Party-Open-Source.pdf docs/Nmap-Third-Party-Open-Source.fodt docs/licenses
%{_bindir}/n* %{_bindir}/n*
%{_datadir}/nmap %{_datadir}/nmap
@ -72,6 +73,18 @@ ln -s ncat %{buildroot}%{_bindir}/nc
%{_mandir}/man1/*.1.gz %{_mandir}/man1/*.1.gz
%changelog %changelog
* Mon Oct 21 2019 openEuler Buildteam <buildteam@openeuler.org> - 2:7.70-8
- Type:enhancement
- Id:NA
- SUG:NA
- DESC:add 3rd-party licenses
* Mon Oct 21 2019 openEuler Buildteam <buildteam@openeuler.org> - 2:7.70-7
- Type:enhancement
- Id:NA
- SUG:NA
- DESC:modify the location of COPYING
* Wed Sep 25 2019 Li Wang<wangli221@huawei.com> - 2:7.70-6 * Wed Sep 25 2019 Li Wang<wangli221@huawei.com> - 2:7.70-6
- Type:cves - Type:cves
- ID:CVE-2017-18594 - ID:CVE-2017-18594
@ -79,4 +92,4 @@ ln -s ncat %{buildroot}%{_bindir}/nc
- DESC:fix CVE-2017-18594 - DESC:fix CVE-2017-18594
* Wed Sep 18 2019 openEuler Buildteam <buildteam@openeuler.org> - 2:7.70-5 * Wed Sep 18 2019 openEuler Buildteam <buildteam@openeuler.org> - 2:7.70-5
- Package init - Package init