PKGBUILDs/aur/reaver-wps-svn/PKGBUILD

45 lines
1.1 KiB
Bash
Raw Normal View History

2012-06-26 19:34:08 +00:00
# Maintainer: Xiao-Long Chen <chenxiaolong@cxl.epac.to>
pkgname=reaver-wps-svn
2014-02-17 00:46:00 +00:00
pkgver=119
pkgrel=1
2012-06-26 19:34:08 +00:00
pkgdesc="Brute force attack against Wifi Protected Setup (WPS) registrar PINs in order to recover WPA/WPA2 passphrases"
2014-02-17 00:46:00 +00:00
arch=('i686' 'x86_64' 'mips64el' 'armv6h')
2012-06-26 19:34:08 +00:00
url="http://code.google.com/p/reaver-wps/"
license=('GPL')
depends=('libpcap' 'sqlite')
makedepends=('subversion')
provides=('reaver-wps')
conflicts=('reaver-wps')
2013-05-21 22:08:05 +00:00
source=('svn+http://reaver-wps.googlecode.com/svn/trunk/')
sha512sums=('SKIP')
2012-06-26 19:34:08 +00:00
2013-05-21 22:08:05 +00:00
pkgver() {
cd "${SRCDEST}/trunk/"
svnversion
}
2012-06-26 19:34:08 +00:00
build() {
2013-05-21 22:08:05 +00:00
cd "${srcdir}/trunk/src/"
2012-06-26 19:34:08 +00:00
2013-05-21 22:08:05 +00:00
./configure --prefix=/usr --sysconfdir=/etc
2012-06-26 19:34:08 +00:00
make
}
package() {
2013-05-21 22:08:05 +00:00
cd "${srcdir}/trunk/"
2012-06-26 19:34:08 +00:00
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: