From 2e559440c31990e3a4b00201d9a3636c2db7e367 Mon Sep 17 00:00:00 2001 From: Samuel Young Date: Mon, 10 Jul 2023 08:02:14 +0700 Subject: network/connman: Script update. Signed-off-by: Willy Sudiarto Raharjo --- network/connman/README | 7 ++++--- network/connman/connman.SlackBuild | 5 ++++- 2 files changed, 8 insertions(+), 4 deletions(-) (limited to 'network/connman') 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 \ -- cgit v1.2.3