diff options
author | tz <tz@FreeBSD.org> | 2017-09-13 21:36:35 +0800 |
---|---|---|
committer | tz <tz@FreeBSD.org> | 2017-09-13 21:36:35 +0800 |
commit | c43491c1b4f9386595db25112f601e0e02fd1e40 (patch) | |
tree | 1692ad7ec7158e841ad96b5555f37adfbc27f82f | |
parent | 98e39c1eec6ba3ff3b1ae817c7811307ae2bf2d8 (diff) | |
download | freebsd-ports-gnome-c43491c1b4f9386595db25112f601e0e02fd1e40.tar.gz freebsd-ports-gnome-c43491c1b4f9386595db25112f601e0e02fd1e40.tar.zst freebsd-ports-gnome-c43491c1b4f9386595db25112f601e0e02fd1e40.zip |
devel/gitlab-shell: Update from 5.0.4 to 5.1.1
Changelog: https://gitlab.com/gitlab-org/gitlab-shell/blob/v5.0.4/CHANGELOG
This port now depends on lang/go
-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 |