[PEAR-BUG] Doc #20433 [Fbk]: Please, don't deliver outdated license file in sources

[email protected] Tue, 28 Oct 2014 20:28:22 +0000 (GMT)
Newsgroups php.pear.bugs
Message-ID <[email protected]>
Edit report at https://pear.php.net/bugs/bug.php?id=20433&edit=1

 ID:               20433
 Updated by:       [email protected]
 Reported By:      midget at midworld dot net
 Summary:          Please, don't deliver outdated license file in
                    sources
 Status:           Feedback
 Type:             Documentation Problem
 Package:          Net_URL2
 Operating System: Debian GNU/Linux
 Package Version:  2.1.0
 PHP Version:      Irrelevant
 Roadmap Versions: 
 New Comment:

Hi Dario,

sorry for not taking care for this earlier. It's actually pretty simple
as it turns out.

This is the license file for docs/example.php

So both are correct, as BSD-3-Clause can be used as a per-file-license.

The copyright was never unstable. This is also properly documented in
the docblock on top of 
docs/example.php:

 * This file contains code Copyright (c) 2002-2003, Richard Heyes,
 * See BSD-3-CLAUSE-Heyes,
 * Author: Richard Heyes <richard at php net>

I might also add another one into the docs folder for "Peytz & Co.
A/S".

In the report in
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=764882 it has just
been confused 
with the wrong file, that license file does not apply for Net/URL2.php.


If you have packaged docs/BSD-3-CLAUSE-Heyes so that when installed
results being superset of all 
information stored into the file /usr/share/doc/php-net-url2/copyright
then this was wrong.

If you want to combine the copyright information of the whole package
into a single file, then you 
would need to take it from the docblock on top of Net/URL2.php and if it
ships with 
docs/example.php *additionally* from docs/BSD-3-CLAUSE-Heyes.

Please let me know what could be done to make this more clear and less
burdensome for packaging  
and downstream distribution from your point of view.


Previous Comments:
------------------------------------------------------------------------

[2014-10-26 15:37:48] midget

Hi Tom,

Thanks for the quick answer.

This issue has been brought up to me on the Debian Bug Tracker System
[0].

I've compare the license in question and the one on the top of
'Net_URL2-2.1.0/Net/URL2.php' and they seems ambiguous (in year coverage
and copyright holders), so I removed
'Net_URL2-2.1.0/docs/BSD-3-CLAUSE-Heyes' from the Debian package.

I believe that, if 'Net_URL2-2.1.0/docs/BSD-3-CLAUSE-Heyes' is the
original license, this should appears on the top of
'Net_URL2-2.1.0/Net/URL2.php' file.

If both are correct, I'll can state that in or 'debian/copyright' file
[1].

Please, clarify this issue to know how to proceed.

Thanks in advance.
[0] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=764882
[1]
http://metadata.ftp-master.debian.org/changelogs/main/p/php-net-url2/unstable_copyright

------------------------------------------------------------------------

[2014-10-25 21:36:35] tkli

-Status: Open
+Status: Feedback
Sorry for the ambiguity, but that license is not outdated. It has been
identified as the original license 
(so far) and per requirements of the licensing terms it has to be kept
with source distribution.

Are you running into a problem with a license scanner or similar? Please
provide more information, 
so a better decision can be made to deal with your issue.

------------------------------------------------------------------------

[2014-10-24 16:19:33] midget

Description:
------------
Hi,

Sources contains outdated license file
'Net_URL2-2.1.0/docs/BSD-3-CLAUSE-Heyes' that doesn't match license
headers in 'Net_URL2-2.1.0/Net/URL2.php'

 * Copyright (c) 2007-2009, Peytz & Co. A/S
 * All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions
 * are met:
 *
 *   * Redistributions of source code must retain the above copyright
 *     notice, this list of conditions and the following disclaimer.
 *   * Redistributions in binary form must reproduce the above
copyright
 *     notice, this list of conditions and the following disclaimer in
 *     the documentation and/or other materials provided with the
distribution.
 *   * Neither the name of the Net_URL2 nor the names of its
contributors may
 *     be used to endorse or promote products derived from this
software
 *     without specific prior written permission.
 *
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS
 * IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
TO,
 * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
PARTICULAR
 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL,
 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING
 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Please, remove 'Net_URL2-2.1.0/docs/BSD-3-CLAUSE-Heyes' from delivered
sources.

Thanks in advance.

------------------------------------------------------------------------


-- 
Edit this bug report at https://pear.php.net/bugs/bug.php?id=20433&edit=1