diff options
author | Peter Volkov <pva@gentoo.org> | 2008-10-05 10:47:27 +0000 |
---|---|---|
committer | Peter Volkov <pva@gentoo.org> | 2008-10-05 10:47:27 +0000 |
commit | cbbbef2c2a7b708fb45ee5eb242022274bc51659 (patch) | |
tree | 9c1726b4c93b11d758f4750acfafdf484f6f4b4d /net-analyzer/metasploit | |
parent | Fully asm based, doesn't report virtuals with VM providers and handles direct... (diff) | |
download | gentoo-2-cbbbef2c2a7b708fb45ee5eb242022274bc51659.tar.gz gentoo-2-cbbbef2c2a7b708fb45ee5eb242022274bc51659.tar.bz2 gentoo-2-cbbbef2c2a7b708fb45ee5eb242022274bc51659.zip |
Fixed remaining issue with Online link at msfgui3 and added symlink instead of sed to make about dialog happy, bug #238137.
(Portage version: 2.2_rc11/cvs/Linux 2.6.26-gentoo-r1 i686)
Diffstat (limited to 'net-analyzer/metasploit')
-rw-r--r-- | net-analyzer/metasploit/ChangeLog | 9 | ||||
-rw-r--r-- | net-analyzer/metasploit/metasploit-3.1_p5699-r1.ebuild (renamed from net-analyzer/metasploit/metasploit-3.1_p5699.ebuild) | 10 |
2 files changed, 13 insertions, 6 deletions
diff --git a/net-analyzer/metasploit/ChangeLog b/net-analyzer/metasploit/ChangeLog index a764b953f4c1..562d74000511 100644 --- a/net-analyzer/metasploit/ChangeLog +++ b/net-analyzer/metasploit/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for net-analyzer/metasploit # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/metasploit/ChangeLog,v 1.40 2008/10/03 12:15:27 pva Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/metasploit/ChangeLog,v 1.41 2008/10/05 10:47:27 pva Exp $ + +*metasploit-3.1_p5699-r1 (05 Oct 2008) + + 05 Oct 2008; Peter Volkov <pva@gentoo.org> -metasploit-3.1_p5699.ebuild, + +metasploit-3.1_p5699-r1.ebuild: + Fixed remaining issue with Online link at msfgui3 and added symlink + instead of sed to make about dialog happy, bug #238137. *metasploit-3.1_p5699 (03 Oct 2008) diff --git a/net-analyzer/metasploit/metasploit-3.1_p5699.ebuild b/net-analyzer/metasploit/metasploit-3.1_p5699-r1.ebuild index 42441c188c03..8cf923516685 100644 --- a/net-analyzer/metasploit/metasploit-3.1_p5699.ebuild +++ b/net-analyzer/metasploit/metasploit-3.1_p5699-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/metasploit/metasploit-3.1_p5699.ebuild,v 1.1 2008/10/03 12:15:27 pva Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/metasploit/metasploit-3.1_p5699-r1.ebuild,v 1.1 2008/10/05 10:47:27 pva Exp $ MY_P=${PN/metasploit/framework}-${PV} @@ -44,15 +44,13 @@ S=${WORKDIR}/${MY_P} src_compile() { sed -i -e "s/RAILS_GEM_VERSION = '1.2.2'/RAILS_GEM_VERSION = '1.2'/" \ data/msfweb/config/environment.rb || die "sed failed" - # NOTE: this sed and *not* removing documentation/LICENSE fixes bug #238137 sed -i \ - "s#\(self\.license = File.read(File.join(\).*#\1'/usr/share/doc/${PF}/documentation/LICENSE'))#" \ - lib/msf/ui/gtk2/about.rb + 's#http://metasploit3.com/msf/support#http://metasploit.com/framework/support#' \ + lib/msf/ui/gtk2/app.rb } src_install() { if [[ "${SRC_URI}" != "" ]] ; then - # remove the subversion directories find "${S}" -type d -name ".svn" -print0 | xargs -0 -n1 rm -R fi @@ -61,8 +59,10 @@ src_install() { cp -R "${S}"/* "${D}"/usr/lib/${PN}${SLOT} || die "Copy files failed" rm -Rf "${D}"/usr/lib/${PN}${SLOT}/documentation "${D}"/usr/lib/${PN}${SLOT}/README + # do not remove LICENSE, bug #238137 dodir /usr/share/doc/${PF} cp -R "${S}"/{documentation,README} "${D}"/usr/share/doc/${PF} + dosym /usr/share/doc/${PF}/documentation /usr/lib/${PN}${SLOT}/documentation dodir /usr/bin/ for file in `ls msf*`; do |