blob: 98a3e99db8d6ee4418aad31fcc7defc967a7c8e8 (
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
38
39
40
41
42
43
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:
|