The netmask utility is "a tiny program handy if you work with firewalls or routers occasionally (possibly using this as a helper for shell scripts). It can determine the smallest set of network masks to specify a range of hosts. It can also convert between common IP netmask and address formats." It appears to have been written by the Debian maintainers. More info and source files are available from: http://packages.debian.org/sid/netmask This ebuild will compile and install the netmask binary, along with supporting docs. Reproducible: Always Steps to Reproduce:
Created attachment 162163 [details] ebuild for net-misc/netmask-2.3.10
Have you considered submitting the ebuild for inclusion in the Sunrise Project overlay? http://www.gentoo.org/proj/en/sunrise/ http://overlays.gentoo.org/proj/sunrise/ http://overlays.gentoo.org/proj/sunrise/wiki/HowToCommit
No, not really. Sunrise doesn't do much for me, to be honest. It's a neat enough concept, but I'd rather not have to mess with various optional and unsupported repositories for my packages. Portage works just fine as is. :-) I actually wish that a lot of the stuff that's only available in the various portage overlays would actually be moved into the main portage tree, as it causes a lot of people to miss out on some really useful packages. With that said, though, I'm just submitting this ebuild because netmask is an extremely useful program and I think others (especially network/security admins) would benefit from it's availability on Gentoo. If the devs want to push it through an overlay first rather than adding it directly to portage, that's certainly their prerogative.
The source code is now on GitHub but hasn't seen any updates since 2015. Of course this isn't exactly a complicated tool so in principle it could still be included... The main question is, is anyone interested having it added to the tree? If anyone still is, your best chance might be to become its proxied maintainer. Let us know if you are interested! If nobody steps up, I shall close this ticket as WONTFIX in 30 days - but feel free to reopen it later if need be.