diff --git a/devel/rubygem-licensee8/Makefile b/devel/rubygem-licensee8/Makefile new file mode 100644 index 00000000000..ab6eabe351a --- /dev/null +++ b/devel/rubygem-licensee8/Makefile @@ -0,0 +1,26 @@ +# Created by: Brendan Molloy +# $FreeBSD: head/devel/rubygem-licensee/Makefile 457898 2018-01-02 15:46:37Z swills $ + +PORTNAME= licensee +PORTVERSION= 8.7.0 +CATEGORIES= devel rubygems +MASTER_SITES= RG +PKGNAMESUFFIX= 8 + +MAINTAINER= idefix@fechner.net +COMMENT= Detects under what license a project is distributed + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE.md + +RUN_DEPENDS= rubygem-rugged>=0.24:devel/rubygem-rugged + +PORTSCOUT= limit:^8\. + +NO_ARCH= yes +USE_RUBY= yes +USES= gem + +PLIST_FILES= bin/licensee + +.include diff --git a/devel/rubygem-licensee8/distinfo b/devel/rubygem-licensee8/distinfo new file mode 100644 index 00000000000..9e12ece0f94 --- /dev/null +++ b/devel/rubygem-licensee8/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1515587263 +SHA256 (rubygem/licensee-8.7.0.gem) = 42992036a97e20bc1b80284d44f098f2f6e45fae7c8982cff2985230fa0612da +SIZE (rubygem/licensee-8.7.0.gem) = 129024 diff --git a/devel/rubygem-licensee8/pkg-descr b/devel/rubygem-licensee8/pkg-descr new file mode 100644 index 00000000000..cb7294aa9e5 --- /dev/null +++ b/devel/rubygem-licensee8/pkg-descr @@ -0,0 +1,5 @@ +Licensee automates the process of reading LICENSE files and compares their +contents to known licenses using a fancy math thing called Rabin-Karp +rolling-hashes. + +WWW: https://github.com/benbalter/licensee diff --git a/www/gitlab/Makefile b/www/gitlab/Makefile index f952f6389ef..b2e6e7beffa 100644 --- a/www/gitlab/Makefile +++ b/www/gitlab/Makefile @@ -4,7 +4,7 @@ PORTNAME= gitlab PORTVERSION= 10.1.5 DISTVERSIONPREFIX= v -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= www devel MAINTAINER= idefix@fechner.net @@ -136,7 +136,7 @@ RUN_DEPENDS= git>=2.14.1:devel/git \ rubygem-sanitize>=2.0:textproc/rubygem-sanitize \ rubygem-babosa>=1.0.2:textproc/rubygem-babosa \ rubygem-loofah>=2.0.3:textproc/rubygem-loofah \ - rubygem-licensee>=8.7:devel/rubygem-licensee \ + rubygem-licensee8>=8.7:devel/rubygem-licensee8 \ rubygem-rack-attack>=4.4.1:www/rubygem-rack-attack \ rubygem-ace-rails-ap>=4.1.0:www/rubygem-ace-rails-ap \ rubygem-mousetrap-rails>=1.4.6:www/rubygem-mousetrap-rails \ diff --git a/www/gitlab/files/patch-Gemfile b/www/gitlab/files/patch-Gemfile index d90b9f1c957..c168b31432e 100644 --- a/www/gitlab/files/patch-Gemfile +++ b/www/gitlab/files/patch-Gemfile @@ -210,8 +210,7 @@ +gem 'loofah', '>= 2.0.3' # Working with license --gem 'licensee', '~> 8.7.0' -+gem 'licensee', '>= 8.7.0' + gem 'licensee', '~> 8.7.0' # Protect against bruteforcing -gem 'rack-attack', '~> 4.4.1'