aboutsummaryrefslogtreecommitdiff
path: root/network/connman
diff options
context:
space:
mode:
authorSamuel Young <samyoung12788@gmail.com>2023-07-10 08:02:14 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-07-10 08:02:14 +0700
commit2e559440c31990e3a4b00201d9a3636c2db7e367 (patch)
tree940da7eea23ccae74de1bdf5b25215fa92abb6b3 /network/connman
parent3c0d34bfe50b1f29cfe76d987e2b80c9adb3aab5 (diff)
network/connman: Script update.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/connman')
-rw-r--r--network/connman/README7
-rw-r--r--network/connman/connman.SlackBuild5
2 files changed, 8 insertions, 4 deletions
diff --git a/network/connman/README b/network/connman/README
index 0110b8ad6d834..d854d6489d39d 100644
--- a/network/connman/README
+++ b/network/connman/README
@@ -9,9 +9,10 @@ and caching, DHCP clients for both IPv4 and IPv6, link-local IPv4
address handling and tethering (IP connection sharing) to clients via
USB, ethernet, WiFi, cellular and Bluetooth.
-To run connman on startup, add
- /usr/sbin/connmand
-to your /etc/rc.d/rc.local file.
+To run connman on startup, run (as root):
+ chmod +x /etc/rc.d/rc.connmand
+Make sure other networking services like NetworkManager or WPA
+Supplicant are not also configured to run on startup.
By default, this SlackBuild will build connman with support for iwd,
polkit, and nmcompat (NetworkManager compatibility interfaces). If
diff --git a/network/connman/connman.SlackBuild b/network/connman/connman.SlackBuild
index 8310e0aba30f5..e18241d1c887f 100644
--- a/network/connman/connman.SlackBuild
+++ b/network/connman/connman.SlackBuild
@@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=connman
VERSION=${VERSION:-1.41}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -100,6 +100,9 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
+mkdir -p $PKG/etc/rc.d
+install -m 644 $CWD/rc.connmand $PKG/etc/rc.d/
+
rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \