* [gentoo-commits] repo/gentoo:master commit in: net-misc/teamviewer/files/, net-misc/teamviewer/
@ 2017-12-18 1:31 Andreas Sturmlechner
0 siblings, 0 replies; 5+ messages in thread
From: Andreas Sturmlechner @ 2017-12-18 1:31 UTC (permalink / raw
To: gentoo-commits
commit: 7142e5e9bb52a70b83dbe109f733fa66deb08575
Author: Maxxim <fonic.maxxim <AT> live <DOT> com>
AuthorDate: Mon Dec 18 00:07:30 2017 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Dec 18 01:28:23 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7142e5e9
net-misc/teamviewer: 13.0.5693 version bump (non-maintainer commit)
Committer comment: Tidied up
- trivial comments
- unnecessary empty lines
- unquoted vars
- whitespace
- re-grouped pkg_postinst elog
Tested-by: Cănărău Constantin <canarauc <AT> yahoo.com>
Bug: https://bugs.gentoo.org/621818
Package-Manager: Portage-2.3.19, Repoman-2.3.6
net-misc/teamviewer/Manifest | 2 +
net-misc/teamviewer/files/teamviewerd13.init | 8 ++
net-misc/teamviewer/teamviewer-13.0.5693.ebuild | 123 ++++++++++++++++++++++++
3 files changed, 133 insertions(+)
diff --git a/net-misc/teamviewer/Manifest b/net-misc/teamviewer/Manifest
index bfe23d2978d..e4c120f019d 100644
--- a/net-misc/teamviewer/Manifest
+++ b/net-misc/teamviewer/Manifest
@@ -2,3 +2,5 @@ DIST teamviewer-9.0.32150.deb 22898922 BLAKE2B 799aa6f48b69247a2695ca745e85d02ff
DIST teamviewer_10.0.46203_i386.deb 43326592 BLAKE2B 874bad1cf2efdb7f4c1da69a625549b2c46e6a710ca3cf871dd21fd804b1b1b8294981d8f6e27c58231e51e41fb0dcd8f42f08adcefc4e2ded61c15fdc068425 SHA512 2133194b180648685a9e179df1a2888277f3038d9098d0d12b72de92026bdb969d90262514996df60dfcf6986e291ecb756fde9e0781fca5c872b5c82e5494ea
DIST teamviewer_11.0.67687_i386.deb 47341822 BLAKE2B 3aa7d9af2c0c39fad22cec8391921d1034e2dc4bab70f9fb04c7dd7a9a8c23ae484717b3cf71856734bec08a26b4f409c205dde2b9b511b6d0fe78dc6182dc75 SHA512 3fbb0a2fc1bccd41ba9798305fada7e8266e1c9ed8509492ccb75e6f85995538ddc05ad72648e9f6c31cd5f17ad34f1ed3a300eeb38a4a703d3414c113d3e5a9
DIST teamviewer_12.0.85001_i386.deb 46549564 BLAKE2B d3b821376c9385a1090e12708e17b8ad76f29f27c9d76ae140654eed7eca44d115275cd587462e52845260bd6616c88260c767350944730c30eac7c14467ae39 SHA512 4db490568936ec58a37157019071cf61ed5dde8b5951f6e524d1f64aa23f46dd40c8eda1e96a9d47c756c1427d82ccb9c58773b53dfa0ae60bbb94e03b4522a0
+DIST teamviewer_13.0.5693_amd64.tar.xz 9694952 BLAKE2B 650814c3c63897e1024836528c6eaa4cc81064ffa16bece7f8d2fe633457e2795e2cef847175a88dbb389ba61d2597a02292e6bf610da25c92f97152560ea355 SHA512 75886b6d00991968ae0b0d3c55b4c07c6f1b1b24488b2d5ae866e35c26ee6e673e500c87845ba6850ffdc80e4612feff0fc5bbe9e39f2d0a94582e1800471dcc
+DIST teamviewer_13.0.5693_i386.tar.xz 9583892 BLAKE2B 8e477978825431a01b37b61c28b903b36cd81365c7ec5df4ca8d4aec1ce8d24b49af60ed6c99c863acd26405254ae78c4ae4dfef1f8b7a5fb882e281c3c4f125 SHA512 be5e8e00755a38f2c70ceba88d9fb87c2cc8e9e284c86e22f95dddf919a37ee1f24ef1e02f042a339eaf863dbf255c873e3edcb038c04202b4ab0460e50b2503
diff --git a/net-misc/teamviewer/files/teamviewerd13.init b/net-misc/teamviewer/files/teamviewerd13.init
new file mode 100644
index 00000000000..bb6e23884b6
--- /dev/null
+++ b/net-misc/teamviewer/files/teamviewerd13.init
@@ -0,0 +1,8 @@
+#!/sbin/openrc-run
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+command="/opt/teamviewer/tv_bin/teamviewerd"
+command_args="-d"
+description="Starts the TeamViewer remote control daemon"
+pidfile="/var/run/teamviewerd.pid"
diff --git a/net-misc/teamviewer/teamviewer-13.0.5693.ebuild b/net-misc/teamviewer/teamviewer-13.0.5693.ebuild
new file mode 100644
index 00000000000..768c644d329
--- /dev/null
+++ b/net-misc/teamviewer/teamviewer-13.0.5693.ebuild
@@ -0,0 +1,123 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+MV=${PV/\.*}
+MY_PN=${PN}${MV}
+inherit eutils gnome2-utils systemd
+
+DESCRIPTION="All-In-One Solution for Remote Access and Support over the Internet"
+HOMEPAGE="https://www.teamviewer.com"
+SRC_URI="amd64? ( https://dl.tvcdn.de/download/linux/version_${MV}x/${PN}_${PV}_amd64.tar.xz )
+ x86? ( https://dl.tvcdn.de/download/linux/version_${MV}x/${PN}_${PV}_i386.tar.xz )"
+
+LICENSE="TeamViewer MIT"
+SLOT="${MV}"
+KEYWORDS="-* ~amd64 ~x86"
+IUSE=""
+
+DEPEND="sys-apps/sed"
+RDEPEND="
+ dev-qt/qtcore:5
+ dev-qt/qtdbus:5
+ dev-qt/qtdeclarative:5
+ dev-qt/qtgui:5
+ dev-qt/qtnetwork:5
+ dev-qt/qtquickcontrols:5
+ dev-qt/qtwebkit:5
+ dev-qt/qtwidgets:5
+ dev-qt/qtx11extras:5
+ sys-apps/dbus
+"
+
+RESTRICT="bindist mirror"
+
+# Silence QA messages
+QA_PREBUILT="opt/teamviewer/*"
+
+S="${WORKDIR}"/teamviewer
+
+src_prepare() {
+ default
+
+ # Switch operation mode from 'portable' to 'installed'
+ sed -i 's/TAR_NI/TAR_IN/g' tv_bin/script/tvw_config || die
+}
+
+src_install() {
+ local dst="/opt/teamviewer" # install destination
+
+ # Quirk:
+ # Remove Intel 80386 32-bit ELF binary 'libdepend' present in all
+ # archives. It will trip the 'emerge @preserved-libs' logic on amd64
+ # when changing the ABI of one of its dependencies. According to the
+ # TeamViewer devs, this binary is an unused remnant of previous Wine-
+ # based builds and will be removed in future releases anyway
+ rm tv_bin/script/libdepend
+
+ insinto ${dst}
+ doins -r tv_bin
+
+ # Set permissions for executables and libraries
+ for exe in $(find tv_bin -type f -executable -or -name '*.so'); do
+ fperms 755 ${dst}/${exe}
+ done
+
+ newinitd "${FILESDIR}"/teamviewerd13.init teamviewerd
+ systemd_dounit tv_bin/script/teamviewerd.service
+
+ insinto /usr/share/dbus-1/services
+ doins tv_bin/script/com.teamviewer.TeamViewer.service
+ doins tv_bin/script/com.teamviewer.TeamViewer.Desktop.service
+
+ insinto /usr/share/polkit-1/actions
+ doins tv_bin/script/com.teamviewer.TeamViewer.policy
+
+ for size in 16 24 32 48 256; do
+ newicon -s ${size} tv_bin/desktop/teamviewer_${size}.png TeamViewer.png
+ done
+
+ # Install documents (NOTE: using 'dodoc -r doc' instead of loop will
+ # have the undesired result of installing subdirectory 'doc' in /usr/
+ # share/doc/teamviewer-<version>)
+ for doc in $(find doc -type f); do
+ dodoc ${doc}
+ done
+
+ keepdir /etc/teamviewer
+ dosym /etc/teamviewer ${dst}/config
+
+ # Create directory and symlink for log files (NOTE: according to Team-
+ # Viewer devs, all paths are hard-coded in the binaries; therefore
+ # using the same path as the DEB/RPM archives, i.e. '/var/log/teamviewer
+ # <major-version>')
+ keepdir /var/log/teamviewer${MV}
+ dosym /var/log/teamviewer${MV} ${dst}/logfiles
+
+ dodir /opt/bin
+ dosym ${dst}/tv_bin/teamviewerd /opt/bin/teamviewerd
+ dosym ${dst}/tv_bin/script/teamviewer /opt/bin/teamviewer
+
+ make_desktop_entry teamviewer "TeamViewer" TeamViewer
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+
+ elog "Before using TeamViewer, you need to start its daemon:"
+ elog "OpenRC:"
+ elog "# /etc/init.d/teamviewerd start"
+ elog "# rc-update add teamviewerd default"
+ elog
+ elog "Systemd:"
+ elog "# systemctl start teamviewerd.service"
+ elog "# systemctl enable teamviewerd.service"
+ elog
+ elog "To display additional command line options simply run:"
+ elog "$ ${MY_PN} help"
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/teamviewer/files/, net-misc/teamviewer/
@ 2017-12-18 1:31 Andreas Sturmlechner
0 siblings, 0 replies; 5+ messages in thread
From: Andreas Sturmlechner @ 2017-12-18 1:31 UTC (permalink / raw
To: gentoo-commits
commit: 9878eb26536caeadc3d46597643ea67ef9e27af4
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 18 00:22:25 2017 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Dec 18 01:28:44 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9878eb26
net-misc/teamviewer: Fix slotting
Package-Manager: Portage-2.3.19, Repoman-2.3.6
net-misc/teamviewer/files/teamviewerd13.init | 2 +-
net-misc/teamviewer/teamviewer-13.0.5693.ebuild | 46 +++++++++++++------------
2 files changed, 25 insertions(+), 23 deletions(-)
diff --git a/net-misc/teamviewer/files/teamviewerd13.init b/net-misc/teamviewer/files/teamviewerd13.init
index bb6e23884b6..79dbc29e2aa 100644
--- a/net-misc/teamviewer/files/teamviewerd13.init
+++ b/net-misc/teamviewer/files/teamviewerd13.init
@@ -2,7 +2,7 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-command="/opt/teamviewer/tv_bin/teamviewerd"
+command="/opt/teamviewer13/tv_bin/teamviewerd"
command_args="-d"
description="Starts the TeamViewer remote control daemon"
pidfile="/var/run/teamviewerd.pid"
diff --git a/net-misc/teamviewer/teamviewer-13.0.5693.ebuild b/net-misc/teamviewer/teamviewer-13.0.5693.ebuild
index 768c644d329..5928c42171d 100644
--- a/net-misc/teamviewer/teamviewer-13.0.5693.ebuild
+++ b/net-misc/teamviewer/teamviewer-13.0.5693.ebuild
@@ -3,17 +3,16 @@
EAPI=6
-MV=${PV/\.*}
-MY_PN=${PN}${MV}
+MY_PN=${PN}${PV/\.*}
inherit eutils gnome2-utils systemd
DESCRIPTION="All-In-One Solution for Remote Access and Support over the Internet"
HOMEPAGE="https://www.teamviewer.com"
-SRC_URI="amd64? ( https://dl.tvcdn.de/download/linux/version_${MV}x/${PN}_${PV}_amd64.tar.xz )
- x86? ( https://dl.tvcdn.de/download/linux/version_${MV}x/${PN}_${PV}_i386.tar.xz )"
+SRC_URI="amd64? ( https://dl.tvcdn.de/download/linux/version_${PV/\.*}x/${PN}_${PV}_amd64.tar.xz )
+ x86? ( https://dl.tvcdn.de/download/linux/version_${PV/\.*}x/${PN}_${PV}_i386.tar.xz )"
LICENSE="TeamViewer MIT"
-SLOT="${MV}"
+SLOT="${PV/\.*}"
KEYWORDS="-* ~amd64 ~x86"
IUSE=""
@@ -34,7 +33,7 @@ RDEPEND="
RESTRICT="bindist mirror"
# Silence QA messages
-QA_PREBUILT="opt/teamviewer/*"
+QA_PREBUILT="opt/${MY_PN}/*"
S="${WORKDIR}"/teamviewer
@@ -42,11 +41,14 @@ src_prepare() {
default
# Switch operation mode from 'portable' to 'installed'
- sed -i 's/TAR_NI/TAR_IN/g' tv_bin/script/tvw_config || die
+ sed -e "s/TAR_NI/TAR_IN/g" -i tv_bin/script/tvw_config || die
+
+ sed -e "/^ExecStart/s/${PN}/${MY_PN}/" \
+ -i tv_bin/script/teamviewerd.service || die
}
src_install() {
- local dst="/opt/teamviewer" # install destination
+ local dst="/opt/${MY_PN}" # install destination
# Quirk:
# Remove Intel 80386 32-bit ELF binary 'libdepend' present in all
@@ -64,8 +66,8 @@ src_install() {
fperms 755 ${dst}/${exe}
done
- newinitd "${FILESDIR}"/teamviewerd13.init teamviewerd
- systemd_dounit tv_bin/script/teamviewerd.service
+ newinitd "${FILESDIR}"/teamviewerd13.init teamviewerd${SLOT}
+ systemd_newunit tv_bin/script/${PN}d.service ${PN}d${SLOT}.service
insinto /usr/share/dbus-1/services
doins tv_bin/script/com.teamviewer.TeamViewer.service
@@ -75,7 +77,7 @@ src_install() {
doins tv_bin/script/com.teamviewer.TeamViewer.policy
for size in 16 24 32 48 256; do
- newicon -s ${size} tv_bin/desktop/teamviewer_${size}.png TeamViewer.png
+ newicon -s ${size} tv_bin/desktop/teamviewer_${size}.png ${MY_PN}.png
done
# Install documents (NOTE: using 'dodoc -r doc' instead of loop will
@@ -85,21 +87,21 @@ src_install() {
dodoc ${doc}
done
- keepdir /etc/teamviewer
- dosym /etc/teamviewer ${dst}/config
+ keepdir /etc/${MY_PN}
+ dosym /etc/${MY_PN} ${dst}/config
# Create directory and symlink for log files (NOTE: according to Team-
# Viewer devs, all paths are hard-coded in the binaries; therefore
# using the same path as the DEB/RPM archives, i.e. '/var/log/teamviewer
# <major-version>')
- keepdir /var/log/teamviewer${MV}
- dosym /var/log/teamviewer${MV} ${dst}/logfiles
+ keepdir /var/log/${MY_PN}
+ dosym /var/log/${MY_PN} ${dst}/logfiles
dodir /opt/bin
- dosym ${dst}/tv_bin/teamviewerd /opt/bin/teamviewerd
- dosym ${dst}/tv_bin/script/teamviewer /opt/bin/teamviewer
+ dosym ${dst}/tv_bin/teamviewerd /opt/bin/teamviewerd${SLOT}
+ dosym ${dst}/tv_bin/script/teamviewer /opt/bin/${MY_PN}
- make_desktop_entry teamviewer "TeamViewer" TeamViewer
+ make_desktop_entry ${MY_PN} "TeamViewer ${SLOT}" ${MY_PN}
}
pkg_postinst() {
@@ -107,12 +109,12 @@ pkg_postinst() {
elog "Before using TeamViewer, you need to start its daemon:"
elog "OpenRC:"
- elog "# /etc/init.d/teamviewerd start"
- elog "# rc-update add teamviewerd default"
+ elog "# /etc/init.d/teamviewerd${SLOT} start"
+ elog "# rc-update add teamviewerd${SLOT} default"
elog
elog "Systemd:"
- elog "# systemctl start teamviewerd.service"
- elog "# systemctl enable teamviewerd.service"
+ elog "# systemctl start teamviewerd${SLOT}.service"
+ elog "# systemctl enable teamviewerd${SLOT}.service"
elog
elog "To display additional command line options simply run:"
elog "$ ${MY_PN} help"
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/teamviewer/files/, net-misc/teamviewer/
@ 2017-12-19 0:20 Andreas Sturmlechner
0 siblings, 0 replies; 5+ messages in thread
From: Andreas Sturmlechner @ 2017-12-19 0:20 UTC (permalink / raw
To: gentoo-commits
commit: 10c2ceaeed402f8f73447dbac9a1bfceb00aef02
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 18 02:16:16 2017 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Tue Dec 19 00:18:57 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10c2ceae
net-misc/teamviewer: Drop last-rited versions
Closes: https://bugs.gentoo.org/620736
Package-Manager: Portage-2.3.19, Repoman-2.3.6
net-misc/teamviewer/Manifest | 3 -
net-misc/teamviewer/files/teamviewer.sh | 47 --------
net-misc/teamviewer/files/teamviewerd.conf | 6 --
net-misc/teamviewer/files/teamviewerd.init | 30 ------
net-misc/teamviewer/teamviewer-10.0.46203.ebuild | 129 ----------------------
net-misc/teamviewer/teamviewer-11.0.67687.ebuild | 131 -----------------------
net-misc/teamviewer/teamviewer-12.0.85001.ebuild | 131 -----------------------
7 files changed, 477 deletions(-)
diff --git a/net-misc/teamviewer/Manifest b/net-misc/teamviewer/Manifest
index e4c120f019d..b427b9618be 100644
--- a/net-misc/teamviewer/Manifest
+++ b/net-misc/teamviewer/Manifest
@@ -1,6 +1,3 @@
DIST teamviewer-9.0.32150.deb 22898922 BLAKE2B 799aa6f48b69247a2695ca745e85d02ffa73df1375203dfc9da339673e6c18d861c4146ddbdc509bdc1114d5a2a7e5fdd4acf3c6e5da61fbba5aaa02fa4e3cfd SHA512 3e72ed5cab7a754a0aa75e533da92292ad004f66c55ac4c386b6f4a65cc41b14a8d9d7a5410dccdb90c1172cd33e52383289339ab44f0847a061655498ab8e4d
-DIST teamviewer_10.0.46203_i386.deb 43326592 BLAKE2B 874bad1cf2efdb7f4c1da69a625549b2c46e6a710ca3cf871dd21fd804b1b1b8294981d8f6e27c58231e51e41fb0dcd8f42f08adcefc4e2ded61c15fdc068425 SHA512 2133194b180648685a9e179df1a2888277f3038d9098d0d12b72de92026bdb969d90262514996df60dfcf6986e291ecb756fde9e0781fca5c872b5c82e5494ea
-DIST teamviewer_11.0.67687_i386.deb 47341822 BLAKE2B 3aa7d9af2c0c39fad22cec8391921d1034e2dc4bab70f9fb04c7dd7a9a8c23ae484717b3cf71856734bec08a26b4f409c205dde2b9b511b6d0fe78dc6182dc75 SHA512 3fbb0a2fc1bccd41ba9798305fada7e8266e1c9ed8509492ccb75e6f85995538ddc05ad72648e9f6c31cd5f17ad34f1ed3a300eeb38a4a703d3414c113d3e5a9
-DIST teamviewer_12.0.85001_i386.deb 46549564 BLAKE2B d3b821376c9385a1090e12708e17b8ad76f29f27c9d76ae140654eed7eca44d115275cd587462e52845260bd6616c88260c767350944730c30eac7c14467ae39 SHA512 4db490568936ec58a37157019071cf61ed5dde8b5951f6e524d1f64aa23f46dd40c8eda1e96a9d47c756c1427d82ccb9c58773b53dfa0ae60bbb94e03b4522a0
DIST teamviewer_13.0.5693_amd64.tar.xz 9694952 BLAKE2B 650814c3c63897e1024836528c6eaa4cc81064ffa16bece7f8d2fe633457e2795e2cef847175a88dbb389ba61d2597a02292e6bf610da25c92f97152560ea355 SHA512 75886b6d00991968ae0b0d3c55b4c07c6f1b1b24488b2d5ae866e35c26ee6e673e500c87845ba6850ffdc80e4612feff0fc5bbe9e39f2d0a94582e1800471dcc
DIST teamviewer_13.0.5693_i386.tar.xz 9583892 BLAKE2B 8e477978825431a01b37b61c28b903b36cd81365c7ec5df4ca8d4aec1ce8d24b49af60ed6c99c863acd26405254ae78c4ae4dfef1f8b7a5fb882e281c3c4f125 SHA512 be5e8e00755a38f2c70ceba88d9fb87c2cc8e9e284c86e22f95dddf919a37ee1f24ef1e02f042a339eaf863dbf255c873e3edcb038c04202b4ab0460e50b2503
diff --git a/net-misc/teamviewer/files/teamviewer.sh b/net-misc/teamviewer/files/teamviewer.sh
deleted file mode 100644
index 70fc4e8a80a..00000000000
--- a/net-misc/teamviewer/files/teamviewer.sh
+++ /dev/null
@@ -1,47 +0,0 @@
-#!/bin/bash
-
-tv="$(basename $0)"
-tvdir="/opt/${tv}"
-version="@TVV@"
-tvw_version=""
-prefix="${HOME}/.wine-${tv}"
-arch="win32"
-native=true
-
-if $native; then
- export WINEDLLPATH="${prefix}/drive_c/TeamViewer"
-else
- export WINEDLLPATH="${tvdir}/tv_bin/wine/lib:${tvdir}/tv_bin/wine/lib/wine:${prefix}/drive_c/TeamViewer"
- export PATH="${tvdir}/tv_bin/wine/bin:${PATH}"
-fi
-export WINEARCH="${arch}"
-export WINEPREFIX="${prefix}"
-
-if [ ! -d "${prefix}" ]; then
- echo "Creating prefix..."
- wineboot -i &> /dev/null
- mkdir -p "${prefix}/drive_c/TeamViewer"
-fi
-
-if [ -e "${prefix}/tvw-version" ]; then
- tvw_version=$(<"${prefix}/tvw-version")
-fi
-
-#If version has changed or new instance
-if [ "${version}" != "${tvw_version}" ]; then
- echo "Copying TeamViewer files to prefix..."
- cp -R "/opt/${tv}/wine/drive_c/TeamViewer" "${prefix}/drive_c/"
- echo "Creating config and log directories in ~/.config/teamviewer@TVMV@"
- mkdir -p "${HOME}"/.config/teamviewer@TVMV@/{config,logfiles}
- echo "${version}" > "${prefix}/tvw-version"
-fi
-
-TV_BASE_DIR="${tvdir}"
-TV_BIN_DIR="${TV_BASE_DIR}/tv_bin"
-TV_PROFILE="${prefix}"
-TV_LOG_DIR="${TV_PROFILE}/logfiles"
-TV_CFG_DIR="${TV_PROFILE}/config"
-TV_USERHOME="${HOME}"
-
-wine "C:\\TeamViewer\\TeamViewer.exe" "\${[@]}" &> \
- "${HOME}/.config/teamviewer@TVMV@/logfiles/$(date +%Y.%m.%d-%H:%M:%S)-wine.log"
diff --git a/net-misc/teamviewer/files/teamviewerd.conf b/net-misc/teamviewer/files/teamviewerd.conf
deleted file mode 100644
index e949660678b..00000000000
--- a/net-misc/teamviewer/files/teamviewerd.conf
+++ /dev/null
@@ -1,6 +0,0 @@
-# This entry can be used to specify a default daemon password.
-# It is set by running /etc/init.d/teamviewerd@TVV@ passwd.
-# The password must be between 8 and 12 characters, and special characters should
-# be avoided.
-
-PASSWD=""
diff --git a/net-misc/teamviewer/files/teamviewerd.init b/net-misc/teamviewer/files/teamviewerd.init
deleted file mode 100644
index 3ca37da3ebc..00000000000
--- a/net-misc/teamviewer/files/teamviewerd.init
+++ /dev/null
@@ -1,30 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-command=/opt/teamviewer@TVV@/tv_bin/teamviewerd
-command_args=-d
-description="daemon for TeamViewer"
-pidfile=/var/run/teamviewerd.pid
-
-extra_stopped_commands="passwd"
-
-passwd() {
- if [ -z "${PASSWD}" ]; then
- eerror "No password specified."
- exit 1
- fi
-
- ebegin "Attempting to change password."
- /opt/teamviewer@TVV@/tv_bin/teamviewerd --passwd "${PASSWD}"
- retr=$?
- case $retr in
- 0) einfo "Password successfully set." ;;
- 11|12) eerror "Password must be between 8 and 12 characters.";;
- 13) eerror "Invalid characters detected.";;
- 14) eerror "Password invalid. Validation failed.";;
- *) eerror "Unknown error code";;
- esac
- eend $retr
- exit $retr
-}
diff --git a/net-misc/teamviewer/teamviewer-10.0.46203.ebuild b/net-misc/teamviewer/teamviewer-10.0.46203.ebuild
deleted file mode 100644
index 3950aeb3453..00000000000
--- a/net-misc/teamviewer/teamviewer-10.0.46203.ebuild
+++ /dev/null
@@ -1,129 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit eutils gnome2-utils systemd unpacker
-
-# Major version
-MV=${PV/\.*}
-MY_PN=${PN}${MV}
-DESCRIPTION="All-In-One Solution for Remote Access and Support over the Internet"
-HOMEPAGE="https://www.teamviewer.com"
-SRC_URI="https://download.teamviewer.com/download/version_${MV}x/${PN}_${PV}_i386.deb"
-
-IUSE="+system-wine"
-
-LICENSE="TeamViewer LGPL-2.1" #LGPL for bundled wine
-SLOT=${MV}
-KEYWORDS="-* ~amd64 ~x86"
-
-RESTRICT="bindist mirror"
-
-RDEPEND="
- system-wine? ( app-emulation/wine[abi_x86_32(-)] )
- dev-qt/qtcore:4[abi_x86_32(-)]
- dev-qt/qtgui:4[abi_x86_32(-)]
- dev-qt/qtwebkit:4[abi_x86_32(-)]
- media-libs/alsa-lib[abi_x86_32(-)]
- x11-libs/libICE[abi_x86_32(-)]
- x11-libs/libSM[abi_x86_32(-)]
- x11-libs/libX11[abi_x86_32(-)]
- x11-libs/libXau[abi_x86_32(-)]
- x11-libs/libXdamage[abi_x86_32(-)]
- x11-libs/libXdmcp[abi_x86_32(-)]
- x11-libs/libXext[abi_x86_32(-)]
- x11-libs/libXfixes[abi_x86_32(-)]
- x11-libs/libXrandr[abi_x86_32(-)]
- x11-libs/libXtst[abi_x86_32(-)]"
-
-QA_PREBUILT="opt/teamviewer${MV}/*"
-
-S=${WORKDIR}/opt/teamviewer/tv_bin
-
-src_prepare() {
- #epatch "${FILESDIR}/${P}-gentoo.patch"
- sed \
- -e "s/@TVV@/${MV}/g" \
- "${FILESDIR}"/${PN}d.init > "${T}"/init || die
- sed \
- -e "s:/opt/teamviewer:/opt/teamviewer${MV}:g" \
- "script//${PN}d.service" > "${T}/${PN}d.service" || die
- sed \
- -e "s/@TVV@/${PV}/g" \
- -e "s/@TVMV@/${MV}/g" \
- "${FILESDIR}"/${PN}.sh > "${T}"/sh || die
- if ! use system-wine; then
- sed -i "s/native=true/native=false/g" "${T}/sh" || die
- fi
-}
-
-src_install () {
- local destdir="/opt/${MY_PN}"
-
- # install wine prefix skeleton and reg keys
- insinto "${destdir}/wine/drive_c/"
- doins -r wine/drive_c/TeamViewer/
- # install bundled wine if necessary
- if ! use system-wine; then
- insinto "${destdir}/tv_bin/wine"
- doins -r wine/{lib,share}
- exeinto "${destdir}/tv_bin/wine/bin"
- doexe wine/bin/{wine,wine-preloader,wineserver}
- fi
- # fix permissions
- fperms 755 ${destdir}/wine/drive_c/TeamViewer/TeamViewer.exe
-
- # install wine wrapper
- exeinto "/opt/bin"
- newexe "${T}/sh" "${MY_PN}"
-
- # install teamviewer linux binaries
- exeinto "${destdir}/tv_bin"
- doexe TeamViewer_Desktop TVGuiDelegate TVGuiSlave.32
- use amd64 && doexe TVGuiSlave.64
-
- # install daemon binary and scripts
- exeinto "${destdir}/tv_bin"
- doexe ${PN}d
- newinitd "${T}/init" ${PN}d${MV}
- newconfd "${FILESDIR}/${PN}d.conf" ${PN}d${MV}
- systemd_newunit "${T}/${PN}d.service" ${PN}d${MV}.service
-
- # set up logdir
- keepdir /var/log/${MY_PN}
- dosym /var/log/${MY_PN} /opt/${MY_PN}/logfiles
-
- # set up config dir
- keepdir /etc/${MY_PN}
- dosym /etc/${MY_PN} /opt/${MY_PN}/config
-
- newicon -s 48 desktop/${PN}.png ${MY_PN}.png
- #dodoc ../doc/linux_FAQ_{EN,DE}.txt
- make_desktop_entry ${MY_PN} "TeamViewer ${MV}" ${MY_PN}
-}
-
-pkg_preinst() {
- gnome2_icon_savelist
-}
-
-pkg_postinst() {
- gnome2_icon_cache_update
-
- elog "TeamViewer from upstream uses an overly-complicated set of bash"
- elog "scripts to start the program. This has been simplified for Gentoo"
- elog "use. Any issues should be reported via bugzilla."
- if use system-wine; then
- elog
- elog "Due to bug #552016, when using system wine, one is not able to"
- elog "share one's own screen. At this time, this may be remedied by"
- elog "toggling the system-wine USE flag."
- fi
- elog
- elog "The end-user client requires running the accompanying daemon,"
- elog "available via init-scripts."
-}
-
-pkg_postrm() {
- gnome2_icon_cache_update
-}
diff --git a/net-misc/teamviewer/teamviewer-11.0.67687.ebuild b/net-misc/teamviewer/teamviewer-11.0.67687.ebuild
deleted file mode 100644
index 07243d0be1e..00000000000
--- a/net-misc/teamviewer/teamviewer-11.0.67687.ebuild
+++ /dev/null
@@ -1,131 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit eutils gnome2-utils systemd unpacker
-
-# Major version
-MV=${PV/\.*}
-MY_PN=${PN}${MV}
-DESCRIPTION="All-In-One Solution for Remote Access and Support over the Internet"
-HOMEPAGE="https://www.teamviewer.com"
-SRC_URI="https://download.teamviewer.com/download/version_${MV}x/${PN}_${PV}_i386.deb"
-
-IUSE="+system-wine"
-
-LICENSE="TeamViewer LGPL-2.1" #LGPL for bundled wine
-SLOT=${MV}
-KEYWORDS="-* ~amd64 ~x86"
-
-RESTRICT="bindist mirror"
-
-RDEPEND="
- system-wine? ( app-emulation/wine[abi_x86_32(-),png] )
- !system-wine? ( media-libs/libpng:1.2[abi_x86_32(-)] )
- sys-apps/dbus[abi_x86_32(-)]
- dev-qt/qtcore:4[abi_x86_32(-)]
- dev-qt/qtgui:4[abi_x86_32(-)]
- dev-qt/qtwebkit:4[abi_x86_32(-)]
- media-libs/alsa-lib[abi_x86_32(-)]
- x11-libs/libICE[abi_x86_32(-)]
- x11-libs/libSM[abi_x86_32(-)]
- x11-libs/libX11[abi_x86_32(-)]
- x11-libs/libXau[abi_x86_32(-)]
- x11-libs/libXdamage[abi_x86_32(-)]
- x11-libs/libXdmcp[abi_x86_32(-)]
- x11-libs/libXext[abi_x86_32(-)]
- x11-libs/libXfixes[abi_x86_32(-)]
- x11-libs/libXrandr[abi_x86_32(-)]
- x11-libs/libXtst[abi_x86_32(-)]"
-
-QA_PREBUILT="opt/teamviewer${MV}/*"
-
-S=${WORKDIR}/opt/teamviewer/tv_bin
-
-src_prepare() {
- #epatch "${FILESDIR}/${P}-gentoo.patch"
- sed \
- -e "s/@TVV@/${MV}/g" \
- "${FILESDIR}"/${PN}d.init > "${T}"/init || die
- sed \
- -e "s:/opt/teamviewer:/opt/teamviewer${MV}:g" \
- "script//${PN}d.service" > "${T}/${PN}d.service" || die
- sed \
- -e "s/@TVV@/${PV}/g" \
- -e "s/@TVMV@/${MV}/g" \
- "${FILESDIR}"/${PN}.sh > "${T}"/sh || die
- if ! use system-wine; then
- sed -i "s/native=true/native=false/g" "${T}/sh" || die
- fi
-}
-
-src_install () {
- local destdir="/opt/${MY_PN}"
-
- # install wine prefix skeleton and reg keys
- insinto "${destdir}/wine/drive_c/"
- doins -r wine/drive_c/TeamViewer/
- # install bundled wine if necessary
- if ! use system-wine; then
- insinto "${destdir}/tv_bin/wine"
- doins -r wine/{lib,share}
- exeinto "${destdir}/tv_bin/wine/bin"
- doexe wine/bin/{wine,wine-preloader,wineserver}
- fi
- # fix permissions
- fperms 755 ${destdir}/wine/drive_c/TeamViewer/TeamViewer.exe
-
- # install wine wrapper
- exeinto "/opt/bin"
- newexe "${T}/sh" "${MY_PN}"
-
- # install teamviewer linux binaries
- exeinto "${destdir}/tv_bin"
- doexe TeamViewer_Desktop TVGuiDelegate TVGuiSlave.32
- use amd64 && doexe TVGuiSlave.64
-
- # install daemon binary and scripts
- exeinto "${destdir}/tv_bin"
- doexe ${PN}d
- newinitd "${T}/init" ${PN}d${MV}
- newconfd "${FILESDIR}/${PN}d.conf" ${PN}d${MV}
- systemd_newunit "${T}/${PN}d.service" ${PN}d${MV}.service
-
- # set up logdir
- keepdir /var/log/${MY_PN}
- dosym /var/log/${MY_PN} /opt/${MY_PN}/logfiles
-
- # set up config dir
- keepdir /etc/${MY_PN}
- dosym /etc/${MY_PN} /opt/${MY_PN}/config
-
- newicon -s 48 desktop/${PN}.png ${MY_PN}.png
- #dodoc ../doc/linux_FAQ_{EN,DE}.txt
- make_desktop_entry ${MY_PN} "TeamViewer ${MV}" ${MY_PN}
-}
-
-pkg_preinst() {
- gnome2_icon_savelist
-}
-
-pkg_postinst() {
- gnome2_icon_cache_update
-
- elog "TeamViewer from upstream uses an overly-complicated set of bash"
- elog "scripts to start the program. This has been simplified for Gentoo"
- elog "use. Any issues should be reported via bugzilla."
- if use system-wine; then
- elog
- elog "Due to bug #552016, when using system wine, one is not able to"
- elog "share one's own screen. At this time, this may be remedied by"
- elog "toggling the system-wine USE flag."
- fi
- elog
- elog "The end-user client requires running the accompanying daemon,"
- elog "available via init-scripts."
-}
-
-pkg_postrm() {
- gnome2_icon_cache_update
-}
diff --git a/net-misc/teamviewer/teamviewer-12.0.85001.ebuild b/net-misc/teamviewer/teamviewer-12.0.85001.ebuild
deleted file mode 100644
index 28819fde712..00000000000
--- a/net-misc/teamviewer/teamviewer-12.0.85001.ebuild
+++ /dev/null
@@ -1,131 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit eutils gnome2-utils systemd unpacker
-
-# Major version
-MV=${PV/\.*}
-MY_PN=${PN}${MV}
-DESCRIPTION="All-In-One Solution for Remote Access and Support over the Internet"
-HOMEPAGE="https://www.teamviewer.com"
-SRC_URI="https://download.teamviewer.com/download/version_${MV}x/${PN}_${PV}_i386.deb"
-
-IUSE="+system-wine"
-
-LICENSE="TeamViewer LGPL-2.1" #LGPL for bundled wine
-SLOT=${MV}
-KEYWORDS="-* ~amd64 ~x86"
-
-RESTRICT="bindist mirror"
-
-RDEPEND="
- system-wine? ( app-emulation/wine[abi_x86_32(-),png] )
- !system-wine? ( media-libs/libpng:1.2[abi_x86_32(-)] )
- sys-apps/dbus[abi_x86_32(-)]
- dev-qt/qtcore:4[abi_x86_32(-)]
- dev-qt/qtgui:4[abi_x86_32(-)]
- dev-qt/qtwebkit:4[abi_x86_32(-)]
- media-libs/alsa-lib[abi_x86_32(-)]
- x11-libs/libICE[abi_x86_32(-)]
- x11-libs/libSM[abi_x86_32(-)]
- x11-libs/libX11[abi_x86_32(-)]
- x11-libs/libXau[abi_x86_32(-)]
- x11-libs/libXdamage[abi_x86_32(-)]
- x11-libs/libXdmcp[abi_x86_32(-)]
- x11-libs/libXext[abi_x86_32(-)]
- x11-libs/libXfixes[abi_x86_32(-)]
- x11-libs/libXrandr[abi_x86_32(-)]
- x11-libs/libXtst[abi_x86_32(-)]"
-
-QA_PREBUILT="opt/teamviewer${MV}/*"
-
-S=${WORKDIR}/opt/teamviewer/tv_bin
-
-src_prepare() {
- #epatch "${FILESDIR}/${P}-gentoo.patch"
- sed \
- -e "s/@TVV@/${MV}/g" \
- "${FILESDIR}"/${PN}d.init > "${T}"/init || die
- sed \
- -e "s:/opt/teamviewer:/opt/teamviewer${MV}:g" \
- "script//${PN}d.service" > "${T}/${PN}d.service" || die
- sed \
- -e "s/@TVV@/${PV}/g" \
- -e "s/@TVMV@/${MV}/g" \
- "${FILESDIR}"/${PN}.sh > "${T}"/sh || die
- if ! use system-wine; then
- sed -i "s/native=true/native=false/g" "${T}/sh" || die
- fi
-}
-
-src_install () {
- local destdir="/opt/${MY_PN}"
-
- # install wine prefix skeleton and reg keys
- insinto "${destdir}/wine/drive_c/"
- doins -r wine/drive_c/TeamViewer/
- # install bundled wine if necessary
- if ! use system-wine; then
- insinto "${destdir}/tv_bin/wine"
- doins -r wine/{lib,share}
- exeinto "${destdir}/tv_bin/wine/bin"
- doexe wine/bin/{wine,wine-preloader,wineserver}
- fi
- # fix permissions
- fperms 755 ${destdir}/wine/drive_c/TeamViewer/TeamViewer.exe
-
- # install wine wrapper
- exeinto "/opt/bin"
- newexe "${T}/sh" "${MY_PN}"
-
- # install teamviewer linux binaries
- exeinto "${destdir}/tv_bin"
- doexe TeamViewer_Desktop TVGuiDelegate TVGuiSlave.32
- use amd64 && doexe TVGuiSlave.64
-
- # install daemon binary and scripts
- exeinto "${destdir}/tv_bin"
- doexe ${PN}d
- newinitd "${T}/init" ${PN}d${MV}
- newconfd "${FILESDIR}/${PN}d.conf" ${PN}d${MV}
- systemd_newunit "${T}/${PN}d.service" ${PN}d${MV}.service
-
- # set up logdir
- keepdir /var/log/${MY_PN}
- dosym /var/log/${MY_PN} /opt/${MY_PN}/logfiles
-
- # set up config dir
- keepdir /etc/${MY_PN}
- dosym /etc/${MY_PN} /opt/${MY_PN}/config
-
- newicon -s 48 desktop/${PN}.png ${MY_PN}.png
- #dodoc ../doc/linux_FAQ_{EN,DE}.txt
- make_desktop_entry ${MY_PN} "TeamViewer ${MV}" ${MY_PN}
-}
-
-pkg_preinst() {
- gnome2_icon_savelist
-}
-
-pkg_postinst() {
- gnome2_icon_cache_update
-
- elog "TeamViewer from upstream uses an overly-complicated set of bash"
- elog "scripts to start the program. This has been simplified for Gentoo"
- elog "use. Any issues should be reported via bugzilla."
- if use system-wine; then
- elog
- elog "Due to bug #552016, when using system wine, one is not able to"
- elog "share one's own screen. At this time, this may be remedied by"
- elog "toggling the system-wine USE flag."
- fi
- elog
- elog "The end-user client requires running the accompanying daemon,"
- elog "available via init-scripts."
-}
-
-pkg_postrm() {
- gnome2_icon_cache_update
-}
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/teamviewer/files/, net-misc/teamviewer/
@ 2018-09-16 10:18 Mikle Kolyada
0 siblings, 0 replies; 5+ messages in thread
From: Mikle Kolyada @ 2018-09-16 10:18 UTC (permalink / raw
To: gentoo-commits
commit: 169caaccf530b0c7f09003dc16707e5097aec8e6
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 16 10:18:24 2018 +0000
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Sun Sep 16 10:18:45 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=169caacc
net-misc/teamviewer: Drop old
Package-Manager: Portage-2.3.40, Repoman-2.3.9
net-misc/teamviewer/Manifest | 1 -
.../files/teamviewer-9.0.32150-gentoo.patch | 138 ---------------------
net-misc/teamviewer/files/teamviewerd9.init | 25 ----
net-misc/teamviewer/metadata.xml | 3 -
net-misc/teamviewer/teamviewer-9.0.32150.ebuild | 132 --------------------
5 files changed, 299 deletions(-)
diff --git a/net-misc/teamviewer/Manifest b/net-misc/teamviewer/Manifest
index 2dc6af9be0c..a84e0ba8f8a 100644
--- a/net-misc/teamviewer/Manifest
+++ b/net-misc/teamviewer/Manifest
@@ -1,4 +1,3 @@
-DIST teamviewer-9.0.32150.deb 22898922 BLAKE2B 799aa6f48b69247a2695ca745e85d02ffa73df1375203dfc9da339673e6c18d861c4146ddbdc509bdc1114d5a2a7e5fdd4acf3c6e5da61fbba5aaa02fa4e3cfd SHA512 3e72ed5cab7a754a0aa75e533da92292ad004f66c55ac4c386b6f4a65cc41b14a8d9d7a5410dccdb90c1172cd33e52383289339ab44f0847a061655498ab8e4d
DIST teamviewer_13.1.3026_amd64.tar.xz 11500188 BLAKE2B 98dab12224ea65cdb7c45f01a835cb50fd052e044cb2908a27e0324d5647c1bcc38565eca0c1e70e86fd96a9f70ddd4b6250f13cde1fd3c381be9af8ecb1805c SHA512 30914b761833dd2720458eb3a3076f59e521bdf4fd50489e1cb7c0c80a05ef73c2fd5a9a59a33644e73b96d8db1616665a130e2781c39f35f6c5bfb64c7c7b9a
DIST teamviewer_13.1.3026_i386.tar.xz 11343300 BLAKE2B c0170acf9c67f34755800a0200016dacb6f93f3f3805932fbf467dc19bb0213fce74363a0bc703af1c62b4c1bafda2257bd0cc2c52aad4dd1f22ae5a9fb2d486 SHA512 f7dac040de4a0ac3489ee5e911c3c278723cee2372bd42a4a929d3cb268f735eb73cccc514a8d72cc49c82277869533289e3195936218be6db323e732c9c380e
DIST teamviewer_13.1.8286_amd64.tar.xz 11574812 BLAKE2B 9941a3c1894e4b1a285ac61bdeffb47629c7972d19a573016c357275b3fc5ede51838f35acb2debe36ccd96c20cab6478868b78c831ab7137cb1196440e62297 SHA512 76b10c1df368f4c639ff60a69dc541f791b82b73a19accce4c60fdfcff2922a4a674e08da73df570587e840088b466f4791f8da0691582451259965044a18ccb
diff --git a/net-misc/teamviewer/files/teamviewer-9.0.32150-gentoo.patch b/net-misc/teamviewer/files/teamviewer-9.0.32150-gentoo.patch
deleted file mode 100644
index 1df4632795b..00000000000
--- a/net-misc/teamviewer/files/teamviewer-9.0.32150-gentoo.patch
+++ /dev/null
@@ -1,138 +0,0 @@
-diff --git a/opt/teamviewer9/tv_bin/script/tvw_extra b/opt/teamviewer9/tv_bin/script/tvw_extra
-index 71164aa..848cd25 100644
---- a/opt/teamviewer9/tv_bin/script/tvw_extra
-+++ b/opt/teamviewer9/tv_bin/script/tvw_extra
-@@ -16,13 +16,6 @@
- isInstalledTV || return
- ABecho "teamviewer --passwd [PASSWD]" "set a password (useful when installing remote (ssh)"
- echo
-- ABecho "teamviewer --daemon status" "show current status of the TeamViewer daemon"
-- ABecho "teamviewer --daemon start" "start TeamViewer daemon"
-- ABecho "teamviewer --daemon stop" "stop TeamViewer daemon"
-- ABecho "teamviewer --daemon restart" "stop/start TeamViewer daemon"
-- ABecho "teamviewer --daemon disable" "disable TeamViewer daemon - don't start daemon on system startup"
-- ABecho "teamviewer --daemon enable" "enable TeamViewer daemon - start daemon on system startup (default)"
-- echo
- }
-
- function PrintVersion()
-@@ -37,19 +30,6 @@
- PrintDaemonStatus
- echo
- PrintTeamViewerID
--}
--
--function PrintDaemonStatus()
--{
-- local cmd="$(daemonCtl 'status')"
-- local txt="n/a"
--
-- if [ isInstalledTV ] ; then
-- txt="$(eval "$cmd")"
-- [ $? = 0 ] || txt='n/a (error)'
-- fi
--
-- ABecho "teamviewerd status" "$txt"
- }
-
- function PrintTeamViewerID()
-@@ -64,20 +44,21 @@
- ABecho "TeamViewer ID:" "$tvid"
-
- if [ -z "$tvid" ] && isInstalledTV; then
-- echo "Try restarting the TeamViewer daemon (e.g. teamviewer --daemon restart)"
-+ echo "Try restarting the TeamViewer daemon."
- fi
- }
-
- function SetPasswd()
- {
-+ echo "Stop your teamviewer daemon first, then press enter."
-+ read
-+
- local pwd="$1"
- [ -n "$pwd" ] || die 'no password specified'
-
- installedTVorDie
- isSuperUser || die 'You need root permissions for this operation'
-
-- Run_Daemon 'stop' > /dev/null
--
- "$TV_BIN_DIR/teamviewerd" --passwd "$pwd"
- case $? in
- 0 ) echo 'ok' ;;
-@@ -88,12 +69,14 @@
- * ) echo 'unknown response' ;;
- esac
-
-- Run_Daemon 'start' > /dev/null || die 'failed to restart the daemon'
-- echo
-+ echo "You may start your teamviewer daemon again."
- }
-
- function ExportLicense()
- {
-+ echo "Stop your teamviewer daemon first, then press enter."
-+ read
-+
- local license="$1"
- local path='/tmp/tv_global.conf'
-
-@@ -101,8 +84,6 @@
-
- isSuperUser || die 'You need root permissions for this operation'
-
-- Run_Daemon 'stop' > /dev/null
--
- "$TV_BIN_DIR/teamviewerd" --export-license "$license" "$path"
- case $? in
- 0 ) echo "ok - license exported to '$path'" ;;
-@@ -110,8 +91,7 @@
- * ) echo 'unknown response' ;;
- esac
-
-- Run_Daemon 'start' > /dev/null || die 'failed to restart the daemon'
-- echo
-+ echo "You may start your teamviewer daemon again."
- }
-
- function StripPersonalInformation()
-diff --git a/opt/teamviewer9/tv_bin/script/tvw_main b/opt/teamviewer9/tv_bin/script/tvw_main
-index 8984db0..c6dff8d 100644
---- a/opt/teamviewer9/tv_bin/script/tvw_main
-+++ b/opt/teamviewer9/tv_bin/script/tvw_main
-@@ -4,7 +4,6 @@
- source "$TV_SCRIPT_DIR/tvw_config"
- source "$TV_SCRIPT_DIR/tvw_exec"
- source "$TV_SCRIPT_DIR/tvw_extra"
--source "$TV_SCRIPT_DIR/tvw_daemon"
- source "$TV_SCRIPT_DIR/tvw_profile"
-
- function Main()
-@@ -18,7 +17,6 @@
- --help ) PrintHelp ;;
- --version ) PrintVersion ;;
- --info ) PrintInfo ;;
-- --daemon ) Run_Daemon $opt ;;
- --winecfg ) shift; Run_WineCfg "$@" ;;
- --regedit ) shift; Run_RegEdit "$@" ;;
- --kill ) Run_KillTeamViewer ;;
-@@ -170,18 +168,3 @@
- Init
- wine regedit "$@"
- }
--
--function Run_Daemon()
--{
-- local opt="$1"
--
-- installedTVorDie
--
-- case "$opt" in
-- ( disable ) removeDaemon || rootSuggest ;;
-- ( enable ) installDaemon || rootSuggest ;;
-- ( start | stop | restart ) cmdDaemon $opt || rootSuggest ;;
-- ( status ) cmdDaemon $opt ;;
-- ( * ) echo "unknown option '$opt'" ;;
-- esac
--}
diff --git a/net-misc/teamviewer/files/teamviewerd9.init b/net-misc/teamviewer/files/teamviewerd9.init
deleted file mode 100644
index 3a625c95d3b..00000000000
--- a/net-misc/teamviewer/files/teamviewerd9.init
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-description="daemon for TeamViewer"
-
-PIDFILE="/var/run/teamviewerd.pid"
-
-start() {
- ebegin "Starting Teamviewer Daemon"
-
- start-stop-daemon \
- --start \
- --pidfile "${PIDFILE}" \
- --background \
- --exec /opt/teamviewer@TVV@/teamviewerd -- -d
-}
-
-stop() {
- ebegin "Stopping Teamviewer Daemon"
-
- start-stop-daemon \
- --stop \
- --pidfile "${PIDFILE}"
-}
diff --git a/net-misc/teamviewer/metadata.xml b/net-misc/teamviewer/metadata.xml
index d3f49802a30..468f2c9086f 100644
--- a/net-misc/teamviewer/metadata.xml
+++ b/net-misc/teamviewer/metadata.xml
@@ -5,8 +5,5 @@
<email>maksbotan@gentoo.org</email>
<name>Maxim Koltsov</name>
</maintainer>
- <use>
- <flag name="system-wine">Use <pkg>virtual/wine</pkg> instead of bundled wine.</flag>
- </use>
</pkgmetadata>
diff --git a/net-misc/teamviewer/teamviewer-9.0.32150.ebuild b/net-misc/teamviewer/teamviewer-9.0.32150.ebuild
deleted file mode 100644
index 3481c9c27e6..00000000000
--- a/net-misc/teamviewer/teamviewer-9.0.32150.ebuild
+++ /dev/null
@@ -1,132 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit eutils gnome2-utils systemd unpacker
-
-# Major version
-MV=${PV/\.*}
-MY_PN=${PN}${MV}
-DESCRIPTION="All-In-One Solution for Remote Access and Support over the Internet"
-HOMEPAGE="http://www.teamviewer.com"
-SRC_URI="http://www.teamviewer.com/download/version_${MV}x/teamviewer_linux.deb -> ${P}.deb"
-
-LICENSE="TeamViewer !system-wine? ( LGPL-2.1 )"
-SLOT=${MV}
-KEYWORDS="~amd64 ~x86"
-IUSE="system-wine"
-
-RESTRICT="mirror"
-
-RDEPEND="
- app-shells/bash
- x11-misc/xdg-utils
- !system-wine? (
- media-libs/alsa-lib[abi_x86_32(-)]
- media-libs/freetype[abi_x86_32(-)]
- sys-libs/zlib[abi_x86_32(-)]
- x11-libs/libX11[abi_x86_32(-)]
- x11-libs/libXau[abi_x86_32(-)]
- x11-libs/libXdamage[abi_x86_32(-)]
- x11-libs/libXext[abi_x86_32(-)]
- x11-libs/libXfixes[abi_x86_32(-)]
- x11-libs/libXrandr[abi_x86_32(-)]
- x11-libs/libXrender[abi_x86_32(-)]
- x11-libs/libSM[abi_x86_32(-)]
- x11-libs/libXtst[abi_x86_32(-)]
- )
- system-wine? ( virtual/wine )"
-
-QA_PREBUILT="opt/teamviewer${MV}/*"
-
-S=${WORKDIR}/opt/teamviewer${MV}/tv_bin
-
-make_winewrapper() {
- cat << EOF > "${T}/${MY_PN}"
-#!/bin/sh
-export WINEDLLPATH=/opt/${MY_PN}
-exec wine "/opt/${MY_PN}/TeamViewer.exe" "\$@"
-EOF
- chmod go+rx "${T}/${MY_PN}"
- exeinto /opt/bin
- doexe "${T}/${MY_PN}"
-}
-
-src_prepare() {
- epatch "${FILESDIR}"/${P}-gentoo.patch
-
- sed \
- -e "s#@TVV@#${MV}/tv_bin#g" \
- "${FILESDIR}"/${PN}d${MV}.init > "${T}"/${PN}d${MV} || die
-}
-
-src_install () {
- if use system-wine ; then
- make_winewrapper
- exeinto /opt/${MY_PN}
- doexe wine/drive_c/TeamViewer/*
- else
- # install scripts and .reg
- insinto /opt/${MY_PN}/tv_bin
- doins -r *
-
- exeinto /opt/${MY_PN}/tv_bin
- doexe TeamViewer_Desktop
- exeinto /opt/${MY_PN}/tv_bin/script
- doexe script/teamviewer script/tvw_{aux,config,exec,extra,main,profile}
-
- dosym /opt/${MY_PN}/tv_bin/script/${PN} /opt/bin/${MY_PN}
-
- # fix permissions
- fperms 755 /opt/${MY_PN}/tv_bin/wine/bin/wine{,-preloader,server}
- fperms 755 /opt/${MY_PN}/tv_bin/wine/drive_c/TeamViewer/TeamViewer.exe
- find "${D}"/opt/${MY_PN} -type f -name "*.so*" -execdir chmod 755 '{}' \;
- fi
-
- # install daemon binary
- exeinto /opt/${MY_PN}/tv_bin
- doexe ${PN}d
-
- # set up logdir
- keepdir /var/log/${MY_PN}
- dosym /var/log/${MY_PN} /opt/${MY_PN}/logfiles
-
- # set up config dir
- keepdir /etc/${MY_PN}
- dosym /etc/${MY_PN} /opt/${MY_PN}/config
-
- doinitd "${T}"/${PN}d${MV}
- systemd_newunit script/${PN}d.service ${PN}d${MV}.service
-
- newicon -s 48 desktop/${PN}.png ${MY_PN}.png
- dodoc ../doc/linux_FAQ_{EN,DE}.txt
- make_desktop_entry ${MY_PN} TeamViewer ${MY_PN}
-}
-
-pkg_preinst() {
- gnome2_icon_savelist
-}
-
-pkg_postinst() {
- gnome2_icon_cache_update
-
- if use system-wine ; then
- echo
- eerror "IMPORTANT NOTICE!"
- elog "Using ${PN} with system wine is not supported and experimental."
- elog "Do not report gentoo bugs while using this version."
- echo
- fi
-
- eerror "STARTUP NOTICE:"
- elog "You cannot start the daemon via \"teamviewer --daemon start\"."
- elog "Instead use the provided gentoo initscript:"
- elog " /etc/init.d/${PN}d${MV} start"
- elog
- elog "Logs are written to \"/var/log/teamviewer${MV}\""
-}
-
-pkg_postrm() {
- gnome2_icon_cache_update
-}
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/teamviewer/files/, net-misc/teamviewer/
@ 2019-03-09 10:03 Mikle Kolyada
0 siblings, 0 replies; 5+ messages in thread
From: Mikle Kolyada @ 2019-03-09 10:03 UTC (permalink / raw
To: gentoo-commits
commit: 334526efa049b2ec08658f1509d8cecc318835c1
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 9 10:03:40 2019 +0000
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Sat Mar 9 10:03:40 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=334526ef
net-misc/teamviewer: Drop old
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
net-misc/teamviewer/Manifest | 4 -
net-misc/teamviewer/files/teamviewerd13.init | 8 --
net-misc/teamviewer/teamviewer-13.1.8286.ebuild | 129 -----------------------
net-misc/teamviewer/teamviewer-13.2.13582.ebuild | 129 -----------------------
4 files changed, 270 deletions(-)
diff --git a/net-misc/teamviewer/Manifest b/net-misc/teamviewer/Manifest
index 6d1759943e4..e70da627664 100644
--- a/net-misc/teamviewer/Manifest
+++ b/net-misc/teamviewer/Manifest
@@ -1,7 +1,3 @@
-DIST teamviewer_13.1.8286_amd64.tar.xz 11574812 BLAKE2B 9941a3c1894e4b1a285ac61bdeffb47629c7972d19a573016c357275b3fc5ede51838f35acb2debe36ccd96c20cab6478868b78c831ab7137cb1196440e62297 SHA512 76b10c1df368f4c639ff60a69dc541f791b82b73a19accce4c60fdfcff2922a4a674e08da73df570587e840088b466f4791f8da0691582451259965044a18ccb
-DIST teamviewer_13.1.8286_i386.tar.xz 11422756 BLAKE2B 0bc408cbbf44bdeb84ce8c1d1274e8253ec261571670bce46130a325729eb801f101afae768a38cc43719abe625ebc89b12f3eacba507c9193e1049366b1c2c0 SHA512 1fdbdacfdd2f7884af246326e63f6bcfaf8efc95ec326f566216a173509a21891e4c66d85ef1290648a890135ae3fe23f185da36346d68c016da923b7c9c644a
-DIST teamviewer_13.2.13582_amd64.tar.xz 11472084 BLAKE2B adcec9bfb9ccedbc958eceef611f0f04b9b192313d3c060202166b77a4c2623008cbac147e9136925156446ef10a143283735f13c52cebd30e924329d1ff2453 SHA512 82a7cce2046a0dd268181044093e0d0bccfef0cbc2e842a94bc9a9fda87062b7236ff23606dd482e68baf8194b189ae6994603ac0584fad624d7f47366f34af3
-DIST teamviewer_13.2.13582_i386.tar.xz 11406728 BLAKE2B 91bd8fe9c30f8be9de2ce089a0f678e90cb371233c2e8a05e695aa203634846510f1381b449007648a4b0e6b2b201a654b71dae1c63ade0eb08e732ae343766b SHA512 9453b289ba99f63c75e1acb03d3e5a343db4814cffc4464b46116b269a6556e9fda4b1d963fa35e2e912ae959b09fd5dcfbc26ca31ccd76e6d3235be2d9cf55e
DIST teamviewer_14.1.18533_amd64.tar.xz 11364156 BLAKE2B 2af6407209dccadc66c96f54673de2ef200e224ca585583c263049169f54dae9ad32b245f630007f231d63903198bc1494ffc2848c45b1e93b0c8eee2df26c17 SHA512 b71b5b52c73fda8de357b2aaab667fe9950fad150518fc18c864bdcee388aaa05f550e373bdf782880826f0598d3879aebc79a447ec9cefd0b89d994383645c5
DIST teamviewer_14.1.18533_i386.tar.xz 11365948 BLAKE2B b57de67131f7ee28823973007ebe34802e9a6b544829452c15e9bdab4eaae5a151c395c75ae6540acdd745fc81a5afd8674af50f2943c822ef5ce339b80766f7 SHA512 f05c285859031bc45dd313e47b28662fb6873fcb01d0c5aab72dcc0ab0d728361d335e1dbeddc8f0eacb88f9d3f1edaff69a93b88149ca3de6367e86a938998c
DIST teamviewer_14.1.3399_amd64.tar.xz 11311600 BLAKE2B 082b23322b4a24add2f7a1235810a3fb3cfd6572ccfe2a54942bd93902d3adc170a175d32653375c406de7a54949fd0904dfae8b8cf98da58ef492ac63d0e576 SHA512 9417fca34d2b4b3e53d173ed31f85ca6d3f2488dceb7bf2321082631b425d7c3404549ff4bfe615e6f8f82354df5c43ab61e8cd4ec99ae9c42b28807ea0db365
diff --git a/net-misc/teamviewer/files/teamviewerd13.init b/net-misc/teamviewer/files/teamviewerd13.init
deleted file mode 100644
index 79dbc29e2aa..00000000000
--- a/net-misc/teamviewer/files/teamviewerd13.init
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-command="/opt/teamviewer13/tv_bin/teamviewerd"
-command_args="-d"
-description="Starts the TeamViewer remote control daemon"
-pidfile="/var/run/teamviewerd.pid"
diff --git a/net-misc/teamviewer/teamviewer-13.1.8286.ebuild b/net-misc/teamviewer/teamviewer-13.1.8286.ebuild
deleted file mode 100644
index a897021c7c9..00000000000
--- a/net-misc/teamviewer/teamviewer-13.1.8286.ebuild
+++ /dev/null
@@ -1,129 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-MY_PN=${PN}${PV/\.*}
-inherit desktop gnome2-utils systemd
-
-DESCRIPTION="All-In-One Solution for Remote Access and Support over the Internet"
-HOMEPAGE="https://www.teamviewer.com"
-SRC_URI="amd64? ( https://dl.tvcdn.de/download/linux/version_${PV/\.*}x/${PN}_${PV}_amd64.tar.xz )
- x86? ( https://dl.tvcdn.de/download/linux/version_${PV/\.*}x/${PN}_${PV}_i386.tar.xz )"
-
-LICENSE="TeamViewer MIT"
-SLOT="${PV/\.*}"
-KEYWORDS="-* ~amd64 ~x86"
-IUSE=""
-
-DEPEND="sys-apps/sed"
-RDEPEND="
- dev-qt/qtcore:5
- dev-qt/qtdbus:5
- dev-qt/qtdeclarative:5
- dev-qt/qtgui:5
- dev-qt/qtnetwork:5
- dev-qt/qtquickcontrols:5
- dev-qt/qtwebkit:5
- dev-qt/qtwidgets:5
- dev-qt/qtx11extras:5
- sys-apps/dbus
-"
-
-RESTRICT="bindist mirror"
-
-# Silence QA messages
-QA_PREBUILT="opt/${MY_PN}/*"
-
-S="${WORKDIR}"/teamviewer
-
-src_prepare() {
- default
-
- # Switch operation mode from 'portable' to 'installed'
- sed -e "s/TAR_NI/TAR_IN/g" -i tv_bin/script/tvw_config || die
-
- sed -e "/^ExecStart/s/${PN}/${MY_PN}/" \
- -i tv_bin/script/teamviewerd.service || die
-}
-
-src_install() {
- local dst="/opt/${MY_PN}" # install destination
-
- # Quirk:
- # Remove Intel 80386 32-bit ELF binary 'libdepend' present in all
- # archives. It will trip the 'emerge @preserved-libs' logic on amd64
- # when changing the ABI of one of its dependencies. According to the
- # TeamViewer devs, this binary is an unused remnant of previous Wine-
- # based builds and will be removed in future releases anyway
- rm tv_bin/script/libdepend
-
- insinto ${dst}
- doins -r tv_bin
-
- # Set permissions for executables and libraries
- for exe in $(find tv_bin -type f -executable -or -name '*.so'); do
- fperms 755 ${dst}/${exe}
- done
-
- # No slotting here, binary expects this service path
- newinitd "${FILESDIR}"/teamviewerd13.init teamviewerd
- systemd_dounit tv_bin/script/teamviewerd.service
-
- insinto /usr/share/dbus-1/services
- doins tv_bin/script/com.teamviewer.TeamViewer.service
- doins tv_bin/script/com.teamviewer.TeamViewer.Desktop.service
-
- insinto /usr/share/polkit-1/actions
- doins tv_bin/script/com.teamviewer.TeamViewer.policy
-
- for size in 16 24 32 48 256; do
- newicon -s ${size} tv_bin/desktop/teamviewer_${size}.png TeamViewer.png
- done
-
- # Install documents (NOTE: using 'dodoc -r doc' instead of loop will
- # have the undesired result of installing subdirectory 'doc' in /usr/
- # share/doc/teamviewer-<version>)
- for doc in $(find doc -type f); do
- dodoc ${doc}
- done
-
- keepdir /etc/${MY_PN}
- dosym ../../etc/${MY_PN} ${dst}/config
-
- # Create directory and symlink for log files (NOTE: according to Team-
- # Viewer devs, all paths are hard-coded in the binaries; therefore
- # using the same path as the DEB/RPM archives, i.e. '/var/log/teamviewer
- # <major-version>')
- keepdir /var/log/${MY_PN}
- dosym ../../var/log/${MY_PN} ${dst}/logfiles
-
- dodir /opt/bin
- dosym ${dst}/tv_bin/teamviewerd /opt/bin/teamviewerd
- dosym ${dst}/tv_bin/script/teamviewer /opt/bin/teamviewer
-
- make_desktop_entry teamviewer "TeamViewer ${SLOT}" TeamViewer
-}
-
-pkg_postinst() {
- gnome2_icon_cache_update
-
- elog "Please note that parallel installation of multiple versions of"
- elog "TeamViewer is currently not supported at runtime. Bug #621818"
- elog ""
- elog "Before using TeamViewer, you need to start its daemon:"
- elog "OpenRC:"
- elog "# /etc/init.d/teamviewerd start"
- elog "# rc-update add teamviewerd default"
- elog
- elog "Systemd:"
- elog "# systemctl start teamviewerd.service"
- elog "# systemctl enable teamviewerd.service"
- elog
- elog "To display additional command line options simply run:"
- elog "$ teamviewer help"
-}
-
-pkg_postrm() {
- gnome2_icon_cache_update
-}
diff --git a/net-misc/teamviewer/teamviewer-13.2.13582.ebuild b/net-misc/teamviewer/teamviewer-13.2.13582.ebuild
deleted file mode 100644
index a897021c7c9..00000000000
--- a/net-misc/teamviewer/teamviewer-13.2.13582.ebuild
+++ /dev/null
@@ -1,129 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-MY_PN=${PN}${PV/\.*}
-inherit desktop gnome2-utils systemd
-
-DESCRIPTION="All-In-One Solution for Remote Access and Support over the Internet"
-HOMEPAGE="https://www.teamviewer.com"
-SRC_URI="amd64? ( https://dl.tvcdn.de/download/linux/version_${PV/\.*}x/${PN}_${PV}_amd64.tar.xz )
- x86? ( https://dl.tvcdn.de/download/linux/version_${PV/\.*}x/${PN}_${PV}_i386.tar.xz )"
-
-LICENSE="TeamViewer MIT"
-SLOT="${PV/\.*}"
-KEYWORDS="-* ~amd64 ~x86"
-IUSE=""
-
-DEPEND="sys-apps/sed"
-RDEPEND="
- dev-qt/qtcore:5
- dev-qt/qtdbus:5
- dev-qt/qtdeclarative:5
- dev-qt/qtgui:5
- dev-qt/qtnetwork:5
- dev-qt/qtquickcontrols:5
- dev-qt/qtwebkit:5
- dev-qt/qtwidgets:5
- dev-qt/qtx11extras:5
- sys-apps/dbus
-"
-
-RESTRICT="bindist mirror"
-
-# Silence QA messages
-QA_PREBUILT="opt/${MY_PN}/*"
-
-S="${WORKDIR}"/teamviewer
-
-src_prepare() {
- default
-
- # Switch operation mode from 'portable' to 'installed'
- sed -e "s/TAR_NI/TAR_IN/g" -i tv_bin/script/tvw_config || die
-
- sed -e "/^ExecStart/s/${PN}/${MY_PN}/" \
- -i tv_bin/script/teamviewerd.service || die
-}
-
-src_install() {
- local dst="/opt/${MY_PN}" # install destination
-
- # Quirk:
- # Remove Intel 80386 32-bit ELF binary 'libdepend' present in all
- # archives. It will trip the 'emerge @preserved-libs' logic on amd64
- # when changing the ABI of one of its dependencies. According to the
- # TeamViewer devs, this binary is an unused remnant of previous Wine-
- # based builds and will be removed in future releases anyway
- rm tv_bin/script/libdepend
-
- insinto ${dst}
- doins -r tv_bin
-
- # Set permissions for executables and libraries
- for exe in $(find tv_bin -type f -executable -or -name '*.so'); do
- fperms 755 ${dst}/${exe}
- done
-
- # No slotting here, binary expects this service path
- newinitd "${FILESDIR}"/teamviewerd13.init teamviewerd
- systemd_dounit tv_bin/script/teamviewerd.service
-
- insinto /usr/share/dbus-1/services
- doins tv_bin/script/com.teamviewer.TeamViewer.service
- doins tv_bin/script/com.teamviewer.TeamViewer.Desktop.service
-
- insinto /usr/share/polkit-1/actions
- doins tv_bin/script/com.teamviewer.TeamViewer.policy
-
- for size in 16 24 32 48 256; do
- newicon -s ${size} tv_bin/desktop/teamviewer_${size}.png TeamViewer.png
- done
-
- # Install documents (NOTE: using 'dodoc -r doc' instead of loop will
- # have the undesired result of installing subdirectory 'doc' in /usr/
- # share/doc/teamviewer-<version>)
- for doc in $(find doc -type f); do
- dodoc ${doc}
- done
-
- keepdir /etc/${MY_PN}
- dosym ../../etc/${MY_PN} ${dst}/config
-
- # Create directory and symlink for log files (NOTE: according to Team-
- # Viewer devs, all paths are hard-coded in the binaries; therefore
- # using the same path as the DEB/RPM archives, i.e. '/var/log/teamviewer
- # <major-version>')
- keepdir /var/log/${MY_PN}
- dosym ../../var/log/${MY_PN} ${dst}/logfiles
-
- dodir /opt/bin
- dosym ${dst}/tv_bin/teamviewerd /opt/bin/teamviewerd
- dosym ${dst}/tv_bin/script/teamviewer /opt/bin/teamviewer
-
- make_desktop_entry teamviewer "TeamViewer ${SLOT}" TeamViewer
-}
-
-pkg_postinst() {
- gnome2_icon_cache_update
-
- elog "Please note that parallel installation of multiple versions of"
- elog "TeamViewer is currently not supported at runtime. Bug #621818"
- elog ""
- elog "Before using TeamViewer, you need to start its daemon:"
- elog "OpenRC:"
- elog "# /etc/init.d/teamviewerd start"
- elog "# rc-update add teamviewerd default"
- elog
- elog "Systemd:"
- elog "# systemctl start teamviewerd.service"
- elog "# systemctl enable teamviewerd.service"
- elog
- elog "To display additional command line options simply run:"
- elog "$ teamviewer help"
-}
-
-pkg_postrm() {
- gnome2_icon_cache_update
-}
^ permalink raw reply related [flat|nested] 5+ messages in thread
end of thread, other threads:[~2019-03-09 10:04 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-18 1:31 [gentoo-commits] repo/gentoo:master commit in: net-misc/teamviewer/files/, net-misc/teamviewer/ Andreas Sturmlechner
-- strict thread matches above, loose matches on Subject: below --
2017-12-18 1:31 Andreas Sturmlechner
2017-12-19 0:20 Andreas Sturmlechner
2018-09-16 10:18 Mikle Kolyada
2019-03-09 10:03 Mikle Kolyada
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox