The Joomla! Forum ™



Forum rules


Forum Rules
READ ME <-- please read before posting, this means YOU.



Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Tue Jul 24, 2012 9:28 pm 
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Thu Nov 17, 2005 9:39 pm
Posts: 148
Hi there,

I'd like to include a 3rd party library into one of my extensions which is licensed under the BSD3 modified license (which is GPL compatible).

However, the library's php files don't have any license headers. I remember there was a jed policy to have license headers in every single php file. Is that also mandatory for libraries or is it enough if I add the original license file in the library's folder? (otherwise I need to edit quite a few files).

Thanks in advance.

Regards,
Markus


Top
 Profile  
 
PostPosted: Mon Jul 30, 2012 9:26 pm 
Joomla! Champion
Joomla! Champion

Joined: Wed Nov 22, 2006 3:35 pm
Posts: 6927
Location: Nebraska
Hey Markus - hopefully, someone in JED will answer your question, but I cannot imagine you would have to modify each PHP file to include a license header for a library. That would be a support nightmare. Hopefully, you can include a GPL-compatible library without modification. I really do believe that's the case.

_________________
http://Twitter.com/AmyStephen
http://www.alltogetherasawhole.org/


Top
 Profile  
 
PostPosted: Tue Jul 31, 2012 1:37 am 
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Thu Nov 17, 2005 9:39 pm
Posts: 148
Ok, thank you Amy.


Top
 Profile  
 
PostPosted: Fri Aug 03, 2012 6:51 pm 
User avatar
Joomla! Ace
Joomla! Ace

Joined: Sat Oct 28, 2006 11:16 pm
Posts: 1051
Location: Texas
Including a library without modification is going to be difficult. Each PHP file included with an extension must have the _JEXEC check, or it will be rejected.

read about it here:
http://docs.joomla.org/Restricted_access

As long as you're adding the _JEXEC check, you might as well add the license header.

_________________
Honk if this signature offends you.


Top
 Profile  
 
PostPosted: Sun Aug 05, 2012 11:08 pm 
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Thu Nov 17, 2005 9:39 pm
Posts: 148
@stutteringp0et:

yeah, almost forgot about that one, thanks for reminding me. Though these files are all classes, so I wonder how it should affect the security. However, looks like I have to edit a few files...


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 



Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group