Suspicious license headers in HPLIP
Hi,
I've found suspicious notices in the comment at the beginning of several files, which sounded to me like non-open source, so I removed them just in case. It would be great if someone experienced with licenses looked into them as well and gave resolution whether files with texts can be in Fedora or not. I can divide this ticket later if needed.
License 1:
- looks like BSD license with 4 clauses, but the text looks against open source
// Copyright (c) 1996 - 2008, HP Development Company, L.P.
// All rights reserved.
//
// This software is licensed solely for use with HP products. Redistribution
// and use with HP products 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 HP nor the names of its contributors
// may be used to endorse or promote products derived from this software
// without specific prior written permission.
// - Redistributors making defect corrections to source code grant to
// HP the right to use and redistribute such defect
// corrections.
//
// This software contains technology licensed from third parties; use with
// non-HP products is at your own risk and may require a royalty.
//
// 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 HP OR ITS
// 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.
Files using this:
https://github.com/zdohnal/hplip/blob/master/prnt/hpcups/ErnieFilter.cpp
https://github.com/zdohnal/hplip/blob/master/prnt/hpcups/ErnieFilter.h
License 2:
- comment at the beginning of file
Copyright (c) 1996 - 2015, HP Co.
All rights reserved. Copying or other reproduction of this
program except for archival purposes is prohibited without
the prior written consent of HP Company.
File with this comment:
https://github.com/zdohnal/hplip/blob/master/prnt/hpcups/Hbpl1_Wrapper.cpp
https://github.com/zdohnal/hplip/blob/master/prnt/hpcups/genPCLm.cpp
https://github.com/zdohnal/hplip/blob/master/prnt/hpcups/genPCLm.h
https://github.com/zdohnal/hplip/blob/master/prnt/hpcups/common_defines.h
License 3:
- this looks like a combination of some open source license and proprietary comment from license 2:
/**************************************************************************
*
* (c) Copyright Hewlett-Packard Company, 1994, 1995. All rights are
* reserved. Copying or other reproduction of this program except
* for archival purposes is prohibited without the prior written
* consent of Hewlett-Packard Company.
*
* RESTRICTED RIGHTS LEGEND
*
* Use, duplication, or disclosure by the Government is subject to
* restrictions as set forth in paragraph (b) (3) (B) of the Rights
* in Technical Data and Computer Software clause in DAR 7-104.9(a).
*
* HEWLETT-PACKARD COMPANY
* Boise, Idaho, USA
***************************************************************************/
/*
******************************* NOTICE ***************************************
HEWLETT-PACKARD COMPANY MAKES NO WARRANTIES, EXPRESS OR IMPLIED,
INCLUDING WITHOUT LIMITATION THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, REGARDING THE
SOFTWARE OR TECHNICAL INFORMATION. HEWLETT-PACKARD COMPANY DOES
NOT WARRANT, GUARANTEE OR MAKE ANY REPRESENTATIONS REGARDING THE
USE OR THE RESULTS OF THE USE OF THE SOFTWARE OR TECHNICAL
INFORMATION IN TERMS OF ITS CORRECTNESS, ACCURACY, RELIABILITY,
CURRENTNESS, OR OTHERWISE. THE ENTIRE RISK AS TO THE RESULTS AND
PERFORMANCE OF THE SOFTWARE OR TECHNICAL INFORMATION IS ASSUMED
BY YOU. The exclusion of implied warranties is not permitted by some
jurisdictions. The above exclusion may not apply to you.
IN NO EVENT WILL HEWLETT-PACKARD COMPANY BE LIABLE TO YOU FOR ANY
CONSEQUENTIAL, INCIDENTAL OR INDIRECT DAMAGES (INCLUDING DAMAGES
FOR LOSS OF BUSINESS PROFITS, BUSINESS INTERRUPTION, LOSS OF BUSINESS
INFORMATION AND THE LIKE) ARISING OUT OF THE USE OR INABILITY TO USE
THE SOFTWARE OR TECHNICAL INFORMATION EVEN IF HEWLETT-PACKARD HAS
BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. Because some jurisdictions
do not allow the exclusion or limitation of liability for consequential
or incidental damages, the above limitations may not apply to you.
Hewlett-Packard liability to you for actual damages from any cause whatsoever,
and regardless of the form of the action (whether in contract, tort
including negligence, product liability or otherwise), will be limited
to US $50.
Copyright (c) 1995 Hewlett-Packard Company. All rights reserved.
******************************************************************************
Files using this:
https://github.com/zdohnal/hplip/blob/master/fax/filters/cdmfax/jetlib.cpp
https://github.com/zdohnal/hplip/blob/master/fax/filters/cdmfax/jetlib.h
All those files are present in upstream tarball https://sourceforge.net/projects/hplip/files/hplip/3.23.5/hplip-3.23.5.tar.gz/download , and removed in the latest hplip update in Fedora for now. Those strange licenses were reported to HP in the past several times, here is the latest attempt - https://bugs.launchpad.net/hplip/+bug/2028938 .
Thank you in advance,
Zdenek