The next crazy idea for #poudriere run for all #FreeBSD 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.
find /usr/ports -maxdepth 3 -name Makefile -print0 | xargs -0 -n 128 grep -L ^LICENSE=
@mpts Be sure to also check out https://wiki.freebsd.org/PortsLongtermTargets
@AMDmi3 It does not work for some reason. ๐ค
The following oneliner does work, however:
find . -name Makefile -depth 3 -exec grep -L '^LICENSE=' {} +
@AMDmi3 Great! I'll add it to the workshop todo list.
https://wiki.freebsd.org/MateuszPiotrowski/Ports/Workshop
#HSWAW #ports #FreeBSD