summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Popov <pinkbyte@gentoo.org>2012-09-23 09:14:51 +0000
committerSergey Popov <pinkbyte@gentoo.org>2012-09-23 09:14:51 +0000
commit66121dad2278e6f12561dae7ca5293e138eaa2ce (patch)
tree66c6e09d02765df54a71ba85eec0ae1d8ca48a62 /net-analyzer/nmap/nmap-5.51.ebuild
parentVersion bump. (diff)
downloadgentoo-2-66121dad2278e6f12561dae7ca5293e138eaa2ce.tar.gz
gentoo-2-66121dad2278e6f12561dae7ca5293e138eaa2ce.tar.bz2
gentoo-2-66121dad2278e6f12561dae7ca5293e138eaa2ce.zip
Fix desktop files wrt bug #432714
(Portage version: 2.2.0_alpha129/cvs/Linux x86_64)
Diffstat (limited to 'net-analyzer/nmap/nmap-5.51.ebuild')
-rw-r--r--net-analyzer/nmap/nmap-5.51.ebuild10
1 files changed, 8 insertions, 2 deletions
diff --git a/net-analyzer/nmap/nmap-5.51.ebuild b/net-analyzer/nmap/nmap-5.51.ebuild
index 5886f7489696..46bf79a10390 100644
--- a/net-analyzer/nmap/nmap-5.51.ebuild
+++ b/net-analyzer/nmap/nmap-5.51.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nmap/nmap-5.51.ebuild,v 1.10 2011/06/12 22:14:04 spock Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nmap/nmap-5.51.ebuild,v 1.11 2012/09/23 09:14:51 pinkbyte Exp $
EAPI="3"
PYTHON_DEPEND="2"
@@ -41,6 +41,12 @@ src_prepare() {
epatch "${FILESDIR}"/${PN}-5.21-python.patch
epatch "${FILESDIR}"/${PN}-5.51-su-to-zenmap-fix.patch
sed -i -e 's/-m 755 -s ncat/-m 755 ncat/' ncat/Makefile.in
+
+ # Fix desktop files wrt bug #432714
+ sed -i -e '/^Encoding/d' zenmap/install_scripts/unix/zenmap.desktop
+ sed -i -e '/^Encoding/d' zenmap/install_scripts/unix/zenmap-root.desktop
+ sed -i -e 's/Categories=Application;Network;Security/Categories=Network;System;Security;/' zenmap/install_scripts/unix/zenmap.desktop
+ sed -i -e 's/Categories=Application;Network;Security/Categories=Network;System;Security;/' zenmap/install_scripts/unix/zenmap-root.desktop
}
src_configure() {