blob: 092aad256709a06aefd2cad3f4506f080b36b485 (
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="4e3cc65adfdd"
pkgver=4.8.1
pkgrel=0
pkgdesc="Full-featured Web Reconnaissance framework written in Python"
url="https://bitbucket.org/LaNMaSteR53/recon-ng"
arch="noarch"
license="GPL3"
depends="python 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="4a9d6237ed47c3bb609a604df0606074 recon-ng-4.8.1.tar.gz"
sha256sums="310fc81258719bb1f96bfc0999e629d5569a095a628f0e60d87c13445c2af778 recon-ng-4.8.1.tar.gz"
sha512sums="211d834c839c88d0bc2bb3d1a9839496f9ee37052f4dcdfc413691018f636ad663dabbe6ccd61a897826ef4e4cc51a2389b9188662c2f183bc308f86cf9e7ff4 recon-ng-4.8.1.tar.gz"
|