blob: 4433be4681d8d6877f45e10ee197c0599f85bab2 (
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
|
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=recon-ng
_commit="7723096ce230"
pkgver=4.8.3
pkgrel=0
pkgdesc="Full-featured Web Reconnaissance framework written in Python"
url="https://bitbucket.org/LaNMaSteR53/recon-ng"
arch="noarch"
license="GPL3"
depends="python2 py-dicttoxml py-dnspython py-jsonrpclib py-lxml
py-mechanize py-slowaes py-xlsxwriter py-olefile py-pypdf2"
depends_dev=""
makedepends="$depends_dev"
install=""
subpackages=""
source="$pkgname-$pkgver.tar.gz::https://bitbucket.org/LaNMaSteR53/$pkgname/get/v$pkgver.tar.gz"
builddir="$srcdir"/LaNMaSteR53-$pkgname-$_commit
build() {
cd "$builddir"
sed -i recon-ng -i recon-cli -i recon-rpc -e "s:sys.path.append('./core/'):import os\nos.chdir(os.path.dirname(os.path.realpath(__file__)))\nsys.path.append('./core/'):g"
}
package() {
cd "$builddir"
mkdir -p "$pkgdir"/usr/share/$pkgname
mkdir -p "$pkgdir"/usr/bin
cp -R * "$pkgdir"/usr/share/$pkgname
for pkg in recon-rpc recon-cli recon-ng; do
ln -s /usr/share/$pkgname/$pkg "$pkgdir"/usr/bin/$pkg || return 1
done
}
md5sums="c616d681b2045b1642e8d6c132cf3817 recon-ng-4.8.3.tar.gz"
sha256sums="067470f032f098a711f15c3294149cd42a0861625fe356698a2619ea665f3cb0 recon-ng-4.8.3.tar.gz"
sha512sums="1853f3ce3e3c26a02eedca5d3d4599393c963079ee916ba85a907ea287ab9cd476c58d822f4b203395ad494ea3b0d90c8242d7fa26dc73b172b355c6c2e31760 recon-ng-4.8.3.tar.gz"
|