# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 PortSystem 1.0 PortGroup golang 1.0 go.setup github.com/bettercap/bettercap 2.40.0 v github.tarball_from archive revision 0 homepage https://www.bettercap.org description The Swiss Army knife for 802.11, BLE and Ethernet \ networks reconnaissance and MITM attacks. long_description bettercap is a powerful, easily extensible and portable \ framework written in Go which aims to offer to security \ researchers, red teamers and reverse engineers an easy to \ use, all-in-one solution with all the features they might \ possibly need for performing reconnaissance and attacking \ WiFi networks, Bluetooth Low Energy devices, wireless HID \ devices and Ethernet networks. categories net security installs_libs no license GPL-3 maintainers {gmail.com:herby.gillot @herbygillot} \ openmaintainer set ui_commit c671b0be70074e918788fe9f9fd19a5d35bf79dc set ui_distfile ${ui_commit}${extract.suffix} set main_distfile ${distfiles} master_sites-append https://github.com/bettercap/ui/archive/:ui distfiles-append ${ui_distfile}:ui checksums ${main_distfile} \ rmd160 967fee479a3c5bfb33dd31d32122d486b821647a \ sha256 33fb079d148bdbf640a6a634873dec7799430b0e949ba45007976e50c1323000 \ size 2595571 \ ${ui_distfile} \ rmd160 541050dcc7aace850c19366e223c436e0ee40c76 \ sha256 ab427d45403159c102dc7611509b3f69ec358df5773bbaf57d33257b63241187 \ size 11305658 post-extract { delete ${worksrcpath}/modules/ui/ui move ${workpath}/ui-${ui_commit} ${worksrcpath}/modules/ui/ui } depends_build-append \ port:pkgconfig \ port:python310 depends_lib-append port:libpcap \ path:lib/pkgconfig/libusb-1.0.pc:libusb go.offline_build no build.cmd make build.target build destroot { system -W ${worksrcpath} "make -w PREFIX=${destroot}${prefix} install" } notes \ "PLEASE NOTE: bettercap will install its caplets to /usr/local/share/bettercap"