Add Passenger with NGinx, fix try for GitLab.

For better reverse proxy (define a root to GitLab)

M  .cpl/_deps:
  Add 'passenger' mod as a dependency for 'gitlab' and 'nginx'
  Add 'ruby' to the dependencies of 'nginx'
A  .cpl/params/passenger
  Install passenger and add it to '${H}/bin'
M  .cpl/params/nginx:
  add module 'passenger' to the 'configure' step
M  nginx/nginx.conf.tpl:
  add pasenger root path.
M  sbin/cp_tpl
  learn to replace '@PASSENGER-ROOT@' by 'passenger-config --root'
Passenger for GitLab with Apache (to test).

Reverse proxy with NGiNX like the other services.

M .cpl/_deps:
  Remove 'passenger' from nginx dependencies
  Add 'Apache' as a dependency of 'passenger'
M apache/env.conf.tpl:
  Add section for GitLab
M nginx/nginx.conf.tpl:
  Remove 'gitlab' settings
  Add reverse proxy to an Apache GitLab
M  .cpl/params/passenger:
  add apache module compilation in 'post' step
M sbin/cp_tpl
  Modify 'PASSENGER' replacement
Compilation Fixes.

Around NGinX and libsecret.

M .cpl/_deps:
  Add 'cpnam' to 'intltool' dependencies
M .cpl/params/libsecret:
  Fix second 'gen_sed' file path
M .cpl/params/nginx:
  Remove 'passenger' module
Compilation Fixes 2, with binutils in it.

For module_libpassenger for apache2 compilation.

M  .cpl/_deps:
  Add 'binutils'
M  .cpl/errors:
  Documente module_libpassenger error
  'referenced in section `.rodata' of ...'
A  .cpl/params/binutils:
  Add 'binutils" parameters
M  gitolite/install_or_update_gitolite.sh:
  Isolate final diff to avoid error status
Merge remote-tracking branch 'origin/master' into passenger

Fix CHECKID.tpl
NGinx redirects to gitlab, Apache uses Passenger.

GitLab is now accessed with "https://itsvc/gitlab"

M apache/env.conf.tpl:
  add and load 'passenger_module'
  Declares a gitlab Directory
M .gitignore:
  Now ignore '*.val_tpl' and '*.ori_tpl', generated by 'check_tpl'
  Ignore also '*.1'
M .cpl/.gitconfig.tpl:
  Set push policy to 'simple' to avoid warning message
M .cpl/addresses.txt.tpl:
  Update NGiNX addresses, especially gitlab one.
M gitlab/install_or_update_gitlab.sh.tpl:
  Update GitLab status check
  ('rake gitlab:check' instead of 'rake gitlab:app:status')
M gitlab/unicorn.rb.tpl:
  Add relative path for GitLab with 'RAILS_RELATIVE_URL_ROOT'
M gitlab/logs/err:
  Symlink to 'apache_gitlab_error_log' instead of 'nginx_gitlab_error.log'
  That reflects that GitLab is managed by Apache, no longer directly by NGiNX
M gitlab/logs/log:
  Symlink to 'apache_gitlab_access_log' instead of 'nginx_gitlab_access.log'
  That reflects that GitLab is managed by Apache, no longer directly by NGiNX
 M gitlab/unicorn.rb.tpl
M nginx/nginx.conf.tpl:
  Uses '$server_port' when 'proxy_set_header Host'
  Remove 'passenger_root @PASSENGER-ROOT@;'
Check template files with check_all_tpl, check_tpl.

Make sure no local modification has been done, without
having been reported to the template file

A  .cpl/.bashrc_aliases_git:
  Symlink to .., for 'check_tpl' process
A  .cpl/.gitconfig
  Symlink to .., for 'check_tpl' process
M  .gitignore:
  Ignore now '+*.tpl_*'
A  sbin/check_all_tpl:
  Check any template file values against the current values.
A  sbin/clean_all_check_tpl:
  Clean and remove all '*.tpl_*'(val|ori) files
A  sbin/check_tpl:
  Check one template valued against current values
M  sbin/cp_tpl:
  Now calls 'sbin/usrcmd/repl_tpl'
A  sbin/usrcmd/diff_tpl:
  Compute diff between current values and newly valued file.
A  sbin/usrcmd/get_tpl
RM sbin/cp_tpl -> sbin/usrcmd/repl_tpl:
  Moved and add '@@64@@' and '@@CYGWIN@@' replacements
Update latest GitLab.

M  gitlab/gitlab.yml.tpl:
  Update config, add some settings yet to be taken into account
M nxlog/nxlog.conf.tpl:
  uses 'USERGROUP' instead of 'GROUPNAME'
M sbin/usrcmd/repl_tpl
  uses 'USERGROUP' instead of 'GROUPNAME'
A gitolite/src
  Tries to respect default gitlab gitolite installation path
  (repos_path/../gitolite/src)
Update Apache for GitLab Rail App in a subdirectory.

M  apache/env.conf.tpl:
  Use a non-conventional Directory root, with a gitlab symlink to public.
A  gitlab/gitlab
  Symlink to 'github/public'
Add gitlab.user and gitolite.group.

M gitlab/gitlab.yml.tpl:
  Add 2 new settings in order to be able to check/add
  gitlab.user to gitolite.group
libffi github archive url fix.
Allows for src to be kept local.

(while _pkgs is common one level above)

M  make_env.sh:
  (main): if '$H/.cpl/src/.keep_local' exists,
          don't replace it by a symlink to '$H/../src'
Take into account zip archive in ln.
Upgrade Tcl to 8.6 (from 8.5).

M .cpl/params/db
M .cpl/params/tcl
Take into account zip files from GitHub.
Use @PORT_SSHD@ in 'openssh/post_install_ssh.sh'.
Record mysql_sandbox cpanm install workaround.
Add python2 symlink, GitLab needs it.
Update latest GitLab4.x, with sidekiq
Fix libarchive params with autoreconf