Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 97011 - Request for spring-framework dependency: dev-java/cos
Summary: Request for spring-framework dependency: dev-java/cos
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Other
: High enhancement (vote)
Assignee: Java team
URL: http://servlets.com/cos/
Whiteboard:
Keywords:
: 97010 (view as bug list)
Depends on:
Blocks: 97004 155320
  Show dependency tree
 
Reported: 2005-06-24 20:22 UTC by Josh Nichols (RETIRED)
Modified: 2007-02-10 19:43 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
cos-20021105.ebuild (cos-20021105.ebuild,1.20 KB, text/plain)
2005-06-24 20:30 UTC, Josh Nichols (RETIRED)
Details
Email allowing exception to licence (Licence Request for Gentoo Linux.txt,2.89 KB, text/plain)
2007-01-25 05:52 UTC, Alistair Bush (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Josh Nichols (RETIRED) gentoo-dev 2005-06-24 20:22:51 UTC
The Spring framework is yet another package that has way too many dependencies.

The com.oreilly.servlet (COS) package is a "must have" class library for servlet developers. There are classes to help servlets handle file uploads, generate multipart responses (server push), parse parameters, negotiate locales for internationalization, return files, manage socket connections, and act as RMI servers, as well as a class to help applets communicate with servlets. Since the first release, there are also new classes to help servlets send email messages, cache responses, and auto-detect servlet API support. The latest version is available online (with javadoc documentation) for download from http://www.servlets.com.
Comment 1 Josh Nichols (RETIRED) gentoo-dev 2005-06-24 20:30:09 UTC
Created attachment 61888 [details]
cos-20021105.ebuild

I had troubles getting one of the files to compile, due to changes in the
servlet api... so I just deleted the source file. It doesn't seem to be used by
spring, so I don't mind..

License is at http://servlets.com/cos/license.html
Comment 2 Josh Nichols (RETIRED) gentoo-dev 2005-06-24 21:05:44 UTC
*** Bug 97010 has been marked as a duplicate of this bug. ***
Comment 3 Josh Nichols (RETIRED) gentoo-dev 2005-08-22 18:12:34 UTC
Now maintained in the experimental overlay:
https://gentooexperimental.org/svn/java/gentoo-java-experimental/dev-java/cos/
Comment 4 Josh Nichols (RETIRED) gentoo-dev 2006-10-14 05:50:43 UTC
This package has a fun little clause in the license:
4. The distribution is not part of a software development kit, operating
system, other library, or a development tool without written permission from
the copyright holder.

Comment 5 Petteri Räty (RETIRED) gentoo-dev 2006-11-21 01:52:01 UTC
(In reply to comment #4)
> This package has a fun little clause in the license:
> 4. The distribution is not part of a software development kit, operating
> system, other library, or a development tool without written permission from
> the copyright holder.
> 

1. You redistribute the package in object code form only (as Java .class files or a .jar file containing the .class files) and only as part of a product that uses the classes as part of its primary functionality.

Well we are not allowed to distribute the source any way.
Comment 6 Alistair Bush (RETIRED) gentoo-dev 2007-01-22 08:42:07 UTC
I have just received an email from the developer, giving the Gentoo project permission to redistribute the cos package.  I have forwarded this to nichoj.

:)
Comment 7 Alistair Bush (RETIRED) gentoo-dev 2007-01-25 05:51:34 UTC
Here is the email that I received from the maintainer of cos.  I will post the content here plus attach the full version (headers and all)



------[EMAIL]---------
Hi Alistair,

That sounds fine, assuming you download the license file as well in a 
manner where it can easily be found.

-jh-

Alistair Bush wrote:
> Hi I am presently wishing to package your cos library for the Gentoo 
> Linux distro as it is a dependency of the Stripes framework.
> 
> Stripes has been given permission by you to distribute the cos library 
> and as you maybe well aware linux distributions require that libraries 
> are not bundled within other packages.   I therefore ask that the same 
> priviledge be extended to the Gentoo Linux Project so that the cos 
> library can be mirrored on our servers.
> 
> Packages within Gentoo are simple bash files that include information 
> such as the URL's to important files and in the case of cos will just 
> download and copy the cos jar into a specific location on the users system.
> 
> As I am not an official member of gentoo linux please contact me, 
> nichoj@gentoo.org <mailto:nichoj@gentoo.org> (The Leader of the Java 
> Herd at Gentoo) or the mailing list gentoo-java@lists.gentoo.org 
> <mailto:gentoo-java@lists.gentoo.org> if you have anymore inquiries.
> 
> 
> Thanks
> 
> Alistair Bush
> 
> www.gentoo.org <http://www.gentoo.org>
> 
> 

Comment 8 Alistair Bush (RETIRED) gentoo-dev 2007-01-25 05:52:43 UTC
Created attachment 108090 [details]
Email allowing exception to licence

This is the full email (headers and all) the states that the gentoo project is able to mirror the cos library
Comment 9 Josh Nichols (RETIRED) gentoo-dev 2007-01-25 13:21:10 UTC
You might want to follow up to see if you _have_ to download the license, or is it enough for it to live on the filesystem, ie /usr/portage/licenses
Comment 10 Alistair Bush (RETIRED) gentoo-dev 2007-01-25 19:24:00 UTC
I have just received word from upstream and he accepts the licence being stored in /usr/portage/licences.  I will upload the email tonight, but it seems that he is perfectly happy as long as the file is available to the user (ie He doesn't care about how the licence is available )


Just for completeness his response

>>>>
What I'm hearing is that the license file is always on the system if
cos.jar is on the system, and it's in a well known place, and if that's
correct then it's fine.


This does beg the question.   Is a user able to opt out of syncing the licence directory?
 
Comment 11 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2007-01-25 22:09:16 UTC
(In reply to comment #10)
> This does beg the question.   Is a user able to opt out of syncing the licence
> directory?

Probably yes, but I guess it's his own responsibility then. Plus, we can always install it to /usr/share/doc/... via dodoc, easily especially if it's part of the unpacked distfile too.
Comment 12 Josh Nichols (RETIRED) gentoo-dev 2007-02-10 19:43:27 UTC
Finally added. Thanks to Alistair for doing the legwork to work out the licensing issues.