summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2020-11-28 10:39:08 +0100
committerDaniel Friesel <derf@finalrewind.org>2020-11-28 10:39:08 +0100
commite7efe6de232445e3ef7816db4661670f7839ba7a (patch)
tree5b1c4c6ebca7f349080679730871c47dab36d53f /lib
parent0f6870df13362a6af5d95a0fddd970559acb42bd (diff)
add machine-readable copyright and licensing information
Diffstat (limited to 'lib')
-rw-r--r--lib/DBInfoscreen.pm7
-rw-r--r--lib/DBInfoscreen/Controller/Map.pm3
-rw-r--r--lib/DBInfoscreen/Controller/Static.pm7
-rw-r--r--lib/DBInfoscreen/Controller/Stationboard.pm7
-rw-r--r--lib/DBInfoscreen/Controller/Wagenreihung.pm7
-rw-r--r--lib/DBInfoscreen/Helper/HAFAS.pm3
-rw-r--r--lib/DBInfoscreen/Helper/Wagonorder.pm3
7 files changed, 25 insertions, 12 deletions
diff --git a/lib/DBInfoscreen.pm b/lib/DBInfoscreen.pm
index 0834a97..ed81638 100644
--- a/lib/DBInfoscreen.pm
+++ b/lib/DBInfoscreen.pm
@@ -1,8 +1,9 @@
package DBInfoscreen;
-use Mojo::Base 'Mojolicious';
+# Copyright (C) 2011-2020 Daniel Friesel
+#
+# SPDX-License-Identifier: BSD-2-Clause
-# Copyright (C) 2011-2020 Daniel Friesel <derf+dbf@finalrewind.org>
-# License: 2-Clause BSD
+use Mojo::Base 'Mojolicious';
use Cache::File;
use DBInfoscreen::Helper::HAFAS;
diff --git a/lib/DBInfoscreen/Controller/Map.pm b/lib/DBInfoscreen/Controller/Map.pm
index f654930..8e472a6 100644
--- a/lib/DBInfoscreen/Controller/Map.pm
+++ b/lib/DBInfoscreen/Controller/Map.pm
@@ -1,4 +1,7 @@
package DBInfoscreen::Controller::Map;
+# Copyright (C) 2011-2020 Daniel Friesel
+#
+# SPDX-License-Identifier: BSD-2-Clause
use Mojo::Base 'Mojolicious::Controller';
use Mojo::JSON qw(decode_json);
diff --git a/lib/DBInfoscreen/Controller/Static.pm b/lib/DBInfoscreen/Controller/Static.pm
index 1ddae40..d8872d1 100644
--- a/lib/DBInfoscreen/Controller/Static.pm
+++ b/lib/DBInfoscreen/Controller/Static.pm
@@ -1,8 +1,9 @@
package DBInfoscreen::Controller::Static;
-use Mojo::Base 'Mojolicious::Controller';
+# Copyright (C) 2011-2020 Daniel Friesel
+#
+# SPDX-License-Identifier: BSD-2-Clause
-# Copyright (C) 2011-2020 Daniel Friesel <derf+dbf@finalrewind.org>
-# License: 2-Clause BSD
+use Mojo::Base 'Mojolicious::Controller';
my %default = (
mode => 'app',
diff --git a/lib/DBInfoscreen/Controller/Stationboard.pm b/lib/DBInfoscreen/Controller/Stationboard.pm
index b8b5eb0..b65aedb 100644
--- a/lib/DBInfoscreen/Controller/Stationboard.pm
+++ b/lib/DBInfoscreen/Controller/Stationboard.pm
@@ -1,8 +1,9 @@
package DBInfoscreen::Controller::Stationboard;
-use Mojo::Base 'Mojolicious::Controller';
+# Copyright (C) 2011-2020 Daniel Friesel
+#
+# SPDX-License-Identifier: BSD-2-Clause
-# Copyright (C) 2011-2020 Daniel Friesel <derf+dbf@finalrewind.org>
-# License: 2-Clause BSD
+use Mojo::Base 'Mojolicious::Controller';
use DateTime;
use DateTime::Format::Strptime;
diff --git a/lib/DBInfoscreen/Controller/Wagenreihung.pm b/lib/DBInfoscreen/Controller/Wagenreihung.pm
index 821619f..ebda6f3 100644
--- a/lib/DBInfoscreen/Controller/Wagenreihung.pm
+++ b/lib/DBInfoscreen/Controller/Wagenreihung.pm
@@ -1,8 +1,9 @@
package DBInfoscreen::Controller::Wagenreihung;
-use Mojo::Base 'Mojolicious::Controller';
+# Copyright (C) 2011-2020 Daniel Friesel
+#
+# SPDX-License-Identifier: BSD-2-Clause
-# Copyright (C) 2011-2020 Daniel Friesel <derf+dbf@finalrewind.org>
-# License: 2-Clause BSD
+use Mojo::Base 'Mojolicious::Controller';
use Travel::Status::DE::DBWagenreihung;
diff --git a/lib/DBInfoscreen/Helper/HAFAS.pm b/lib/DBInfoscreen/Helper/HAFAS.pm
index 8a88c61..5b02e9e 100644
--- a/lib/DBInfoscreen/Helper/HAFAS.pm
+++ b/lib/DBInfoscreen/Helper/HAFAS.pm
@@ -1,4 +1,7 @@
package DBInfoscreen::Helper::HAFAS;
+# Copyright (C) 2011-2020 Daniel Friesel
+#
+# SPDX-License-Identifier: BSD-2-Clause
use strict;
use warnings;
diff --git a/lib/DBInfoscreen/Helper/Wagonorder.pm b/lib/DBInfoscreen/Helper/Wagonorder.pm
index 1e9324a..e843b54 100644
--- a/lib/DBInfoscreen/Helper/Wagonorder.pm
+++ b/lib/DBInfoscreen/Helper/Wagonorder.pm
@@ -1,4 +1,7 @@
package DBInfoscreen::Helper::Wagonorder;
+# Copyright (C) 2011-2020 Daniel Friesel
+#
+# SPDX-License-Identifier: BSD-2-Clause
use strict;
use warnings;