Commit graph

85 commits

Author SHA1 Message Date
Torsten Zuehlsdorff
7d61bd218b www/gitlab: Fix options which do the opposite
Currently we have MYSQL and PG option. Since the last change
the MYSQL option installs the PG configuration and vise versa.
This is now fixed.
2017-09-27 09:05:04 +00:00
Torsten Zuehlsdorff
15c9911111 www/gitlab: Make Gemfile-handling through options easier
Currently MySQL und PostgreSQL entries were removed from Gemfile
via patch and added back through options.

Now we just remove the entries of the option set to off.

This remove some work and pitfalls from the Gemfile-patch.

Thanks to sunpoet for this suggestion.

Reported by: sunpoet
2017-09-19 14:27:21 +00:00
Torsten Zuehlsdorff
62b237beab www/gitlab: Update from 9.3.10 to 9.3.11
Changelog: https://github.com/gitlabhq/gitlabhq/blob/v9.3.11/CHANGELOG.md

This fixes an XSS security issue. The mentioned security issues in
the gems are already fixed by updates of them gems itself.

Security: CVE-2017-5029
Security: CVE-2016-4738
Security: https://vuxml.FreeBSD.org/freebsd/6a177c87-9933-11e7-93f7-d43d7e971a1b.html
2017-09-14 10:35:29 +00:00
Torsten Zuehlsdorff
4a9989723d www/gitlab: Update from 9.2.10 to 9.3.10
Changelog: https://github.com/gitlabhq/gitlabhq/blob/v9.3.10/CHANGELOG.md

We now add full support for gitaly and add the basics for later support
of gitlab-pages.

Reviewed by: Matthias Fechner <idefix@fechner.net>
2017-09-13 14:15:08 +00:00
Torsten Zuehlsdorff
8e1a53ce07 www/gitlab: fix pkg-plist
A %%RUBY_SUFFIX%% got into the plist and makes it invalid

PR:           221523
Submitted by: max@mober.at
MFH:          2017Q3
2017-08-14 15:53:22 +00:00
Torsten Zuehlsdorff
220ea5195f www/gitlab: Update from 9.2.9 to 9.2.10
This update fixes 2 important security issues

Changelog: https://github.com/gitlabhq/gitlabhq/blob/v9.2.10/CHANGELOG.md

MFH:      2017Q3
Security: CVE-2017-12426
2017-08-11 07:57:01 +00:00
Torsten Zuehlsdorff
d6e9b72970 www/gitlab: Fix wrong RUN_DEPENDS
Switch from security/rubygem-hashie-forbidden_attributes to
devel/rubygem-hashie-forbidden_attributes.

Pointy hat to myself. I did not notice the overlapping effort
of sunpoet creating the same port and mat removing the
duplicate.
2017-08-09 09:35:42 +00:00
Torsten Zuehlsdorff
49b79b0ea9 www/gitlab: Update from 9.1.9 to 9.2.9
Changelog: https://github.com/gitlabhq/gitlabhq/blob/v9.2.9/CHANGELOG.md

Submitted by: Matthias Fechner <idefix@fechner.net>, tz
2017-08-09 09:15:13 +00:00
Torsten Zuehlsdorff
0c41218c20 www/gitlab: Update from 9.1.8 to 9.1.9
Changelog: https://github.com/gitlabhq/gitlabhq/blob/v9.1.9/CHANGELOG.md

MFH: 2017Q3
2017-07-21 13:23:44 +00:00
Torsten Zuehlsdorff
bcaf332da9 www/gitlab: Update from 9.1.7 to 9.1.8
Changelog: https://github.com/gitlabhq/gitlabhq/blob/v9.1.8/CHANGELOG.md

Security: https://vuxml.FreeBSD.org/freebsd/92f4191a-6d25-11e7-93f7-d43d7e971a1b.html
Security: CVE-2017-11438
2017-07-20 10:42:36 +00:00
Mathieu Arnold
928ff8c08b Really fix the dependencies.
Sponsored by:	Absolight
2017-07-18 07:57:46 +00:00
Mathieu Arnold
01e3a41324 Fix pkgname.
Pointy hat:	tz
Sponsored by:	Absolight
2017-07-17 10:23:29 +00:00
Sunpoet Po-Chuan Hsieh
b6ab46f623 Change RUN_DEPENDS from rubygem-rack-cors to rubygem-rack-cors0
- Bump PORTREVISION for dependency change
2017-07-16 16:11:11 +00:00
Sunpoet Po-Chuan Hsieh
e01f6fc88a Change RUN_DEPENDS from rubygem-grape to rubygem-grape0
- Bump PORTREVISION for dependency change
2017-07-15 17:30:35 +00:00
Sunpoet Po-Chuan Hsieh
c9793ebaf6 Fix gemspec for rubygem-hipchat 1.6.0 update
- Bump PORTREVISION for package change
2017-07-06 20:57:37 +00:00
Torsten Zuehlsdorff
2233200739 www/gitlab: Update from 9.0.10 to 9.1.7
Changelog: https://github.com/gitlabhq/gitlabhq/blob/v9.1.7/CHANGELOG.md

Reviewed by: Matthias Fechner <idefix@fechner.net>
2017-07-06 14:10:14 +00:00
Torsten Zuehlsdorff
e9349a1daa www/gitlab: Unbreak GitLab after Rails-Update
GitLab currently does not start after an update of
Rails to 4.2.9. Patch this, since its working
fine with the new version.

Submitted by: Matthias Fechner <idefix@fechner.net>
MFH:          2017Q3
2017-07-05 08:39:22 +00:00
Torsten Zuehlsdorff
06f47f5326 www/gitlab: Fix broken patch
A duplication slipped into a patch which breaks the build. Fix it.

Submitted by: Matthias Fechner <idefix@fechner.net>
Reported by:  Remko Lodder <remko@FreeBSD.org>
2017-06-29 08:56:46 +00:00
Torsten Zuehlsdorff
8179fbfe38 www/gitlab: Update from 8.17.6 to 9.0.10
Changelog: https://github.com/gitlabhq/gitlabhq/blob/v9.0.10/CHANGELOG.md

Reviewed by: Matthias Fechner <idefix@fechner.net>
2017-06-28 09:16:20 +00:00
Sunpoet Po-Chuan Hsieh
ec059bda8f Fix gemspec for rubygem-version_sorter 2.2.0 update
- Bump PORTREVISION for package change
2017-06-22 23:42:04 +00:00
Sunpoet Po-Chuan Hsieh
036e3fb165 Fix gemspec for rubygem-state_machines-activerecord 0.5.0 update
- Bump PORTREVISION for package change
2017-06-21 18:52:07 +00:00
Sunpoet Po-Chuan Hsieh
9982216f6f Change RUN_DEPENDS from rubygem-gitlab_omniauth-ldap to rubygem-gitlab_omniauth-ldap1
- Bump PORTREVISION for dependency change
2017-06-08 14:08:03 +00:00
Sunpoet Po-Chuan Hsieh
91ac07ab57 Fix gemspec for rubygem-omniauth-google-oauth2 0.5.0 update 2017-06-08 13:32:27 +00:00
Torsten Zuehlsdorff
16d874b4cb www/gitlab: unbreak updates via "rake db:migrate"
The file db/schema.rb needs to be owned by user git
in order to be writable by the update process.

Reported by: Matthias Fechner <idefix@fechner.net>
2017-05-29 14:25:08 +00:00
Torsten Zuehlsdorff
335bd2039b www/gitlab: remove duplicate rubygem-pg-dependency
Accidently added an dependency to database/rubygem-pg via
patch-Gemfile. Since this dependency is also added by
the PGSQL-option i removed the conflict-causing line
from the patch.

Reported by: Matthias Fechner <idefix@fechner.net>
2017-05-29 08:45:43 +00:00
Sunpoet Po-Chuan Hsieh
27c18b87b2 Change RUN_DEPENDS from rubygem-deckar01-task_list to rubygem-deckar01-task_list1
- Bump PORTREVISION for dependency change
2017-05-20 21:50:51 +00:00
Joseph Mingrone
cebcaee76b www/gitlab: Depend on devel/rubygem-oj2
Approved by:	swills (mentor, implicit), tz (comments in D10743)
2017-05-18 14:26:13 +00:00
Sunpoet Po-Chuan Hsieh
2084dfffe5 Fix gemspec for rubygem-rugged 0.25.1 update
- Bump PORTREVISION for package change
2017-05-17 17:16:36 +00:00
Torsten Zuehlsdorff
703af3079e www/gitlab: Update from 8.16.9 to 8.17.6
Changelog: https://github.com/gitlabhq/gitlabhq/blob/v8.17.6/CHANGELOG.md

Reviewed by: Matthias Fechner <idefix@fechner.net>
2017-05-17 16:36:34 +00:00
Sunpoet Po-Chuan Hsieh
d7ba71423e Change RUN_DEPENDS from rubygem-sidekiq to rubygem-sidekiq4
- Bump PORTREVISION for dependency change
2017-05-16 18:19:52 +00:00
Sunpoet Po-Chuan Hsieh
ac0babf2f0 Fix gemspec for rubygem-gitlab-markup 1.6.0 update
- Bump PORTREVISION for package change
2017-05-05 15:36:45 +00:00
Torsten Zuehlsdorff
e807046664 www/gitlab: Fix wrong permissions for /home/git/repositories
Now the dir is owned by user "git" instead of "root" which
allows GitLab to store data. Before this change every user
need to correct the rights by himself.
2017-05-04 11:09:50 +00:00
Sunpoet Po-Chuan Hsieh
c6f1a21ea5 Change RUN_DEPENDS from rubygem-oauth2 to rubygem-oauth212
- Bump PORTREVISION for dependency change
2017-04-28 20:24:59 +00:00
Sunpoet Po-Chuan Hsieh
7776d99fbf Change RUN_DEPENDS
- Use rubygem-omniauth13 (~> 1.3.2)
- Use rubygem-omniauth-github11 (~> 1.1.1)
- Bump PORTREVISION for dependency change
2017-04-23 17:10:30 +00:00
Sunpoet Po-Chuan Hsieh
591e8550b8 Change RUN_DEPENDS from rubygem-sidekiq-cron to rubygem-sidekiq-cron04
- Bump PORTREVISION for dependency change
2017-04-15 00:48:04 +00:00
Torsten Zuehlsdorff
43013f90b3 www/gitlab: Update from 8.16.8 to 8.16.9
Changelog: https://github.com/gitlabhq/gitlabhq/blob/v8.16.9/CHANGELOG.md

Also unbreak it by tighten the requirement of rubygem-rainbow
and relying at rubygem-google-api-client010 instead of updated
rubygem-google-api-client.

Reviewed by: remko, Matthias Fechner <idefix@fechner.net>
2017-04-11 13:49:37 +00:00
Sunpoet Po-Chuan Hsieh
96ee7e8b05 Change RUN_DEPENDS from rubygem-newrelic_rpm to rubygem-newrelic_rpm3
- Bump PORTREVISION for dependency change
2017-04-03 12:57:57 +00:00
Torsten Zuehlsdorff
ac2e2aaee8 www/gitlab: enable GitLab to start on boot
PR:           208793
Submitted by: László Károlyi <laszlo@karolyi.hu>, Horst Kapfenberger <horst.kapfenberger@agoracon.at>
2017-03-31 11:27:26 +00:00
Torsten Zuehlsdorff
3b0e5cb0ee www/gitlab: Update from 8.15.8 to 8.16.8
Changelog: https://github.com/gitlabhq/gitlabhq/blob/v8.16.8/CHANGELOG.md
2017-03-30 14:20:59 +00:00
Steve Wills
a8ec07d97d www/gitlab: use rubygem-health_check22 to avoid runtime problem 2017-03-30 13:05:57 +00:00
Sunpoet Po-Chuan Hsieh
208f6b9da1 Move www/rubygem-jquery-rails4 to www/rubygem-jquery-rails
- Bump PORTREVISION for dependent ports
2017-03-27 19:16:29 +00:00
Sunpoet Po-Chuan Hsieh
c0b13833aa Remove duplicate CATEGORIES
Approved by:	portmgr (blanket)
2017-03-27 15:51:56 +00:00
Torsten Zuehlsdorff
91be4230fb www/gitlab: set link to upgrade guide according to new version 8.15 2017-03-27 15:30:53 +00:00
Torsten Zuehlsdorff
b8384e0f42 www/gitlab: Update from 8.14.9 to 8.15.8
Changelog: https://github.com/gitlabhq/gitlabhq/blob/v8.15.8/CHANGELOG.md

Also remove CVE patch because its already included in the new version
2017-03-27 15:13:52 +00:00
Sunpoet Po-Chuan Hsieh
e77c64cc6a Change RUN_DEPENDS from rubygem-select2-rails to rubygem-select2-rails3
- Bump PORTREVISION for dependency change
2017-03-24 17:48:21 +00:00
Torsten Zuehlsdorff
ad7341305c www/gitlab: fix wrong detection of running Sidekiq
Sidekiq is detected as "not running" because when checking with "ps" it
does not account for column truncation

PR:           209487
Submitted by: Chris Stankevitz <chris-freebsd-bugs@stankevitz.com>
Reported by:  otacilio.neto@bsd.com.br
Reviewed by:  Matthias Fechner <idefix@fechner.net>
2017-03-21 16:40:38 +00:00
Jason Unovitch
a0dd44f839 www/gitlab: apply upstream CVE-2017-0882 patch to 8.14.x
Reported by:	Brian Neel <brian@gitlab.com>
Approved by:	ports-secteam (with hat)
Security:	CVE-2017-0882
2017-03-21 02:01:35 +00:00
Sunpoet Po-Chuan Hsieh
1342dc1657 Change RUN_DEPENDS from rubygem-u2f to rubygem-u2f0
- Bump PORTREVISION for dependency change
2017-03-19 01:57:22 +00:00
Sunpoet Po-Chuan Hsieh
b0b289db08 Change RUN_DEPENDS from rubygem-slack-notifier to rubygem-slack-notifier1
- Bump PORTREVISION for dependency change
2017-03-16 20:56:18 +00:00
Torsten Zuehlsdorff
421e9ab73d www/gitlab: add public/uploads dir
Without the dir the backup-routine does not work.
This also removes one more error from gitlab:check

Reported by: Chris Stankevitz <chris@stankevitz.com>
2017-03-16 08:30:06 +00:00