[X2Go-Commits] [x2goserver] branch master updated (ee5fbc5 -> f8ee1e3)
git-admin at x2go.org
git-admin at x2go.org
Wed Jan 10 00:19:22 CET 2018
This is an automated email from the git hooks/post-receive script.
x2go pushed a change to branch master
in repository x2goserver.
from ee5fbc5 debian/control: dip into cold water and depend solely upon x2goserver-x2goagent in a versioned fashion.
new dfa3f08 x2goserver/lib: new wrapper script x2goqueryconfig to fetch a config value out of the global x2goserver.conf file.
new bb0e88d x2goserver-common/etc/x2goserver.conf: add x2goagent.port_randomization configuration option.
new fe049eb x2goserver/bin/x2gostartagent: use x2goagent.port_randomization configuration value.
new 8282d9f x2goserver/bin/x2gostartagent: fix shellcheck warning related to arrays.
new ebe55fd x2goserver/bin/x2gostartagent: update copyright notice.
new 2e42f1b x2goserver/bin/x2gostartagent: fix most shellcheck warnings, whitespace errors, use more quotes and curly braces.
new a1548a6 x2goserver/bin/x2gostartagent: drop obsolete X2GO_BIN environment variable usage.
new 0ba0752 x2goserver/bin/x2gostartagent: make shellcheck happy by referencing "${SAVED_DISPLAY}" once.
new 97c9988 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 254fd54 x2goserver/bin/x2gostartagent: replace perl call with bash pattern substitution.
new 70d15b3 x2goserver/bin/x2gostartagent: some shells do not handle quotes in pattern substitutions gracefully.
new ab86050 x2goserver/lib: new script x2gogetfreeport, consists of duplicated functionality in x2gostartagent.
new d3bd8b5 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 245b1b9 x2goserver/bin/x2gostartagent: remove spurious semicolon and add quotes on the lib path line.
new 3c19aa0 x2goserver/bin/x2gostartagent: start using x2gogetrandomport, delete now-duplicate code.
new 930f6dd x2goserver/bin/x2gostartagent: fix return code that should have been zero, indicating success.
new bb50a7e x2goserver/bin/x2goresume-session: remove spurious semicolon and add quotes on the lib path line.
new 727b253 x2goserver/bin/x2goresume-session: properly randomize first port, just like in x2gostartagent.
new 6cb9bb1 x2goserver/bin/x2go{startagent,resume-session}: use x2gogetfreeport instead of duplicating the same code everywhere. Fixes: #1230.
new c59ec73 x2goserver/bin/x2gostartagent: fix hostname detection.
new d2e9f36 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 9b4b1ce 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 941b333 x2goserver/lib/x2gogetfreeport: use single quotes for literal strings.
new 3d3b756 x2goserver/lib/x2gogetfreeport: use error code 1 for general failure, shift parameter sanitization failure codes up.
new eef6425 x2goserver/lib: new script x2gocheckport, containing common functionality for port checking.
new bc08472 x2goserver/lib/x2gogetfreeport: check start and end paramters in a stricter fashion.
new 98b8b4a x2goserver/lib/x2gogetfreeport: use the check_*_port functions, require current host name as a parameter and adapt x2gogetfreeport usages accordingly.
new dbbddb9 x2goserver/bin/x2goresume-session: actually check if the old port values have been refurbished within the system and reassign them.
new 592e702 x2goserver/bin/x2goresume-ression: whitespace fix only.
new c2e2bad x2goserver/bin/x2gostartagent: fix most other shellcheck warnings, more quotes, curly braces et. al.
new c72c704 x2goserver/bin/x2gostartagent: check and adapt exit codes.
new 8c19448 Fix resizing when resuming sessions.
new f8ee1e3 x2goserver/bin/x2goresume-session: fix most other shellcheck warnings, more quotes, curly braces et. al.
The 33 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 | 79 +++
x2goserver-common/etc/x2goserver.conf | 17 +
x2goserver/bin/x2goresume-session | 432 +++++++-------
x2goserver/bin/x2gostartagent | 705 ++++++++++-------------
x2goserver/lib/x2gocheckport | 280 +++++++++
x2goserver/lib/x2gogetfreeport | 98 ++++
x2goserver/lib/x2gogetrandomport | 120 ++++
x2goserver/lib/{x2gogetagent => x2goqueryconfig} | 36 +-
8 files changed, 1130 insertions(+), 637 deletions(-)
create mode 100644 x2goserver/lib/x2gocheckport
create mode 100755 x2goserver/lib/x2gogetfreeport
create mode 100755 x2goserver/lib/x2gogetrandomport
copy x2goserver/lib/{x2gogetagent => x2goqueryconfig} (61%)
--
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