This is an automated email from the git hooks/post-receive script. x2go pushed a change to branch master in repository x2goserver. from 27718cd typo fix new 3d9aaf1 revert to using Try::Tiny due to heavy dependencies in various older distributions new c05f6a8 Revert "typo fix" new 05831cf Revert "Require perl(TryCatch) instead of perl(Try::Tiny)." new 93ae791 Revert "Replace D (bin:package x2goserver): libtry-tiny-perl -> libtrycatch-perl." The 4 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Summary of changes: debian/changelog | 4 +--- debian/control | 2 +- x2goserver.spec | 2 +- x2goserver/sbin/x2godbadmin | 14 ++++++++------ 4 files changed, 11 insertions(+), 11 deletions(-) -- Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goserver.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository x2goserver. commit 3d9aaf13275ae37240802bd51378baa9cd2c5d1a Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Date: Tue Jun 17 21:05:41 2014 +0200 revert to using Try::Tiny due to heavy dependencies in various older distributions --- x2goserver/sbin/x2godbadmin | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/x2goserver/sbin/x2godbadmin b/x2goserver/sbin/x2godbadmin index f0053af..437ed8a 100755 --- a/x2goserver/sbin/x2godbadmin +++ b/x2goserver/sbin/x2godbadmin @@ -25,7 +25,7 @@ use Sys::Syslog qw( :standard :macros ); use File::Path qw( make_path ); use Getopt::Long; use DBI; -use TryCatch; +use Try::Tiny; use X2Go::Config qw( get_sqlconfig ); use X2Go::Log qw( loglevel ); @@ -266,12 +266,14 @@ if ($updatedb) { # check if the DB already exists, if not, create it... my $dbh; - try { - $dbh = DBI->connect("dbi:Pg:dbname=$db;host=$host;port=$port;sslmode=$sslmode", "$dbadmin", "$dbadminpass",{AutoCommit => 1, RaiseError => 1, PrintError => 0}); - } catch { + until ( + $dbh = DBI->connect("dbi:Pg:dbname='test';host=$host;port=$port;sslmode=$sslmode", "$dbadmin", "$dbadminpass",{AutoCommit => 1, RaiseError => 0, PrintError => 0}) + ) { $createdb = 1; + last; }; if (!$createdb) { + $dbh = DBI->connect("dbi:Pg:dbname=$db;host=$host;port=$port;sslmode=$sslmode", "$dbadmin", "$dbadminpass",{AutoCommit => 1}); if ($dbh) { my $sth_tekictrl; my $sth_tekidata; @@ -288,7 +290,7 @@ if ($updatedb) "); $sth_tekictrl->execute() or die; $sth_tekictrl->finish(); - } + }; try { $sth_tekidata = $dbh->prepare(" select tekidata_port from sessions @@ -302,7 +304,7 @@ if ($updatedb) "); $sth_tekidata->execute() or die; $sth_tekidata->finish(); - } + }; } if ($dbh) { $dbh->disconnect(); -- Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goserver.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository x2goserver. commit c05f6a84e3a58fe63167da1d00c4f64fdd502b40 Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Date: Tue Jun 17 21:06:26 2014 +0200 Revert "typo fix" This reverts commit 27718cdd8b2622c8af3c1b727c040038e227a424. --- debian/changelog | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 7397d89..3034a56 100644 --- a/debian/changelog +++ b/debian/changelog @@ -97,7 +97,7 @@ x2goserver (4.1.0.0-0x2go1.1) UNRELEASED; urgency=low + Make sure x2goserver-*.features files do not get installed multiple times into various packages. + Make sure X2Go Server (x2gocleansessions) starts after installation. - + Make sure X2Go session DB files get updated during postinst. + - Make sure X2Go session DB files get updated during postinst. + Require perl(TryCatch) instead of perl(Try::Tiny). [ Guangzhou Nianguan Electronics Technology Co.Ltd. ] -- Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goserver.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository x2goserver. commit 05831cfb6e24f5244be3f7921267379221329a54 Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Date: Tue Jun 17 21:06:30 2014 +0200 Revert "Require perl(TryCatch) instead of perl(Try::Tiny)." This reverts commit 8751a10d6ec3f31d8a4c9be7cae1d31c14b78498. --- debian/changelog | 1 - x2goserver.spec | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 3034a56..d889003 100644 --- a/debian/changelog +++ b/debian/changelog @@ -98,7 +98,6 @@ x2goserver (4.1.0.0-0x2go1.1) UNRELEASED; urgency=low multiple times into various packages. + Make sure X2Go Server (x2gocleansessions) starts after installation. - Make sure X2Go session DB files get updated during postinst. - + Require perl(TryCatch) instead of perl(Try::Tiny). [ Guangzhou Nianguan Electronics Technology Co.Ltd. ] * New upstream version (4.1.0.0): diff --git a/x2goserver.spec b/x2goserver.spec index 1e438fe..270ebdb 100644 --- a/x2goserver.spec +++ b/x2goserver.spec @@ -37,7 +37,7 @@ Requires: openssh-server Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) Requires: perl(File::ReadBackwards) Requires: perl(Capture::Tiny) -Requires: perl(TryCatch) +Requires: perl(Try::Tiny) # We need a database # For killall in x2gosuspend-session Requires: psmisc -- Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goserver.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository x2goserver. commit 93ae791067200e1af6ca2f64c8c12c1ab5212846 Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Date: Tue Jun 17 21:06:31 2014 +0200 Revert "Replace D (bin:package x2goserver): libtry-tiny-perl -> libtrycatch-perl." This reverts commit f81625e42ea00469c56cba7b6fab7c8f14d7b977. --- debian/changelog | 1 - debian/control | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index d889003..2a306f2 100644 --- a/debian/changelog +++ b/debian/changelog @@ -68,7 +68,6 @@ x2goserver (4.1.0.0-0x2go1.1) UNRELEASED; urgency=low for unversioned package conflicts. + Test if telekinesis-server is installed server-side. If so, prepare the telekinesis session sub-directory. - + Replace D (bin:package x2goserver): libtry-tiny-perl -> libtrycatch-perl. * debian/x2goserver.postinst, debian/libx2go-server-db-perl: + Handle X2Go session DB creation in x2goserver _and_ perl-X2Go-Server-DB on postinst. diff --git a/debian/control b/debian/control index e6363b8..373738e 100644 --- a/debian/control +++ b/debian/control @@ -21,7 +21,7 @@ Depends: ${misc:Depends}, libfile-basedir-perl, libfile-readbackwards-perl, - libtrycatch-perl, + libtry-tiny-perl, libx2go-server-perl (>= ${source:Version}), libx2go-server-perl (<< ${source:Version}.1~), x2goagent (>= 2:3.5.0.25-0~), lsof, -- Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goserver.git