network/webex: Fix shared lib permissions.

Signed-off-by: B. Watson <urchlay@slackware.uk>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2023-07-01 16:28:09 -04:00 committed by Willy Sudiarto Raharjo
parent aa5bdfe8b4
commit 3fc8304a43
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -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 )