summaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-12-03 07:42:46 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-12-05 23:43:26 +0700
commit35adc7933af1dabd96aca88e48b851edaebeea9b (patch)
tree4545a31372d75bbb47dc76ddab7aa472fa7e93d0 /network
parent8c649d01c6b4d4a01be1544cff97f953c5d45628 (diff)
downloadslackbuilds-35adc7933af1dabd96aca88e48b851edaebeea9b.tar.gz
network/teamviewer: Updated for version 10.0.36281.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r--network/teamviewer/README14
-rw-r--r--network/teamviewer/rc.teamviewerd4
-rw-r--r--network/teamviewer/teamviewer.SlackBuild26
-rw-r--r--network/teamviewer/teamviewer.info10
4 files changed, 31 insertions, 23 deletions
diff --git a/network/teamviewer/README b/network/teamviewer/README
index 8996c987a8..5b1170f7c6 100644
--- a/network/teamviewer/README
+++ b/network/teamviewer/README
@@ -1,9 +1,6 @@
TeamViewer is a remote control application. TeamViewer provides easy,
fast and secure remote access to Linux, Windows PCs, and Macs.
-NOTE: The 64-bit package only works in a multi-lib environment, and it
-requires these 32-bit packages: glibc, zlib, freetype, alsa-lib, GConf.
-
You must give execute permission on /etc/rc.d/rc.teamviewerd and run
/etc/rc.d/rc.teamviewerd start prior launching TeamViewer application
@@ -13,3 +10,14 @@ in your /etc/rc.d/rc.local:
if [ -x /etc/rc.d/rc.teamviewerd ]; then
/etc/rc.d/rc.teamviewerd start
fi
+
+NOTE:
+1. Newer version of Teamviewer can establish remote control connections
+to older version (version 3 and above), but not in the opposite direction.
+The same things goes to meetings (version 7 and above).
+
+2. Always stop teamviewerd service before attempting to upgrade as the path
+may change on each major release.
+
+3. If you are running multilib system, please use the 32 bit version.
+it requires these 32-bit packages: glibc, zlib, freetype, alsa-lib, GConf.
diff --git a/network/teamviewer/rc.teamviewerd b/network/teamviewer/rc.teamviewerd
index 29a4c0aabf..ae65dcf100 100644
--- a/network/teamviewer/rc.teamviewerd
+++ b/network/teamviewer/rc.teamviewerd
@@ -14,9 +14,9 @@
#
teamviewerd_start() {
- if [ -x /opt/teamviewer9/tv_bin/teamviewerd ]; then
+ if [ -x /opt/teamviewer/tv_bin/teamviewerd ]; then
echo "Starting TeamViewer Daemon"
- /opt/teamviewer9/tv_bin/teamviewerd --daemon start
+ /opt/teamviewer/tv_bin/teamviewerd --daemon start
fi
}
diff --git a/network/teamviewer/teamviewer.SlackBuild b/network/teamviewer/teamviewer.SlackBuild
index ea5776299a..2d176b5d33 100644
--- a/network/teamviewer/teamviewer.SlackBuild
+++ b/network/teamviewer/teamviewer.SlackBuild
@@ -24,7 +24,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=teamviewer
-VERSION=${VERSION:-9.0.32150}
+VERSION=${VERSION:-10.0.36281}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -42,10 +42,10 @@ PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
- DEBARCH=""
+ DEBARCH="i386"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
- DEBARCH="_x64"
+ DEBARCH="amd64"
LIBDIRSUFFIX="64"
else
echo "Package for $(uname -m) architecture is not available."
@@ -55,7 +55,7 @@ fi
set -eu
# Get the real version
-REAL_VER=$(ar p teamviewer_linux${DEBARCH}.deb control.tar.gz | tar xzO ./control | grep Version | cut -d\ -f2 | cut -d- -f1)
+REAL_VER=$(ar p teamviewer_${VERSION}_${DEBARCH}.deb control.tar.gz | tar xzO ./control | grep Version | cut -d\ -f2 | cut -d- -f1)
if [ "$VERSION" != "$REAL_VER" ]; then
echo "Version of downloaded source [$REAL_VER] does not match version of SlackBuild [$VERSION]"
exit 1
@@ -64,7 +64,7 @@ fi
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $PKG
-ar p $CWD/teamviewer_linux${DEBARCH}.deb data.tar.gz | gzip -d | tar xv
+ar p $CWD/teamviewer_${VERSION}_${DEBARCH}.deb data.tar.gz | gzip -d | tar xv
chown -R root:root .
find -L . \
@@ -78,7 +78,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
# Make a .desktop file
mkdir -p $PKG/usr/share/applications
-cat $PKG/opt/teamviewer9/tv_bin/desktop/teamviewer-teamviewer9.desktop \
+cat $PKG/opt/teamviewer/tv_bin/desktop/teamviewer-teamviewer10.desktop \
| sed -e 's/EXEC/teamviewer/' -e 's/ICON/teamviewer/' \
> $PKG/usr/share/applications/teamviewer.desktop
@@ -86,18 +86,18 @@ cat $PKG/opt/teamviewer9/tv_bin/desktop/teamviewer-teamviewer9.desktop \
rm $PKG/usr/bin/teamviewer
# Re-create the generic executable
-( cd $PKG/usr/bin; ln -s /opt/teamviewer9/tv_bin/script/teamviewer teamviewer )
+( cd $PKG/usr/bin; ln -s /opt/teamviewer/tv_bin/script/teamviewer teamviewer )
# Link icon to /usr/share/pixmaps
mkdir -p $PKG/usr/share/pixmaps
-( ln -sf /opt/teamviewer9/tv_bin/desktop/teamviewer.png $PKG/usr/share/pixmaps/teamviewer.png )
+( ln -sf /opt/teamviewer/tv_bin/desktop/teamviewer.png $PKG/usr/share/pixmaps/teamviewer.png )
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
# Move docs to official place
-mv $PKG/opt/teamviewer9/doc/*.txt $PKG/usr/doc/$PRGNAM-$VERSION
-rm -rf $PKG/opt/teamviewer9/doc/
+mv $PKG/opt/teamviewer/doc/*.txt $PKG/usr/doc/$PRGNAM-$VERSION
+rm -rf $PKG/opt/teamviewer/doc/
mkdir -p $PKG/etc/rc.d/
install -m 0644 $CWD/rc.teamviewerd $PKG/etc/rc.d/rc.teamviewerd.new
@@ -106,9 +106,9 @@ install -m 0644 $CWD/rc.teamviewerd $PKG/etc/rc.d/rc.teamviewerd.new
# First remove the dangling symlink made by Debian packages:
rm -f $PKG/var/log/teamviewer $PKG/etc/teamviewer
mkdir -p $PKG/var/log/teamviewer $PKG/etc/teamviewer
-rm -rf $PKG/opt/teamviewer9/logfiles/ $PKG/opt/teamviewer9/config/
-ln -s /var/log/teamviewer $PKG/opt/teamviewer9/logfiles
-ln -s /etc/teamviewer $PKG/opt/teamviewer9/config
+rm -rf $PKG/opt/teamviewer/logfiles/ $PKG/opt/teamviewer/config/
+ln -s /var/log/teamviewer $PKG/opt/teamviewer/logfiles
+ln -s /etc/teamviewer $PKG/opt/teamviewer/config
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
diff --git a/network/teamviewer/teamviewer.info b/network/teamviewer/teamviewer.info
index bd6f488080..eabf97c79b 100644
--- a/network/teamviewer/teamviewer.info
+++ b/network/teamviewer/teamviewer.info
@@ -1,10 +1,10 @@
PRGNAM="teamviewer"
-VERSION="9.0.32150"
+VERSION="10.0.36281"
HOMEPAGE="http://www.teamviewer.com/"
-DOWNLOAD="http://download.teamviewer.com/download/teamviewer_linux.deb"
-MD5SUM="2340e7f8d3f825012907104e0b166bcb"
-DOWNLOAD_x86_64="http://download.teamviewer.com/download/teamviewer_linux_x64.deb"
-MD5SUM_x86_64="4e930ec1ff2601e7fb65eb8edfec0bc0"
+DOWNLOAD="http://downloadus1.teamviewer.com/download/version_10x/teamviewer_10.0.36281_i386.deb"
+MD5SUM="d87cb34d21595a5bc3f9906f28f92c31"
+DOWNLOAD_x86_64="http://downloadus2.teamviewer.com/download/version_10x/teamviewer_10.0.36281_amd64.deb"
+MD5SUM_x86_64="c702eec31351096fda56fdef9f1e4916"
REQUIRES=""
MAINTAINER="Willy Sudiarto Raharjo"
EMAIL="willysr@slackbuilds.org"