aboutsummaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-03-22 10:28:02 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-03-26 01:20:14 +0700
commitca945d6c0c775c84326897dc1fe20b544f5dc327 (patch)
treebe6ab7ce6ecb937699e92857c56430bbe9256015 /network
parent16e2c44df568927753fec63524501911a9c2323d (diff)
network/teams: Fix glibc compatibility.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org> Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
Diffstat (limited to 'network')
-rw-r--r--network/teams/fix_glibc-2.35.patch9
-rw-r--r--network/teams/teams.SlackBuild6
2 files changed, 14 insertions, 1 deletions
diff --git a/network/teams/fix_glibc-2.35.patch b/network/teams/fix_glibc-2.35.patch
new file mode 100644
index 000000000000..8741cf548648
--- /dev/null
+++ b/network/teams/fix_glibc-2.35.patch
@@ -0,0 +1,9 @@
+--- usr/bin/teams.old 2022-03-21 18:53:40.958533543 -0300
++++ usr/bin/teams 2022-03-21 18:54:01.813813567 -0300
+@@ -8,5 +8,5 @@
+
+ mkdir -p "$TEAMS_LOGS"
+
+-nohup "$TEAMS_PATH" "$@" --disable-namespace-sandbox --disable-setuid-sandbox > "$TEAMS_LOGS/teams-startup.log" 2>&1 &
++nohup "$TEAMS_PATH" "$@" --disable-namespace-sandbox --disable-setuid-sandbox --disable-seccomp-filter-sandbox > "$TEAMS_LOGS/teams-startup.log" 2>&1 &
+
diff --git a/network/teams/teams.SlackBuild b/network/teams/teams.SlackBuild
index 38a0a1690375..395f8f94b5eb 100644
--- a/network/teams/teams.SlackBuild
+++ b/network/teams/teams.SlackBuild
@@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=teams
VERSION=${VERSION:-1.4.00.26453}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -62,6 +62,10 @@ mkdir -p $TMP $PKG $OUTPUT
cd $PKG
ar p $CWD/${PRGNAM}_${VERSION}_amd64.deb data.tar.xz | tar -xvJ
+# Fix the issue with GLIBC 2.35 on Slackware 15.0
+# Upstream issue, not Slackware issue.
+patch -p0 < $CWD/fix_glibc-2.35.patch
+
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \