[nmap] do not use bundled certificates, use only system ones (#734389)
Michal Hlavinka
mhlavink at fedoraproject.org
Thu Dec 8 11:05:59 UTC 2011
commit ef0be1091714f4d5f16a083c719c35bc194b6478
Author: Michal Hlavinka <mhlavink at redhat.com>
Date: Thu Dec 8 12:05:52 2011 +0100
do not use bundled certificates, use only system ones (#734389)
nmap.spec | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/nmap.spec b/nmap.spec
index f9e9b93..8966482 100644
--- a/nmap.spec
+++ b/nmap.spec
@@ -2,7 +2,7 @@
Summary: Network exploration tool and security scanner
Name: nmap
Version: 5.51
-Release: 1%{?dist}
+Release: 2%{?dist}
# nmap is GPLv2
# zenmap is GPLv2 and LGPLv2+ (zenmap/higwidgets) and GPLv2+ (zenmap/radialnet)
# libdnet-stripped is BSD (advertising clause rescinded by the Univ. of California in 1999) with some parts as Public Domain (crc32)
@@ -89,6 +89,10 @@ rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
rm -f $RPM_BUILD_ROOT%{_bindir}/uninstall_zenmap
+#do not include certificate bundle (#734389)
+rm -f $RPM_BUILD_ROOT%{_datadir}/ncat/ca-bundle.crt
+rmdir $RPM_BUILD_ROOT%{_datadir}/ncat
+
#use consolehelper
rm -f $RPM_BUILD_ROOT%{_datadir}/applications/zenmap*.desktop
rm -f $RPM_BUILD_ROOT%{_datadir}/zenmap/su-to-zenmap.sh
@@ -156,7 +160,6 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man1/ncat.1.gz
%{_mandir}/man1/nping.1.gz
%{_datadir}/nmap
-%{_datadir}/ncat
%files frontend -f zenmap.lang
%defattr(-,root,root)
@@ -175,6 +178,9 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man1/xnmap.1.gz
%changelog
+* Thu Dec 08 2011 Michal Hlavinka <mhlavink at redhat.com> - 2:5.51-2
+- do not use bundled certificates, use only system ones (#734389)
+
* Mon Feb 14 2011 Michal Hlavinka <mhlavink at redhat.com> - 2:5.51-1
- nmap updated to 5.51
More information about the scm-commits
mailing list