e5e4 [Solved] list of software with BSD license - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Ports & Packages > Installation and Maintenance of FreeBSD Ports or Packages

Installation and Maintenance of FreeBSD Ports or Packages Installing and maintaining the FreeBSD Ports Collection or FreeBSD Packages (i.e. third party software).

Reply
 
Thread Tools Display Modes
  #1  
Old June 20th, 2012, 07:41
antolap antolap is offline
Junior Member
 
Join Date: Mar 2012
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
Default list of software with BSD license

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
Reply With Quote
  #2  
Old June 20th, 2012, 08:53
SirDice's Avatar
SirDice SirDice is offline
Moderator
 
Join Date: Nov 2008
Location: Rotterdam, Netherlands
Posts: 13,725
Thanks: 47
Thanked 2,023 Times in 1,862 Posts
Default

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.
Reply With Quote
The Following User Says Thank You to SirDice For This Useful Post:
caesius (June 20th, 2012)
  #3  
Old June 20th, 2012, 09:38
antolap antolap is offline
Junior Member
 
Join Date: Mar 2012
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Ok, thanks.

Last edited by DutchDaemon; June 20th, 2012 at 11:37. Reason: Put some effort in.
Reply With Quote
  #4  
Old June 20th, 2012, 10:53
antolap antolap is offline
Junior Member
 
Join Date: Mar 2012
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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.
Reply With Quote
  #5  
Old June 20th, 2012, 10:54
SirDice's Avatar
SirDice SirDice is offline
Moderator
 
Join Date: Nov 2008
Location: Rotterdam, Netherlands
Posts: 13,725
Thanks: 47
Thanked 2,023 Times in 1,862 Posts
Default

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.
Reply With Quote
  #6  
Old November 7th, 2012, 01:29
JamesElstone JamesElstone is offline
Junior Member
 
Join Date: Oct 2011
Location: England!
Posts: 35
Thanks: 12
Thanked 3 Times in 3 Posts
Default

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
Reply With Quote
  #7  
Old November 7th, 2012, 02:24
wblock@'s Avatar
wblock@ wblock@ is offline
Moderator
 
Join Date: Sep 2009
Location: Milky Way galaxy
Posts: 7,720
Thanks: 432
Thanked 1,760 Times in 1,457 Posts
Default

If a port does not specify a license, you have to check the application's source files or web site.
Reply With Quote
The Following User Says Thank You to wblock@ For This Useful Post:
JamesElstone (November 7th, 2012)
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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


All times are GMT +1. The time now is 08:54.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0