1 |
zerochaos 13/12/23 18:48:11 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: w3af-1.1-r1.ebuild w3af-1.5.ebuild |
5 |
Log: |
6 |
update w3af-1.1 to python-single-r1 and most of an ebuild for 1.5 (need to fix deps but out of time) |
7 |
|
8 |
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key DD11F94A) |
9 |
|
10 |
Revision Changes Path |
11 |
1.19 net-analyzer/w3af/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/w3af/ChangeLog?rev=1.19&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/w3af/ChangeLog?rev=1.19&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/w3af/ChangeLog?r1=1.18&r2=1.19 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-analyzer/w3af/ChangeLog,v |
20 |
retrieving revision 1.18 |
21 |
retrieving revision 1.19 |
22 |
diff -u -r1.18 -r1.19 |
23 |
--- ChangeLog 30 Jan 2013 18:56:35 -0000 1.18 |
24 |
+++ ChangeLog 23 Dec 2013 18:48:10 -0000 1.19 |
25 |
@@ -1,6 +1,14 @@ |
26 |
# ChangeLog for net-analyzer/w3af |
27 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/w3af/ChangeLog,v 1.18 2013/01/30 18:56:35 hwoarang Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/w3af/ChangeLog,v 1.19 2013/12/23 18:48:10 zerochaos Exp $ |
30 |
+ |
31 |
+*w3af-1.5 (23 Dec 2013) |
32 |
+*w3af-1.1-r1 (23 Dec 2013) |
33 |
+ |
34 |
+ 23 Dec 2013; Rick Farina <zerochaos@g.o> +w3af-1.1-r1.ebuild, |
35 |
+ +w3af-1.5.ebuild: |
36 |
+ update w3af-1.1 to python-single-r1 and most of an ebuild for 1.5 (need to fix |
37 |
+ deps but out of time) |
38 |
|
39 |
30 Jan 2013; Markos Chandras <hwoarang@g.o> metadata.xml: |
40 |
Update metadata.xml |
41 |
|
42 |
|
43 |
|
44 |
1.1 net-analyzer/w3af/w3af-1.1-r1.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/w3af/w3af-1.1-r1.ebuild?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/w3af/w3af-1.1-r1.ebuild?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: w3af-1.1-r1.ebuild |
50 |
=================================================================== |
51 |
# Copyright 1999-2013 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/w3af/w3af-1.1-r1.ebuild,v 1.1 2013/12/23 18:48:10 zerochaos Exp $ |
54 |
|
55 |
EAPI=5 |
56 |
|
57 |
PYTHON_COMPAT=( python{2_6,2_7} ) |
58 |
PYTHON_REQ_USE="sqlite" |
59 |
|
60 |
inherit multilib python-single-r1 versionator |
61 |
|
62 |
MY_P=${PN}-"$(replace_version_separator 2 '-')" |
63 |
DESCRIPTION="Web Application Attack and Audit Framework" |
64 |
HOMEPAGE="http://w3af.sourceforge.net/" |
65 |
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2" |
66 |
|
67 |
LICENSE="GPL-2" |
68 |
SLOT="0" |
69 |
KEYWORDS="~amd64 ~x86" |
70 |
IUSE="doc gtk" |
71 |
|
72 |
RDEPEND=">=dev-python/fpconst-0.7.2 |
73 |
dev-python/lxml |
74 |
dev-python/nltk |
75 |
dev-python/pybloomfiltermmap |
76 |
dev-python/pyopenssl |
77 |
dev-python/pyPdf |
78 |
dev-python/python-cluster |
79 |
dev-python/pyyaml |
80 |
dev-python/simplejson |
81 |
dev-python/soappy |
82 |
dev-python/pysvn |
83 |
|| ( |
84 |
net-analyzer/gnu-netcat |
85 |
net-analyzer/netcat |
86 |
net-analyzer/netcat6 ) |
87 |
>=net-analyzer/scapy-2 |
88 |
gtk? ( media-gfx/graphviz |
89 |
>dev-python/pygtk-2.0 |
90 |
dev-python/pygtksourceview )" |
91 |
|
92 |
S=${WORKDIR}/${PN} |
93 |
|
94 |
src_prepare(){ |
95 |
rm -r extlib/{cluster,fpconst-0.7.2,pyPdf,SOAPpy,yaml} || die |
96 |
sed -i 's,extlib.pyPdf.,,' core/data/parsers/pdfParser.py || die |
97 |
rm readme/{GPL,INSTALL} || die |
98 |
rm plugins/attack/payloads/code/netcat || die #bug 349780 |
99 |
find "${S}" -type d -name .svn -exec rm -R {} + |
100 |
} |
101 |
|
102 |
src_install() { |
103 |
insinto /usr/$(get_libdir)/w3af |
104 |
doins -r core extlib locales plugins profiles scripts tools w3af_gui w3af_console || die |
105 |
fperms +x /usr/$(get_libdir)/w3af/w3af_{gui,console} || die |
106 |
dobin "${FILESDIR}"/w3af_console || die |
107 |
if use gtk ; then |
108 |
dobin "${FILESDIR}"/w3af_gui || die |
109 |
fi |
110 |
#use flag doc is here because doc is bigger than 3 Mb |
111 |
if use doc ; then |
112 |
insinto /usr/share/doc/${PF}/ |
113 |
doins -r readme/* || die |
114 |
fi |
115 |
python_fix_shebang "${ED}"usr/$(get_libdir)/${PN} |
116 |
} |
117 |
|
118 |
|
119 |
|
120 |
1.1 net-analyzer/w3af/w3af-1.5.ebuild |
121 |
|
122 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/w3af/w3af-1.5.ebuild?rev=1.1&view=markup |
123 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/w3af/w3af-1.5.ebuild?rev=1.1&content-type=text/plain |
124 |
|
125 |
Index: w3af-1.5.ebuild |
126 |
=================================================================== |
127 |
# Copyright 1999-2013 Gentoo Foundation |
128 |
# Distributed under the terms of the GNU General Public License v2 |
129 |
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/w3af/w3af-1.5.ebuild,v 1.1 2013/12/23 18:48:10 zerochaos Exp $ |
130 |
|
131 |
EAPI=5 |
132 |
|
133 |
PYTHON_COMPAT=( python2_7 ) |
134 |
PYTHON_REQ_USE="sqlite" |
135 |
|
136 |
inherit multilib python-single-r1 |
137 |
|
138 |
DESCRIPTION="Web Application Attack and Audit Framework" |
139 |
HOMEPAGE="http://w3af.sourceforge.net/" |
140 |
SRC_URI="https://github.com/andresriancho/${PN}/archive/${PV}.tar.gz" |
141 |
|
142 |
LICENSE="GPL-2" |
143 |
SLOT="0" |
144 |
KEYWORDS="" |
145 |
IUSE="doc gtk" |
146 |
|
147 |
#w3af seems to ship sqlmap? maybe we should split this out... |
148 |
|
149 |
QA_PREBUILT="usr/$(get_libdir)/${PN}/plugins/attack/db/sqlmap/udf/mysql/linux/32/lib_mysqludf_sys.so |
150 |
usr/$(get_libdir)/${PN}/plugins/attack/db/sqlmap/udf/mysql/linux/64/lib_mysqludf_sys.so |
151 |
usr/$(get_libdir)/${PN}/plugins/attack/db/sqlmap/udf/postgresql/linux/*/8.2/lib_postgresqludf_sys.so |
152 |
usr/$(get_libdir)/${PN}/plugins/attack/db/sqlmap/udf/postgresql/linux/*/8.3/lib_postgresqludf_sys.so |
153 |
usr/$(get_libdir)/${PN}/plugins/attack/db/sqlmap/udf/postgresql/linux/*/8.4/lib_postgresqludf_sys.so |
154 |
usr/$(get_libdir)/${PN}/plugins/attack/db/sqlmap/udf/postgresql/linux/*/9.0/lib_postgresqludf_sys.so" |
155 |
|
156 |
RDEPEND=">=dev-python/fpconst-0.7.2 |
157 |
dev-python/lxml |
158 |
dev-python/nltk |
159 |
dev-python/pybloomfiltermmap |
160 |
dev-python/pyopenssl |
161 |
dev-python/pyPdf |
162 |
dev-python/python-cluster |
163 |
dev-python/pyyaml |
164 |
dev-python/simplejson |
165 |
dev-python/soappy |
166 |
dev-python/pysvn |
167 |
|| ( |
168 |
net-analyzer/gnu-netcat |
169 |
net-analyzer/netcat |
170 |
net-analyzer/netcat6 ) |
171 |
>=net-analyzer/scapy-2 |
172 |
gtk? ( media-gfx/graphviz |
173 |
>dev-python/pygtk-2.0 |
174 |
dev-python/pygtksourceview )" |
175 |
|
176 |
src_prepare(){ |
177 |
rm doc/{GPL,INSTALL} || die |
178 |
} |
179 |
|
180 |
src_install() { |
181 |
insinto /usr/$(get_libdir)/${PN} |
182 |
doins -r core locales plugins profiles scripts tools w3af_gui w3af_console || die |
183 |
fperms +x /usr/$(get_libdir)/${PN}/${PN}_{gui,console} || die |
184 |
dobin "${FILESDIR}"/${PN}_console || die |
185 |
if use gtk ; then |
186 |
dobin "${FILESDIR}"/${PN}_gui || die |
187 |
else |
188 |
rm "${ED}"/usr/$(get_libdir)/${PN}/w3af_gui |
189 |
fi |
190 |
#use flag doc is here because doc is bigger than 3 Mb |
191 |
if use doc ; then |
192 |
insinto /usr/share/doc/${PF}/ |
193 |
doins -r doc/* || die |
194 |
fi |
195 |
python_fix_shebang "${ED}"usr/$(get_libdir)/${PN} |
196 |
} |