1 |
pva 08/10/03 12:15:28 |
2 |
|
3 |
Modified: ChangeLog metasploit-3.1_p5662.ebuild |
4 |
Added: metasploit-3.1_p5699.ebuild |
5 |
Removed: metasploit-3.1_p5539.ebuild |
6 |
Log: |
7 |
Revert back previous change: now we point at https again (better security and found cause of certificate confirmation request), bug #238529. Fixed crash in msfgui3 about dialog, bug #238137, thank Chad A. Simmons for report and hints on how to fix this. |
8 |
(Portage version: 2.2_rc11/cvs/Linux 2.6.26-gentoo-r1 i686) |
9 |
|
10 |
Revision Changes Path |
11 |
1.40 net-analyzer/metasploit/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/metasploit/ChangeLog?rev=1.40&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/metasploit/ChangeLog?rev=1.40&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/metasploit/ChangeLog?r1=1.39&r2=1.40 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-analyzer/metasploit/ChangeLog,v |
20 |
retrieving revision 1.39 |
21 |
retrieving revision 1.40 |
22 |
diff -u -r1.39 -r1.40 |
23 |
--- ChangeLog 25 Sep 2008 12:52:11 -0000 1.39 |
24 |
+++ ChangeLog 3 Oct 2008 12:15:27 -0000 1.40 |
25 |
@@ -1,6 +1,15 @@ |
26 |
# ChangeLog for net-analyzer/metasploit |
27 |
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/metasploit/ChangeLog,v 1.39 2008/09/25 12:52:11 pva Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/metasploit/ChangeLog,v 1.40 2008/10/03 12:15:27 pva Exp $ |
30 |
+ |
31 |
+*metasploit-3.1_p5699 (03 Oct 2008) |
32 |
+ |
33 |
+ 03 Oct 2008; Peter Volkov <pva@g.o> -metasploit-3.1_p5539.ebuild, |
34 |
+ metasploit-3.1_p5662.ebuild, +metasploit-3.1_p5699.ebuild: |
35 |
+ Revert back previous change: now we point at https again (better security |
36 |
+ and found cause of certificate confirmation request), bug #238529. Fixed |
37 |
+ crash in msfgui3 about dialog, bug #238137, thank Chad A. Simmons for |
38 |
+ report and hints on how to fix this. |
39 |
|
40 |
25 Sep 2008; Peter Volkov <pva@g.o> metasploit-3.1_p5662.ebuild: |
41 |
Changed svn URL to point on non SSL enabled server to avoid manual |
42 |
|
43 |
|
44 |
|
45 |
1.3 net-analyzer/metasploit/metasploit-3.1_p5662.ebuild |
46 |
|
47 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/metasploit/metasploit-3.1_p5662.ebuild?rev=1.3&view=markup |
48 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/metasploit/metasploit-3.1_p5662.ebuild?rev=1.3&content-type=text/plain |
49 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/metasploit/metasploit-3.1_p5662.ebuild?r1=1.2&r2=1.3 |
50 |
|
51 |
Index: metasploit-3.1_p5662.ebuild |
52 |
=================================================================== |
53 |
RCS file: /var/cvsroot/gentoo-x86/net-analyzer/metasploit/metasploit-3.1_p5662.ebuild,v |
54 |
retrieving revision 1.2 |
55 |
retrieving revision 1.3 |
56 |
diff -u -r1.2 -r1.3 |
57 |
--- metasploit-3.1_p5662.ebuild 25 Sep 2008 12:52:11 -0000 1.2 |
58 |
+++ metasploit-3.1_p5662.ebuild 3 Oct 2008 12:15:27 -0000 1.3 |
59 |
@@ -1,6 +1,6 @@ |
60 |
# Copyright 1999-2008 Gentoo Foundation |
61 |
# Distributed under the terms of the GNU General Public License v2 |
62 |
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/metasploit/metasploit-3.1_p5662.ebuild,v 1.2 2008/09/25 12:52:11 pva Exp $ |
63 |
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/metasploit/metasploit-3.1_p5662.ebuild,v 1.3 2008/10/03 12:15:27 pva Exp $ |
64 |
|
65 |
MY_P=${PN/metasploit/framework}-${PV} |
66 |
|
67 |
@@ -12,7 +12,7 @@ |
68 |
inherit subversion |
69 |
SRC_URI="" |
70 |
MTSLPT_REV=${BASH_REMATCH[2]} |
71 |
- ESVN_REPO_URI="http://metasploit.com/svn/framework3/branches/framework-${PV%_p*}/@${MTSLPT_REV}" |
72 |
+ ESVN_REPO_URI="https://metasploit.com/svn/framework3/branches/framework-${PV%_p*}/@${MTSLPT_REV}" |
73 |
else |
74 |
SRC_URI="http://sugar.metasploit.com/releases/${MY_P}.tar.gz" |
75 |
fi |
76 |
|
77 |
|
78 |
|
79 |
1.1 net-analyzer/metasploit/metasploit-3.1_p5699.ebuild |
80 |
|
81 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/metasploit/metasploit-3.1_p5699.ebuild?rev=1.1&view=markup |
82 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/metasploit/metasploit-3.1_p5699.ebuild?rev=1.1&content-type=text/plain |
83 |
|
84 |
Index: metasploit-3.1_p5699.ebuild |
85 |
=================================================================== |
86 |
# Copyright 1999-2008 Gentoo Foundation |
87 |
# Distributed under the terms of the GNU General Public License v2 |
88 |
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/metasploit/metasploit-3.1_p5699.ebuild,v 1.1 2008/10/03 12:15:27 pva Exp $ |
89 |
|
90 |
MY_P=${PN/metasploit/framework}-${PV} |
91 |
|
92 |
# Metasploit uses subversion as a *normal* update mechanism for stable branches |
93 |
# of the package. This ebuild uses _p<number> inside $PV to install updated up |
94 |
# to revision <number> version of framework. For more information, take a look |
95 |
# at bug #195924. |
96 |
if [[ "${PV}" =~ (_p)([0-9]+) ]] ; then |
97 |
inherit subversion |
98 |
SRC_URI="" |
99 |
MTSLPT_REV=${BASH_REMATCH[2]} |
100 |
ESVN_REPO_URI="https://metasploit.com/svn/framework3/branches/framework-${PV%_p*}/@${MTSLPT_REV}" |
101 |
else |
102 |
SRC_URI="http://sugar.metasploit.com/releases/${MY_P}.tar.gz" |
103 |
fi |
104 |
|
105 |
DESCRIPTION="Advanced open-source framework for developing, testing, and using vulnerability exploit code" |
106 |
HOMEPAGE="http://www.metasploit.org/" |
107 |
|
108 |
LICENSE="MSF-1.2" |
109 |
SLOT="3" |
110 |
KEYWORDS="~amd64 ~ppc ~sparc ~x86" |
111 |
IUSE="gtk sqlite sqlite3 postgres httpd" |
112 |
|
113 |
# blocker on ruby-1.8.7: |
114 |
# http://spool.metasploit.com/pipermail/framework/2008-September/003671.html |
115 |
RDEPEND="dev-lang/ruby |
116 |
!>=dev-lang/ruby-1.8.7 |
117 |
gtk? ( dev-ruby/ruby-libglade2 ) |
118 |
httpd? ( =dev-ruby/rails-1.2* ) |
119 |
sqlite? ( dev-ruby/sqlite-ruby |
120 |
dev-ruby/activerecord ) |
121 |
sqlite3? ( dev-ruby/sqlite3-ruby |
122 |
dev-ruby/activerecord ) |
123 |
postgres? ( dev-ruby/ruby-postgres |
124 |
dev-ruby/activerecord )" |
125 |
DEPEND="" |
126 |
|
127 |
S=${WORKDIR}/${MY_P} |
128 |
|
129 |
src_compile() { |
130 |
sed -i -e "s/RAILS_GEM_VERSION = '1.2.2'/RAILS_GEM_VERSION = '1.2'/" \ |
131 |
data/msfweb/config/environment.rb || die "sed failed" |
132 |
# NOTE: this sed and *not* removing documentation/LICENSE fixes bug #238137 |
133 |
sed -i \ |
134 |
"s#\(self\.license = File.read(File.join(\).*#\1'/usr/share/doc/${PF}/documentation/LICENSE'))#" \ |
135 |
lib/msf/ui/gtk2/about.rb |
136 |
} |
137 |
|
138 |
src_install() { |
139 |
if [[ "${SRC_URI}" != "" ]] ; then |
140 |
# remove the subversion directories |
141 |
find "${S}" -type d -name ".svn" -print0 | xargs -0 -n1 rm -R |
142 |
fi |
143 |
|
144 |
# should be as simple as copying everything into the target... |
145 |
dodir /usr/lib/${PN}${SLOT} |
146 |
cp -R "${S}"/* "${D}"/usr/lib/${PN}${SLOT} || die "Copy files failed" |
147 |
rm -Rf "${D}"/usr/lib/${PN}${SLOT}/documentation "${D}"/usr/lib/${PN}${SLOT}/README |
148 |
|
149 |
dodir /usr/share/doc/${PF} |
150 |
cp -R "${S}"/{documentation,README} "${D}"/usr/share/doc/${PF} |
151 |
|
152 |
dodir /usr/bin/ |
153 |
for file in `ls msf*`; do |
154 |
dosym /usr/lib/${PN}${SLOT}/${file} /usr/bin/${file}${SLOT} |
155 |
done |
156 |
|
157 |
chown -R root:0 "${D}" |
158 |
|
159 |
if use httpd; then |
160 |
newinitd "${FILESDIR}"/msfweb${SLOT}.initd msfweb${SLOT} \ |
161 |
|| die "newinitd failed" |
162 |
newconfd "${FILESDIR}"/msfweb${SLOT}.confd msfweb${SLOT} \ |
163 |
|| die "newconfd failed" |
164 |
fi |
165 |
} |
166 |
|
167 |
pkg_postinst() { |
168 |
if [[ "${SRC_URI}" == "" ]] ; then |
169 |
elog "If you wish to update ${PN} manually simply run:" |
170 |
elog |
171 |
elog "ESVN_REVISION=<rev> emerge =${PF}" |
172 |
elog |
173 |
elog "where <rev> is either HEAD (in case you wish to get all updates)" |
174 |
elog "or specific revision number. But NOTE, this update will vanish" |
175 |
elog "next time you reemerge ${PN}. To make update permanent either" |
176 |
elog "create ebuild with specific revision number inside your overlay" |
177 |
elog "or report revision bump bug at http://bugs.gentoo.org ." |
178 |
elog |
179 |
elog "In case you use portage it's also possible to create" |
180 |
elog "/etc/portage/env/${CATEGORY}/${PN} file with ESVN_REVISION=<rev>" |
181 |
elog "content. Then each time you run emerge ${PN} you'll have said" |
182 |
elog "<rev> installed. For example, if you run" |
183 |
elog " # mkdir -p /etc/portage/env/${CATEGORY}" |
184 |
elog " # echo ESVN_REVISION=HEAD >> /etc/portage/env/${CATEGORY}/${PN}" |
185 |
elog "each time you reemerge ${PN} it'll be updated to get all possible" |
186 |
elog "updates for framework-${PV%_p*} branch." |
187 |
elog "You can do similar things in paludis using /etc/paludis/bashrc." |
188 |
else |
189 |
ewarn "${PN} version you installed is for testing purposes only" |
190 |
ewarn "as it's impossible to update it. For day by day work use" |
191 |
ewarn "different version." |
192 |
fi |
193 |
} |