summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Alex2017-07-22 10:40:38 +1000
committerBen Alex2017-07-22 10:40:38 +1000
commitc7f23a907409c51ddf32db857453ff9dbf8df6f6 (patch)
treeacdf9c13cca6b97f292f91c167898d13f8f158f0
parent2f00267512e52ed52a421dcf736b40a27d6da63b (diff)
downloadaur-c7f23a907409c51ddf32db857453ff9dbf8df6f6.tar.gz
Update to IBController 3.4.2
This follows https://github.com/ib-controller/ib-controller/issues/155 being resolved
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD8
-rw-r--r--ibcontroller@.service2
3 files changed, 11 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 07b15b0e534..dc8d8003fc5 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Wed Jul 19 23:50:06 UTC 2017
+# Sat Jul 22 00:40:31 UTC 2017
pkgbase = ib-controller
pkgdesc = Manages headless Interactive Brokers IB Gateway instances
- pkgver = 3.4.0
- pkgrel = 2
+ pkgver = 3.4.2
+ pkgrel = 0
url = https://github.com/ib-controller/ib-controller
arch = any
license = GPL3
@@ -18,13 +18,15 @@ pkgbase = ib-controller
backup = etc/ibcontroller/fdemo.ini
backup = etc/ibcontroller/edemo.ini
source = https://github.com/ib-controller/ib-controller/releases/download/3.4.0/IBController-3.4.0.zip
+ source = https://github.com/ib-controller/ib-controller/raw/master/resources/IBController.jar
source = fdemo.ini
source = edemo.ini
source = ibcontroller@.service
md5sums = 4e91b8df02123842aef9f211c5e0a4ff
+ md5sums = 795a7c605ffa180af4cafbe3f2fa9e4b
md5sums = 15f1ba10df1fa29068630eeea9e72bfa
md5sums = 2a8c16170d102c855778921cd0391c19
- md5sums = 007ef7d3edafb90001d0cee9df09500e
+ md5sums = f1038408283433b18a5cb39b30019fe6
pkgname = ib-controller
diff --git a/PKGBUILD b/PKGBUILD
index 46ceddf5c7a..e13615a9e81 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,8 @@
# Maintainer: Ben Alex <ben.alex@acegi.com.au>
pkgname=ib-controller
-pkgver=3.4.0
-pkgrel=2
+pkgver=3.4.2
+pkgrel=0
pkgdesc='Manages headless Interactive Brokers IB Gateway instances'
arch=('any')
url="https://github.com/ib-controller/ib-controller"
@@ -12,13 +12,15 @@ depends=(ib-tws xorg-server-xvfb xorg-server gtk2 libxrender libxtst gsettings-d
backup=('etc/ibcontroller/fdemo.ini'
'etc/ibcontroller/edemo.ini')
source=('https://github.com/ib-controller/ib-controller/releases/download/3.4.0/IBController-3.4.0.zip'
+ 'https://github.com/ib-controller/ib-controller/raw/master/resources/IBController.jar'
'fdemo.ini'
'edemo.ini'
'ibcontroller@.service')
md5sums=('4e91b8df02123842aef9f211c5e0a4ff'
+ '795a7c605ffa180af4cafbe3f2fa9e4b'
'15f1ba10df1fa29068630eeea9e72bfa'
'2a8c16170d102c855778921cd0391c19'
- '007ef7d3edafb90001d0cee9df09500e')
+ 'f1038408283433b18a5cb39b30019fe6')
package() {
diff --git a/ibcontroller@.service b/ibcontroller@.service
index 7bfc20a908f..865445055eb 100644
--- a/ibcontroller@.service
+++ b/ibcontroller@.service
@@ -11,8 +11,6 @@ Group=root
KillMode=control-group
ExecStartPre=/bin/sh -c "mkdir -p /var/run/xvfb"
-ExecStartPre=/bin/sh -c "mkdir -p $(grep -e '^IbDir=' /etc/ibcontroller/%I.ini | tr -cd '\040-\176' | cut -d '=' -f 2)"
-ExecStartPre=/bin/sh -c "echo -e '[IBGateway]\nApiOnly=true" > $(grep -e '^IbDir=' /etc/ibcontroller/%I.ini | tr -cd '\040-\176' | cut -d '=' -f 2)/tws.ini"
ExecStart=/usr/sbin/xvfb-run --auto-servernum -f /var/run/xvfb/%I /usr/share/ib-tws/jre/bin/java -cp /usr/share/ib-tws/jars/*:/usr/share/java/ibcontroller/ibcontroller.jar -Xmx512M ibcontroller.IBGatewayController /etc/ibcontroller/%I.ini
[Install]