Dmitry Marakasov is a user on octodon.social. You can follow them or interact with them if you have an account anywhere in the fediverse. If you don't, you can sign up here.

The next crazy idea for run for all ports: require license to be defined by all ports.

cat >>make.conf
LICENSE?=NONE
LICENSES_REJECTED=NONE

The end goal is to have license information filled for all ports. In particular, it's important to identify ports which do not have clearly defined license, as these cannot be legally packaged and redistributed by the project, and pose legal risks to users too. The intermediate goal is to fill licenses for ports with a lot of consumers.

Dmitry Marakasov @AMDmi3

@mpts

find /usr/ports -maxdepth 3 -name Makefile -print0 | xargs -0 -n 128 grep -L ^LICENSE=

ยท Web ยท 0 ยท 0

@AMDmi3 It does not work for some reason. ๐Ÿค”

The following oneliner does work, however:

find . -name Makefile -depth 3 -exec grep -L '^LICENSE=' {} +