Download raw body.
On 2/24/26 11:07 AM, Stuart Henderson wrote:
> On 2026/02/24 09:00, Renaud Allard wrote:
>> The OUI file is deliberately fetched at make time because it
>> could change and build would break because of a change with
>> older distinfo. But if you have another idea, I am open.
>
> That's not allowed. Firstly bulk builds are done on systems with no net
> access for the build user (and it's recommended that you do that too,
> with PORTS_PRIVSEP=Yes in mk.conf and the default pf rules to block
> _pbuild), and secondly PKGNAME needs updating if the contents change.
>
> arp-scan uses vendor listings so in order to update them I've arranged
> a subpackage there and occasionally update them. You can depend on
> net/arp-scan,-mac which gives various files:
>
> /usr/local/share/arp-scan/ieee-oui.txt - full list, includes MA-L MA-M MA-S vendors
> as well as the usual IAB (up to 48 bits of vendor id), simple MAC<tab>vendor
> format
>
> /var/arpwatch/ethercodes.dat - only IAB (24 bit), in the old arpwatch
> format
>
> /usr/local/share/mac-vendor/aircrack-oui.txt - only IAB (24-bit), in aircrack format
>
> /usr/local/share/mac-vendor/iab.csv
> /usr/local/share/mac-vendor/ma-l.csv
> /usr/local/share/mac-vendor/ma-m.csv
> /usr/local/share/mac-vendor/ma-s.csv - original files from upstream,
> including addresses
>
> /usr/local/share/mac-vendor/unofficial.csv - a few specials (qenu, carp,
> etc)
>
>
> Ideally if you can handle the variable 24-48 bit IDs please have it use
> /usr/local/share/arp-scan/ieee-oui.txt directly.
>
>
> : daemon="${TRUEPREFIX}/sbin/neighbot"
> : daemon_flags="-d -u _neighbot"
>
> -d is "daemonize", right? you want
>
> daemon="${TRUEPREFIX}/sbin/neighbot -d"
> daemon_flags="-u _neighbot"
>
> and don't use rc_bg.
>
> : rc_pre() {
> : mkdir -p ${LOCALSTATEDIR}/neighbot
> : chown _neighbot:_neighbot ${LOCALSTATEDIR}/neighbot
> : }
>
> other ports use install here
>
>
Thanks, I hope this one is better.
It's using version 0.3.2 because 0.3.1 fixes the problem Matthieu had.
And 0.3.2 adds the -o flag to specify the OUI file and is able to parse
arp-scan format OUI file.
Please advise if you see something else which is wrong.