diff options
-rw-r--r-- | .SRCINFO | 17 | ||||
-rwxr-xr-x | PKGBUILD | 31 |
2 files changed, 48 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..0744ce8a01ae --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = sparta + pkgdesc = Is a python GUI application which simplifies network infrastructure penetration testing by aiding the penetration tester in the scanning and enumeration phase. + pkgver = 1.0.2beta + pkgrel = 1 + url = http://sparta.secforce.com/ + arch = any + license = GPL2 + makedepends = git + depends = python2 + depends = python2-pyqt4 + depends = python2-elixir + depends = python2-lxml + source = https://github.com/SECFORCE/sparta/archive/master.zip + sha256sums = d6318d399bb41f4ac3f2c8b1ab9309ba4cbcc98a7be2448cccffb58fe47acd1c + +pkgname = sparta + diff --git a/PKGBUILD b/PKGBUILD new file mode 100755 index 000000000000..cc9008bf387a --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,31 @@ +# Contributor: Cyberpunk <apocalipsisfull-2011@outlook.com> +# Maintainer: Cyberpunk <apocalipsisfull-2011@outlook.com> + +pkgname=sparta +_pkgname=master +pkgver=1.0.2beta +pkgrel=1 +pkgdesc="Is a python GUI application which simplifies network infrastructure penetration testing by aiding the penetration tester in the scanning and enumeration phase." +arch=('any') +url="http://sparta.secforce.com/" +license=('GPL2') +depends=('python2' 'python2-pyqt4' 'python2-elixir' 'python2-lxml') +makedeps=('nmap' 'hydra' 'cutycapt-svn' 'nikto') +makedepends=('git') +provide=('sparta') +source=('https://github.com/SECFORCE/sparta/archive/master.zip') + +package() { + msg2 "Installing sparta..." + install -dm755 "${pkgdir}/usr/bin/" + install -dm755 "${pkgdir}/usr/share/${pkgname}" + cd "${srcdir}/${pkgname}-${_pkgname}" + cp -aRp --copy-contents * "${pkgdir}/usr/share/${pkgname}" + +cat > $pkgdir/usr/bin/sparta << "EOF" +#!/bin/bash +cd /usr/share/sparta/ && python2 sparta.py "$@" +EOF +chmod 755 "$pkgdir/usr/bin/sparta" +} +sha256sums=('d6318d399bb41f4ac3f2c8b1ab9309ba4cbcc98a7be2448cccffb58fe47acd1c') |