summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCyberpunk2015-06-08 20:26:38 -0500
committerCyberpunk2015-06-08 20:26:38 -0500
commit7a3f33c36f6725f6d532c218bff1f330fefa9e2e (patch)
treee5b8f673c278de1c9653e25fc8d1551cbd608ae3
downloadaur-7a3f33c36f6725f6d532c218bff1f330fefa9e2e.tar.gz
Initial import
-rw-r--r--.SRCINFO17
-rwxr-xr-xPKGBUILD31
2 files changed, 48 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..0744ce8a01a
--- /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 00000000000..cc9008bf387
--- /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')