Browse Source

License changes for string hashing (Lua, djb2)

pull/432/head
Sami Vaarala 9 years ago
parent
commit
5c8b222faa
  1. 9
      dist-files/README.rst
  2. 1
      licenses/lua.txt
  3. 5
      util/create_spdx_license.py
  4. 1
      util/make_dist.sh

9
dist-files/README.rst

@ -97,10 +97,11 @@ This distributable contains Duktape version @DUK_VERSION_FORMATTED@, created fro
commit @GIT_COMMIT@ (@GIT_DESCRIBE@).
Duktape is copyrighted by its authors (see ``AUTHORS.rst``) and licensed
under the MIT license (see ``LICENSE.txt``). MurmurHash2 is used internally,
it is also under the MIT license. Duktape module loader is based on the
CommonJS module loading specification (without sharing any code), CommonJS
is under the MIT license.
under the MIT license (see ``LICENSE.txt``). String hashing algorithms are
based on the algorithm from Lua (MIT license), djb2 hash, and Murmurhash2
(MIT license). Duktape module loader is based on the CommonJS module
loading specification (without sharing any code), CommonJS is under the
MIT license.
Have fun!

1
licenses/lua.txt

@ -0,0 +1 @@
Lua is under the MIT license: http://www.lua.org/license.html.

5
util/create_spdx_license.py

@ -169,8 +169,9 @@ def main():
# SPDX.checksum: omitted because license is inside the package
g.add((pkg_node, SPDX.sourceInfo, Literal('Official duktape.org release built from GitHub repo https://github.com/svaarala/duktape.')))
# NOTE: MIT license alone is sufficient fornow, because Duktape, MurmurHash2 and
# CommonJS (though probably not even relevant for licensing) are all MIT.
# NOTE: MIT license alone is sufficient for now, because Duktape, Lua,
# Murmurhash2, and CommonJS (though probably not even relevant for
# licensing) are all MIT.
g.add((pkg_node, SPDX.licenseConcluded, mit_license))
g.add((pkg_node, SPDX.licenseInfoFromFiles, mit_license))
g.add((pkg_node, SPDX.licenseDeclared, mit_license))

1
util/make_dist.sh

@ -431,6 +431,7 @@ cp AUTHORS.rst $DIST/AUTHORS.rst
for i in \
murmurhash2.txt \
lua.txt \
commonjs.txt \
; do
cp licenses/$i $DIST/licenses/

Loading…
Cancel
Save