updated on Sun Jan 22 08:00:21 UTC 2012
[aur-mirror.git] / dnsenum / PKGBUILD
blob5c7662085842ccded462b2623d540017565c0b41
1 # Maintainer: fnord0 <fnord0 AT riseup DOT net>
3 pkgname=dnsenum
4 pkgver=1.2
5 pkgrel=2
6 pkgdesc="Perl script that enumerates DNS information from a domain, attempts zone transfers, performs a brute force dictionary style attack, and then performs reverse look-ups on the results"
7 arch=('i686' 'x86_64')
8 url="http://www2.packetstormsecurity.org/cgi-bin/search/search.cgi?searchvalue=dnsenum"
9 license=('GPL')
10 depends=('perl' 'perl-net-dns' 'perl-net-ip' 'perl-net-netmask')
11 optdepends=('perl-www-mechanize: google scraping support' 
12             'perl-net-whois-ip: whois query support')
13 source=(http://dl.packetstormsecurity.net/UNIX/scanners/${pkgname}${pkgver}.tar.gz)
14 md5sums=('59d92826d06119a21f197ea7fd8bcb17')
15 sha1sums=('ceee37fb9e9e019eb1c0b55177d521ae48e321a4')
17 build() {
18                 cd ${srcdir}/${pkgname}${pkgver}
19                 install -d ${pkgdir}/usr/bin || return 1
20                 install -d ${pkgdir}/usr/share/${pkgname}/doc || return 1
21                 install -Dm755 ${srcdir}/${pkgname}${pkgver}/${pkgname}.pl ${pkgdir}/usr/share/${pkgname}/${pkgname}.pl || return 1
22                 install -Dm644 README.txt ${pkgdir}/usr/share/${pkgname}/doc/README.txt || return 1
23                 install -Dm644 dns.txt ${pkgdir}/usr/share/${pkgname}/dns.txt || return 1
24                 ln -sf /usr/share/${pkgname}/${pkgname}.pl ${pkgdir}/usr/bin/${pkgname}.pl || return 1