summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2011-08-04 22:03:37 +0000
committerPatrick Lauer <patrick@gentoo.org>2011-08-04 22:03:37 +0000
commit1381cadf6472f1db0cca1b2b2a6e30cd6f7360ed (patch)
treea85a9eec6d85063ec0dbf8fa8be25a03df554d9a /net-analyzer/metasploit
parentx86 stable wrt bug #372989 (diff)
downloadgentoo-2-1381cadf6472f1db0cca1b2b2a6e30cd6f7360ed.tar.gz
gentoo-2-1381cadf6472f1db0cca1b2b2a6e30cd6f7360ed.tar.bz2
gentoo-2-1381cadf6472f1db0cca1b2b2a6e30cd6f7360ed.zip
Fixing stray svn folders and revdep-rebuild behaviour #377617 #377571
(Portage version: 2.2.0_alpha50/cvs/Linux x86_64)
Diffstat (limited to 'net-analyzer/metasploit')
-rw-r--r--net-analyzer/metasploit/ChangeLog8
-rw-r--r--net-analyzer/metasploit/metasploit-4.0.0-r1.ebuild (renamed from net-analyzer/metasploit/metasploit-4.0.0.ebuild)10
2 files changed, 16 insertions, 2 deletions
diff --git a/net-analyzer/metasploit/ChangeLog b/net-analyzer/metasploit/ChangeLog
index 8802b5c6eef2..3ab3a8e83bfb 100644
--- a/net-analyzer/metasploit/ChangeLog
+++ b/net-analyzer/metasploit/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-analyzer/metasploit
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/metasploit/ChangeLog,v 1.56 2011/08/03 05:56:15 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/metasploit/ChangeLog,v 1.57 2011/08/04 22:03:37 patrick Exp $
+
+*metasploit-4.0.0-r1 (04 Aug 2011)
+
+ 04 Aug 2011; Patrick Lauer <patrick@gentoo.org> -metasploit-4.0.0.ebuild,
+ +metasploit-4.0.0-r1.ebuild:
+ Fixing stray svn folders and revdep-rebuild behaviour #377617 #377571
*metasploit-9999 (03 Aug 2011)
*metasploit-4.0.0 (03 Aug 2011)
diff --git a/net-analyzer/metasploit/metasploit-4.0.0.ebuild b/net-analyzer/metasploit/metasploit-4.0.0-r1.ebuild
index 03e806921e4c..ea0d479292e0 100644
--- a/net-analyzer/metasploit/metasploit-4.0.0.ebuild
+++ b/net-analyzer/metasploit/metasploit-4.0.0-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/metasploit/metasploit-4.0.0.ebuild,v 1.1 2011/08/03 05:56:15 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/metasploit/metasploit-4.0.0-r1.ebuild,v 1.1 2011/08/04 22:03:37 patrick Exp $
EAPI="3"
inherit eutils
@@ -39,6 +39,9 @@ QA_WX_LOAD="
S=${WORKDIR}/msf3
src_configure() {
+ # upstream makes weird tarbllz
+ find "${S}" -type d -name ".svn" -print0 | xargs -0 -n1 rm -R
+
rm "${S}"/msfupdate
chmod +x "${S}"/msf*
@@ -69,6 +72,11 @@ src_install() {
metasploit \
'GNOME;System;Network;' &&
doicon "${FILESDIR}"/metasploit.xpm
+
+ # Avoid useless revdep-rebuild trigger #377617
+ dodir /etc/revdep-rebuild/
+ echo "SEARCH_DIRS_MASK=\"/usr/lib*/${PN}${SLOT}/data/john\"" > \
+ ${D}/etc/revdep-rebuild/70-${PN}-${SLOT}
}
pkg_postinst() {