[packages/nmap] - rel 2; add ssl-heartbleed.nse test
arekm
arekm at pld-linux.org
Thu Apr 10 12:50:38 CEST 2014
commit a6884c1d1dbde7a772da44e48984ef9e90533ae0
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Thu Apr 10 12:50:36 2014 +0200
- rel 2; add ssl-heartbleed.nse test
nmap.spec | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
---
diff --git a/nmap.spec b/nmap.spec
index 7e1ac5b..d0a9dc4 100644
--- a/nmap.spec
+++ b/nmap.spec
@@ -14,11 +14,13 @@ Summary(ru.UTF-8): Утилита сканирования сети и ауди
Summary(uk.UTF-8): Утиліта сканування мережі та аудиту безпеки
Name: nmap
Version: 6.40
-Release: 1
+Release: 2
License: GPL v2 clarified, with OpenSSL exception
Group: Networking/Utilities
Source0: http://nmap.org/dist/%{name}-%{version}.tar.bz2
# Source0-md5: c0e2f3370e1fb97fb53185b15aa22aff
+Source1: https://svn.nmap.org/nmap/scripts/ssl-heartbleed.nse
+# Source1-md5: f727de80f9a9ee307394e5b29b991c04
Patch0: %{name}-am18.patch
Patch1: %{name}-system-lua.patch
Patch2: %{name}-system-dnet.patch
@@ -159,6 +161,10 @@ install docs/zenmap.1 $RPM_BUILD_ROOT%{_mandir}/man1
%py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}
%py_postclean
+# drop after upgrade to version that provides ssl-heartbleed.nse
+[ -f $RPM_BUILD_ROOT%{_datadir}/nmap/scripts/ssl-heartbleed.nse ] && exit 1
+install %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/nmap/scripts
+
ln -sf /etc/certs/ca-certificates.crt $RPM_BUILD_ROOT/%{_datadir}/ncat/ca-bundle.crt
# remove unneeded files
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/nmap.git/commitdiff/a6884c1d1dbde7a772da44e48984ef9e90533ae0
More information about the pld-cvs-commit
mailing list