Skip to content

Commit

Permalink
Merge branch 'unlicense'
Browse files Browse the repository at this point in the history
* Branch commit log:
  misc/mkcopyright.py: match Unlicense dedications
  misc/mkcopyright.py: dedicated to the Public Domain under the Unlicense
  doc/copyright.ini: use Unlicense for Public Domain dedication
  jsonipc/testjsonipc.cc: use Unlicense for Public Domain dedication
  jsonipc/jsonipc.js: use Unlicense for Public Domain dedication
  ase/mime-types.hh: use Unlicense for Public Domain dedication

Signed-off-by: Tim Janik <[email protected]>
  • Loading branch information
tim-janik committed Jun 27, 2024
2 parents 5993a34 + f48b6eb commit 11bfbe7
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion ase/mime-types.hh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Licensed CC0 Public Domain
// Dedicated to the Public Domain under the Unlicense: https://unlicense.org/UNLICENSE

// Source: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/conf/mime.types
static const char mime_types[] = R""""(
Expand Down
4 changes: 2 additions & 2 deletions doc/copyright.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Anklang project config file for mkcopyright.py
# Licensed CC0 Public Domain: http://creativecommons.org/publicdomain/zero/1.0
# Dedicated to the Public Domain under the Unlicense: https://unlicense.org/UNLICENSE

[debian/copyright]
Upstream-Name: anklang
Expand All @@ -11,7 +11,7 @@ Disclaimer: Autogenerated by anklang/misc/mkcopyright.py
files =
LICENSE

[CC0-1.0]
[Unlicense]
patterns =
(.*/)?GNUmakefile

Expand Down
2 changes: 1 addition & 1 deletion jsonipc/jsonipc.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Licensed CC0 Public Domain: http://creativecommons.org/publicdomain/zero/1.0
// Dedicated to the Public Domain under the Unlicense: https://unlicense.org/UNLICENSE

/// WebSocket handling coded needed for the Jsonipc wire marshalling
export const Jsonipc = {
Expand Down
2 changes: 1 addition & 1 deletion jsonipc/testjsonipc.cc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// CC0 Public Domain: http://creativecommons.org/publicdomain/zero/1.0/
// Dedicated to the Public Domain under the Unlicense: https://unlicense.org/UNLICENSE
#include "jsonipc.hh"
#include <iostream>

Expand Down
5 changes: 4 additions & 1 deletion misc/mkcopyright.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env python3
# This Source Code Form is licensed MPL-2.0: http://mozilla.org/MPL/2.0
# Dedicated to the Public Domain under the Unlicense: https://unlicense.org/UNLICENSE

import sys, os, re, subprocess, getopt
from datetime import datetime
Expand All @@ -15,6 +15,8 @@
'CC0 Public Domain: http://creativecommons.org/publicdomain/zero/1\.0/',
'Licensed CC0 Public Domain: http://creativecommons.org/publicdomain/zero/1\.0' ],
'MIT': [ 'MIT [Ll]icensed?', ],
'Unlicense': [ '([Dd]edicated to|[Ii]n) the Public Domain under the Unlicense([: ]*http.*)?',
'Licensed Public Domain' ],
}

# Comment suffix to ignore
Expand Down Expand Up @@ -185,6 +187,7 @@ def print_help (arg0, exit = None):
h = "Scan FILES for licenses and list copyrights from Git(1) authors.\n"
h += "OPTIONS:\n"
h += " -b Display brief license list\n"
h += " -c<inifile> Read config file in INI format\n"
h += " -e Exit with a non-zero status if any files are unlicensed\n"
h += " -h, --help Show command help\n"
h += " -l List licensed files only\n"
Expand Down

0 comments on commit 11bfbe7

Please sign in to comment.