1 |
patrick 12/05/02 04:42:58 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: metasploit-4.3.0.ebuild |
5 |
Log: |
6 |
Bump, drop ppc keyword until msgpack is keyworded |
7 |
|
8 |
(Portage version: 2.2.0_alpha101/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.62 net-analyzer/metasploit/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/metasploit/ChangeLog?rev=1.62&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/metasploit/ChangeLog?rev=1.62&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/metasploit/ChangeLog?r1=1.61&r2=1.62 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-analyzer/metasploit/ChangeLog,v |
20 |
retrieving revision 1.61 |
21 |
retrieving revision 1.62 |
22 |
diff -u -r1.61 -r1.62 |
23 |
--- ChangeLog 21 Apr 2012 16:54:21 -0000 1.61 |
24 |
+++ ChangeLog 2 May 2012 04:42:58 -0000 1.62 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for net-analyzer/metasploit |
27 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/metasploit/ChangeLog,v 1.61 2012/04/21 16:54:21 armin76 Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/metasploit/ChangeLog,v 1.62 2012/05/02 04:42:58 patrick Exp $ |
30 |
+ |
31 |
+*metasploit-4.3.0 (02 May 2012) |
32 |
+ |
33 |
+ 02 May 2012; Patrick Lauer <patrick@g.o> +files/msfrpcd-4.3-conf, |
34 |
+ +files/msfrpcd-4.3-initd, +metasploit-4.3.0.ebuild: |
35 |
+ Bump, drop ppc keyword until msgpack is keyworded |
36 |
|
37 |
21 Apr 2012; Raúl Porcel <armin76@g.o> metasploit-2.7.ebuild, |
38 |
metasploit-4.0.0-r1.ebuild, metasploit-4.2.0.ebuild: |
39 |
|
40 |
|
41 |
|
42 |
1.1 net-analyzer/metasploit/metasploit-4.3.0.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/metasploit/metasploit-4.3.0.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/metasploit/metasploit-4.3.0.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: metasploit-4.3.0.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2012 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/metasploit/metasploit-4.3.0.ebuild,v 1.1 2012/05/02 04:42:58 patrick Exp $ |
52 |
|
53 |
EAPI="3" |
54 |
inherit eutils |
55 |
|
56 |
SRC_URI="http://updates.metasploit.com/data/releases/framework-${PV}.tar.bz2" |
57 |
|
58 |
DESCRIPTION="Advanced open-source framework for developing, testing, and using vulnerability exploit code" |
59 |
HOMEPAGE="http://www.metasploit.org/" |
60 |
|
61 |
LICENSE="BSD" |
62 |
SLOT="4.3" |
63 |
KEYWORDS="~amd64 ~x86" |
64 |
IUSE="gui mysql postgres" |
65 |
|
66 |
# Note we use bundled gems (see data/msfweb/vendor/rails/) as upstream voted for |
67 |
# such solution, bug #247787 |
68 |
RDEPEND="dev-lang/ruby |
69 |
dev-ruby/rubygems |
70 |
dev-ruby/msgpack |
71 |
gui? ( virtual/jre ) |
72 |
mysql? ( dev-ruby/mysql-ruby |
73 |
dev-ruby/activerecord[mysql] ) |
74 |
postgres? ( dev-ruby/ruby-postgres |
75 |
dev-ruby/activerecord[postgres] )" |
76 |
DEPEND="" |
77 |
|
78 |
QA_PRESTRIPPED=" |
79 |
usr/lib/${PN}${SLOT}/data/msflinker_linux_x86.bin |
80 |
usr/lib/${PN}${SLOT}/data/templates/template_armle_linux.bin |
81 |
usr/lib/${PN}${SLOT}/data/templates/template_x86_linux.bin" |
82 |
|
83 |
QA_EXECSTACK=" |
84 |
usr/lib/${PN}${SLOT}/data/meterpreter/msflinker_linux_x86.bin" |
85 |
QA_WX_LOAD=" |
86 |
usr/lib/${PN}${SLOT}/data/templates/template_*_linux.bin" |
87 |
|
88 |
S=${WORKDIR}/msf3 |
89 |
|
90 |
src_configure() { |
91 |
# upstream makes weird tarbllz |
92 |
find "${S}" -type d -name ".svn" -print0 | xargs -0 -n1 rm -R |
93 |
|
94 |
rm "${S}"/msfupdate |
95 |
chmod +x "${S}"/msf* |
96 |
|
97 |
use gui || rm msfgui |
98 |
} |
99 |
|
100 |
src_install() { |
101 |
# should be as simple as copying everything into the target... |
102 |
dodir /usr/lib/${PN}${SLOT} |
103 |
cp -R "${S}"/* "${D}"/usr/lib/${PN}${SLOT} |
104 |
chown -R root:0 "${D}" |
105 |
|
106 |
# do not remove LICENSE, bug #238137 |
107 |
dodir /usr/share/doc/${PF} |
108 |
cp "${S}"/{README,HACKING} "${D}"/usr/share/doc/${PF} |
109 |
dosym /usr/lib/${PN}${SLOT}/documentation /usr/share/doc/${PF}/documentation |
110 |
|
111 |
dodir /usr/bin/ |
112 |
for file in msf*; do |
113 |
dosym /usr/lib/${PN}${SLOT}/${file} /usr/bin/${file}${SLOT} |
114 |
done |
115 |
|
116 |
newinitd "${FILESDIR}"/msfrpcd-${SLOT}-initd msfrpcd${SLOT} || die |
117 |
newconfd "${FILESDIR}"/msfrpcd-${SLOT}-conf msfrpcd${SLOT} || die |
118 |
|
119 |
use gui && make_desktop_entry msfgui${SLOT} \ |
120 |
"Metasploit Framework" \ |
121 |
metasploit \ |
122 |
'GNOME;System;Network;' && |
123 |
doicon "${FILESDIR}"/metasploit.xpm |
124 |
|
125 |
# Avoid useless revdep-rebuild trigger #377617 |
126 |
dodir /etc/revdep-rebuild/ |
127 |
echo "SEARCH_DIRS_MASK=\"/usr/lib*/${PN}${SLOT}/data/john\"" > \ |
128 |
"${D}"/etc/revdep-rebuild/70-${PN}-${SLOT} |
129 |
} |
130 |
|
131 |
pkg_postinst() { |
132 |
if use gui; then |
133 |
elog "You will need to create a /usr/bin/msfrpcd symlink pointing to" |
134 |
elog "the version of msfrpcd if you want to be able to start msfrpcd" |
135 |
elog "from the java gui." |
136 |
elog |
137 |
elog "ln /usr/bin/msfrpcd${SLOT} /usr/bin/msfrpcd" |
138 |
elog |
139 |
fi |
140 |
} |