Add sources verification (#1888510)
This commit is contained in:
parent
c673aed0aa
commit
c54a7f0b3d
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1,3 @@
|
|||||||
/nmap-*.tar.bz2
|
/nmap-*.tar.bz2
|
||||||
|
/nmap-7.91.tar.bz2.asc
|
||||||
|
/nmap_gpgkeys.txt
|
||||||
|
@ -7,7 +7,7 @@ Name: nmap
|
|||||||
Epoch: 2
|
Epoch: 2
|
||||||
Version: 7.91
|
Version: 7.91
|
||||||
#global prerelease TEST5
|
#global prerelease TEST5
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Summary: Network exploration tool and security scanner
|
Summary: Network exploration tool and security scanner
|
||||||
URL: http://nmap.org/
|
URL: http://nmap.org/
|
||||||
# Uses combination of licenses based on GPL license, but with extra modification
|
# Uses combination of licenses based on GPL license, but with extra modification
|
||||||
@ -15,6 +15,8 @@ URL: http://nmap.org/
|
|||||||
License: Nmap
|
License: Nmap
|
||||||
|
|
||||||
Source0: http://nmap.org/dist/%{name}-%{version}%{?prerelease}.tar.bz2
|
Source0: http://nmap.org/dist/%{name}-%{version}%{?prerelease}.tar.bz2
|
||||||
|
Source1: https://nmap.org/dist/sigs/%{name}-%{version}.tar.bz2.asc
|
||||||
|
Source2: https://svn.nmap.org/nmap/docs/nmap_gpgkeys.txt
|
||||||
|
|
||||||
#prevent possible race condition for shtool, rhbz#158996
|
#prevent possible race condition for shtool, rhbz#158996
|
||||||
Patch1: nmap-4.03-mktemp.patch
|
Patch1: nmap-4.03-mktemp.patch
|
||||||
@ -42,6 +44,7 @@ BuildRequires: lua-devel
|
|||||||
BuildRequires: openssl-devel
|
BuildRequires: openssl-devel
|
||||||
BuildRequires: pcre-devel
|
BuildRequires: pcre-devel
|
||||||
BuildRequires: zlib-devel
|
BuildRequires: zlib-devel
|
||||||
|
BuildRequires: gnupg2
|
||||||
Requires: %{name}-ncat = %{epoch}:%{version}-%{release}
|
Requires: %{name}-ncat = %{epoch}:%{version}-%{release}
|
||||||
|
|
||||||
Obsoletes: nmap-frontend
|
Obsoletes: nmap-frontend
|
||||||
@ -78,6 +81,7 @@ uses.
|
|||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
|
%{gpgverify} --keyring=%{SOURCE2} --signature='%{SOURCE1}' --data='%{SOURCE0}'
|
||||||
%autosetup -p1
|
%autosetup -p1
|
||||||
|
|
||||||
#be sure we're not using tarballed copies of some libraries
|
#be sure we're not using tarballed copies of some libraries
|
||||||
@ -136,6 +140,9 @@ ln -s ncat %{buildroot}%{_bindir}/nc
|
|||||||
%{_mandir}/man1/ncat.1.gz
|
%{_mandir}/man1/ncat.1.gz
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Oct 29 2020 Pavel Zhukov <pzhukov@redhat.com> - 2:7.91-3
|
||||||
|
- Add source verification
|
||||||
|
|
||||||
* Thu Oct 22 2020 Sergio Correia <scorreia@redhat.com> 2:7.91-2
|
* Thu Oct 22 2020 Sergio Correia <scorreia@redhat.com> 2:7.91-2
|
||||||
- Backport fix for UNIX domain socket crash
|
- Backport fix for UNIX domain socket crash
|
||||||
Upstream: https://github.com/nmap/nmap/commit/f6b40614e4a8131394792d590965f8af3c635323
|
Upstream: https://github.com/nmap/nmap/commit/f6b40614e4a8131394792d590965f8af3c635323
|
||||||
|
2
sources
2
sources
@ -1 +1,3 @@
|
|||||||
SHA512 (nmap-7.91.tar.bz2) = 9d59f031b5f748311e9f9a0b9d05ad4a7a70fc6ac17598d7c4c81a4825c95d53817d74435d839e67b9379a052f2d37889fd634f9c75301a851f465d60fb9974d
|
SHA512 (nmap-7.91.tar.bz2) = 9d59f031b5f748311e9f9a0b9d05ad4a7a70fc6ac17598d7c4c81a4825c95d53817d74435d839e67b9379a052f2d37889fd634f9c75301a851f465d60fb9974d
|
||||||
|
SHA512 (nmap-7.91.tar.bz2.asc) = 376b74fc15896a1008709dac45b5af5d35ca00a1753994aba3ee6cffe2c2f0d67619fab45d57e83b454cfb376defe965f2bf881ef4cb8d5f8f2215979ad8ee96
|
||||||
|
SHA512 (nmap_gpgkeys.txt) = ab9dddbedb7c74697ae1ec68e456e3d607c057b4ca9a3bf0269a9fde0289e81031ec15718da2686aa7a68b5428e95042072c53f93925439ba6b60abf43e61317
|
||||||
|
Loading…
Reference in New Issue
Block a user