diff options
-rw-r--r-- | net-analyzer/metasploit/ChangeLog | 8 | ||||
-rw-r--r-- | net-analyzer/metasploit/Manifest | 9 | ||||
-rw-r--r-- | net-analyzer/metasploit/files/metasploit-3.0.patch | 107 | ||||
-rw-r--r-- | net-analyzer/metasploit/metasploit-3.1.ebuild | 68 | ||||
-rw-r--r-- | net-analyzer/metasploit/metasploit-3.1_p5422.ebuild | 102 | ||||
-rw-r--r-- | net-analyzer/metasploit/metasploit-3.1_p5435.ebuild | 102 | ||||
-rw-r--r-- | net-analyzer/metasploit/metasploit-3.1_p5456.ebuild | 6 |
7 files changed, 12 insertions, 390 deletions
diff --git a/net-analyzer/metasploit/ChangeLog b/net-analyzer/metasploit/ChangeLog index 45c87aeb2d97..84479c597e9b 100644 --- a/net-analyzer/metasploit/ChangeLog +++ b/net-analyzer/metasploit/ChangeLog @@ -1,6 +1,12 @@ # 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.33 2008/03/24 16:08:28 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/metasploit/ChangeLog,v 1.34 2008/03/26 10:32:49 pva Exp $ + + 26 Mar 2008; Peter Volkov <pva@gentoo.org> -files/metasploit-3.0.patch, + -metasploit-3.1.ebuild, -metasploit-3.1_p5422.ebuild, + -metasploit-3.1_p5435.ebuild, metasploit-3.1_p5456.ebuild: + Fixed other typos in postinstall, thank Anton Bolshakov for report in bug + #214380. Removed unused versions from 3.0 branch. 24 Mar 2008; Raúl Porcel <armin76@gentoo.org> metasploit-3.1_p5456.ebuild: diff --git a/net-analyzer/metasploit/Manifest b/net-analyzer/metasploit/Manifest index b07a97f4bc4e..b92711e2c440 100644 --- a/net-analyzer/metasploit/Manifest +++ b/net-analyzer/metasploit/Manifest @@ -1,14 +1,9 @@ -AUX metasploit-3.0.patch 4135 RMD160 e8c529da32014b15c6ce670a4437d93fcacdb4e9 SHA1 3776fd1eac5521b21f73a09eea679d49e9ca0148 SHA256 2c784d202cc3786cdd18c3704de267f9573a0a353f7111e99310f6b0e75b3452 AUX msfweb.confd 273 RMD160 35c10406c74e431aa592c7af6d14f813ad18b984 SHA1 66cff0fe0423baa89ffdd3745b7195ae0f0bf273 SHA256 006040ecd27dc0279c2bea6d69365fe1f0d66f507c039ae43720662abe9f4460 AUX msfweb.initd 533 RMD160 44f94381ae9488fb2e3c6f700458798b692971d7 SHA1 9b62d7d85af34430dda55a192460caae258ba978 SHA256 4fd9668e4b467ecfa5160e2c108ac8ace71fbeaefaf829d2f7bfb566d44bb13c AUX msfweb3.confd 234 RMD160 2cad154dc7ac4e836e8b4dd8c4366521742f90b3 SHA1 c3bac2879f00f56ff0a0737eea6a4d200f5761c9 SHA256 bc911b32a2c81d337135c7614e0982e102056fb174d274177cc2b8aca717e97f AUX msfweb3.initd 578 RMD160 47baabd2beb338fd8a067694830400801a028c1a SHA1 6a5ec10c2c82925e6e731c46f8b0fcfa607b9502 SHA256 79c74ded23d8541cf470e6c24aa2ebf45bcb4460e456c273ec0e1da4d156f066 DIST framework-2.7.tar.gz 5800216 RMD160 cfdf2705522c845bb4405413207a7df0f3873b94 SHA1 da5d41dfa13e549aacd4fbf2994877cbe80ceed9 SHA256 516952772aaa8982628460b927c9119850925f870903c5a131a9c9f0390cf77f -DIST framework-3.1.tar.gz 10076364 RMD160 19259b5a0e682ab4d92f19acc1cb4173d8eeca94 SHA1 af0036e53cffc1c82891a590bd8c0c22a06e3cc8 SHA256 dda9009180f2f6c72446afb6c8e1a755810698fee39e22d94bd033d712b69f84 EBUILD metasploit-2.7.ebuild 1451 RMD160 86b02866587de2829a1905ab274cbe4abdd41991 SHA1 e7cc8fb826d55a9be1125dd63ea16798dea1c393 SHA256 fc61998068bf093cf4a68f1563130bed0c1c05c6db7fee51669e49de9460cc96 -EBUILD metasploit-3.1.ebuild 2066 RMD160 ab256eefdec3d5b8e8c00dd4f123b70cd947de94 SHA1 f0e9c7e9b965f2fb3af779974c4b905b6d3770e3 SHA256 7b0cd59fccb0bfacac006b727347706f86c785b88136c87db08ee75d0df63e55 -EBUILD metasploit-3.1_p5422.ebuild 3655 RMD160 3c6627151e96ee0d8d1eef00202bcdc27e2f36db SHA1 2459d45a40a2017a9bbd382be2479df086a8d6ab SHA256 e71b1896649289578dd2a51d74ac1a7dc455e18b4b092a423c051a1e85b9b0c1 -EBUILD metasploit-3.1_p5435.ebuild 3655 RMD160 03fb08385f464e9486a897715cfc2ea45465cc61 SHA1 29836caf04f2c34e549eccc510dbcfade41abc92 SHA256 ab00bc5be5fefabc5710d2626befacd027de5ec320cfb5b7503826db6b141956 -EBUILD metasploit-3.1_p5456.ebuild 3666 RMD160 c7ecdabb9e99d9dcd54269c12cf4f26cdb04c432 SHA1 12de427a7689f80a4c8f8203ee835d0f1a615b37 SHA256 b4c7d6f7e0f3c3da0799893a26b690e6792367be4c871df234c75bd36a9779d0 -MISC ChangeLog 5526 RMD160 5c53fdc838289878610d4e8fdff591b1b9c04c24 SHA1 ebdac0c2b48d422a15696c0724208051f1415187 SHA256 50d47b58e2ddb49ec4e9b8d9055c63d47af154f4f01a4f790f2c688e8260332a +EBUILD metasploit-3.1_p5456.ebuild 3663 RMD160 3e77a85fb23ffa911fe64b6ea27336e4fe4cf434 SHA1 fa2cfedf4ea5de3c60c5588108e7ebb6f90c9025 SHA256 15beb8db43cf64093f1ef07c555104181217ef719a560acf88714f7557322097 +MISC ChangeLog 5842 RMD160 f072401c35104e982a3447ca898593cd394624a1 SHA1 162f78d7c2fb3f50c9ac7f8e1a60c7544ded331d SHA256 e2a447d8cdc90565cc1f6a0a7b028f60a18662eeb161f4df5ce8a3ec480d1614 MISC metadata.xml 863 RMD160 90c921bdc34bc98f2c43fb75f633dbdeb65561ae SHA1 022699039a88ca8d53bd75d0b20dbd8709953d55 SHA256 594bd50431c2ecc70b0834fed0dbfe28bac86201fb4e5b20989a56baa8f21eff diff --git a/net-analyzer/metasploit/files/metasploit-3.0.patch b/net-analyzer/metasploit/files/metasploit-3.0.patch deleted file mode 100644 index 916c46d5a50d..000000000000 --- a/net-analyzer/metasploit/files/metasploit-3.0.patch +++ /dev/null @@ -1,107 +0,0 @@ -diff -u orig/msfcli ./msfcli ---- orig/msfcli 2007-03-29 14:06:12.000000000 +0530 -+++ ./msfcli 2007-03-29 14:08:23.000000000 +0530 -@@ -5,7 +5,7 @@ - # or web-based interface. - # - --msfbase = File.symlink?(__FILE__) ? File.readlink(__FILE__) : __FILE__ -+msfbase = File.symlink?(__FILE__) ? File.expand_path(File.readlink(__FILE__), File.dirname(__FILE__)) : __FILE__ - $:.unshift(File.join(File.dirname(msfbase), 'lib')) - - require 'rex' -diff -u orig/msfconsole ./msfconsole ---- orig/msfconsole 2007-03-29 14:06:07.000000000 +0530 -+++ ./msfconsole 2007-03-29 14:08:42.000000000 +0530 -@@ -4,7 +4,7 @@ - # framework. - # - --msfbase = File.symlink?(__FILE__) ? File.readlink(__FILE__) : __FILE__ -+msfbase = File.symlink?(__FILE__) ? File.expand_path(File.readlink(__FILE__), File.dirname(__FILE__)) : __FILE__ - $:.unshift(File.join(File.dirname(msfbase), 'lib')) - - require 'rex' -diff -u orig/msfd ./msfd ---- orig/msfd 2007-03-29 14:06:01.000000000 +0530 -+++ ./msfd 2007-03-29 14:08:55.000000000 +0530 -@@ -6,8 +6,8 @@ - # possible for sessions to to be shared from a single vantage point. - # - --msfbase = File.symlink?(__FILE__) ? File.readlink(__FILE__) : __FILE__ --$:.unshift(File.join(File.dirname(msfbase), 'lib')) -+msfbase = File.symlink?(__FILE__) ? File.expand_path(File.readlink(__FILE__), File.dirname(__FILE__)) : __FILE__ -+$:.unshift(File.join(File.dirname(msfbase), 'lib')) - - require 'msf/base' - require 'msf/ui' -diff -u orig/msfencode ./msfencode ---- orig/msfencode 2007-03-29 14:05:56.000000000 +0530 -+++ ./msfencode 2007-03-29 14:09:16.000000000 +0530 -@@ -1,6 +1,6 @@ - #!/usr/bin/env ruby - --msfbase = File.symlink?(__FILE__) ? File.readlink(__FILE__) : __FILE__ -+msfbase = File.symlink?(__FILE__) ? File.expand_path(File.readlink(__FILE__), File.dirname(__FILE__)) : __FILE__ - $:.unshift(File.join(File.dirname(msfbase), 'lib')) - - require 'rex' -diff -u orig/msfgui ./msfgui ---- orig/msfgui 2007-03-29 14:05:51.000000000 +0530 -+++ ./msfgui 2007-03-29 14:09:28.000000000 +0530 -@@ -3,7 +3,7 @@ - # This is a basic user interface using the Gtk2 GUI library - # - --msfbase = File.symlink?(__FILE__) ? File.readlink(__FILE__) : __FILE__ -+msfbase = File.symlink?(__FILE__) ? File.expand_path(File.readlink(__FILE__), File.dirname(__FILE__)) : __FILE__ - $:.unshift(File.join(File.dirname(msfbase), 'lib')) - - -diff -u orig/msfopcode ./msfopcode ---- orig/msfopcode 2007-03-29 14:05:43.000000000 +0530 -+++ ./msfopcode 2007-03-29 14:09:39.000000000 +0530 -@@ -5,7 +5,7 @@ - # and to display information about modules. - # - --msfbase = File.symlink?(__FILE__) ? File.readlink(__FILE__) : __FILE__ -+msfbase = File.symlink?(__FILE__) ? File.expand_path(File.readlink(__FILE__), File.dirname(__FILE__)) : __FILE__ - $:.unshift(File.join(File.dirname(msfbase), 'lib')) - - require 'rex' -diff -u orig/msfpayload ./msfpayload ---- orig/msfpayload 2007-03-29 14:05:37.000000000 +0530 -+++ ./msfpayload 2007-03-29 14:09:53.000000000 +0530 -@@ -1,6 +1,6 @@ - #!/usr/bin/env ruby - --msfbase = File.symlink?(__FILE__) ? File.readlink(__FILE__) : __FILE__ -+msfbase = File.symlink?(__FILE__) ? File.expand_path(File.readlink(__FILE__), File.dirname(__FILE__)) : __FILE__ - $:.unshift(File.join(File.dirname(msfbase), 'lib')) - - require 'rex' -diff -u orig/msfpescan ./msfpescan ---- orig/msfpescan 2007-03-29 14:05:26.000000000 +0530 -+++ ./msfpescan 2007-03-29 14:10:02.000000000 +0530 -@@ -1,6 +1,6 @@ - #!/usr/bin/env ruby - --msfbase = File.symlink?(__FILE__) ? File.readlink(__FILE__) : __FILE__ -+msfbase = File.symlink?(__FILE__) ? File.expand_path(File.readlink(__FILE__), File.dirname(__FILE__)) : __FILE__ - $:.unshift(File.join(File.dirname(msfbase), 'lib')) - - require 'rex/peparsey' -diff -u orig/msfweb ./msfweb ---- orig/msfweb 2007-03-29 14:05:20.000000000 +0530 -+++ ./msfweb 2007-03-29 14:10:13.000000000 +0530 -@@ -3,7 +3,7 @@ - # This user interface provides users with a web-based interface to the framework - # - --msfbase = File.symlink?(__FILE__) ? File.readlink(__FILE__) : __FILE__ -+msfbase = File.symlink?(__FILE__) ? File.expand_path(File.readlink(__FILE__), File.dirname(__FILE__)) : __FILE__ - $:.unshift(File.join(File.dirname(msfbase), 'lib')) - - diff --git a/net-analyzer/metasploit/metasploit-3.1.ebuild b/net-analyzer/metasploit/metasploit-3.1.ebuild deleted file mode 100644 index 6538c8f183c2..000000000000 --- a/net-analyzer/metasploit/metasploit-3.1.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# 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.ebuild,v 1.4 2008/03/01 17:00:00 pva Exp $ - -MY_P=${PN/metasploit/framework}-${PV} -S=${WORKDIR}/${MY_P} - -DESCRIPTION="Advanced open-source framework for developing, testing, and using vulnerability exploit code" -HOMEPAGE="http://www.metasploit.org/" -SRC_URI="${MY_P}.tar.gz" - -LICENSE="MSF-1.2" -SLOT="3" -KEYWORDS="~amd64 ~ppc ~x86" -RESTRICT="fetch" -IUSE="gtk sqlite sqlite3 postgres httpd" - -RDEPEND="dev-lang/ruby - gtk? ( dev-ruby/ruby-libglade2 ) - httpd? ( =dev-ruby/rails-1.2* ) - sqlite? ( dev-ruby/sqlite-ruby - dev-ruby/activerecord ) - sqlite3? ( dev-ruby/sqlite3-ruby - dev-ruby/activerecord ) - postgres? ( dev-ruby/ruby-postgres - dev-ruby/activerecord )" -DEPEND="" - -pkg_nofetch() { - # Fetch restricted due to license acceptation - einfo "Please download the framework from:" - einfo "http://metasploit.com/framework/downloader/?id=${MY_P}.tar.gz" - einfo "and move it to ${DISTDIR}" -} - -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" -} - -src_install() { - # remove the subversion directories - find "${S}" -type d -name ".svn" | xargs rm -R - - # should be as simple as copying everything into the target... - dodir /usr/lib/metasploit${SLOT} - cp -R "${S}"/* "${D}"/usr/lib/metasploit${SLOT} || die "Copy files failed" - rm -Rf "${D}"/usr/lib/metasploit${SLOT}/documentation "${D}"/usr/lib/metasploit${SLOT}/README - - rm "${S}"/documentation/LICENSE - dodir /usr/share/doc/${PF} - cp -R "${S}"/{documentation,README} "${D}"/usr/share/doc/${PF} - - dodir /usr/bin/ - for file in `ls msf*`; do - dosym /usr/lib/metasploit${SLOT}/${file} /usr/bin/${file}${SLOT} - done - - chown -R root:0 "${D}" - - if use httpd; then - newinitd "${FILESDIR}"/msfweb${SLOT}.initd msfweb${SLOT} \ - || die "newinitd failed" - newconfd "${FILESDIR}"/msfweb${SLOT}.confd msfweb${SLOT} \ - || die "newconfd failed" - fi -} diff --git a/net-analyzer/metasploit/metasploit-3.1_p5422.ebuild b/net-analyzer/metasploit/metasploit-3.1_p5422.ebuild deleted file mode 100644 index 043824d99978..000000000000 --- a/net-analyzer/metasploit/metasploit-3.1_p5422.ebuild +++ /dev/null @@ -1,102 +0,0 @@ -# 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_p5422.ebuild,v 1.2 2008/03/01 17:34:45 pva Exp $ - -MY_P=${PN/metasploit/framework}-${PV} - -# Metasploit uses subversion as a *normal* update mechanism for stable branches -# of the package. This ebuild uses _p<number> inside $PV to install updated up -# to revision <number> version of framework. For more information, take a look -# at bug #195924. -if [[ "${PV}" =~ (_p)([0-9]+) ]] ; then - inherit subversion - SRC_URI="" - MTSLPT_REV=${BASH_REMATCH[2]} - ESVN_REPO_URI="https://metasploit.com/svn/framework3/branches/framework-${PV%_p*}/@${MTSLPT_REV}" -else - SRC_URI="http://sugar.metasploit.com/releases/${MY_P}.tar.gz" -fi - -DESCRIPTION="Advanced open-source framework for developing, testing, and using vulnerability exploit code" -HOMEPAGE="http://www.metasploit.org/" - -LICENSE="MSF-1.2" -SLOT="3" -KEYWORDS="~amd64 ~ppc ~x86" -IUSE="gtk sqlite sqlite3 postgres httpd" - -RDEPEND="dev-lang/ruby - gtk? ( dev-ruby/ruby-libglade2 ) - httpd? ( =dev-ruby/rails-1.2* ) - sqlite? ( dev-ruby/sqlite-ruby - dev-ruby/activerecord ) - sqlite3? ( dev-ruby/sqlite3-ruby - dev-ruby/activerecord ) - postgres? ( dev-ruby/ruby-postgres - dev-ruby/activerecord )" -DEPEND="" - -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" -} - -src_install() { - if [[ "${SRC_URI}" != "" ]] ; then - # remove the subversion directories - find "${S}" -type d -name ".svn" -print0 | xargs -0 -n1 rm -R - fi - - # should be as simple as copying everything into the target... - dodir /usr/lib/${PN}${SLOT} - 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 - - rm "${S}"/documentation/LICENSE - dodir /usr/share/doc/${PF} - cp -R "${S}"/{documentation,README} "${D}"/usr/share/doc/${PF} - - dodir /usr/bin/ - for file in `ls msf*`; do - dosym /usr/lib/${PN}${SLOT}/${file} /usr/bin/${file}${SLOT} - done - - chown -R root:0 "${D}" - - if use httpd; then - newinitd "${FILESDIR}"/msfweb${SLOT}.initd msfweb${SLOT} \ - || die "newinitd failed" - newconfd "${FILESDIR}"/msfweb${SLOT}.confd msfweb${SLOT} \ - || die "newconfd failed" - fi -} - -pkg_postinst() { - if [[ "${SRC_URI}" == "" ]] ; then - elog "If you wish to update ${PN} manually simply run:" - elog - elog "ESVN_REVISION=<rev> emerge =${PF}" - elog - elog "where <rev> is either HEAD (in case you wish to get all updates)" - elog "or specific revision number. But NOTE, this update will vanish" - elog "next time you reemerge ${PN}. To make update permanent either" - elog "create ebuild with specific revision number inside your overlay" - elog "or report revision bump bug at http://bugs.gentoo.org ." - elog - elog "In case you use portage it's also possible to create" - elog "/etc/portage/env/${CATEGORY}/${PN} file with ESVN_REVISION=<rev>" - elog "content. Then each time you run emerge ${PN} you'll have said" - elog "<rev> installed. For example, if you run" - elog " # mkdir /etc/portage/env/${CATEGORY}" - elog ' # echo "ESVN_REVISION=HEAD" >> /etc/portage/env/${CATEGORY}/${PN}' - elog "each time you reemerge ${PN} it'll be updated to get all possible" - elog "updates for framework-${PV%_p*} branch." - elog "You can do similar things in paludis using /etc/paludis/bashrc." - else - ewarn "${PN} version you installed is for testing purposes only" - ewarn "as it's impossible to update it. For day by day work use" - ewarn "different version." - fi -} diff --git a/net-analyzer/metasploit/metasploit-3.1_p5435.ebuild b/net-analyzer/metasploit/metasploit-3.1_p5435.ebuild deleted file mode 100644 index bc395e0cee61..000000000000 --- a/net-analyzer/metasploit/metasploit-3.1_p5435.ebuild +++ /dev/null @@ -1,102 +0,0 @@ -# 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_p5435.ebuild,v 1.1 2008/03/07 12:44:15 pva Exp $ - -MY_P=${PN/metasploit/framework}-${PV} - -# Metasploit uses subversion as a *normal* update mechanism for stable branches -# of the package. This ebuild uses _p<number> inside $PV to install updated up -# to revision <number> version of framework. For more information, take a look -# at bug #195924. -if [[ "${PV}" =~ (_p)([0-9]+) ]] ; then - inherit subversion - SRC_URI="" - MTSLPT_REV=${BASH_REMATCH[2]} - ESVN_REPO_URI="https://metasploit.com/svn/framework3/branches/framework-${PV%_p*}/@${MTSLPT_REV}" -else - SRC_URI="http://sugar.metasploit.com/releases/${MY_P}.tar.gz" -fi - -DESCRIPTION="Advanced open-source framework for developing, testing, and using vulnerability exploit code" -HOMEPAGE="http://www.metasploit.org/" - -LICENSE="MSF-1.2" -SLOT="3" -KEYWORDS="~amd64 ~ppc ~x86" -IUSE="gtk sqlite sqlite3 postgres httpd" - -RDEPEND="dev-lang/ruby - gtk? ( dev-ruby/ruby-libglade2 ) - httpd? ( =dev-ruby/rails-1.2* ) - sqlite? ( dev-ruby/sqlite-ruby - dev-ruby/activerecord ) - sqlite3? ( dev-ruby/sqlite3-ruby - dev-ruby/activerecord ) - postgres? ( dev-ruby/ruby-postgres - dev-ruby/activerecord )" -DEPEND="" - -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" -} - -src_install() { - if [[ "${SRC_URI}" != "" ]] ; then - # remove the subversion directories - find "${S}" -type d -name ".svn" -print0 | xargs -0 -n1 rm -R - fi - - # should be as simple as copying everything into the target... - dodir /usr/lib/${PN}${SLOT} - 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 - - rm "${S}"/documentation/LICENSE - dodir /usr/share/doc/${PF} - cp -R "${S}"/{documentation,README} "${D}"/usr/share/doc/${PF} - - dodir /usr/bin/ - for file in `ls msf*`; do - dosym /usr/lib/${PN}${SLOT}/${file} /usr/bin/${file}${SLOT} - done - - chown -R root:0 "${D}" - - if use httpd; then - newinitd "${FILESDIR}"/msfweb${SLOT}.initd msfweb${SLOT} \ - || die "newinitd failed" - newconfd "${FILESDIR}"/msfweb${SLOT}.confd msfweb${SLOT} \ - || die "newconfd failed" - fi -} - -pkg_postinst() { - if [[ "${SRC_URI}" == "" ]] ; then - elog "If you wish to update ${PN} manually simply run:" - elog - elog "ESVN_REVISION=<rev> emerge =${PF}" - elog - elog "where <rev> is either HEAD (in case you wish to get all updates)" - elog "or specific revision number. But NOTE, this update will vanish" - elog "next time you reemerge ${PN}. To make update permanent either" - elog "create ebuild with specific revision number inside your overlay" - elog "or report revision bump bug at http://bugs.gentoo.org ." - elog - elog "In case you use portage it's also possible to create" - elog "/etc/portage/env/${CATEGORY}/${PN} file with ESVN_REVISION=<rev>" - elog "content. Then each time you run emerge ${PN} you'll have said" - elog "<rev> installed. For example, if you run" - elog " # mkdir /etc/portage/env/${CATEGORY}" - elog ' # echo "ESVN_REVISION=HEAD" >> /etc/portage/env/${CATEGORY}/${PN}' - elog "each time you reemerge ${PN} it'll be updated to get all possible" - elog "updates for framework-${PV%_p*} branch." - elog "You can do similar things in paludis using /etc/paludis/bashrc." - else - ewarn "${PN} version you installed is for testing purposes only" - ewarn "as it's impossible to update it. For day by day work use" - ewarn "different version." - fi -} diff --git a/net-analyzer/metasploit/metasploit-3.1_p5456.ebuild b/net-analyzer/metasploit/metasploit-3.1_p5456.ebuild index 34a581d70780..d8067cc38ae3 100644 --- a/net-analyzer/metasploit/metasploit-3.1_p5456.ebuild +++ b/net-analyzer/metasploit/metasploit-3.1_p5456.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_p5456.ebuild,v 1.2 2008/03/24 16:08:28 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/metasploit/metasploit-3.1_p5456.ebuild,v 1.3 2008/03/26 10:32:49 pva Exp $ MY_P=${PN/metasploit/framework}-${PV} @@ -89,8 +89,8 @@ pkg_postinst() { elog "/etc/portage/env/${CATEGORY}/${PN} file with ESVN_REVISION=<rev>" elog "content. Then each time you run emerge ${PN} you'll have said" elog "<rev> installed. For example, if you run" - elog " # mkdir /etc/portage/env/${CATEGORY}" - elog ' # echo "ESVN_REVISION=HEAD" >> /etc/portage/env/${CATEGORY}/${PN}' + elog " # mkdir -p /etc/portage/env/${CATEGORY}" + elog " # echo ESVN_REVISION=HEAD >> /etc/portage/env/${CATEGORY}/${PN}" elog "each time you reemerge ${PN} it'll be updated to get all possible" elog "updates for framework-${PV%_p*} branch." elog "You can do similar things in paludis using /etc/paludis/bashrc." |