aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXe Iaso <me@xeiaso.net>2023-08-16 08:45:56 -0400
committerXe Iaso <me@xeiaso.net>2023-08-16 08:45:56 -0400
commitfbd73f85e01eb0895e07c91210c903577fa30e10 (patch)
treefee50b5aa0eb346e32b1b81981063b57cdcef0ff
parentc80e1dd5091c9a2c814954f689bbee68bc84c997 (diff)
downloadx-fbd73f85e01eb0895e07c91210c903577fa30e10.tar.xz
x-fbd73f85e01eb0895e07c91210c903577fa30e10.zip
cmd/license/licenses: Add double it and pass it on (DIPOL) license
Signed-off-by: Xe Iaso <me@xeiaso.net>
-rw-r--r--cmd/license/licenses/licenses.go36
1 files changed, 36 insertions, 0 deletions
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