From fbd73f85e01eb0895e07c91210c903577fa30e10 Mon Sep 17 00:00:00 2001 From: Xe Iaso Date: Wed, 16 Aug 2023 08:45:56 -0400 Subject: cmd/license/licenses: Add double it and pass it on (DIPOL) license Signed-off-by: Xe Iaso --- cmd/license/licenses/licenses.go | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) (limited to 'cmd') diff --git a/cmd/license/licenses/licenses.go b/cmd/license/licenses/licenses.go index 684d2d0..c45c8c0 100644 --- a/cmd/license/licenses/licenses.go +++ b/cmd/license/licenses/licenses.go @@ -43,9 +43,45 @@ func init() { "lamison": Lamison, "lil": Lil, "dwtfywwi": Dwtfywwi, + "dipol": DoublePassOn, } } +const DoublePassOn = `The Double It and Pass It On License (DIPOL), Version 1.0 + +Copyright (c) {{.Year}} {{.Name}} <{{.Email}}> + +Permission is hereby granted, free of charge, to any person +obtaining a copy of this software and associated documentation +files (the "Software"), to deal in the Software without +restriction, including without limitation the rights to use, +copy, modify, merge, publish, distribute, sublicense, and/or +sell copies of the Software, and to permit persons to whom +the Software is furnished to do so, subject to the following +conditions: + +1. Upon distribution or sublicensing of the Software, the + recipient must be given the option to either: + a) Accept the Software as is, OR + b) Double the number of features the Software has and + pass the enhanced version on to another recipient. +2. If the user chooses to double the features and pass it + on, they must also provide the new recipients with the + same two options detailed above. +3. The above copyright notice and this permission notice + shall be included in all copies or substantial portions + of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT +HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +OTHER DEALINGS IN THE SOFTWARE. +` + const Dwtfywwi = ` DWTFYWWI LICENSE Version 1, January 2006 -- cgit v1.2.3