From: Michael Wagner Date: Thu, 21 Oct 2021 19:55:52 +0000 (+0200) Subject: posaune X-Git-Tag: v_0.0-2~1 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=5b9ca47249fae41d4f58ae1163646db404c12e09;p=projects.git posaune --- diff --git a/debian/kivitendo.control b/debian/kivitendo.control new file mode 100644 index 0000000..867b528 --- /dev/null +++ b/debian/kivitendo.control @@ -0,0 +1,29 @@ +Source: kivitendo +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, + libcam-pdf-perl +Description: kivitendo-ERP + diff --git a/debian/kivitendo.cp b/debian/kivitendo.cp new file mode 100755 index 0000000..165c8e9 --- /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 +rsync -a --exclude=".git" Downloads/kivitendo-erp/ $1/opt/kivitendo-erp/ + +mkdir -p $1/etc/apache2/sites-available +mkdir -p $1/etc/apache2/sites-enabled +cp kivitendo/kivitendo.conf $1/etc/apache2/sites-available +cd $1/etc/apache2/sites-enabled && ln -sf ../sites-available/kivitendo.conf . + diff --git a/debian/kivitendo.prepare b/debian/kivitendo.prepare new file mode 100755 index 0000000..c4cb090 --- /dev/null +++ b/debian/kivitendo.prepare @@ -0,0 +1,19 @@ +#!/bin/bash +set -e + +mkdir -p Downloads +cd Downloads + +if [ -d kivitendo-erp ] +then + cd kivitendo-erp + git fetch -t +else + git clone https://github.com/kivitendo/kivitendo-erp + cd kivitendo-erp +fi + +git checkout release-$version + +cp doc/copyright ../../debian/ + diff --git a/kivitendo/.dummy b/kivitendo/.dummy new file mode 100644 index 0000000..e69de29