A antolap Jun 20, 2012 #1 Hi, How can I get a list of software (from /usr/ports) with BSD license? (no GPL or anything else)
SirDice Administrator Staff member Administrator Moderator Jun 20, 2012 #2 This should do the trick: [cmd=]find /usr/ports/ -name 'Makefile' -exec egrep -l "LICENSE=[[:space:]]+BSD" {} \;[/cmd]
This should do the trick: [cmd=]find /usr/ports/ -name 'Makefile' -exec egrep -l "LICENSE=[[:space:]]+BSD" {} \;[/cmd]
OP A antolap Jun 20, 2012 Thread Starter #4 I think there's a problem. In some Makefiles there isn't a LICENSE string, for example editors/vim. So the list generated by find is not complete.
I think there's a problem. In some Makefiles there isn't a LICENSE string, for example editors/vim. So the list generated by find is not complete.
SirDice Administrator Staff member Administrator Moderator Jun 20, 2012 #5 Yes, it does only show the ports that have a correct LICENSE set in the Makefile.
JamesElstone Nov 7, 2012 #6 If a port does not specify a LICENSE string, what is the license of the port? is BSD 2-clause assumed, or BSD 3-clause if older?? James
If a port does not specify a LICENSE string, what is the license of the port? is BSD 2-clause assumed, or BSD 3-clause if older?? James
wblock@ Developer Nov 7, 2012 #7 If a port does not specify a license, you have to check the application's source files or web site.