1 |
zerochaos 12/08/24 02:28:18 |
2 |
|
3 |
Modified: metadata.xml ChangeLog |
4 |
Added: metasploit-4.4.0.ebuild |
5 |
Log: |
6 |
bump and take over maintainership, many things may change soon |
7 |
|
8 |
(Portage version: 2.1.11.11/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.6 net-analyzer/metasploit/metadata.xml |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/metasploit/metadata.xml?rev=1.6&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/metasploit/metadata.xml?rev=1.6&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/metasploit/metadata.xml?r1=1.5&r2=1.6 |
16 |
|
17 |
Index: metadata.xml |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-analyzer/metasploit/metadata.xml,v |
20 |
retrieving revision 1.5 |
21 |
retrieving revision 1.6 |
22 |
diff -u -r1.5 -r1.6 |
23 |
--- metadata.xml 3 Aug 2011 05:56:15 -0000 1.5 |
24 |
+++ metadata.xml 24 Aug 2012 02:28:18 -0000 1.6 |
25 |
@@ -1,6 +1,11 @@ |
26 |
<?xml version="1.0" encoding="UTF-8"?> |
27 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
28 |
<pkgmetadata> |
29 |
+ <maintainer> |
30 |
+ <email>zerochaos@g.o</email> |
31 |
+ <name>Rick Farina</name> |
32 |
+ <description>lover of abuse</description> |
33 |
+ </maintainer> |
34 |
<herd>netmon</herd> |
35 |
<longdescription lang="en"> |
36 |
This project is a powerful tool for penetration testing, exploit |
37 |
|
38 |
|
39 |
|
40 |
1.66 net-analyzer/metasploit/ChangeLog |
41 |
|
42 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/metasploit/ChangeLog?rev=1.66&view=markup |
43 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/metasploit/ChangeLog?rev=1.66&content-type=text/plain |
44 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/metasploit/ChangeLog?r1=1.65&r2=1.66 |
45 |
|
46 |
Index: ChangeLog |
47 |
=================================================================== |
48 |
RCS file: /var/cvsroot/gentoo-x86/net-analyzer/metasploit/ChangeLog,v |
49 |
retrieving revision 1.65 |
50 |
retrieving revision 1.66 |
51 |
diff -u -r1.65 -r1.66 |
52 |
--- ChangeLog 16 Aug 2012 03:58:21 -0000 1.65 |
53 |
+++ ChangeLog 24 Aug 2012 02:28:18 -0000 1.66 |
54 |
@@ -1,6 +1,12 @@ |
55 |
# ChangeLog for net-analyzer/metasploit |
56 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
57 |
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/metasploit/ChangeLog,v 1.65 2012/08/16 03:58:21 flameeyes Exp $ |
58 |
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/metasploit/ChangeLog,v 1.66 2012/08/24 02:28:18 zerochaos Exp $ |
59 |
+ |
60 |
+*metasploit-4.4.0 (24 Aug 2012) |
61 |
+ |
62 |
+ 24 Aug 2012; Rick Farina <zerochaos@g.o> +files/msfrpcd-4.4-conf, |
63 |
+ +files/msfrpcd-4.4-initd, +metasploit-4.4.0.ebuild, metadata.xml: |
64 |
+ bump and take over maintainership, many things may change soon |
65 |
|
66 |
16 Aug 2012; Diego E. Pettenò <flameeyes@g.o> |
67 |
metasploit-4.0.0-r1.ebuild, metasploit-4.2.0.ebuild, metasploit-4.3.0.ebuild, |
68 |
|
69 |
|
70 |
|
71 |
1.1 net-analyzer/metasploit/metasploit-4.4.0.ebuild |
72 |
|
73 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/metasploit/metasploit-4.4.0.ebuild?rev=1.1&view=markup |
74 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/metasploit/metasploit-4.4.0.ebuild?rev=1.1&content-type=text/plain |
75 |
|
76 |
Index: metasploit-4.4.0.ebuild |
77 |
=================================================================== |
78 |
# Copyright 1999-2012 Gentoo Foundation |
79 |
# Distributed under the terms of the GNU General Public License v2 |
80 |
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/metasploit/metasploit-4.4.0.ebuild,v 1.1 2012/08/24 02:28:18 zerochaos Exp $ |
81 |
|
82 |
EAPI="3" |
83 |
inherit eutils multilib |
84 |
|
85 |
SRC_URI="http://updates.metasploit.com/data/releases/framework-${PV}.tar.bz2" |
86 |
|
87 |
DESCRIPTION="Advanced open-source framework for developing, testing, and using vulnerability exploit code" |
88 |
HOMEPAGE="http://www.metasploit.org/" |
89 |
|
90 |
LICENSE="BSD" |
91 |
SLOT="4.4" |
92 |
KEYWORDS="~amd64 ~x86" |
93 |
IUSE="gui mysql postgres" |
94 |
|
95 |
# Note we use bundled gems (see data/msfweb/vendor/rails/) as upstream voted for |
96 |
# such solution, bug #247787 |
97 |
RDEPEND="dev-lang/ruby |
98 |
dev-ruby/rubygems |
99 |
dev-ruby/msgpack |
100 |
gui? ( virtual/jre ) |
101 |
mysql? ( dev-ruby/mysql-ruby |
102 |
dev-ruby/activerecord[mysql] ) |
103 |
postgres? ( dev-ruby/postgres |
104 |
dev-ruby/activerecord[postgres] )" |
105 |
DEPEND="" |
106 |
|
107 |
QA_PREBUILT=" |
108 |
usr/$(get_libdir)/${PN}${SLOT}/data/cpuinfo/cpuinfo.ia32.bin |
109 |
usr/$(get_libdir)/${PN}${SLOT}/data/cpuinfo/cpuinfo.ia64.bin |
110 |
usr/$(get_libdir)/${PN}${SLOT}/data/templates/template_x86_linux.bin |
111 |
usr/$(get_libdir)/${PN}${SLOT}/data/templates/template_armle_linux.bin |
112 |
usr/$(get_libdir)/${PN}${SLOT}/data/templates/template_x86_solaris.bin |
113 |
usr/$(get_libdir)/${PN}${SLOT}/data/templates/template_x64_linux.bin |
114 |
usr/$(get_libdir)/${PN}${SLOT}/data/templates/template_x86_bsd.bin |
115 |
usr/$(get_libdir)/${PN}${SLOT}/data/meterpreter/msflinker_linux_x86.bin |
116 |
usr/$(get_libdir)/${PN}${SLOT}/lib/gemcache/ruby/1.9.1/arch/linux64/eventmachine-0.12.10/lib/fastfilereaderext.so |
117 |
usr/$(get_libdir)/${PN}${SLOT}/lib/gemcache/ruby/1.9.1/arch/linux64/eventmachine-0.12.10/lib/rubyeventmachine.so |
118 |
usr/$(get_libdir)/${PN}${SLOT}/lib/gemcache/ruby/1.9.1/arch/linux64/thin-1.3.1/lib/thin_parser.so |
119 |
usr/$(get_libdir)/${PN}${SLOT}/lib/gemcache/ruby/1.9.1/arch/linux64/nokogiri-1.5.2/lib/nokogiri/nokogiri.so |
120 |
usr/$(get_libdir)/${PN}${SLOT}/lib/gemcache/ruby/1.9.1/arch/linux64/pg-0.13.2/lib/pg_ext.so |
121 |
usr/$(get_libdir)/${PN}${SLOT}/lib/gemcache/ruby/1.9.1/arch/linux64/msgpack-0.4.6/lib/msgpack.so |
122 |
usr/$(get_libdir)/${PN}${SLOT}/lib/gemcache/ruby/1.9.1/arch/linux32/eventmachine-0.12.10/lib/fastfilereaderext.so |
123 |
usr/$(get_libdir)/${PN}${SLOT}/lib/gemcache/ruby/1.9.1/arch/linux32/eventmachine-0.12.10/lib/rubyeventmachine.so |
124 |
usr/$(get_libdir)/${PN}${SLOT}/lib/gemcache/ruby/1.9.1/arch/linux32/thin-1.3.1/lib/thin_parser.so |
125 |
usr/$(get_libdir)/${PN}${SLOT}/lib/gemcache/ruby/1.9.1/arch/linux32/nokogiri-1.5.2/lib/nokogiri/nokogiri.so |
126 |
usr/$(get_libdir)/${PN}${SLOT}/lib/gemcache/ruby/1.9.1/arch/linux32/pg-0.13.2/lib/pg_ext.so |
127 |
usr/$(get_libdir)/${PN}${SLOT}/lib/gemcache/ruby/1.9.1/arch/linux32/msgpack-0.4.6/lib/msgpack.so |
128 |
usr/$(get_libdir)/${PN}${SLOT}/lib/gemcache/ruby/1.9.1/arch-old/linux64/pg-0.13.2/lib/pg_ext.so |
129 |
usr/$(get_libdir)/${PN}${SLOT}/lib/gemcache/ruby/1.9.1/arch-old/linux32/pg-0.13.2/lib/pg_ext.so |
130 |
usr/$(get_libdir)/${PN}${SLOT}/data/john/run.linux.x86.sse2/john |
131 |
usr/$(get_libdir)/${PN}${SLOT}/data/john/run.linux.x86.sse2/genmkvpwd |
132 |
usr/$(get_libdir)/${PN}${SLOT}/data/john/run.linux.x86.sse2/tgtsnarf |
133 |
usr/$(get_libdir)/${PN}${SLOT}/data/john/run.linux.x86.sse2/mkvcalcproba |
134 |
usr/$(get_libdir)/${PN}${SLOT}/data/john/run.linux.x86.sse2/calc_stat |
135 |
usr/$(get_libdir)/${PN}${SLOT}/data/john/run.linux.x64.mmx/john |
136 |
usr/$(get_libdir)/${PN}${SLOT}/data/john/run.linux.x64.mmx/genmkvpwd |
137 |
usr/$(get_libdir)/${PN}${SLOT}/data/john/run.linux.x64.mmx/tgtsnarf |
138 |
usr/$(get_libdir)/${PN}${SLOT}/data/john/run.linux.x64.mmx/mkvcalcproba |
139 |
usr/$(get_libdir)/${PN}${SLOT}/data/john/run.linux.x64.mmx/calc_stat |
140 |
usr/$(get_libdir)/${PN}${SLOT}/data/john/run.linux.x86.any/john |
141 |
usr/$(get_libdir)/${PN}${SLOT}/data/john/run.linux.x86.any/genmkvpwd |
142 |
usr/$(get_libdir)/${PN}${SLOT}/data/john/run.linux.x86.any/tgtsnarf |
143 |
usr/$(get_libdir)/${PN}${SLOT}/data/john/run.linux.x86.any/mkvcalcproba |
144 |
usr/$(get_libdir)/${PN}${SLOT}/data/john/run.linux.x86.any/calc_stat |
145 |
usr/$(get_libdir)/${PN}${SLOT}/data/john/run.linux.x86.mmx/john |
146 |
usr/$(get_libdir)/${PN}${SLOT}/data/john/run.linux.x86.mmx/genmkvpwd |
147 |
usr/$(get_libdir)/${PN}${SLOT}/data/john/run.linux.x86.mmx/tgtsnarf |
148 |
usr/$(get_libdir)/${PN}${SLOT}/data/john/run.linux.x86.mmx/mkvcalcproba |
149 |
usr/$(get_libdir)/${PN}${SLOT}/data/john/run.linux.x86.mmx/calc_stat |
150 |
usr/$(get_libdir)/${PN}${SLOT}/data/meterpreter/ext_server_sniffer.lso |
151 |
usr/$(get_libdir)/${PN}${SLOT}/data/meterpreter/ext_server_networkpug.lso |
152 |
usr/$(get_libdir)/${PN}${SLOT}/data/meterpreter/ext_server_stdapi.lso" |
153 |
|
154 |
|
155 |
S=${WORKDIR}/msf3 |
156 |
|
157 |
src_configure() { |
158 |
# upstream makes weird tarbllz |
159 |
find "${S}" -type d -name ".svn" -print0 | xargs -0 -n1 rm -R |
160 |
|
161 |
rm "${S}"/msfupdate |
162 |
chmod +x "${S}"/msf* |
163 |
|
164 |
use gui || rm msfgui |
165 |
} |
166 |
|
167 |
src_install() { |
168 |
# should be as simple as copying everything into the target... |
169 |
dodir /usr/$(get_libdir)/${PN}${SLOT} |
170 |
cp -R "${S}"/* "${D}"/usr/$(get_libdir)/${PN}${SLOT} |
171 |
chown -R root:0 "${D}" |
172 |
|
173 |
# do not remove LICENSE, bug #238137 |
174 |
dodir /usr/share/doc/${PF} |
175 |
cp "${S}"/{README,HACKING} "${D}"/usr/share/doc/${PF} |
176 |
dosym /usr/$(get_libdir)/${PN}${SLOT}/documentation /usr/share/doc/${PF}/documentation |
177 |
|
178 |
dodir /usr/bin/ |
179 |
for file in msf*; do |
180 |
dosym /usr/$(get_libdir)/${PN}${SLOT}/${file} /usr/bin/${file}${SLOT} |
181 |
done |
182 |
|
183 |
newinitd "${FILESDIR}"/msfrpcd-${SLOT}-initd msfrpcd${SLOT} || die |
184 |
newconfd "${FILESDIR}"/msfrpcd-${SLOT}-conf msfrpcd${SLOT} || die |
185 |
|
186 |
use gui && make_desktop_entry msfgui${SLOT} \ |
187 |
"Metasploit Framework" \ |
188 |
metasploit \ |
189 |
'GNOME;System;Network;GTK;' && |
190 |
doicon "${FILESDIR}"/metasploit.icon |
191 |
|
192 |
# Avoid useless revdep-rebuild trigger #377617 |
193 |
dodir /etc/revdep-rebuild/ |
194 |
echo "SEARCH_DIRS_MASK=\"/usr/lib*/${PN}${SLOT}/data/john\"" > \ |
195 |
"${D}"/etc/revdep-rebuild/70-${PN}-${SLOT} |
196 |
} |
197 |
|
198 |
pkg_postinst() { |
199 |
if use gui; then |
200 |
elog "You will need to create a /usr/bin/msfrpcd symlink pointing to" |
201 |
elog "the version of msfrpcd if you want to be able to start msfrpcd" |
202 |
elog "from the java gui." |
203 |
elog |
204 |
elog "ln /usr/bin/msfrpcd${SLOT} /usr/bin/msfrpcd" |
205 |
elog |
206 |
fi |
207 |
} |