From 3fc8304a43fb59eddd8e4187ee0efb297854981a Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Sat, 1 Jul 2023 16:28:09 -0400 Subject: [PATCH] network/webex: Fix shared lib permissions. Signed-off-by: B. Watson Signed-off-by: Willy Sudiarto Raharjo --- network/webex/webex.SlackBuild | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/network/webex/webex.SlackBuild b/network/webex/webex.SlackBuild index 85f0ae2ef1..fd3dff019f 100644 --- a/network/webex/webex.SlackBuild +++ b/network/webex/webex.SlackBuild @@ -22,11 +22,14 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20230701 bkw: Modified by SlackBuilds.org, BUILD=2: +# - +x permission for shared libs. + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=webex VERSION=${VERSION:-43.5.0.26155} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -77,6 +80,8 @@ rm $PKG/opt/Webex/bin/webex.desktop find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true +find $PKG -type f -a -name '*.so*' -exec chmod 755 {} + + # Link the binary: mkdir -p $PKG/usr/bin ( cd $PKG/usr/bin; ln -s ../../opt/Webex/bin/CiscoCollabHost webex )