svn commit: r444552 - in head/net: . rubygem-gitaly rubygem-gitaly/files

Torsten Zuehlsdorff tz at FreeBSD.org
Wed Jun 28 08:54:11 UTC 2017


Author: tz
Date: Wed Jun 28 08:54:10 2017
New Revision: 444552
URL: https://svnweb.freebsd.org/changeset/ports/444552

Log:
  New port: net/rubygem-gitaly
  
  Gitaly is a Git RPC service for handling all the git calls made by GitLab.
  
  WWW: https://gitlab.com/gitlab-org/gitaly
  
  ATTENTION: the port has currently just a subset of functions and is needed
  	   in order to provide the security update of www/gitlab to 9.0

Added:
  head/net/rubygem-gitaly/
  head/net/rubygem-gitaly/Makefile   (contents, props changed)
  head/net/rubygem-gitaly/distinfo   (contents, props changed)
  head/net/rubygem-gitaly/files/
  head/net/rubygem-gitaly/files/patch-gitaly.gemspec   (contents, props changed)
  head/net/rubygem-gitaly/files/patch-ruby_lib_gitaly.rb   (contents, props changed)
  head/net/rubygem-gitaly/pkg-descr   (contents, props changed)
Modified:
  head/net/Makefile

Modified: head/net/Makefile
==============================================================================
--- head/net/Makefile	Wed Jun 28 08:50:10 2017	(r444551)
+++ head/net/Makefile	Wed Jun 28 08:54:10 2017	(r444552)
@@ -1183,6 +1183,7 @@
     SUBDIR += rubygem-fog-vsphere
     SUBDIR += rubygem-fog-xenserver
     SUBDIR += rubygem-geoip
+    SUBDIR += rubygem-gitaly
     SUBDIR += rubygem-gitlab_omniauth-ldap
     SUBDIR += rubygem-gitlab_omniauth-ldap1
     SUBDIR += rubygem-http_parser.rb

Added: head/net/rubygem-gitaly/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/rubygem-gitaly/Makefile	Wed Jun 28 08:54:10 2017	(r444552)
@@ -0,0 +1,17 @@
+# $FreeBSD$
+
+PORTNAME=	gitaly
+PORTVERSION=	0.2.1
+CATEGORIES=	net rubygems
+MASTER_SITES=	RG
+
+MAINTAINER=	tz at FreeBSD.org
+COMMENT=	Auto-generated gRPC client for gitaly
+
+RUN_DEPENDS=	rubygem-google-protobuf>=3.1:devel/rubygem-google-protobuf
+
+NO_ARCH=	yes
+USE_RUBY=	yes
+USES=		gem
+
+.include <bsd.port.mk>

Added: head/net/rubygem-gitaly/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/rubygem-gitaly/distinfo	Wed Jun 28 08:54:10 2017	(r444552)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1497439474
+SHA256 (rubygem/gitaly-0.2.1.gem) = 5ce2a251265161e1e7b15220ead44e339ee3927d6326b80526998353b261d378
+SIZE (rubygem/gitaly-0.2.1.gem) = 6656

Added: head/net/rubygem-gitaly/files/patch-gitaly.gemspec
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/rubygem-gitaly/files/patch-gitaly.gemspec	Wed Jun 28 08:54:10 2017	(r444552)
@@ -0,0 +1,11 @@
+--- gitaly.gemspec.orig	2017-06-22 08:27:02 UTC
++++ gitaly.gemspec
+@@ -21,8 +21,6 @@ Gem::Specification.new do |s|
+     s.specification_version = 4
+ 
+     if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
+-      s.add_runtime_dependency(%q<google-protobuf>.freeze, ["~> 3.1"])
+-      s.add_runtime_dependency(%q<grpc>.freeze, ["~> 1.0"])
+       s.add_development_dependency(%q<bundler>.freeze, ["~> 1.12"])
+       s.add_development_dependency(%q<rake>.freeze, ["~> 10.0"])
+     else

Added: head/net/rubygem-gitaly/files/patch-ruby_lib_gitaly.rb
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/rubygem-gitaly/files/patch-ruby_lib_gitaly.rb	Wed Jun 28 08:54:10 2017	(r444552)
@@ -0,0 +1,10 @@
+--- ruby/lib/gitaly.rb.orig	2017-06-22 08:27:11 UTC
++++ ruby/lib/gitaly.rb
+@@ -1,7 +1,6 @@
+ $:.unshift(File.expand_path('../gitaly', __FILE__))
+ 
+ require "gitaly/version"
+-require "gitaly/gitaly_services_pb"
+ 
+ module Gitaly
+   # Your code goes here...

Added: head/net/rubygem-gitaly/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/rubygem-gitaly/pkg-descr	Wed Jun 28 08:54:10 2017	(r444552)
@@ -0,0 +1,3 @@
+Gitaly is a Git RPC service for handling all the git calls made by GitLab.
+
+WWW: https://gitlab.com/gitlab-org/gitaly


More information about the svn-ports-head mailing list