1 |
pva 08/03/01 17:00:01 |
2 |
|
3 |
Modified: metasploit-2.7.ebuild ChangeLog |
4 |
metasploit-3.1.ebuild |
5 |
Added: metasploit-3.1_p5422.ebuild |
6 |
Log: |
7 |
Hopefully fixed update problem, bug #195924. Now we use subversion eclass with it's features to allow users upgrade metasploit even if new revision is not available in portage ATM. Thank Erwin Paternotte, Jakub Moc, Anton Bolshakov, H D Moore, and Doug Klima for their input and help in fixing this bug. |
8 |
(Portage version: 2.1.4.4) |
9 |
|
10 |
Revision Changes Path |
11 |
1.7 net-analyzer/metasploit/metasploit-2.7.ebuild |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/metasploit/metasploit-2.7.ebuild?rev=1.7&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/metasploit/metasploit-2.7.ebuild?rev=1.7&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/metasploit/metasploit-2.7.ebuild?r1=1.6&r2=1.7 |
16 |
|
17 |
Index: metasploit-2.7.ebuild |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-analyzer/metasploit/metasploit-2.7.ebuild,v |
20 |
retrieving revision 1.6 |
21 |
retrieving revision 1.7 |
22 |
diff -u -r1.6 -r1.7 |
23 |
--- metasploit-2.7.ebuild 30 Jan 2008 15:39:59 -0000 1.6 |
24 |
+++ metasploit-2.7.ebuild 1 Mar 2008 17:00:00 -0000 1.7 |
25 |
@@ -1,10 +1,10 @@ |
26 |
# Copyright 1999-2008 Gentoo Foundation |
27 |
# Distributed under the terms of the GNU General Public License v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/metasploit/metasploit-2.7.ebuild,v 1.6 2008/01/30 15:39:59 pva Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/metasploit/metasploit-2.7.ebuild,v 1.7 2008/03/01 17:00:00 pva Exp $ |
30 |
|
31 |
MY_P="${P/metasploit/framework}" |
32 |
S="${WORKDIR}/${MY_P}" |
33 |
-DESCRIPTION="The Metasploit Framework is an advanced open-source platform for developing, testing, and using vulnerability exploit code." |
34 |
+DESCRIPTION="Advanced open-source framework for developing, testing, and using vulnerability exploit code" |
35 |
HOMEPAGE="http://www.metasploit.org/" |
36 |
SRC_URI="http://metasploit.com/tools/${MY_P}.tar.gz" |
37 |
|
38 |
|
39 |
|
40 |
|
41 |
1.28 net-analyzer/metasploit/ChangeLog |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/metasploit/ChangeLog?rev=1.28&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/metasploit/ChangeLog?rev=1.28&content-type=text/plain |
45 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/metasploit/ChangeLog?r1=1.27&r2=1.28 |
46 |
|
47 |
Index: ChangeLog |
48 |
=================================================================== |
49 |
RCS file: /var/cvsroot/gentoo-x86/net-analyzer/metasploit/ChangeLog,v |
50 |
retrieving revision 1.27 |
51 |
retrieving revision 1.28 |
52 |
diff -u -r1.27 -r1.28 |
53 |
--- ChangeLog 25 Feb 2008 20:13:58 -0000 1.27 |
54 |
+++ ChangeLog 1 Mar 2008 17:00:00 -0000 1.28 |
55 |
@@ -1,6 +1,16 @@ |
56 |
# ChangeLog for net-analyzer/metasploit |
57 |
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
58 |
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/metasploit/ChangeLog,v 1.27 2008/02/25 20:13:58 pva Exp $ |
59 |
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/metasploit/ChangeLog,v 1.28 2008/03/01 17:00:00 pva Exp $ |
60 |
+ |
61 |
+*metasploit-3.1_p5422 (01 Mar 2008) |
62 |
+ |
63 |
+ 01 Mar 2008; <pva@g.o> metasploit-2.7.ebuild, |
64 |
+ metasploit-3.1.ebuild, +metasploit-3.1_p5422.ebuild: |
65 |
+ Hopefully fixed update problem, bug #195924. Now we use subversion eclass |
66 |
+ with it's features to allow users upgrade metasploit even if new revision is |
67 |
+ not available in portage ATM. Thank Erwin Paternotte, Jakub Moc, Anton |
68 |
+ Bolshakov, H D Moore, and Doug Klima for their input and help in fixing this |
69 |
+ bug. |
70 |
|
71 |
25 Feb 2008; <pva@g.o> -metasploit-3.0-r1.ebuild, |
72 |
metasploit-3.1.ebuild: |
73 |
|
74 |
|
75 |
|
76 |
1.4 net-analyzer/metasploit/metasploit-3.1.ebuild |
77 |
|
78 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/metasploit/metasploit-3.1.ebuild?rev=1.4&view=markup |
79 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/metasploit/metasploit-3.1.ebuild?rev=1.4&content-type=text/plain |
80 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/metasploit/metasploit-3.1.ebuild?r1=1.3&r2=1.4 |
81 |
|
82 |
Index: metasploit-3.1.ebuild |
83 |
=================================================================== |
84 |
RCS file: /var/cvsroot/gentoo-x86/net-analyzer/metasploit/metasploit-3.1.ebuild,v |
85 |
retrieving revision 1.3 |
86 |
retrieving revision 1.4 |
87 |
diff -u -r1.3 -r1.4 |
88 |
--- metasploit-3.1.ebuild 25 Feb 2008 20:13:58 -0000 1.3 |
89 |
+++ metasploit-3.1.ebuild 1 Mar 2008 17:00:00 -0000 1.4 |
90 |
@@ -1,11 +1,11 @@ |
91 |
# Copyright 1999-2008 Gentoo Foundation |
92 |
# Distributed under the terms of the GNU General Public License v2 |
93 |
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/metasploit/metasploit-3.1.ebuild,v 1.3 2008/02/25 20:13:58 pva Exp $ |
94 |
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/metasploit/metasploit-3.1.ebuild,v 1.4 2008/03/01 17:00:00 pva Exp $ |
95 |
|
96 |
MY_P=${PN/metasploit/framework}-${PV} |
97 |
S=${WORKDIR}/${MY_P} |
98 |
|
99 |
-DESCRIPTION="The Metasploit Framework is an advanced open-source platform for developing, testing, and using vulnerability exploit code." |
100 |
+DESCRIPTION="Advanced open-source framework for developing, testing, and using vulnerability exploit code" |
101 |
HOMEPAGE="http://www.metasploit.org/" |
102 |
SRC_URI="${MY_P}.tar.gz" |
103 |
|
104 |
|
105 |
|
106 |
|
107 |
1.1 net-analyzer/metasploit/metasploit-3.1_p5422.ebuild |
108 |
|
109 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/metasploit/metasploit-3.1_p5422.ebuild?rev=1.1&view=markup |
110 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/metasploit/metasploit-3.1_p5422.ebuild?rev=1.1&content-type=text/plain |
111 |
|
112 |
Index: metasploit-3.1_p5422.ebuild |
113 |
=================================================================== |
114 |
# Copyright 1999-2008 Gentoo Foundation |
115 |
# Distributed under the terms of the GNU General Public License v2 |
116 |
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/metasploit/metasploit-3.1_p5422.ebuild,v 1.1 2008/03/01 17:00:00 pva Exp $ |
117 |
|
118 |
MY_P=${PN/metasploit/framework}-${PV} |
119 |
|
120 |
# Metasploit uses subversion as a *normal* update mechanism for stable branches |
121 |
# of the package. This ebuild uses _p<number> inside $PV to install updated up |
122 |
# to revision <number> version of framework. For more information, take a look |
123 |
# at bug #195924. |
124 |
if [[ "${PV}" =~ (_p)([0-9]+) ]] ; then |
125 |
inherit subversion |
126 |
SRC_URI="" |
127 |
MTSLPT_REV=${BASH_REMATCH[2]} |
128 |
ESVN_REPO_URI="https://metasploit.com/svn/framework3/branches/framework-${PV%_p*}/@${MTSLPT_REV}" |
129 |
else |
130 |
SRC_URI="http://sugar.metasploit.com/releases/${MY_P}.tar.gz" |
131 |
fi |
132 |
|
133 |
DESCRIPTION="Advanced open-source framework for developing, testing, and using vulnerability exploit code" |
134 |
HOMEPAGE="http://www.metasploit.org/" |
135 |
|
136 |
LICENSE="MSF-1.2" |
137 |
SLOT="3" |
138 |
KEYWORDS="~amd64 ~ppc ~x86" |
139 |
IUSE="gtk sqlite sqlite3 postgres httpd" |
140 |
|
141 |
RDEPEND="dev-lang/ruby |
142 |
gtk? ( dev-ruby/ruby-libglade2 ) |
143 |
httpd? ( =dev-ruby/rails-1.2* ) |
144 |
sqlite? ( dev-ruby/sqlite-ruby |
145 |
dev-ruby/activerecord ) |
146 |
sqlite3? ( dev-ruby/sqlite3-ruby |
147 |
dev-ruby/activerecord ) |
148 |
postgres? ( dev-ruby/ruby-postgres |
149 |
dev-ruby/activerecord )" |
150 |
DEPEND="" |
151 |
|
152 |
S=${WORKDIR}/${MY_P} |
153 |
|
154 |
src_compile() { |
155 |
sed -i -e "s/RAILS_GEM_VERSION = '1.2.2'/RAILS_GEM_VERSION = '1.2'/" \ |
156 |
data/msfweb/config/environment.rb || die "sed failed" |
157 |
} |
158 |
|
159 |
src_install() { |
160 |
if [[ "${SRC_URI}" != "" ]] ; then |
161 |
# remove the subversion directories |
162 |
find "${S}" -type d -name ".svn" -print0 | xargs -0 -n1 rm -R |
163 |
fi |
164 |
|
165 |
# should be as simple as copying everything into the target... |
166 |
dodir /usr/lib/${PN}${SLOT} |
167 |
cp -R "${S}"/* "${D}"/usr/lib/${PN}${SLOT} || die "Copy files failed" |
168 |
rm -Rf "${D}"/usr/lib/${PN}${SLOT}/documentation "${D}"/usr/lib/${PN}${SLOT}/README |
169 |
|
170 |
rm "${S}"/documentation/LICENSE |
171 |
dodir /usr/share/doc/${PF} |
172 |
cp -R "${S}"/{documentation,README} "${D}"/usr/share/doc/${PF} |
173 |
|
174 |
dodir /usr/bin/ |
175 |
for file in `ls msf*`; do |
176 |
dosym /usr/lib/${PN}${SLOT}/${file} /usr/bin/${file}${SLOT} |
177 |
done |
178 |
|
179 |
chown -R root:0 "${D}" |
180 |
|
181 |
if use httpd; then |
182 |
newinitd "${FILESDIR}"/msfweb${SLOT}.initd msfweb${SLOT} \ |
183 |
|| die "newinitd failed" |
184 |
newconfd "${FILESDIR}"/msfweb${SLOT}.confd msfweb${SLOT} \ |
185 |
|| die "newconfd failed" |
186 |
fi |
187 |
} |
188 |
|
189 |
pkg_postinst() { |
190 |
if [[ "${SRC_URI}" == "" ]] ; then |
191 |
elog "If you wish to update ${PN} manually simply run:" |
192 |
elog |
193 |
elog "ESVN_REVISION=<rev> emerge =${PF}" |
194 |
elog |
195 |
elog "where <rev> is either HEAD (in case you wish to get all updates)" |
196 |
elog "or specific revision number. But NOTE, this update will vanish" |
197 |
elog "next time you reemerge ${PN}. To make update permanent either" |
198 |
elog "create ebuild with specific revision number inside your overlay" |
199 |
elog "or report revision bump bug at http://bugs.gentoo.org ." |
200 |
else |
201 |
ewarn "${PN} version you installed is for testing purposes only" |
202 |
ewarn "as it's impossible to update it. For day by day work use" |
203 |
ewarn "different version." |
204 |
fi |
205 |
} |
206 |
|
207 |
|
208 |
|
209 |
-- |
210 |
gentoo-commits@l.g.o mailing list |