1 # Contributor: MatToufoutu <mattoufootu[at]gmail.com>
6 pkgdesc="High-speed network authentication cracking tool \
7 Supported protocols: FTP, TELNET, SSH, HTTP(S)"
8 url="http://nmap.org/ncrack/"
12 makedepends=('subversion')
18 _svntrunk=svn://svn.insecure.org/ncrack
24 if [ -d $_svnmod/.svn ]; then
25 (cd $_svnmod && svn up)
27 svn co --username guest --password "" --no-auth-cache $_svntrunk --config-dir ./ $_svnmod
28 if [ ! $PIPESTATUS -eq 0 ]; then
29 msg "SVN checkout failed"
34 msg "SVN checkout successful"
35 msg "Starting make..."
38 cp -r $_svnmod $_svnmod-build
41 ./configure --prefix=/usr
43 make DESTDIR=${pkgdir} install || return 1
45 rm -rf ${srcdir}/$_svnmod-build