Skip to content

Commit

Permalink
Add COPYING.txt with public domain dedication
Browse files Browse the repository at this point in the history
Change "license" field in package.json and bower.json to:

"license" : "SEE LICENSE IN COPYING.txt"

to avoid NPM warning.
  • Loading branch information
dchest committed Feb 24, 2016
1 parent eff9ede commit cd9f8e4
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
9 changes: 9 additions & 0 deletions COPYING.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Public Domain

The person who associated a work with this deed has dedicated the work to the
public domain by waiving all of his or her rights to the work worldwide under
copyright law, including all related and neighboring rights, to the extent
allowed by law.

You can copy, modify, distribute and perform the work, even for commercial
purposes, all without asking permission.
4 changes: 2 additions & 2 deletions bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tweetnacl",
"version": "0.14.0",
"version": "0.14.1",
"homepage": "https://tweetnacl.js.org",
"authors": [
"TweetNaCl.js Contributors"
Expand All @@ -25,7 +25,7 @@
"salsa20",
"signatures"
],
"license": "Public domain",
"license": "SEE LICENSE IN COPYING.txt",
"ignore": [
"**/.*",
"node_modules",
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tweetnacl",
"version": "0.14.0",
"version": "0.14.1",
"description": "Port of TweetNaCl cryptographic library to JavaScript",
"main": "nacl-fast.js",
"directories": {
Expand Down Expand Up @@ -35,7 +35,7 @@
"signatures"
],
"author": "TweetNaCl-js contributors",
"license": "Public domain",
"license": "SEE LICENSE IN COPYING.txt",
"bugs": {
"url": "https://github.com/dchest/tweetnacl-js/issues"
},
Expand Down

3 comments on commit cd9f8e4

@mlinksva
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like you're using text from http://creativecommons.org/publicdomain/zero/1.0/ to make a custom public domain dedication.

Trivial suggestion: set license to cc0-1.0 and put http://creativecommons.org/publicdomain/zero/1.0/legalcode.txt in COPYING so that the status is more easily recognized by programs.

Just a suggestion!

@dchest
Copy link
Owner Author

@dchest dchest commented on cd9f8e4 Mar 11, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can't, sorry. This has been discussed:

#85 (comment)
#93
#94

@mlinksva
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dchest I see, apologies for not searching issues, and many thanks for the references!

Please sign in to comment.