diff options
author | Roland Reichwein <mail@reichwein.it> | 2022-11-05 13:49:53 +0100 |
---|---|---|
committer | Roland Reichwein <mail@reichwein.it> | 2022-11-05 13:49:53 +0100 |
commit | 4aeab7931182cb1c35bd5c52b58d71b30c32674d (patch) | |
tree | e9635c5b2c0827f16dc2021a6193139ef536793b /debian |
Initial files, WIP
Diffstat (limited to 'debian')
-rw-r--r-- | debian/README.Debian | 44 | ||||
-rw-r--r-- | debian/changelog | 5 | ||||
-rw-r--r-- | debian/compat | 1 | ||||
-rw-r--r-- | debian/control | 16 | ||||
-rw-r--r-- | debian/copyright | 4 | ||||
-rwxr-xr-x | debian/rules | 4 | ||||
-rw-r--r-- | debian/source/format | 1 | ||||
-rw-r--r-- | debian/whiteboard.service | 13 |
8 files changed, 88 insertions, 0 deletions
diff --git a/debian/README.Debian b/debian/README.Debian new file mode 100644 index 0000000..f3f2434 --- /dev/null +++ b/debian/README.Debian @@ -0,0 +1,44 @@ +whiteboard for Debian +===================== + +This package is the Debian version of whiteboard. + + +Configuration +------------- + +* You can add this to /etc/webserver.conf + + <path requested="/whiteboard"> + <plugin>static-files</plugin> + <target>/usr/lib/whiteboard/html</target> + </path> + <path requested="/whiteboard/whiteboard.fcgi"> + <plugin>fcgi</plugin> + <target>127.0.0.1:9014</target> + </path> + +* Enable: + + # systemctl enable whiteboard.service + +* Start: + + # systemctl start whiteboard + +* Stop: + + # systemctl stop whiteboard + +* Query Status: + + # systemctl status whiteboard + + and observe /var/log/syslog + + +Contact +------- + +Reichwein IT <mail@reichwein.it> + diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..3db9796 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +whiteboard (1.0) unstable; urgency=medium + + * Initial release + + -- Roland Reichwein <mail@reichwein.it> Sat, 05 Nov 2022 13:34:57 +0100 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..48082f7 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +12 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..dc159fa --- /dev/null +++ b/debian/control @@ -0,0 +1,16 @@ +Source: whiteboard +Section: web +Priority: optional +Maintainer: Roland Reichwein <mail@reichwein.it> +Build-Depends: debhelper (>= 12), libboost-all-dev | libboost1.71-all-dev, clang | g++-9, node-uglify, python3-pkg-resources, htmlmin, cleancss, libfcgi-dev +Standards-Version: 4.5.0 +Homepage: http://www.reichwein.it/whiteboard/ + +Package: whiteboard +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, spawn-fcgi +Recommends: webserver +Homepage: http://www.reichwein.it/whiteboard/ +Description: Web application for an collaborative editor + Whiteboard is a text editor running on an HTML5 webpage (including a server + part) that enables collaborative editing and presenting. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..5007f59 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,4 @@ +Author: Roland Reichwein <mail@reichwein.it>, 2022 + +Both upstream source code and Debian packaging is available +under the conditions of CC0 1.0 Universal diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..2d33f6a --- /dev/null +++ b/debian/rules @@ -0,0 +1,4 @@ +#!/usr/bin/make -f + +%: + dh $@ diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..89ae9db --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (native) diff --git a/debian/whiteboard.service b/debian/whiteboard.service new file mode 100644 index 0000000..c60f3f0 --- /dev/null +++ b/debian/whiteboard.service @@ -0,0 +1,13 @@ +[Unit] +Description=Whiteboard +After=network.target + +[Service] +Type=simple +# Restart=always +ExecStart=spawn-fcgi -a 127.0.0.1 -p 9014 -n -- /usr/lib/whiteboard/whiteboard.fcgi + +Restart=always + +[Install] +WantedBy=multi-user.target |