1 |
patrick 10/09/04 18:55:43 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: metasploit-3.4.1.ebuild |
5 |
Log: |
6 |
Bump |
7 |
|
8 |
(Portage version: 2.2_rc75/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.51 net-analyzer/metasploit/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/metasploit/ChangeLog?rev=1.51&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/metasploit/ChangeLog?rev=1.51&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/metasploit/ChangeLog?r1=1.50&r2=1.51 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-analyzer/metasploit/ChangeLog,v |
20 |
retrieving revision 1.50 |
21 |
retrieving revision 1.51 |
22 |
diff -u -r1.50 -r1.51 |
23 |
--- ChangeLog 19 May 2010 02:42:04 -0000 1.50 |
24 |
+++ ChangeLog 4 Sep 2010 18:55:42 -0000 1.51 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for net-analyzer/metasploit |
27 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/metasploit/ChangeLog,v 1.50 2010/05/19 02:42:04 patrick Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/metasploit/ChangeLog,v 1.51 2010/09/04 18:55:42 patrick Exp $ |
30 |
+ |
31 |
+*metasploit-3.4.1 (14 Jul 2010) |
32 |
+ |
33 |
+ 14 Jul 2010; Patrick Lauer <patrick@g.o> +metasploit-3.4.1.ebuild: |
34 |
+ Bump |
35 |
|
36 |
*metasploit-3.4.0 (19 May 2010) |
37 |
|
38 |
|
39 |
|
40 |
|
41 |
1.1 net-analyzer/metasploit/metasploit-3.4.1.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/metasploit/metasploit-3.4.1.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/metasploit/metasploit-3.4.1.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: metasploit-3.4.1.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2010 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/metasploit/metasploit-3.4.1.ebuild,v 1.1 2010/09/04 18:55:42 patrick Exp $ |
51 |
|
52 |
SRC_URI="http://www.metasploit.com/releases/framework-${PV}.tar.bz2" |
53 |
|
54 |
DESCRIPTION="Advanced open-source framework for developing, testing, and using vulnerability exploit code" |
55 |
HOMEPAGE="http://www.metasploit.org/" |
56 |
|
57 |
LICENSE="BSD" |
58 |
SLOT="3.4" |
59 |
KEYWORDS="~amd64 ~ppc ~sparc ~x86" |
60 |
IUSE="gtk sqlite postgres" |
61 |
|
62 |
# Note we use bundled gems (see data/msfweb/vendor/rails/) as upstream voted for |
63 |
# such solution, bug #247787 |
64 |
RDEPEND="dev-lang/ruby |
65 |
dev-ruby/rubygems |
66 |
gtk? ( dev-ruby/ruby-libglade2 ) |
67 |
sqlite? ( dev-ruby/sqlite3-ruby |
68 |
dev-ruby/activerecord ) |
69 |
postgres? ( dev-ruby/ruby-postgres |
70 |
dev-ruby/activerecord )" |
71 |
DEPEND="" |
72 |
|
73 |
S=${WORKDIR}/msf3 |
74 |
|
75 |
src_install() { |
76 |
if [[ "${SRC_URI}" != "" ]] ; then |
77 |
# svn sources... |
78 |
find "${S}" -type d -name ".svn" -print0 | xargs -0 -n1 rm -R |
79 |
fi |
80 |
|
81 |
# should be as simple as copying everything into the target... |
82 |
dodir /usr/lib/${PN}${SLOT} |
83 |
cp -R "${S}"/* "${D}"/usr/lib/${PN}${SLOT} || die "Copy files failed" |
84 |
|
85 |
# do not remove LICENSE, bug #238137 |
86 |
dodir /usr/share/doc/${PF} |
87 |
cp -R "${S}"/{documentation,README} "${D}"/usr/share/doc/${PF} |
88 |
rm -Rf "${D}"/usr/lib/${PN}${SLOT}/documentation "${D}"/usr/lib/${PN}${SLOT}/README |
89 |
dosym /usr/share/doc/${PF}/documentation /usr/lib/${PN}${SLOT}/documentation |
90 |
|
91 |
dodir /usr/bin/ |
92 |
use gtk || rm msfgui |
93 |
for file in msf*; do |
94 |
dosym /usr/lib/${PN}${SLOT}/${file} /usr/bin/${file}${SLOT} |
95 |
done |
96 |
|
97 |
chown -R root:0 "${D}" |
98 |
|
99 |
newinitd "${FILESDIR}"/msfweb${SLOT}.initd msfweb${SLOT} \ |
100 |
|| die "newinitd failed" |
101 |
newconfd "${FILESDIR}"/msfweb${SLOT}.confd msfweb${SLOT} \ |
102 |
|| die "newconfd failed" |
103 |
} |
104 |
|
105 |
pkg_postinst() { |
106 |
if [[ "${SRC_URI}" == "" ]] ; then |
107 |
elog "If you wish to update ${PN} manually simply run:" |
108 |
elog |
109 |
elog "ESVN_REVISION=<rev> emerge =${PF}" |
110 |
elog |
111 |
elog "where <rev> is either HEAD (in case you wish to get all updates)" |
112 |
elog "or specific revision number. But NOTE, this update will vanish" |
113 |
elog "next time you reemerge ${PN}. To make update permanent either" |
114 |
elog "create ebuild with specific revision number inside your overlay" |
115 |
elog "or report revision bump bug at http://bugs.gentoo.org ." |
116 |
elog |
117 |
elog "In case you use portage it's also possible to create" |
118 |
elog "/etc/portage/env/${CATEGORY}/${PN} file with ESVN_REVISION=<rev>" |
119 |
elog "content. Then each time you run emerge ${PN} you'll have said" |
120 |
elog "<rev> installed. For example, if you run" |
121 |
elog " # mkdir -p /etc/portage/env/${CATEGORY}" |
122 |
elog " # echo ESVN_REVISION=HEAD >> /etc/portage/env/${CATEGORY}/${PN}" |
123 |
elog "each time you reemerge ${PN} it'll be updated to get all possible" |
124 |
elog "updates for framework-${PV%_p*} branch." |
125 |
elog "You can do similar things in paludis using /etc/paludis/bashrc." |
126 |
fi |
127 |
} |