# This file is part of BlackArch Linux ( https://www.blackarch.org/ ). # See COPYING for license details. pkgname=configpush pkgver=0.8.5 pkgrel=3 groups=('blackarch' 'blackarch-scanner') pkgdesc='This is a tool to span /8-sized networks quickly sending snmpset requests with default or otherwise specified community string to Cisco devices.' arch=('x86_64' 'aarch64') url='http://packetstormsecurity.com/files/126621/Config-Push-snmpset-Utility.html' license=('custom:unknown') source=('http://dl.packetstormsecurity.net/UNIX/utilities/configpush.c') sha512sums=('b2f26856be625bc0bba0641ff1cda2b3780b74c95175e80355a3eaf577a1e43a78a7c91e31ba70ed8e0575878e87c69eb46aa32cebe105e86d0817e911b8d783') build() { gcc "$pkgname.c" -o $pkgname -lpthread -lm } package() { install -Dm 755 $pkgname "$pkgdir/usr/bin/$pkgname" }