idella4 15/03/09 05:29:03
Added: teamviewer-10.0.36281-gentoo.patch
Removed: teamviewer-7.0.9377-POSIX.patch
teamviewer-8.0.20931-gentoo.patch
Log:
bump; ebuild and new gentoo.patch submitted by newly designated proxy
maintainer, herd re-assigned to proxy-maint, all wrt bug #533452. Being a
binary package, runtested for install, bugs and runtime issues addressed in the
course of bug #533452. 2 oldest versions and corresponding patches removed to
prevent build up
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key
0xB8072B0D)
Revision Changes Path
1.1
net-misc/teamviewer/files/teamviewer-10.0.36281-gentoo.patch
file :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/teamviewer/files/teamviewer-10.0.36281-gentoo.patch?rev=1.1&view=markup
plain:
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/teamviewer/files/teamviewer-10.0.36281-gentoo.patch?rev=1.1&content-type=text/plain
Index: teamviewer-10.0.36281-gentoo.patch
===================================================================
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
-}
--- /opt/teamviewer10/tv_bin/script/teamviewerd.service 2015-01-15
12:55:57.000000000 -0500
+++ /opt/teamviewer10/tv_bin/script/teamviewerd.service 2015-03-08
19:00:17.297108541 -0400
@@ -6,7 +6,7 @@
[Service]
Type = forking
PIDFile = /var/run/teamviewerd.pid
-ExecStart = /opt/teamviewer/tv_bin/teamviewerd -d
+ExecStart = /opt/teamviewer10/tv_bin/teamviewerd -d
Restart = on-abort
StartLimitInterval = 60
StartLimitBurst = 10