fix nc command permission error

(cherry picked from commit f54e9a8fd513cbd382316a7116efc3f0680c52ec)
This commit is contained in:
zhaoyuxing 2022-02-08 15:37:39 +08:00 committed by openeuler-sync-bot
parent 5829e1244f
commit ca1337b17c

View File

@ -3,7 +3,7 @@
Name: nmap Name: nmap
Epoch: 2 Epoch: 2
Version: 7.92 Version: 7.92
Release: 1 Release: 2
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}
@ -46,8 +46,8 @@ make DESTDIR=%{buildroot} STRIP=true install
rm -f %{buildroot}%{_datadir}/ncat/ca-bundle.crt rm -f %{buildroot}%{_datadir}/ncat/ca-bundle.crt
rmdir %{buildroot}%{_datadir}/ncat rmdir %{buildroot}%{_datadir}/ncat
touch %{buildroot}%{_mandir}/man1/nc.1.gz ln -s ncat.1.gz %{buildroot}%{_mandir}/man1/nc.1.gz
touch %{buildroot}%{_bindir}/nc ln -s ncat %{buildroot}%{_bindir}/nc
%find_lang nmap --with-man %find_lang nmap --with-man
@ -65,6 +65,12 @@ touch %{buildroot}%{_bindir}/nc
%{_mandir}/man1/*.1.gz %{_mandir}/man1/*.1.gz
%changelog %changelog
* Tue Feb 08 2022 xinghe <xinghe2@h-partners.com> - 2:7.92-2
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:fix nc command permission error
* Thu Dec 09 2021 quanhongfei <quanhongfei@huawei.com> - 2:7.92-1 * Thu Dec 09 2021 quanhongfei <quanhongfei@huawei.com> - 2:7.92-1
- Type:requirement - Type:requirement
- ID:NA - ID:NA