From d8eae5827b2599bb1fb125aed47d73bf82d1ff10 Mon Sep 17 00:00:00 2001 From: Roland Stigge Date: Mon, 8 Jan 2018 16:57:47 +0100 Subject: Debian package, fix list xml --- debian/README.Debian | 100 +++++++++++++++++++++++++++++++++++++++++++++++++++ debian/changelog | 5 +++ debian/compat | 1 + debian/control | 16 ++++++++- debian/copyright | 5 +++ debian/rules | 5 +++ debian/source/format | 1 + 7 files changed, 132 insertions(+), 1 deletion(-) create mode 100644 debian/README.Debian create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/copyright create mode 100755 debian/rules create mode 100644 debian/source/format (limited to 'debian') diff --git a/debian/README.Debian b/debian/README.Debian new file mode 100644 index 0000000..65db4e4 --- /dev/null +++ b/debian/README.Debian @@ -0,0 +1,100 @@ +webbox for Debian +================= + +This package is implemented as a FastCGI application in Apache. + +After installing this package and its dependencies, the following +directories are relevant: + +* Webbox FCGI Application directory: /usr/lib/webbox + +* Webbox HTML directory: /var/www/webbox + + This directory is part of the webbox package and contains all static + contents to be served by apache as web UI interface of webbox. + + In an Apache configuration, this directory is specified as + DocumentRoot or Alias. + +* Webbox directory(s): e.g. /home/webbox + + This directory or directories contain the actual contents to be served. + It can be specified multiple times in an Apache configuration to + implement several webboxes in one server. + + The contained files need to be owned by the www-data user. + + This directory is specified via the WEBBOX_PATH environment variable. + + +File browser +------------ + +The file browser can be used via the URL + +http:/// + +where servername is the host name served as VirtualHost by Apache +and is the Alias configured in the Apache configuration for +the actual files (or DocumentRoot if no component is +required). + +All files readable by the user www-data are served, except for +hidden files (i.e. beginning with a "."). + + +Environment Variables +--------------------- + +The following environment variables are supported: + +WEBBOX_PATH + + Directory with the payload files to be served by a webbox. + +WEBBOX_NAME + + Title of the webbox. Will be written on top of the Web UI. + + +Example configuration for Apache +-------------------------------- + +The following configuration can be included (and adjusted) in an Apache +VirtualHost configuration: + + # Define the URL of the webbox served by the Apache server: + # http:///testbox + Alias /testbox /var/www/webbox + + # Actual location of files to be served + FcgidInitialEnv WEBBOX_PATH /home/testbox + + # Title of the Webbox + FcgidInitialEnv WEBBOX_NAME Testbox + + # Maximum transfer size supported is defined by this Fcgid parameter. + # Note that the actual filesize will be smaller due to different + # encoding schemes + FcgidMaxRequestLen 100000000 + + # The following makes the FastCGI application part of Webbox available + # to the user. The static HTML pages of webbox always access the + # FastCGI part via http:///bin/ + ScriptAlias /bin/ /usr/lib/webbox/ + + SetHandler fcgid-script + + AllowOverride None + Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch + # Order allow,deny + # Allow from all + Require all granted + + + +Contact +------- + +Reichwein IT + diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..db2e3e2 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +webbox (1.0) unstable; urgency=medium + + * Initial release + + -- Roland Reichwein Mon, 08 Jan 2018 10:31:20 +0100 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +9 diff --git a/debian/control b/debian/control index 7725dc4..8c4e16d 100644 --- a/debian/control +++ b/debian/control @@ -1 +1,15 @@ -Depends: zip +Source: webbox +Section: web +Priority: extra +Maintainer: Roland Reichwein +Build-Depends: debhelper (>= 9), qtbase5-dev, libfcgi-dev +Standards-Version: 4.1.3 +Homepage: http://www.reichwein.it/webbox/ + +Package: webbox +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, zip, apache2, apache2-bin, libapache2-mod-fcgid +Homepage: http://www.reichwein.it/webbox/ +Description: Web file manager + Webbox is a web file manager using HTML5 with support for desktop and mobile + browsers. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..a9838e7 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,5 @@ +This package is Copyright 2018 by Reichwein.IT +Roland Reichwein + +Commercial licensing is available. + diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..abde6ef --- /dev/null +++ b/debian/rules @@ -0,0 +1,5 @@ +#!/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) -- cgit v1.2.3