aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--LICENCE.md28
-rwxr-xr-xmakepass.bash16
-rwxr-xr-xmakepass.pl2
-rwxr-xr-xmakepass.sh8
-rwxr-xr-xmakepass.zsh6
5 files changed, 43 insertions, 17 deletions
diff --git a/LICENCE.md b/LICENCE.md
new file mode 100644
index 0000000..04aa56b
--- /dev/null
+++ b/LICENCE.md
@@ -0,0 +1,28 @@
+BSD 3-Clause License
+
+Copyright (c) 2018-2023, Dennis Eriksen <d@ennis.no>
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+1. Redistributions of source code must retain the above copyright notice, this
+ list of conditions and the following disclaimer.
+
+2. 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.
+
+3. Neither the name of the copyright holder 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 HOLDER 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.
diff --git a/makepass.bash b/makepass.bash
index 0ebc60b..04d4f49 100755
--- a/makepass.bash
+++ b/makepass.bash
@@ -1,20 +1,16 @@
#!/usr/bin/env bash
-# Filename: ~/bin/makepass
+# Filename: makepass.bash
# Purpose: Creating random passwords.
# Authors: Dennis Eriksen <d@ennis.no>
-# Some parts have been shamelessly stolen from other places.
-# These parts will normally have a comment saying where it's
-# from. For instance, this header format is stolen from the
-# GRML-team (grml.org).
-# Bug-Reports: Email <idgatt@dnns.no>
-# License: This file is licensed under the GPL v2.
+# Bug-Reports: Email <git@dnns.no>
+# License: This file is licensed under the BSD 3-Clause license.
################################################################################
# This file takes randomness from /dev/urandom and turns it into random
# passwords.
-################################################################################
+################################################################################
-# Copyright (c) 2018 Dennis Eriksen • d@ennis.no
+# Copyright (c) 2018-2023 Dennis Eriksen • d@ennis.no
# makepass-function
function makepass {
@@ -56,4 +52,4 @@ function makepass {
makepass "${@:-}"
## END OF FILE #################################################################
-# vim:syntax=sh filetype=sh
+# vim:syntax=bash filetype=bash
diff --git a/makepass.pl b/makepass.pl
index 9cc3569..df8ad10 100755
--- a/makepass.pl
+++ b/makepass.pl
@@ -3,7 +3,9 @@
# Author : Dennis Eriksen <d@ennis.no>
# File : makepass.pl
# Created : 2023-07-27
+# License : BSD-3-Clause
#
+# Copyright (c) 2018-2022 Dennis Eriksen • d@ennis.no
use strict;
use warnings;
diff --git a/makepass.sh b/makepass.sh
index 7db96fd..3af6830 100755
--- a/makepass.sh
+++ b/makepass.sh
@@ -1,9 +1,9 @@
#!/usr/bin/env sh
-# Filename: ~/bin/makepass.sh
+# Filename: makepass.sh
# Purpose: Creating random passwords.
# Authors: Dennis Eriksen <d@ennis.no>
-# Bug-Reports: Email <idgatt@dnns.no>
-# License: This file is licensed under the GPL v2.
+# Bug-Reports: Email <git@dnns.no>
+# License: This file is licensed under the BSD 3-Clause license.
################################################################################
# This file takes randomness from /dev/urandom and turns it into random
# passwords.
@@ -12,7 +12,7 @@
################################################################################
-# Copyright (c) 2018-2022 Dennis Eriksen • d@ennis.no
+# Copyright (c) 2018-2023 Dennis Eriksen • d@ennis.no
# makepass-function
makepass() {
diff --git a/makepass.zsh b/makepass.zsh
index 319a200..ee92c33 100755
--- a/makepass.zsh
+++ b/makepass.zsh
@@ -3,13 +3,13 @@ emulate zsh
# Filename: ~/bin/makepass.zsh
# Purpose: Creating random passwords.
# Authors: Dennis Eriksen <d@ennis.no>
-# Bug-Reports: Email <idgatt@dnns.no>
-# License: This file is licensed under the GPL v2.
+# Bug-Reports: Email <git@dnns.no>
+# License: This file is licensed under the BSD 3-Clause license.
################################################################################
# This file takes randomness from /dev/urandom and turns it into random
# passwords.
################################################################################
-# Copyright (c) 2018-2022 Dennis Eriksen • d@ennis.no
+# Copyright (c) 2018-2023 Dennis Eriksen • d@ennis.no
# Help-function