Downgrade Nmap to 7.92 to fix NPSL licensing issue
- nmap.spec: fix missing versioned Obsoletes and add ncat to Provides Resolves: RHEL-24349 Resolves: RHEL-35722
This commit is contained in:
parent
b722486a05
commit
7e7bc66a97
29
nmap.spec
29
nmap.spec
@ -1,18 +1,13 @@
|
||||
#Todo: stop using local copy of libdnet, once system distributed version
|
||||
#supports sctp (grep sctp /usr/include/dnet.h)
|
||||
|
||||
%global _hardened_build 1
|
||||
|
||||
Name: nmap
|
||||
Epoch: 3
|
||||
Version: 7.93
|
||||
Epoch: 4
|
||||
Version: 7.92
|
||||
#global prerelease TEST5
|
||||
Release: %autorelease
|
||||
Summary: Network exploration tool and security scanner
|
||||
URL: http://nmap.org/
|
||||
# Uses combination of licenses based on GPL license, but with extra modification
|
||||
# so it got its own license tag rhbz#1055861
|
||||
License: Nmap
|
||||
# https://lists.fedoraproject.org/archives/list/legal@lists.fedoraproject.org/thread/Q67UGCHSCKCLJOVOHSLYU4AERAHBS5YE/
|
||||
# https://gitlab.com/fedora/legal/fedora-license-data/-/issues/543
|
||||
License: LicenseRef-Nmap
|
||||
|
||||
Source0: http://nmap.org/dist/%{name}-%{version}%{?prerelease}.tar.bz2
|
||||
Source1: https://nmap.org/dist/sigs/%{name}-%{version}.tar.bz2.asc
|
||||
@ -27,7 +22,8 @@ Patch2: nmap-4.52-noms.patch
|
||||
|
||||
# upstream provided patch for rhbz#845005, not yet in upstream repository
|
||||
Patch3: ncat_reg_stdin.diff
|
||||
Patch4: nmap-6.25-displayerror.patch
|
||||
# TODO: review after GUI gets enabled again
|
||||
#Patch4: nmap-6.25-displayerror.patch
|
||||
# https://github.com/nmap/nmap/pull/2247
|
||||
Patch7: nmap_resolve_config.patch
|
||||
# backport of upstream pcre2 migration, rhbz#2128336
|
||||
@ -50,8 +46,8 @@ BuildRequires: zlib-devel
|
||||
BuildRequires: gnupg2
|
||||
Requires: %{name}-ncat = %{epoch}:%{version}-%{release}
|
||||
|
||||
Obsoletes: nmap-frontend
|
||||
Obsoletes: nmap-ndiff
|
||||
Obsoletes: nmap-frontend < 7.70-1
|
||||
Obsoletes: nmap-ndiff < 7.70-1
|
||||
|
||||
%define pixmap_srcdir zenmap/share/pixmaps
|
||||
|
||||
@ -73,7 +69,9 @@ Requires(post): %{_sbindir}/alternatives
|
||||
Requires(preun): %{_sbindir}/alternatives
|
||||
Obsoletes: nc < 1.109.20120711-2
|
||||
Obsoletes: nc6 < 1.00-22
|
||||
Provides: nc nc6
|
||||
Provides: nc = %{epoch}:%{version}-%{release}
|
||||
Provides: nc6 = %{epoch}:%{version}-%{release}
|
||||
Provides: ncat = %{epoch}:%{version}-%{release}
|
||||
|
||||
%description ncat
|
||||
Ncat is a feature packed networking utility which will read and
|
||||
@ -90,7 +88,8 @@ uses.
|
||||
%autosetup -p1
|
||||
autoconf -f
|
||||
|
||||
|
||||
#TODO: stop using local copy of libdnet, once system distributed version
|
||||
#supports sctp (grep sctp /usr/include/dnet.h)
|
||||
#be sure we're not using tarballed copies of some libraries
|
||||
#rm -rf liblua libpcap libpcre macosx mswin32 ###TODO###
|
||||
|
||||
|
4
sources
4
sources
@ -1,2 +1,2 @@
|
||||
SHA512 (nmap-7.93.tar.bz2) = 4ec9295e25bd7a215e718c3dbbf09bfe6339b60850f4a8d09b5ad0cbf41a0da8ece0168efc5ca91ba1ecbd83b1d31735d77dacd5f1ec1a9fd212454dd1f0f0fd
|
||||
SHA512 (nmap-7.93.tar.bz2.asc) = 9bd8e436a6f7010ba2e3578affc4174fae12e2e7b78e523ceeb94ba44ccd928ac2cf5da52d02a00c4f190f71425671cc817b44a6a2f8d0b42b10d535bb1af3a9
|
||||
SHA512 (nmap-7.92.tar.bz2) = 7828367f9dc76ff4d1e8c821260e565fb0c3cb6aba0473d24759133a3006cdf2cb087574f0dd7d2ba47a63754ba4f72e0b78cdae1333a58f05c41d428b56ad59
|
||||
SHA512 (nmap-7.92.tar.bz2.asc) = 300a22ab097bbff67de354de6b22a8e3287f95dd6318fcabd546ba52158e9589b19ede175587c6e31518c47bc118c7dd05db43755def075d810b16945b65e05a
|
||||
|
Loading…
Reference in New Issue
Block a user