summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorsaez0pub2017-02-07 21:00:02 +0100
committersaez0pub2017-02-07 21:00:02 +0100
commit0e1fea07b2b787b7ff47277d6a55fc00801c6972 (patch)
tree530c41064de9cf1d1318ba760eee672a5dff5ac1
parent801d3fe9abf38051e9e035166c677adcbaab50df (diff)
downloadaur-0e1fea07b2b787b7ff47277d6a55fc00801c6972.tar.gz
adding libcurl-compat as dependency and loading old libcurl in service file
-rw-r--r--PKGBUILD8
-rw-r--r--domoticz.service1
2 files changed, 5 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 9dc4ea4150c..c0badaca032 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,14 +2,14 @@
pkgname=domoticz
pkgver=3.5877
-pkgrel=1
+pkgrel=2
pkgdesc="Web based home automation"
arch=('x86_64' 'arm' 'armv6h' 'armv7h')
url="http://www.domoticz.com"
license=('GPL')
-depends=('openzwave-git' 'libusb-compat' 'curl' 'sqlite' 'boost-libs')
+depends=('openzwave-git' 'libusb-compat' 'curl' 'sqlite' 'boost-libs' 'libcurl-compat')
conflicts=('domoticz-svn' 'domoticz-git' 'domoticz-beta')
-install='domoticz-beta.install'
+install='domoticz.install'
case $CARCH in
armv8*)
_target_arch=aarch64
@@ -26,7 +26,7 @@ source=("https://releases.domoticz.com/releases/release/domoticz_linux_${_target
"https://releases.domoticz.com/releases/release/history_linux_${_target_arch}.txt"
'domoticz.service')
sha256sums=('SKIP' 'SKIP'
- '8627b3a82db83a0d94c830c007c09ffd38366505fced9c724a7c29414837f3ad')
+ 'bf9e8cd4e1215ac3847bee60e7078777dbcd14787b33ecc443de451a1b0a1728')
pkgver() {
echo "$(grep ^Version history_linux_${_target_arch}.txt | head -1 | cut -d' ' -f2)"
diff --git a/domoticz.service b/domoticz.service
index 38447b18da5..60e3b4593cf 100644
--- a/domoticz.service
+++ b/domoticz.service
@@ -3,6 +3,7 @@ Description=Domoticz Daemon
After=network.target
[Service]
+Environment=LD_PRELOAD=/usr/lib/libcurl.so.3
User=http
ExecStart=/opt/domoticz/domoticz -www 8080 -daemon
WorkingDirectory=/opt/domoticz