summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorStanislas H.B. Sodonon2017-10-07 16:54:09 +0100
committerStanislas H.B. Sodonon2017-10-07 16:54:09 +0100
commit6e5a1f82f09152d24c3d94bd3ee70104a758febb (patch)
tree3e6c50d4e64be758f7679a4d008d4ad90ccd3a4b
parent3204db423d8d11a2ae4c5476f4b883ec297365c6 (diff)
downloadaur-6e5a1f82f09152d24c3d94bd3ee70104a758febb.tar.gz
drop postgres dependency for docker compatibility
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD8
-rw-r--r--odoo.install3
-rw-r--r--odoo.service2
4 files changed, 11 insertions, 12 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 11d06222270..bf49f789457 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Sun Sep 3 21:42:58 UTC 2017
+# Sat Oct 7 15:54:09 UTC 2017
pkgbase = odoo
pkgdesc = Web-based Open Source Business Apps
pkgver = 10.0
- pkgrel = 8
+ pkgrel = 9
url = http://odoo.com/
install = odoo.install
arch = any
@@ -64,13 +64,13 @@ pkgbase = odoo
conflicts = openerp
replaces = openerp
backup = etc/odoo/odoo.conf
- source = http://nightly.odoo.com/10.0/nightly/src/odoo_10.0.20170903.tar.gz
+ source = http://nightly.odoo.com/10.0/nightly/src/odoo_10.0.20171006.tar.gz
source = odoo.confd
source = odoo.service
source = odoo.conf
- md5sums = 75affb3be92d5d97092e37ee1caecbc6
+ md5sums = 3738042d14d9d2db3af4484dd3642ea7
md5sums = 742fa9ad94a92ac2aa910197a26af4e8
- md5sums = 7c129103ef4582d3de3ebd1ecd015d99
+ md5sums = 5bddcc6edbdefdd07cae945165c63604
md5sums = 863418f31f0fb982cde0008fa63f35f0
pkgname = odoo
diff --git a/PKGBUILD b/PKGBUILD
index a23d2bc21f4..c0ab2885a20 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,8 +2,8 @@
pkgname=odoo
pkgver=10.0
-_pkgsubver=20170903
-pkgrel=8
+_pkgsubver=20171006
+pkgrel=9
pkgdesc="Web-based Open Source Business Apps"
url=http://odoo.com/
arch=('any')
@@ -89,7 +89,7 @@ package()
install -Dm 644 ${srcdir}/odoo.service ${pkgdir}/usr/lib/systemd/system/odoo.service
install -Dm 644 ${srcdir}/odoo.conf ${pkgdir}/etc/odoo/odoo.conf
}
-md5sums=('75affb3be92d5d97092e37ee1caecbc6'
+md5sums=('3738042d14d9d2db3af4484dd3642ea7'
'742fa9ad94a92ac2aa910197a26af4e8'
- '7c129103ef4582d3de3ebd1ecd015d99'
+ '5bddcc6edbdefdd07cae945165c63604'
'863418f31f0fb982cde0008fa63f35f0')
diff --git a/odoo.install b/odoo.install
index 3188f78ea4a..4ed8ccd1af5 100644
--- a/odoo.install
+++ b/odoo.install
@@ -7,11 +7,12 @@ pre_install(){
post_install() {
systemctl --system daemon-reload
+ echo "This package requires a functional PostgreSQL server. "
+ echo "To use with a locally installed PostgreSQL:
echo "-- Make sure PostgreSQL is correctly installed (see wiki), start it,"
echo "-- create user with database creation rights for odoo in PostgreSQL"
echo "-- e.g: # su - postgres -c \"createuser -dRSP <myodoouser>\""
echo "-- then edit '/etc/odoo/odoo-server.conf' accordingly."
- echo "-- Starting odoo will automatically start PostgreSQL as well."
}
post_upgrade() {
diff --git a/odoo.service b/odoo.service
index 836e321726d..70020fd4ace 100644
--- a/odoo.service
+++ b/odoo.service
@@ -1,7 +1,5 @@
[Unit]
Description=Advanced OpenSource ERP and CRM server
-Requires=postgresql.service
-After=postgresql.service
[Service]