summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2020-02-10 17:22:41 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2022-11-04 18:49:51 +0100
commit1ca9856da75c9f24381cc0b2780984ebc5a0cdcf (patch)
treef1ca09c54d200c6ebeeb1bfe3d80d0ffe138cfa6
parent1280209ab65d02b4b2550761079fb8df9abe029e (diff)
downloadIshtar-1ca9856da75c9f24381cc0b2780984ebc5a0cdcf.tar.bz2
Ishtar-1ca9856da75c9f24381cc0b2780984ebc5a0cdcf.zip
Debian dir for ishtar-tasks and ishtar-libreoffice
-rw-r--r--debian.libreoffice/changelog5
-rw-r--r--debian.libreoffice/compat1
-rw-r--r--debian.libreoffice/control21
-rw-r--r--debian.libreoffice/copyright42
-rw-r--r--debian.libreoffice/ishtar-libreoffice.install2
-rw-r--r--debian.libreoffice/ishtar-libreoffice.postinst20
-rwxr-xr-xdebian.libreoffice/rules13
-rw-r--r--debian.libreoffice/source/format1
-rw-r--r--debian.tasks/changelog5
-rw-r--r--debian.tasks/compat1
-rw-r--r--debian.tasks/control16
-rw-r--r--debian.tasks/copyright42
-rw-r--r--debian.tasks/ishtar-tasks.install1
-rwxr-xr-xdebian.tasks/rules13
-rw-r--r--debian.tasks/source/format1
15 files changed, 184 insertions, 0 deletions
diff --git a/debian.libreoffice/changelog b/debian.libreoffice/changelog
new file mode 100644
index 000000000..e2a5d42dd
--- /dev/null
+++ b/debian.libreoffice/changelog
@@ -0,0 +1,5 @@
+ishtar-libreoffice (3.0.0-1) UNRELEASED; urgency=low
+
+ * First package
+
+ -- Étienne Loks <etienne.loks@iggdrasil.net> Wed, 29 Jan 2020 11:00:00 +0200
diff --git a/debian.libreoffice/compat b/debian.libreoffice/compat
new file mode 100644
index 000000000..f599e28b8
--- /dev/null
+++ b/debian.libreoffice/compat
@@ -0,0 +1 @@
+10
diff --git a/debian.libreoffice/control b/debian.libreoffice/control
new file mode 100644
index 000000000..7c4dfe7c4
--- /dev/null
+++ b/debian.libreoffice/control
@@ -0,0 +1,21 @@
+Source: ishtar-libreoffice
+Section: web
+Priority: optional
+Maintainer: Étienne Loks <etienne.loks@iggdrasil.net>
+Build-Depends: debhelper (>= 11~),
+ dh-python,
+ python3-all,
+ python3-setuptools
+Standards-Version: 4.3.0
+Homepage: https://ishtar-archeo.net/
+
+Package: ishtar-libreoffice
+Architecture: all
+Depends: ${misc:Depends},
+ python3-django-ishtar (= ${source:Version}),
+ libreoffice,
+ libreoffice-script-provider-python,
+ systemd,
+ python3-uno
+Description: Libreoffice service for Ishtar
+ Libreoffice service for Ishtar.
diff --git a/debian.libreoffice/copyright b/debian.libreoffice/copyright
new file mode 100644
index 000000000..28ba2ded6
--- /dev/null
+++ b/debian.libreoffice/copyright
@@ -0,0 +1,42 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: ishtar
+Source: https://gitlab.com/iggdrasil/ishtar.git
+
+Files: *
+Copyright: 2013-2020 Étienne Loks <etienne.loks@iggdrasil.net>
+License: AGPL-3.0+
+
+Files: debian/*
+Copyright: 2013-2020 Étienne Loks <etienne.loks@iggdrasil.net>
+License: GPL-3.0+
+
+License: GPL-3.0+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+ .
+ This package is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".
+
+License: AGPL-3.0
+ This program is free software: you can use, redistribute, and/or modify
+ this code under the terms of the GNU Affero General Public License
+ version 3.
+ .
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU Affero General Public License for more details.
+ .
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
diff --git a/debian.libreoffice/ishtar-libreoffice.install b/debian.libreoffice/ishtar-libreoffice.install
new file mode 100644
index 000000000..4ec4c71b1
--- /dev/null
+++ b/debian.libreoffice/ishtar-libreoffice.install
@@ -0,0 +1,2 @@
+install/libreoffice_settings.py etc/ishtar/
+install/libreoffice.service etc/systemd/system/
diff --git a/debian.libreoffice/ishtar-libreoffice.postinst b/debian.libreoffice/ishtar-libreoffice.postinst
new file mode 100644
index 000000000..2ec25275f
--- /dev/null
+++ b/debian.libreoffice/ishtar-libreoffice.postinst
@@ -0,0 +1,20 @@
+#!/bin/sh
+
+set -e
+
+case "$1" in
+ configure)
+ systemctl daemon-reload
+ systemctl enable libreoffice
+ systemctl start libreoffice
+ ;;
+
+ abort-upgrade|abort-remove|abort-deconfigure)
+
+ ;;
+
+ *)
+ echo "postinst called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+esac \ No newline at end of file
diff --git a/debian.libreoffice/rules b/debian.libreoffice/rules
new file mode 100755
index 000000000..1fed0020d
--- /dev/null
+++ b/debian.libreoffice/rules
@@ -0,0 +1,13 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+## Prevent setuptools/distribute from accessing the internet.
+#export http_proxy = http://127.0.9.1:9
+
+%:
+ @dh $@
+
+dh_auto_clean:
+ echo "Pass"
diff --git a/debian.libreoffice/source/format b/debian.libreoffice/source/format
new file mode 100644
index 000000000..163aaf8d8
--- /dev/null
+++ b/debian.libreoffice/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian.tasks/changelog b/debian.tasks/changelog
new file mode 100644
index 000000000..32eba1e37
--- /dev/null
+++ b/debian.tasks/changelog
@@ -0,0 +1,5 @@
+ishtar-tasks (3.0.0-1) UNRELEASED; urgency=low
+
+ * First package
+
+ -- Étienne Loks <etienne.loks@iggdrasil.net> Wed, 29 Jan 2020 11:00:00 +0200
diff --git a/debian.tasks/compat b/debian.tasks/compat
new file mode 100644
index 000000000..f599e28b8
--- /dev/null
+++ b/debian.tasks/compat
@@ -0,0 +1 @@
+10
diff --git a/debian.tasks/control b/debian.tasks/control
new file mode 100644
index 000000000..2361a8b5b
--- /dev/null
+++ b/debian.tasks/control
@@ -0,0 +1,16 @@
+Source: ishtar-tasks
+Section: web
+Priority: optional
+Maintainer: Étienne Loks <etienne.loks@iggdrasil.net>
+Build-Depends: debhelper (>= 11~)
+Standards-Version: 4.3.0
+Homepage: https://ishtar-archeo.net/
+
+Package: ishtar-tasks
+Architecture: all
+Depends: ${misc:Depends},
+ python3-django-ishtar (= ${source:Version}),
+ python3-celery
+Recommends: rabbitmq-server
+Description: Background task server for Ishtar
+ Background task server using rabbitmq task queue.
diff --git a/debian.tasks/copyright b/debian.tasks/copyright
new file mode 100644
index 000000000..eaa377cee
--- /dev/null
+++ b/debian.tasks/copyright
@@ -0,0 +1,42 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: ishtar-tasks
+Source: https://gitlab.com/iggdrasil/ishtar.git
+
+Files: *
+Copyright: 2013-2020 Étienne Loks <etienne.loks@iggdrasil.net>
+License: AGPL-3.0+
+
+Files: debian/*
+Copyright: 2013-2020 Étienne Loks <etienne.loks@iggdrasil.net>
+License: GPL-3.0+
+
+License: GPL-3.0+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+ .
+ This package is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".
+
+License: AGPL-3.0
+ This program is free software: you can use, redistribute, and/or modify
+ this code under the terms of the GNU Affero General Public License
+ version 3.
+ .
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU Affero General Public License for more details.
+ .
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
diff --git a/debian.tasks/ishtar-tasks.install b/debian.tasks/ishtar-tasks.install
new file mode 100644
index 000000000..61d39728a
--- /dev/null
+++ b/debian.tasks/ishtar-tasks.install
@@ -0,0 +1 @@
+install/tasks_settings.py etc/ishtar/
diff --git a/debian.tasks/rules b/debian.tasks/rules
new file mode 100755
index 000000000..1fed0020d
--- /dev/null
+++ b/debian.tasks/rules
@@ -0,0 +1,13 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+## Prevent setuptools/distribute from accessing the internet.
+#export http_proxy = http://127.0.9.1:9
+
+%:
+ @dh $@
+
+dh_auto_clean:
+ echo "Pass"
diff --git a/debian.tasks/source/format b/debian.tasks/source/format
new file mode 100644
index 000000000..163aaf8d8
--- /dev/null
+++ b/debian.tasks/source/format
@@ -0,0 +1 @@
+3.0 (quilt)