diff options
Diffstat (limited to 'devel/gitlab-shell')
-rw-r--r-- | devel/gitlab-shell/Makefile | 14 | ||||
-rw-r--r-- | devel/gitlab-shell/distinfo | 6 | ||||
-rw-r--r-- | devel/gitlab-shell/pkg-plist | 21 |
3 files changed, 30 insertions, 11 deletions
diff --git a/devel/gitlab-shell/Makefile b/devel/gitlab-shell/Makefile index 0b94a6f7937a..4f58b9adea84 100644 --- a/devel/gitlab-shell/Makefile +++ b/devel/gitlab-shell/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= gitlab-shell -PORTVERSION= 5.0.4 +PORTVERSION= 5.1.1 CATEGORIES= devel MASTER_SITES= https://gitlab.com/gitlab-org/${PORTNAME}/repository/archive.tar.gz?ref=v${PORTVERSION}&dummy=/ DISTNAME= ${PORTNAME}-v${PORTVERSION} @@ -10,7 +10,8 @@ DISTNAME= ${PORTNAME}-v${PORTVERSION} MAINTAINER= tz@FreeBSD.org COMMENT= GitLab Shell handles git commands for GitLab -BUILD_DEPENDS= gem:devel/ruby-gems +BUILD_DEPENDS= gem:devel/ruby-gems \ + go>=1.5.3:lang/go USERS= git GROUPS= git @@ -24,9 +25,18 @@ post-extract: post-patch: ${MV} ${WRKSRC}/config.yml.example ${WRKSRC}/config.yml.sample +pre-install: + ${WRKSRC}/bin/compile + ${RM} -rf ${WRKSRC}/go + ${RM} -rf ${WRKSRC}/go_build + do-install: @${MKDIR} ${STAGEDIR}${DATADIR} (cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}) @${MKDIR} ${STAGEDIR}/var/log/gitlab-shell +post-install: + ${STRIP_CMD} ${STAGEDIR}${DATADIR}/bin/gitaly-upload-pack + ${STRIP_CMD} ${STAGEDIR}${DATADIR}/bin/gitaly-receive-pack + .include <bsd.port.mk> diff --git a/devel/gitlab-shell/distinfo b/devel/gitlab-shell/distinfo index 0029db5c4795..80b1578ae079 100644 --- a/devel/gitlab-shell/distinfo +++ b/devel/gitlab-shell/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1499074793 -SHA256 (gitlab-shell-v5.0.4.tar.gz) = 9947c9cf7e7f2e1c2af696cf4610c6e2ad256dcae42e95cc0c8dc387ad5d07e3 -SIZE (gitlab-shell-v5.0.4.tar.gz) = 626142 +TIMESTAMP = 1502873044 +SHA256 (gitlab-shell-v5.1.1.tar.gz) = 33a4b79b0b06ad935a4bcf1ad41ab88882eb31b349cca007f1e60f3eb5826a06 +SIZE (gitlab-shell-v5.1.1.tar.gz) = 688960 diff --git a/devel/gitlab-shell/pkg-plist b/devel/gitlab-shell/pkg-plist index 2db863804342..fc84fdbad175 100644 --- a/devel/gitlab-shell/pkg-plist +++ b/devel/gitlab-shell/pkg-plist @@ -1,8 +1,10 @@ +%%DATADIR%%/.codeclimate.yml %%DATADIR%%/.gitignore %%DATADIR%%/.gitlab-ci.yml %%DATADIR%%/.rspec %%DATADIR%%/.rubocop.yml %%DATADIR%%/CHANGELOG +%%DATADIR%%/CONTRIBUTING.md %%DATADIR%%/Gemfile %%DATADIR%%/Gemfile.lock %%DATADIR%%/Guardfile @@ -12,7 +14,10 @@ %%DATADIR%%/VERSION @(,,555) %%DATADIR%%/bin/authorized_keys @(,,555) %%DATADIR%%/bin/check +@(,,555) %%DATADIR%%/bin/compile @(,,555) %%DATADIR%%/bin/create-hooks +@(,,555) %%DATADIR%%/bin/gitaly-upload-pack +@(,,555) %%DATADIR%%/bin/gitaly-receive-pack @(,,555) %%DATADIR%%/bin/gitlab-keys @(,,555) %%DATADIR%%/bin/gitlab-projects @(,,555) %%DATADIR%%/bin/gitlab-shell @@ -23,7 +28,6 @@ @(,,555) %%DATADIR%%/hooks/update %%DATADIR%%/lib/gitlab_access.rb %%DATADIR%%/lib/gitlab_access_status.rb -%%DATADIR%%/lib/gitlab_authorized_keys.rb %%DATADIR%%/lib/gitlab_config.rb %%DATADIR%%/lib/gitlab_custom_hook.rb %%DATADIR%%/lib/gitlab_init.rb @@ -77,19 +81,24 @@ %%DATADIR%%/spec/vcr_cassettes/broadcast_message-none.yml %%DATADIR%%/spec/vcr_cassettes/broadcast_message-ok.yml %%DATADIR%%/spec/vcr_cassettes/check-ok.yml -%%DATADIR%%/spec/vcr_cassettes/denied-pull.yml -%%DATADIR%%/spec/vcr_cassettes/denied-push-with-user.yml -%%DATADIR%%/spec/vcr_cassettes/denied-push.yml %%DATADIR%%/spec/vcr_cassettes/discover-ok.yml -%%DATADIR%%/spec/vcr_cassettes/http-access-disabled.yml +%%DATADIR%%/spec/vcr_cassettes/http-pull-disabled.yml +%%DATADIR%%/spec/vcr_cassettes/http-push-disabled.yml %%DATADIR%%/spec/vcr_cassettes/lfs-authenticate-ok.yml %%DATADIR%%/spec/vcr_cassettes/notify-post-receive.yml -%%DATADIR%%/spec/vcr_cassettes/ssh-access-disabled.yml %%DATADIR%%/spec/vcr_cassettes/ssh-key-not-found.yml %%DATADIR%%/spec/vcr_cassettes/ssh-key-not-implemented.yml %%DATADIR%%/spec/vcr_cassettes/ssh-key-ok.yml +%%DATADIR%%/spec/vcr_cassettes/ssh-pull-disabled.yml +%%DATADIR%%/spec/vcr_cassettes/ssh-pull-project-denied.yml +%%DATADIR%%/spec/vcr_cassettes/ssh-push-disabled.yml +%%DATADIR%%/spec/vcr_cassettes/ssh-push-project-denied-with-user.yml +%%DATADIR%%/spec/vcr_cassettes/ssh-push-project-denied.yml %%DATADIR%%/spec/vcr_cassettes/two-factor-recovery-codes-fail.yml %%DATADIR%%/spec/vcr_cassettes/two-factor-recovery-codes.yml +%%DATADIR%%/support/go-format +%%DATADIR%%/support/go-test +%%DATADIR%%/support/go_build.rb %%DATADIR%%/support/rewrite-hooks.sh %%DATADIR%%/support/truncate_repositories.sh @dir(git,,755) /var/log/gitlab-shell |