summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordberg.se>2014-06-10 20:30:53 +0200
committerLinus Nordberg <linus@nordberg.se>2014-06-10 20:30:53 +0200
commitc238e8aa3a472ebc9546c88f1291b325d11e85b0 (patch)
tree06a5b1ad667ede6b99071d46c602e454be89687e
parentf473802d5ebe9192c635c477d053523b2baaa3a3 (diff)
Add licensing information.
-rw-r--r--LICENSE31
-rw-r--r--ebin/catlfish.app3
-rw-r--r--httpd_props.conf2
-rw-r--r--src/catlfish.erl3
-rw-r--r--src/https_server.erl3
-rw-r--r--src/v1.erl3
-rw-r--r--test/catlfish_test.erl3
7 files changed, 48 insertions, 0 deletions
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..7085ab6
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,31 @@
+Catlfish is distributed under this license:
+
+Copyright (c) 2014, NORDUnet A/S
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are
+met:
+
+* Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+
+* 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 distribution.
+
+* Neither the name of the copyright holders nor the names of the
+ 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
+HOLDERS 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/ebin/catlfish.app b/ebin/catlfish.app
index 33d7050..b93ac6d 100644
--- a/ebin/catlfish.app
+++ b/ebin/catlfish.app
@@ -1,3 +1,6 @@
+%%% Copyright (c) 2014, NORDUnet A/S.
+%%% See LICENSE for licensing information.
+
%% Application resource file for catlfish (in -*- erlang -*- mode).
%% Point out the proper configuration file (-config catlfish) when
%% starting beam.
diff --git a/httpd_props.conf b/httpd_props.conf
index 967c082..16ec0d3 100644
--- a/httpd_props.conf
+++ b/httpd_props.conf
@@ -1,3 +1,5 @@
+%%% Copyright (c) 2014, NORDUnet A/S.
+%%% See LICENSE for licensing information.
[
{port, 8080},
{bind_address, {127, 0, 0, 1}},
diff --git a/src/catlfish.erl b/src/catlfish.erl
index 015d8b4..ad99f78 100644
--- a/src/catlfish.erl
+++ b/src/catlfish.erl
@@ -1,3 +1,6 @@
+%%% Copyright (c) 2014, NORDUnet A/S.
+%%% See LICENSE for licensing information.
+
%% This is a CA transparency log.
%% In order to find https_server and other required modules, a couple
diff --git a/src/https_server.erl b/src/https_server.erl
index 47b4465..465d77b 100644
--- a/src/https_server.erl
+++ b/src/https_server.erl
@@ -1,3 +1,6 @@
+%%% Copyright (c) 2014, NORDUnet A/S.
+%%% See LICENSE for licensing information.
+
-module(https_server).
-export([start/0, stop/1]).
diff --git a/src/v1.erl b/src/v1.erl
index 6ab9e75..7e9e46d 100644
--- a/src/v1.erl
+++ b/src/v1.erl
@@ -1,3 +1,6 @@
+%%% Copyright (c) 2014, NORDUnet A/S.
+%%% See LICENSE for licensing information.
+
%%% @doc Certificate Transparency (RFC 6962)
-module(v1).
diff --git a/test/catlfish_test.erl b/test/catlfish_test.erl
index 5782984..b098cc1 100644
--- a/test/catlfish_test.erl
+++ b/test/catlfish_test.erl
@@ -1,3 +1,6 @@
+%%% Copyright (c) 2014, NORDUnet A/S.
+%%% See LICENSE for licensing information.
+
-module(catlfish_test).
-include_lib("eunit/include/eunit.hrl").