In case adding LibreJS support for the Unlicense is a course of action you support, here is a set of patches to add the Unlicense to: 1. lib/js_checker/license_definitions.js 2. The manual
The magnet link was generated via: wget http://unlicense.org/UNLICENSE -O unlicense.txt transmission-create unlicense.txt -o unlicense.txt.torrent transmission-show -m unlicense.txt.torrent but the torrent was not added to any tracker, in case you'd prefer the text in a slightly different format and hence would want a different torrent/magnet link. Adam (I have not signed any paperwork assigning copyright to the FSF, but I think that the patches definitely do not cross the threshold of creativity to be copyrightable, considering that they're just a list of data, so hopefully there should be no legal problems.)
From 462a1701e423829654e4922e33210bac3845f779 Mon Sep 17 00:00:00 2001 From: Adam Plaice <[email protected]> Date: Fri, 8 Apr 2016 13:50:43 +0100 Subject: [PATCH 1/2] Add Unlicense to lib/js_checker/license_definitions.js --- lib/js_checker/license_definitions.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/lib/js_checker/license_definitions.js b/lib/js_checker/license_definitions.js index e8aa7f2..26e56a0 100644 --- a/lib/js_checker/license_definitions.js +++ b/lib/js_checker/license_definitions.js @@ -292,5 +292,19 @@ exports.licenses = { type: type.SHORT } ] + }, + 'Unlicense': { + licenseName: 'Unlicense', + identifier: 'Unlicense', + canonicalUrl: [ + 'http://unlicense.org/UNLICENSE', + 'magnet:?xt=urn:btih:5ac446d35272cc2e4e85e4325b146d0b7ca8f50c&dn=unlicense.txt' + ], + licenseFragments: [ + { + text: 'This is free and unencumbered software released into the public domain.', + type: type.SHORT + }, + ] } }; -- 2.5.0
From ebfaa50103f9c51abbe5d3304d9938f48a68c074 Mon Sep 17 00:00:00 2001 From: Adam Plaice <[email protected]> Date: Sat, 9 Apr 2016 16:51:34 +0100 Subject: [PATCH 2/2] Add Unlicense to doc/librejs.texi and doc/librejs.info --- doc/librejs.info | 20 +++++++++++++------- doc/librejs.texi | 11 +++++++++++ 2 files changed, 24 insertions(+), 7 deletions(-) diff --git a/doc/librejs.info b/doc/librejs.info index 6812547..eaa0203 100644 --- a/doc/librejs.info +++ b/doc/librejs.info @@ -1,4 +1,4 @@ -This is librejs.info, produced by makeinfo version 5.2 from +This is librejs.info, produced by makeinfo version 6.0 from librejs.texi. This manual is for GNU LibreJS (version 6.0.10, 25 October 2015), a GNU @@ -406,6 +406,12 @@ and label it accordingly. * Magnet link: 'magnet:?xt=urn:btih:723febf9f6185544f57f0660a41489c7d6b4931b&dn=wtfpl.txt' + * Unlicense + * Identifier: 'Unlicense' + * URL: <http://unlicense.org/UNLICENSE> + * Magnet link: + 'magnet:?xt=urn:btih:5ac446d35272cc2e4e85e4325b146d0b7ca8f50c&dn=unlicense.txt' + * X11 License * URL: <http://www.xfree86.org/3.3.6/COPYRIGHT2.html#3> * Magnet link: @@ -1277,11 +1283,11 @@ Node: Installation3325 Node: How to Use4171 Node: JavaScript Detection7413 Node: Free Licenses Detection10821 -Node: Setting Your JavaScript Free17471 -Node: LibreJS Development Notes24305 -Node: Installation Requirements25648 -Node: LibreJS Internals27255 -Node: Tests28418 -Node: GNU Free Documentation License32925 +Node: Setting Your JavaScript Free17682 +Node: LibreJS Development Notes24516 +Node: Installation Requirements25859 +Node: LibreJS Internals27466 +Node: Tests28629 +Node: GNU Free Documentation License33136 End Tag Table diff --git a/doc/librejs.texi b/doc/librejs.texi index c53cf06..f1cb0cb 100644 --- a/doc/librejs.texi +++ b/doc/librejs.texi @@ -528,6 +528,17 @@ Magnet link: @indicateurl{magnet:?xt=urn:btih:723febf9f6185544f57f0660a41489c7d6 @end itemize @item +Unlicense +@itemize @bullet +@item +Identifier: @samp{Unlicense} +@item +URL: @url{http://unlicense.org/UNLICENSE} +@item +Magnet link: @indicateurl{magnet:?xt=urn:btih:5ac446d35272cc2e4e85e4325b146d0b7ca8f50c&dn=unlicense.txt} +@end itemize + +@item X11 License @itemize @bullet @item -- 2.5.0
