summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
authorAurélien DESBRIÈRES <aurelien@hackers.camp>2014-06-06 09:12:49 +0200
committerAurélien DESBRIÈRES <aurelien@hackers.camp>2014-06-06 09:12:49 +0200
commit1d09269bf684af94de8bb428fb2c82eae0ffda39 (patch)
tree0dec9df85d5bc965f09c84aaf01e3093a44d73a6 /pcr
parent38b5dfffa8ba87180d1b87409faa63fa137b4845 (diff)
reaver-wps-svn
Diffstat (limited to 'pcr')
-rw-r--r--pcr/reaver-wps-svn/PKGBUILD44
1 files changed, 44 insertions, 0 deletions
diff --git a/pcr/reaver-wps-svn/PKGBUILD b/pcr/reaver-wps-svn/PKGBUILD
new file mode 100644
index 000000000..98a3e99db
--- /dev/null
+++ b/pcr/reaver-wps-svn/PKGBUILD
@@ -0,0 +1,44 @@
+# Contributor (Arch) : Xiao-Long Chen <chenxiaolong@cxl.epac.to>
+# Maintainer (Parabola) : Aurélien DESBRIÈRES <aurelien@hackers.camp>
+
+pkgname=reaver-wps-svn
+pkgver=119
+pkgrel=1
+pkgdesc="Brute force attack against Wifi Protected Setup (WPS) registrar PINs in order to recover WPA/WPA2 passphrases"
+arch=('i686' 'x86_64' 'mips64el' 'armv6h')
+url="http://code.google.com/p/reaver-wps/"
+license=('GPL')
+depends=('libpcap' 'sqlite')
+makedepends=('subversion')
+provides=('reaver-wps')
+conflicts=('reaver-wps')
+source=('svn+http://reaver-wps.googlecode.com/svn/trunk/')
+
+pkgver() {
+ cd "${SRCDEST}/trunk/"
+ svnversion
+}
+
+build() {
+ cd "${srcdir}/trunk/src/"
+
+ ./configure --prefix=/usr --sysconfdir=/etc
+ make
+}
+
+package() {
+ cd "${srcdir}/trunk/"
+ pushd src
+ install -dm755 "${pkgdir}/usr/bin/"
+ install -m755 reaver "${pkgdir}/usr/bin/"
+ install -m755 wash "${pkgdir}/usr/bin/"
+ install -dm755 "${pkgdir}/etc/reaver/"
+ install -m644 reaver.db "${pkgdir}/etc/reaver/"
+ popd
+ pushd docs
+ install -dm755 "${pkgdir}/usr/share/man/man1/"
+ install -m644 reaver.1.gz "${pkgdir}/usr/share/man/man1/"
+ popd
+}
+
+# vim:set ts=2 sw=2 et: