Browse Source

nmap: update to 7.70

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@11905 ec354946-7b23-47d6-9f5a-488ba84defc7
ara_t 5 years ago
parent
commit
1a80c957c3
1 changed files with 24 additions and 2 deletions
  1. 24 2
      n/nmap/nmap-vl.spec

+ 24 - 2
n/nmap/nmap-vl.spec

@@ -3,14 +3,27 @@
 Summary: Network exploration tool and security scanner
 Summary(ja): 多機能なポートスキャナー
 Name: nmap
-Version: 7.12
-Release: 2%{?_dist_release}
+Version: 7.70
+Release: 1%{?_dist_release}
+
 License: GPL
 Group: Applications/System
 URL: http://www.insecure.org/nmap/
 Source0: http://www.insecure.org/nmap/dist/%{name}-%{version}.tar.bz2
 #Source1: zenmap.desktop
 
+# Patches from Fedora rawhide
+#prevent possible race condition for shtool, rhbz#158996
+Patch1: nmap-4.03-mktemp.patch
+
+#don't suggest to scan microsoft
+Patch2: nmap-4.52-noms.patch
+
+# upstream provided patch for rhbz#845005, not yet in upstream repository
+Patch5: ncat_reg_stdin.diff
+Patch6: nmap-6.25-displayerror.patch
+
+
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
 BuildRequires: libpcap-devel
 BuildRequires: pcre-devel 
@@ -57,6 +70,11 @@ Nmap の GTK+ ベースのフロントエンド(zenmap)です。このパッケ
 %prep
 %setup -q
 
+%patch1 -p1 -b .mktemp
+%patch2 -p1 -b .noms
+%patch5 -p1 -b .ncat_reg_stdin
+%patch6 -p1 -b .displayerror
+
 %build
 export CPPFLAGS="-I%{_includedir}/pcap -I%{_includedir}/pcre"
 %configure 
@@ -122,6 +140,10 @@ rm -rf %{buildroot}
 %{_mandir}/man1/xnmap.1*
 
 %changelog
+* Sat Nov 17 2018 Toshiaki Ara <ara_t@384.jp> 7.70-1
+- update to 7.70
+- add Patches from Fedora rawhide
+
 * Sat Jul 02 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 7.12-2
 - rebuild with gcc-5.4.0