Update to 4.0.5.1.

PR:		208616
Submitted by:	tkato432 yahoo com
Sponsored by:	Absolight
This commit is contained in:
Mathieu Arnold 2016-04-08 12:38:16 +00:00
parent 5a5759fb59
commit 4e8b750f17
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=412740
5 changed files with 14 additions and 13 deletions

View File

@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= x2goclient
PORTVERSION= 4.0.5.0
PORTREVISION= 1
PORTVERSION= 4.0.5.1
CATEGORIES= net
MASTER_SITES= http://code.x2go.org/releases/source/x2goclient/
@ -66,6 +65,8 @@ do-install:
(cd ${WRKSRC}/res/img/icons/128x128 && ${INSTALL_DATA} ${i} \
${STAGEDIR}${DATADIR}/icons)
.endfor
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC} && ${INSTALL_DATA} HOWTO.GPGCARD ${STAGEDIR}${DOCSDIR})

View File

@ -1,2 +1,2 @@
SHA256 (x2goclient-4.0.5.0.tar.gz) = 242e91720c1e5830f64a632c111ac3c4b6f6690d5005454c8e025b00bfbe42a1
SIZE (x2goclient-4.0.5.0.tar.gz) = 1577271
SHA256 (x2goclient-4.0.5.1.tar.gz) = 844e983fbbddfe8a626506e4140b1ad65591e14f794c735412402bee3163ed11
SIZE (x2goclient-4.0.5.1.tar.gz) = 1657361

View File

@ -1,4 +1,4 @@
--- src/sshmasterconnection.cpp.orig 2015-05-26 19:13:12 UTC
--- src/sshmasterconnection.cpp.orig 2016-03-24 20:39:27 UTC
+++ src/sshmasterconnection.cpp
@@ -28,6 +28,9 @@
#include <QDir>
@ -10,7 +10,7 @@
#include <arpa/inet.h>
#endif
#include <math.h>
@@ -272,7 +275,11 @@ void SshMasterConnection::addReverseTunn
@@ -277,7 +280,11 @@ void SshMasterConnection::addReverseTunn
if(!reverseTunnelRequest[i].listen)
{
reverseTunnelRequest[i].listen=true;

View File

@ -1,4 +1,4 @@
--- src/sshprocess.cpp.orig 2015-07-28 02:50:36 UTC
--- src/sshprocess.cpp.orig 2016-03-24 20:39:27 UTC
+++ src/sshprocess.cpp
@@ -24,6 +24,9 @@
@ -14,17 +14,17 @@
// #endif
if(!masterCon->useKerberos())
{
- QString shcmd = "bash -c 'echo \"X2GODATABEGIN:" + uuidStr + "\"; export PATH=\"/usr/local/bin:/usr/bin:/bin\"; "+cmd+"; echo \"X2GODATAEND:" + uuidStr + "\";'";
+ QString shcmd = "sh -c 'echo \"X2GODATABEGIN:" + uuidStr + "\"; export PATH=\"/usr/bin:/bin:/usr/local/bin\"; "+cmd+"; echo \"X2GODATAEND:" + uuidStr + "\";'";
x2goDebug << "Running masterCon->addChannelConnection(this, '" << uuidStr << "', '" << shcmd.left (200) << "');";
- QString shcmd = "bash -l -c 'echo \"X2GODATABEGIN:" + uuidStr + "\"; export PATH=\"/usr/local/bin:/usr/bin:/bin\"; export TERM=\"dumb\"; "+cmd+"; echo \"X2GODATAEND:" + uuidStr + "\";'";
+ QString shcmd = "sh -c 'echo \"X2GODATABEGIN:" + uuidStr + "\"; export PATH=\"/usr/bin:/bin:/usr/local/bin\"; export TERM=\"dumb\"; "+cmd+"; echo \"X2GODATAEND:" + uuidStr + "\";'";
x2goDebug << "this="<<this<<" Running masterCon->addChannelConnection(this, '" << uuidStr << "', '" << shcmd.left (200) << "');";
masterCon->addChannelConnection(this, uuidStr, shcmd);
connect(masterCon,SIGNAL(stdOut(SshProcess*,QByteArray)),this,SLOT(slotStdOut(SshProcess*,QByteArray)));
@@ -222,7 +225,7 @@ void SshProcess::startNormal(const QStri
* as there is no preceding "outer double quote" the whole argument
* is wrapped in.
*/
- shcmd = "bash -c 'echo \"X2GODATABEGIN:" + uuidStr + "\"; export PATH=\"/usr/local/bin:/usr/bin:/bin\"; "+cmd+"; echo \"X2GODATAEND:" + uuidStr + "\";'";
+ shcmd = "sh -c 'echo \"X2GODATABEGIN:" + uuidStr + "\"; export PATH=\"/usr/bin:/bin:/usr/local/bin\"; "+cmd+"; echo \"X2GODATAEND:" + uuidStr + "\";'";
- shcmd = "bash -l -c 'echo \"X2GODATABEGIN:" + uuidStr + "\"; export PATH=\"/usr/local/bin:/usr/bin:/bin\"; export TERM=\"dumb\"; "+cmd+"; echo \"X2GODATAEND:" + uuidStr + "\";'";
+ shcmd = "sh -c 'echo \"X2GODATABEGIN:" + uuidStr + "\"; export PATH=\"/usr/bin:/bin:/usr/local/bin\"; export TERM=\"dumb\"; "+cmd+"; echo \"X2GODATAEND:" + uuidStr + "\";'";
proc=new QProcess(this);
QString local_cmd = "";

View File

@ -1,4 +1,4 @@
--- src/sshprocess.h.orig 2015-05-26 19:13:12 UTC
--- src/sshprocess.h.orig 2016-03-24 20:39:27 UTC
+++ src/sshprocess.h
@@ -18,6 +18,12 @@
#ifndef SSHPROCESS_H