first settings for latst gcc 4.7
Remove glibc for now. Not useful for gcc4.7+.
gcc and ncurses compilation params updates.
Update db compil param with lm and ldl.
Build man-db with db4
Fix gcc, ncurses and JDK compil/download.
cgit now uses a GitHub repo.
Adapt GitLab to 5.1pre (uses puma instead of unicorn).

Update submodules.

M  gitlab/config.yml.tpl:
  add http_settings for latest GitLab 5.1 config
M  gitlab/github:
  Latest 5.1 commit
M gitlab/gitlab-shell:
  Latest 1.2.x commit
M  gitlab/gitlab-shell_replace:
  Only replace 'http.use_ssl' once
M  gitlab/gitlab-shell_restore
  Only restore 'http.use_ssl' once
M  gitlab/gitlab.yml.tpl:
  Update to latest gitlab.yml content
M  gitlab/gitlabd:
  Uses puma
M  gitlab/install_or_update_gitlab.sh.tpl:
  Uses right installation commands
A  gitlab/puma.rb.tpl:
  ADD puma config file, with correct application_dir
 D gitlab/unicorn.rb.tpl:
  DELETE any unicorn reference
Takes into account new gitlab-shell/lib/gitlab_net.rb code.
Adapt GitLab to 5.1 and GitLab-Shell 1.3.0 final.

Update gitlab submodules.

M  .cpl/_deps:
  Add app 'nodejs'
A  .cpl/params/nodejs:
  Compile app 'nodejs'
M  .gitignore:
  Ignore '/gitlab/puma.rb', generated by template.
M  gitlab/github:
  Update commit 5.1 (75fbdc40eb6c46a5a1a5d95a314dad0b3eeda299)
M gitlab/gitlab-shell:
  Update to 1.3.0 (fc55020536f738f253a4c21285e38fd59e549056)
M  gitlab/install_or_update_gitlab.sh.tpl:
  Fixes test for gitlab-shell install.
  Update global config for ruby modules
Make puma works with GitLab to 5.1 final.

Puma now starts correctly.
As it stands, admin login isn't possible because LDAP is activated.
https://github.com/gitlabhq/gitlabhq/issues/3672 "Other sign-in" broken when ldap is enabled in 5.1
https://github.com/gitlabhq/gitlabhq/pull/3469 "Change text_field to :login from :email in LDAP login page"
https://github.com/gitlabhq/gitlabhq/pull/3646 "customizable LDAP attribute mapping"

M  .ports.ini:
  Add '@PORT_HTTPS_GITLAB_PUMA@' ssl port for puma to listen to.
M  gitlab/gitlabd:
  Use the right option for puma: '-C' (not '-c')
  Start puma, and make sure sidekiq actually starts
M  gitlab/install_or_update_gitlab.sh.tpl:
  Start 'demod' before any bundle exec checks
M  gitlab/puma.rb.tpl:
  bind 'ssl://@FQN@:@PORT_HTTPS_GITLAB_PUMA@'
M  gitlab/sidekiqd:
  Add markers for sidekiq states
Make p.rake working in GitLab.
Latest GitLab 5.1.0 post 40b949ab.
Use FQB in gitlab.yml.
Make sure libxml2 doesn't compile python lib.
Simplify gcc compilation, make it quicker.
Update gmp param for Ubuntu.

Set ABI to 32 or 64.
make_env.sh now replace '@@3264@@' in 'configcmd'
Remove -Wl,--copy-dt-needed-entries no understood by old ld.
nxlog make perl extension should work.