aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2016-05-24 09:11:11 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2016-05-24 09:11:11 +0000
commit957e76dcad928a8c048a0f62aa79c7625538b00a (patch)
tree75fed884f11a262198da7e5ba5d93e8dc3c91fe7 /testing
parentfaa35e0252e15b7c7366d4a258ebf5bd491801bb (diff)
downloadaports-957e76dcad928a8c048a0f62aa79c7625538b00a.tar.bz2
aports-957e76dcad928a8c048a0f62aa79c7625538b00a.tar.xz
testing/recon-ng: new aport
Diffstat (limited to 'testing')
-rw-r--r--testing/recon-ng/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/testing/recon-ng/APKBUILD b/testing/recon-ng/APKBUILD
new file mode 100644
index 0000000000..263b7f5d1b
--- /dev/null
+++ b/testing/recon-ng/APKBUILD
@@ -0,0 +1,37 @@
+# Contributor: Francesco Colista <fcolista@alpinelinux.org>
+# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
+pkgname=recon-ng
+_commit="38977ac58b3b"
+pkgver=4.8.0
+pkgrel=0
+pkgdesc="Full-featured Web Reconnaissance framework written in Python"
+url="https://bitbucket.org/LaNMaSteR53/recon-ng"
+arch="all"
+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="c03dd891e00667bb28b37c910a218a5a recon-ng-4.8.0.tar.gz"
+sha256sums="daed1e0a115ea2e9a01928d9986de84af216367922c98163cdb6bc8698b6d6ae recon-ng-4.8.0.tar.gz"
+sha512sums="68ac970c07d398ec19a874c9d525e5854fed790eb3cc6c739ba83c23b5287c703222e34dda004425b395a2d48aedf1ce87bddc25b3389ad1dc1f64b00ae52f38 recon-ng-4.8.0.tar.gz"