[X2Go-Commits] [x2goserver] branch release/4.0.1.x updated (c072251 -> 9cb67ac)

git-admin at x2go.org git-admin at x2go.org
Wed Jan 10 00:17:56 CET 2018


This is an automated email from the git hooks/post-receive script.

x2go pushed a change to branch release/4.0.1.x
in repository x2goserver.

      from  c072251   x2goserver/bin/x2gostartagent: use x2goagent.port_randomization configuration value.
       new  9079d15   x2goserver/bin/x2gostartagent: fix shellcheck warning related to arrays.
       new  c597b3d   x2goserver/bin/x2gostartagent: update copyright notice.
       new  0da0c2c   x2goserver/bin/x2gostartagent: fix most shellcheck warnings, whitespace errors, use more quotes and curly braces.
       new  4877f5e   x2goserver/bin/x2gostartagent: drop obsolete X2GO_BIN environment variable usage.
       new  98e48fe   x2goserver/bin/x2gostartagent: make shellcheck happy by referencing "${SAVED_DISPLAY}" once.
       new  5c1e0b2   x2goserver/bin/x2gostartagent: checking for the exit status of a variable assignment isn't helping us in finding out if x2goagent is still running.
       new  369a0b5   x2goserver/bin/x2gostartagent: replace perl call with bash pattern substitution.
       new  6ae7c4f   x2goserver/bin/x2gostartagent: some shells do not handle quotes in pattern substitutions gracefully.
       new  a26de65   x2goserver/lib: new script x2gogetfreeport, consists of duplicated functionality in x2gostartagent.
       new  9297f6b   x2goserver/lib: new script x2gogetrandomport, contains the port randomization (or pseudo-randomization) features that are part of x2gostartagent, but need to be accessible by other scripts as well.
       new  455a4d7   x2goserver/bin/x2gostartagent: remove spurious semicolon and add quotes on the lib path line.
       new  56dd4b6   x2goserver/bin/x2gostartagent: start using x2gogetrandomport, delete now-duplicate code.
       new  f97cd4b   x2goserver/bin/x2gostartagent: fix return code that should have been zero, indicating success.
       new  6b0488c   x2goserver/bin/x2goresume-session: remove spurious semicolon and add quotes on the lib path line.
       new  d4d954b   x2goserver/bin/x2goresume-session: properly randomize first port, just like in x2gostartagent.
       new  7a76b29   x2goserver/bin/x2go{startagent,resume-session}: use x2gogetfreeport instead of duplicating the same code everywhere. Fixes: #1230.
       new  daa6a6a   x2goserver/bin/x2gostartagent: fix hostname detection.
       new  fdd8a9d   x2goserver/bin/x2goresume-session: fix shellcheck warnings, use bash-style tests, more quotes, curly braces, wrap literal strings in single quotes, avoid useless constructs, fix whitespace errors and probably more.
       new  9de1883   x2goserver/bin/x2gostartagent: use single quotes for literal strings, bash-style checks, more curly braces, terminate options for commands that use outside input (variables), fix copyright notice.
       new  2c18015   x2goserver/lib/x2gogetfreeport: use single quotes for literal strings.
       new  0b5bae4   x2goserver/lib/x2gogetfreeport: use error code 1 for general failure, shift parameter sanitization failure codes up.
       new  3748fe5   x2goserver/lib: new script x2gocheckport, containing common functionality for port checking.
       new  1ec6d63   x2goserver/lib/x2gogetfreeport: check start and end paramters in a stricter fashion.
       new  a837685   x2goserver/lib/x2gogetfreeport: use the check_*_port functions, require current host name as a parameter and adapt x2gogetfreeport usages accordingly.
       new  4da317d   x2goserver/bin/x2goresume-session: actually check if the old port values have been refurbished within the system and reassign them.
       new  6fe6d68   x2goserver/bin/x2goresume-ression: whitespace fix only.
       new  9cb67ac   x2goserver/bin/x2gostartagent: check and adapt exit codes.

The 27 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                  |  66 ++++
 x2goserver/bin/x2goresume-session | 386 +++++++++++------------
 x2goserver/bin/x2gostartagent     | 625 ++++++++++++++++----------------------
 x2goserver/lib/x2gocheckport      | 280 +++++++++++++++++
 x2goserver/lib/x2gogetfreeport    |  98 ++++++
 x2goserver/lib/x2gogetrandomport  | 120 ++++++++
 6 files changed, 1023 insertions(+), 552 deletions(-)
 create mode 100644 x2goserver/lib/x2gocheckport
 create mode 100755 x2goserver/lib/x2gogetfreeport
 create mode 100755 x2goserver/lib/x2gogetrandomport

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2goserver.git


More information about the x2go-commits mailing list