tools/license-detector: add HPND
New file |
| | |
| | | Historical Permission Notice and Disclaimer |
| | | |
| | | <copyright notice> |
| | | |
| | | Permission to use, copy, modify and distribute this software and its |
| | | documentation for any purpose and without fee is hereby granted, provided that |
| | | the above copyright notice appear in all copies, and that both that the |
| | | copyright notice and this permission notice appear in supporting documentation |
| | | , and that the name of <copyright holder> <or related entities> not be used in |
| | | advertising or publicity pertaining to distribution of the software without |
| | | specific, written prior permission. <copyright holder> makes no representations |
| | | about the suitability of this software for any purpose. It is provided "as is" |
| | | without express or implied warranty. |
| | | |
| | | <copyright holder> DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, |
| | | INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS . IN NO EVENT |
| | | SHALL <copyright holder> BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL |
| | | DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, |
| | | WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING |
| | | OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
New file |
| | |
| | | #! /usr/bin/sh |
| | | # |
| | | # |
| | | # This file and its contents are supplied under the terms of the |
| | | # Common Development and Distribution License ("CDDL"), version 1.0. |
| | | # You may only use this file in accordance with the terms of version |
| | | # 1.0 of the CDDL. |
| | | # |
| | | # A full copy of the text of the CDDL should have accompanied this |
| | | # source. A copy of the CDDL is also available via the Internet at |
| | | # http://www.illumos.org/license/CDDL. |
| | | # |
| | | |
| | | # |
| | | # Copyright 2023 Marcel Telka |
| | | # |
| | | |
| | | sed -n \ |
| | | -e 's/\(the above copyright notice\) .* \(in all copies\)/\1 REPLACEABLE \2/' \ |
| | | -e 's/\(all copies\), and \(that both\)/\1 \2/' \ |
| | | -e 's/\(that both\) \(that \)\{0,1\}\(the \)\{0,1\}\(copyright notice\)/\1 \4/' \ |
| | | -e 's/\(appear in supporting documentation\).*/\1/' \ |
| | | -e '/^Permission to use, copy, modify and distribute this software/p' |