blob: 11b82e2adb6f4fde52753152913079e326bd456c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
# Maintainer: Pierre Lalet <pl@ivre.rocks>
pkgname='ivre'
pkgver=0.9.12
pkgrel=2
pkgdesc='Network recon framework'
arch=('any')
url='https://ivre.rocks/'
license=('GPL3')
depends=('python' 'python-pymongo' 'python-future' 'python-bottle')
optdepends=('python-py2neo: experimental flow analysis (Neo4j backend)'
'python-sqlalchemy: experimental PostgreSQL & SQLite backends'
'python-psycopg2: experimental PostgreSQL backend'
'python-pillow: trim screenshots on insertion'
'tesseract: extract words from screenshots on insertion'
'python-crypto: extract data from public keys ("ivre getmoduli")'
'python-scapy: parse PCAP files for ARP inspection (flow analysis)'
'python-matplotlib: create graphs from command line tools'
'python-dbus: 3D traceroute graphs'
'mongodb: database server'
'postgresql: database server (experimental backend)'
'neo4j-community: database server (experimental flow analysis)'
'apache: Web server'
'mod_wsgi: Web server'
'dokuwiki: Web server (notebook)'
'nmap: Network scan'
'masscan: Network scan'
'zmap: Network scan'
'bro: Network traffic analysis'
'argus: Network traffic analysis'
'nfdump: Netflow analysis'
'imagemagick: Screenshots via Nmap scripts'
'phantomjs: HTTP screenshots via Nmap script'
'ffmpeg: RTSP Screenshots via Nmap script')
makedepends=('python-setuptools')
backup=('etc/httpd/conf/extra/ivre.conf')
source=("https://files.pythonhosted.org/packages/source/${pkgname:0:1}/$pkgname/$pkgname-$pkgver.tar.gz"
"https://raw.githubusercontent.com/cea-sec/$pkgname/v$pkgver/pkg/apache/ivre.conf")
sha256sums=('e0d9df1d61d8483ed266738b70c33366b8860d0cc4a864d04924f91ab8abc4ca'
'1befe4daf20ccdf1b1906de244df2de5519843210e95491f3d8fe62ec660848c')
build() {
cd "$srcdir/$pkgname-$pkgver"
python setup.py build
}
package() {
install -Dm0644 "$srcdir/ivre.conf" "$pkgdir/etc/httpd/conf/extra/ivre.conf"
cd "$srcdir/$pkgname-$pkgver"
install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" doc/LICENSE*
python setup.py install --root="$pkgdir" --optimize=1
}
|