summaryrefslogtreecommitdiff
path: root/network/connman
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-06-20 07:11:48 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-06-20 23:34:29 +0700
commit3f734af3131134bcc72a34d6efdb1d3d8fdb02b5 (patch)
tree143e0bf65b78db07c87c56fcdfecc43e836303d7 /network/connman
parent7d549c7ab83c41700395c60d9bf66a2637225d38 (diff)
downloadslackbuilds-3f734af3131134bcc72a34d6efdb1d3d8fdb02b5.tar.gz
network/connman: Updated for version 1.32.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/connman')
-rw-r--r--network/connman/allow_group_network.diff13
-rw-r--r--network/connman/connman.SlackBuild7
-rw-r--r--network/connman/connman.info6
3 files changed, 22 insertions, 4 deletions
diff --git a/network/connman/allow_group_network.diff b/network/connman/allow_group_network.diff
new file mode 100644
index 0000000000..2ab8d9f720
--- /dev/null
+++ b/network/connman/allow_group_network.diff
@@ -0,0 +1,13 @@
+--- a/src/connman-polkit.conf 2010-11-05 12:09:04.285423955 -0200
++++ b/src/connman-polkit.conf 2010-11-05 12:10:53.041423934 -0200
+@@ -5,6 +5,9 @@
+ <allow own="net.connman"/>
+ <allow send_interface="net.connman.Agent"/>
+ </policy>
++ <policy group="network">
++ <allow send_interface="net.connman.Agent"/>
++ </policy>
+ <policy context="default">
+ <allow send_destination="net.connman"/>
+ </policy>
+
diff --git a/network/connman/connman.SlackBuild b/network/connman/connman.SlackBuild
index 65351620ed..bf3bd278fc 100644
--- a/network/connman/connman.SlackBuild
+++ b/network/connman/connman.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=connman
-VERSION=${VERSION:-1.30}
+VERSION=${VERSION:-1.32}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -64,6 +64,11 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.?z
cd $PRGNAM-$VERSION
+patch -p1 < $CWD/allow_group_network.diff
+
+# fix cmst issue
+sed -i "s|deny|allow|" plugins/connman-nmcompat.conf
+
# configure
CFLAGS=${SCFLAGS} CXXFLAGS=${SCXXFLAGS} LIBS=-lncurses \
./configure \
diff --git a/network/connman/connman.info b/network/connman/connman.info
index 47b61cead9..ecbd74434c 100644
--- a/network/connman/connman.info
+++ b/network/connman/connman.info
@@ -1,8 +1,8 @@
PRGNAM="connman"
-VERSION="1.30"
+VERSION="1.32"
HOMEPAGE="https://01.org/connman"
-DOWNLOAD="https://www.kernel.org/pub/linux/network/connman/connman-1.30.tar.xz"
-MD5SUM="4a3efdbd6796922db9c6f66da57887fa"
+DOWNLOAD="https://www.kernel.org/pub/linux/network/connman/connman-1.32.tar.xz"
+MD5SUM="d0c3071c1d8dec9cd17b760f862de2ad"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""