Commit 69c19532 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

Switch to AGPL v3 for DBF program code

parent 59d74f14
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -24,7 +24,7 @@ License: CC-BY-4.0


Files: public/static/js/dbf.min.js public/static/js/geolocation.min.js public/static/js/map-refresh.min.js
Files: public/static/js/dbf.min.js public/static/js/geolocation.min.js public/static/js/map-refresh.min.js
Copyright: 2020 Daniel Friesel
Copyright: 2020 Daniel Friesel
License: BSD-2-Clause
License: AGPL-3.0-or-later


Files: public/static/js/jquery* public/static/css/jquery-ui.min.css
Files: public/static/js/jquery* public/static/css/jquery-ui.min.css
Copyright: 2019 jQuery Foundation and other contributors
Copyright: 2019 jQuery Foundation and other contributors
+603 −10

File changed.

Preview size limit exceeded, changes collapsed.

+603 −0

File added.

Preview size limit exceeded, changes collapsed.

+26 −2
Original line number Original line Diff line number Diff line
@@ -42,7 +42,7 @@ Perl Dependencies


db-infoscreen depends on a set of Perl modules which are documented in
db-infoscreen depends on a set of Perl modules which are documented in
`cpanfile`. After installing the dependencies mentioned above, you can use
`cpanfile`. After installing the dependencies mentioned above, you can use
carton or cpanminus to install Perl depenencies locally.
carton or cpanminus to install Perl dependencies locally.


In the project root directory (where `cpanfile` resides), run either
In the project root directory (where `cpanfile` resides), run either


@@ -101,7 +101,7 @@ pass requests for db-infoscreen to the appropriate port. See the


You can run the app using a Mojo::Server of your choice, e.g.  **perl
You can 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)
index.pl daemon -m production** (quick&dirty, does not respect all variables)
or **hypnotad** (recommended). A systemd unit example is provided in
or **hypnotoad** (recommended). A systemd unit example is provided in
`examples/db-infoscreen.service`.
`examples/db-infoscreen.service`.


All code in this repository may be used under the terms of the BSD-2-Clause
All code in this repository may be used under the terms of the BSD-2-Clause
@@ -132,3 +132,27 @@ Resource requirements depend on usage. For a few requests per second, about
200MB (600k inodes) cache and one or two CPU cores should be sufficient.
200MB (600k inodes) cache and one or two CPU cores should be sufficient.
db-infoscreen typically needs 50MB RAM per worker process, though calculating
db-infoscreen typically needs 50MB RAM per worker process, though calculating
with 100MB per worker is recommended to leave a safety margin.
with 100MB per worker is recommended to leave a safety margin.

Licensing
---

This project follows the REUSE specification. The copyright of individual files
is documented in the file's header or in .reuse/dep5. The referenced licenses
are stored in the LICENSES directory.

The program code of db-infoscreen is licensed under the terms of the GNU AGPL
v3. HTML Templates and SASS/CSS layout are licensed under the terms of the
2-Clause BSD License. This means that you are free to host your own
db-infoscreen instance, both for personal/internal and public use, under the
following conditions.

* You are free to change HTML/SASS/CSS templates as you see fit (though you
  must not remove the copyright headers).
* If you make changes to the program code, that is, a file below lib/ or a
  db-infoscreen javascript file below public/static/js/, you must make those
  changes available to the public.

The easiest way of making changes available is by maintaining a public fork of
the Git repository. A tarball is also acceptable. Please change `source_url` in
`lib/DBInfoscreen.pm` to point to your Git repository / source archive if you
are using a version with custom changes.
+1 −1
Original line number Original line Diff line number Diff line
#!/usr/bin/env perl
#!/usr/bin/env perl
# Copyright (C) 2011-2020 Daniel Friesel
# Copyright (C) 2011-2020 Daniel Friesel
#
#
# SPDX-License-Identifier: BSD-2-Clause
# SPDX-License-Identifier: AGPL-3.0-or-later


use strict;
use strict;
use warnings;
use warnings;
Loading