summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2018-10-27 19:36:19 +0200
committerDaniel Friesel <derf@finalrewind.org>2018-10-27 19:36:19 +0200
commit098a8d291b81df649c981b8885bea521ba4ca86f (patch)
tree9ffb4431e3ee1a6b142c6d2cfb8e737b23e9dedb
parentcfe1bcb84ae8f9ba7499bab20844fa00bce52ec0 (diff)
Add copyright information
-rw-r--r--COPYING17
-rw-r--r--README.md6
-rw-r--r--index.pl2
-rw-r--r--public/static/marquee.js5
4 files changed, 27 insertions, 3 deletions
diff --git a/COPYING b/COPYING
new file mode 100644
index 0000000..49b182e
--- /dev/null
+++ b/COPYING
@@ -0,0 +1,17 @@
+public/static/jquery* is (C) jQuery Foundation and other contributors and
+licensed under the terms of the MIT license.
+
+public/static/marquee.js is (C) Remy Sharp and licensed under the terms of the
+MIT license.
+
+The following license applies to all other files in this repository:
+
+Copyright (C) 2011-2018 Daniel Friesel <derf+dbf@finalrewind.org>
+
+Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
+
+1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
+
+2. 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 the distribution.
+
+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 HOLDER 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/README.md b/README.md
index 7d6b188..e823d43 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,7 @@
db-fakedisplay - Infoscreen for DB departures
---------------------------------------------
-* <http://finalrewind.org/projects/db-fakedisplay/>
+* <https://finalrewind.org/projects/db-fakedisplay/>
Dependencies
------------
@@ -35,6 +35,10 @@ You can then run the app using a Mojo::Server of your choice, e.g. **perl
index.pl daemon -m production** (quick&dirty, does not respect all variables)
or **hypnotad** (recommended).
+All code in this repository may be used under the terms of the BSD-2-Clause
+(db-fakedisplay, see COPYING) and MIT (jquery, jqueryui, and marquee libraries;
+see the respective files) licenses. Attribution is appreciated.
+
System requirements
-------------------
diff --git a/index.pl b/index.pl
index ea58544..2dfb08d 100644
--- a/index.pl
+++ b/index.pl
@@ -1,4 +1,6 @@
#!/usr/bin/env perl
+# Copyright (C) 2011-2018 Daniel Friesel <derf+dbf@finalrewind.org>
+# License: 2-Clause BSD
use Mojolicious::Lite;
use Cache::File;
use File::Slurp qw(read_file write_file);
diff --git a/public/static/marquee.js b/public/static/marquee.js
index 9e046d5..b64c630 100644
--- a/public/static/marquee.js
+++ b/public/static/marquee.js
@@ -1,6 +1,7 @@
/**
* author Remy Sharp
-* url http://remysharp.com/tag/marquee
+* url https://remysharp.com/2008/09/10/the-silky-smooth-marquee
+* license MIT
*/
(function ($) {
@@ -152,4 +153,4 @@
return $(newMarquee);
};
-}(jQuery)); \ No newline at end of file
+}(jQuery));