1 # Maintainer: fnord0 <fnord0 at riseup dot net>
4 _pkgname32=${pkgname/lib32-/}
8 pkgdesc="Scans class A, B, and C networks for cisco routers which have telnet open and have not changed the default password from cisco."
10 url="http://www.packetstormsecurity.org"
12 depends=(gcc-multilib lib32-gcc-libs)
14 source=(http://packetstormsecurity.org/cisco/ciscos.c)
15 md5sums=('c8d0bd0b1965c7973a76097d542488d6')
20 install -d ${pkgdir}/opt/lib32/usr/share/${pkgname} || return 1
21 install -d ${pkgdir}/opt/lib32/usr/bin || return 1
22 gcc -o ciscos ciscos.c || return 1
23 install -Dm755 ${startdir}/${_pkgname32} ${pkgdir}/opt/lib32/usr/share/${pkgname}/${_pkgname32} || return 1
24 install -Dm644 ${startdir}/${_pkgname32}.c ${pkgdir}/opt/lib32/usr/share/${pkgname}/${_pkgname32}.c || return 1
25 install -Dm755 ${startdir}/${_pkgname32} ${pkgdir}/opt/lib32/usr/bin/${_pkgname32} || return 1