e5e4
![]() |
|
|
|
|
|||||||
| Installation and Maintenance of FreeBSD Ports or Packages Installing and maintaining the FreeBSD Ports Collection or FreeBSD Packages (i.e. third party software). |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Hi,
How can I get a list of software (from /usr/ports) with BSD license? (no GPL or anything else) Last edited by DutchDaemon; June 20th, 2012 at 11:39. Reason: proper formatting: http://forums.freebsd.org/showthread.php?t=8816 / wrong forum |
|
#2
|
||||
|
||||
|
This should do the trick:
find /usr/ports/ -name 'Makefile' -exec egrep -l "LICENSE=[[:space:]]+BSD" {} \;
__________________
Senior UNIX Engineer at Unix Support Nederland Experience is something you don't get until just after you need it. |
| The Following User Says Thank You to SirDice For This Useful Post: | ||
caesius (June 20th, 2012) | ||
|
#3
|
|||
|
|||
|
Ok, thanks.
Last edited by DutchDaemon; June 20th, 2012 at 11:37. Reason: Put some effort in. |
|
#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.
Last edited by DutchDaemon; June 20th, 2012 at 11:38. |
|
#5
|
||||
|
||||
|
Yes, it does only show the ports that have a correct LICENSE set in the Makefile.
__________________
Senior UNIX Engineer at Unix Support Nederland Experience is something you don't get until just after you need it. |
|
#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 |
|
#7
|
||||
|
||||
|
If a port does not specify a license, you have to check the application's source files or web site.
|
| The Following User Says Thank You to wblock@ For This Useful Post: | ||
JamesElstone (November 7th, 2012) | ||
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Old software that can't be upgraded due to license incompatibility | Nezmer | General | 3 | June 21st, 2010 15:48 |
| BSD License...? | mrcoolhead | General | 1 | April 20th, 2010 10:35 |
| BSD license and patents | roddierod | Off-Topic | 7 | March 14th, 2010 03:25 |
| [Solved] How to use BSD license | wizards | Userland Programming & Scripting | 3 | January 22nd, 2010 08:19 |
| Different between BSD license and Linux license in one line | mfaridi | Off-Topic | 19 | December 26th, 2009 11:36 |