From owner-svn-ports-head@freebsd.org Fri Oct 2 21:00:02 2015 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D9F99A0E7A5; Fri, 2 Oct 2015 21:00:01 +0000 (UTC) (envelope-from pawel@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C251C1EB4; Fri, 2 Oct 2015 21:00:01 +0000 (UTC) (envelope-from pawel@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.70]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id t92L01SR097410; Fri, 2 Oct 2015 21:00:01 GMT (envelope-from pawel@FreeBSD.org) Received: (from pawel@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id t92L01bD097407; Fri, 2 Oct 2015 21:00:01 GMT (envelope-from pawel@FreeBSD.org) Message-Id: <201510022100.t92L01bD097407@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pawel set sender to pawel@FreeBSD.org using -f From: Pawel Pekala Date: Fri, 2 Oct 2015 21:00:01 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r398449 - in head/net/x2goclient: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Oct 2015 21:00:02 -0000 Author: pawel Date: Fri Oct 2 21:00:00 2015 New Revision: 398449 URL: https://svnweb.freebsd.org/changeset/ports/398449 Log: - Update to version 4.0.5.0 - Add LICENSE_FILE PR: 202853 Submitted by: tkato432@yahoo.com Modified: head/net/x2goclient/Makefile head/net/x2goclient/distinfo head/net/x2goclient/files/patch-sshprocess.cpp Modified: head/net/x2goclient/Makefile ============================================================================== --- head/net/x2goclient/Makefile Fri Oct 2 20:28:08 2015 (r398448) +++ head/net/x2goclient/Makefile Fri Oct 2 21:00:00 2015 (r398449) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= x2goclient -PORTVERSION= 4.0.4.0 +PORTVERSION= 4.0.5.0 CATEGORIES= net MASTER_SITES= http://code.x2go.org/releases/source/x2goclient/ @@ -10,6 +10,7 @@ MAINTAINER= ports@FreeBSD.org COMMENT= Qt client for the X2Go system LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING # Avoid clash with libssh from base BUILD_DEPENDS= ${LOCALBASE}/lib/libssh.so:${PORTSDIR}/security/libssh @@ -38,11 +39,11 @@ post-patch: ${REINPLACE_CMD} -e \ 's|Q_OS_LINUX|Q_OS_UNIX| ; \ //s|^|//| ; \ - /#define USELDAP/s|^|//|' + /#define USELDAP/s|^|//| ; \ + s|/usr/local/bin|${LOCALBASE}/bin|' pre-build: - @(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} \ - ${MAKEFILE} compiler_TSQM_make_all) + @(cd ${WRKSRC} && ${DO_MAKE_BUILD} compiler_TSQM_make_all) do-install: (cd ${WRKSRC} && ${INSTALL_PROGRAM} x2goclient \ Modified: head/net/x2goclient/distinfo ============================================================================== --- head/net/x2goclient/distinfo Fri Oct 2 20:28:08 2015 (r398448) +++ head/net/x2goclient/distinfo Fri Oct 2 21:00:00 2015 (r398449) @@ -1,2 +1,2 @@ -SHA256 (x2goclient-4.0.4.0.tar.gz) = 86d05ce10039fe0a965cdc55086e00f4f3abc573a96f128b92f87081b7251657 -SIZE (x2goclient-4.0.4.0.tar.gz) = 1571218 +SHA256 (x2goclient-4.0.5.0.tar.gz) = 242e91720c1e5830f64a632c111ac3c4b6f6690d5005454c8e025b00bfbe42a1 +SIZE (x2goclient-4.0.5.0.tar.gz) = 1577271 Modified: head/net/x2goclient/files/patch-sshprocess.cpp ============================================================================== --- head/net/x2goclient/files/patch-sshprocess.cpp Fri Oct 2 20:28:08 2015 (r398448) +++ head/net/x2goclient/files/patch-sshprocess.cpp Fri Oct 2 21:00:00 2015 (r398449) @@ -1,4 +1,4 @@ ---- src/sshprocess.cpp.orig 2015-05-26 19:13:12 UTC +--- src/sshprocess.cpp.orig 2015-07-28 02:50:36 UTC +++ src/sshprocess.cpp @@ -24,6 +24,9 @@ @@ -10,3 +10,21 @@ #include #include #endif +@@ -200,7 +203,7 @@ void SshProcess::startNormal(const QStri + // #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) << "');"; + 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 + "\";'"; + + proc=new QProcess(this); + QString local_cmd = "";