From: Michael Wagner Date: Fri, 30 Aug 2019 17:31:48 +0000 (+0200) Subject: epic-ts X-Git-Tag: kivitendo_3.5.4-1 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=97e26b6903f9049ecbaec55266bad5e362de4408;p=kivitendo-erp.git epic-ts --- diff --git a/debian/kivitendo.changelog b/debian/kivitendo.changelog new file mode 100644 index 000000000..1ef5e4d17 --- /dev/null +++ b/debian/kivitendo.changelog @@ -0,0 +1,3 @@ +kivitendo-erp (3.5.4-%BUILD%) unstable; urgency=medium + * kivitendo ERP + -- Michael Wagner Fri, 30 Aug 2019 20:03:04 +0100 diff --git a/debian/kivitendo.conf b/debian/kivitendo.conf new file mode 100755 index 000000000..fcbe5ceb0 --- /dev/null +++ b/debian/kivitendo.conf @@ -0,0 +1,18 @@ +# Configuration for kivitendo +# Kivitendo-Installattion mit FCGI +AddHandler fcgid-script .fpl +AliasMatch ^/kivitendo/[^/]+\.pl /opt/kivitendo-erp-3.4.1/dispatcher.fpl +Alias /kivitendo/ /opt/kivitendo-erp-3.4.1/ +FcgidMaxRequestLen 10485760 + + + AllowOverride All + Options ExecCGI Includes FollowSymlinks + Order Allow,Deny + Allow from All + + + + Order Deny,Allow + Deny from All + diff --git a/debian/kivitendo.control b/debian/kivitendo.control new file mode 100644 index 000000000..caf06a5c2 --- /dev/null +++ b/debian/kivitendo.control @@ -0,0 +1,28 @@ +Source: kivitendo-erp +Section: main +Priority: optional +Maintainer: Michael Wagner +Build-Depends: git,build-essential + +Package: kivitendo +Section: main +Priority: optional +Architecture: all +Depends: apache2, postgresql, libapache2-mod-fcgid, libarchive-zip-perl, libclone-perl, + libconfig-std-perl, libdatetime-perl, libdbd-pg-perl, libdbi-perl, + libemail-address-perl, libemail-mime-perl, libfcgi-perl, libjson-perl, + liblist-moreutils-perl, libnet-smtp-ssl-perl, libnet-sslglue-perl, + libparams-validate-perl, libpdf-api2-perl, librose-db-object-perl, + librose-db-perl, librose-object-perl, libsort-naturally-perl, + libstring-shellquote-perl, libtemplate-perl, libtext-csv-xs-perl, + libtext-iconv-perl, liburi-perl, libxml-writer-perl, libyaml-perl, + libimage-info-perl, libgd-gd2-perl, + libfile-copy-recursive-perl, libalgorithm-checkdigits-perl, + libcrypt-pbkdf2-perl, libcgi-pm-perl, libtext-unidecode-perl, libwww-perl, + postgresql-contrib, aqbanking-tools, poppler-utils, libhtml-restrict-perl, + libdatetime-set-perl, libset-infinite-perl, liblist-utilsby-perl, + libdaemon-generic-perl, libfile-flock-perl, libfile-slurp-perl, + libfile-mimeinfo-perl, libpbkdf2-tiny-perl, libregexp-ipv6-perl, + libdatetime-event-cron-perl, libexception-class-perl +Description: kivitendo-ERP + diff --git a/debian/kivitendo.cp b/debian/kivitendo.cp new file mode 100755 index 000000000..344991e00 --- /dev/null +++ b/debian/kivitendo.cp @@ -0,0 +1,13 @@ +#!/bin/bash +set -e + +# parameter: $1: base dir for copy (optional) + +mkdir -p $1/opt/kivitendo-erp-3.5.4 +rsync -av --exclude="debian" --exclude=".git" ./ $1/opt/kivitendo-erp-3.5.4/ + +mkdir -p $1/etc/apache2/sites-available +mkdir -p $1/etc/apache2/sites-enabled +cp debian/kivitendo.conf $1/etc/apache2/sites-available +cd $1/etc/apache2/sites-enabled && ln -sf ../sites-available/kivitendo.conf . + diff --git a/debian/kivitendo.postinst b/debian/kivitendo.postinst new file mode 100755 index 000000000..a35f4f6c8 --- /dev/null +++ b/debian/kivitendo.postinst @@ -0,0 +1,22 @@ +#!/bin/sh +set -e + +# kivitendo postinst + +version="3.5.4" + +# check configuration file +if [ ! -e /opt/kivitendo-erp-$version/config/kivitendo.conf ] +then + echo "Type new kivitendo admin password:" + read a + sed "s/admin123/$a/" /opt/kivitendo-erp-$version/config/kivitendo.conf.default >/opt/kivitendo-erp-$version/config/kivitendo.conf +fi + +# allow write access to some directories +chown www-data /opt/kivitendo-erp-$version/users /opt/kivitendo-erp-$version/templates +chgrp www-data /opt/kivitendo-erp-$version/users /opt/kivitendo-erp-$version/templates + +# call installation check +/opt/kivitendo-erp-$version/scripts/installation_check.pl +