mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
New port: devel/gitlab-shell.
GitLab Shell handles git commands for GitLab and modifies the list of authorized keys. WWW: https://gitlab.com/gitlab-org/gitlab-shell PR: 207791 Submitted by: Torsten Zühlsdorff <ports@toco-domains.de>
This commit is contained in:
parent
ca040a7e0c
commit
07adcadb42
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=410968
6 changed files with 114 additions and 0 deletions
|
@ -675,6 +675,7 @@
|
||||||
SUBDIR += gitg0
|
SUBDIR += gitg0
|
||||||
SUBDIR += github-backup-utils
|
SUBDIR += github-backup-utils
|
||||||
SUBDIR += gitinspector
|
SUBDIR += gitinspector
|
||||||
|
SUBDIR += gitlab-shell
|
||||||
SUBDIR += gitlist
|
SUBDIR += gitlist
|
||||||
SUBDIR += gitolite
|
SUBDIR += gitolite
|
||||||
SUBDIR += gitolite2
|
SUBDIR += gitolite2
|
||||||
|
|
31
devel/gitlab-shell/Makefile
Normal file
31
devel/gitlab-shell/Makefile
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
# Created by: Torsten Zuehlsdorff <ports@toco-domains.de
|
||||||
|
# $FreeBSD$
|
||||||
|
|
||||||
|
PORTNAME= gitlab-shell
|
||||||
|
PORTVERSION= 2.6.10
|
||||||
|
CATEGORIES= devel
|
||||||
|
MASTER_SITES= http://ports.toco-domains.de/
|
||||||
|
DISTNAME= ${PORTNAME}-v${PORTVERSION}
|
||||||
|
|
||||||
|
MAINTAINER= ports@toco-domains.de
|
||||||
|
COMMENT= GitLab Shell handles git commands for GitLab
|
||||||
|
|
||||||
|
BUILD_DEPENDS= ruby>=2.1.5:${PORTSDIR}/lang/ruby21 \
|
||||||
|
gem:${PORTSDIR}/devel/ruby-gems
|
||||||
|
|
||||||
|
USERS= git
|
||||||
|
GROUPS= git
|
||||||
|
|
||||||
|
NO_BUILD= yes
|
||||||
|
NO_ARCH= yes
|
||||||
|
|
||||||
|
do-install:
|
||||||
|
${MV} ${WRKSRC}/config.yml.example ${WRKSRC}/config.yml.sample
|
||||||
|
|
||||||
|
post-install:
|
||||||
|
${MKDIR} ${STAGEDIR}/var/log/
|
||||||
|
${TOUCH} ${STAGEDIR}/var/log/gitlab-shell.log
|
||||||
|
${MKDIR} ${STAGEDIR}${DATADIR}
|
||||||
|
(cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR})
|
||||||
|
|
||||||
|
.include <bsd.port.mk>
|
2
devel/gitlab-shell/distinfo
Normal file
2
devel/gitlab-shell/distinfo
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
SHA256 (gitlab-shell-v2.6.10.tar.gz) = 25c4e05e6fb0068e4be6a6b44d5fe30b98957ea6fe1470fb622480354fb17bb7
|
||||||
|
SIZE (gitlab-shell-v2.6.10.tar.gz) = 35474
|
11
devel/gitlab-shell/files/patch-config.yml.example
Normal file
11
devel/gitlab-shell/files/patch-config.yml.example
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
--- config.yml.example.orig 2016-02-24 09:49:01 UTC
|
||||||
|
+++ config.yml.example
|
||||||
|
@@ -48,7 +48,7 @@ redis:
|
||||||
|
|
||||||
|
# Log file.
|
||||||
|
# Default is gitlab-shell.log in the root directory.
|
||||||
|
-# log_file: "/home/git/gitlab-shell/gitlab-shell.log"
|
||||||
|
+log_file: "/var/log/gitlab-shell.log"
|
||||||
|
|
||||||
|
# Log level. INFO by default
|
||||||
|
log_level: INFO
|
4
devel/gitlab-shell/pkg-descr
Normal file
4
devel/gitlab-shell/pkg-descr
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
GitLab Shell handles git commands for GitLab
|
||||||
|
and modifies the list of authorized keys.
|
||||||
|
|
||||||
|
WWW: https://gitlab.com/gitlab-org/gitlab-shell
|
65
devel/gitlab-shell/pkg-plist
Normal file
65
devel/gitlab-shell/pkg-plist
Normal file
|
@ -0,0 +1,65 @@
|
||||||
|
%%DATADIR%%/.gitignore
|
||||||
|
%%DATADIR%%/.gitlab-ci.yml
|
||||||
|
%%DATADIR%%/.hound.yml
|
||||||
|
%%DATADIR%%/.rspec
|
||||||
|
%%DATADIR%%/.rubocop.yml
|
||||||
|
%%DATADIR%%/CHANGELOG
|
||||||
|
%%DATADIR%%/Gemfile
|
||||||
|
%%DATADIR%%/Gemfile.lock
|
||||||
|
%%DATADIR%%/Guardfile
|
||||||
|
%%DATADIR%%/LICENSE
|
||||||
|
%%DATADIR%%/README.md
|
||||||
|
%%DATADIR%%/VERSION
|
||||||
|
@(git,,555) %%DATADIR%%/bin/check
|
||||||
|
@(git,,555) %%DATADIR%%/bin/create-hooks
|
||||||
|
@(git,,555) %%DATADIR%%/bin/gitlab-keys
|
||||||
|
@(git,,555) %%DATADIR%%/bin/gitlab-projects
|
||||||
|
@(git,,555) %%DATADIR%%/bin/gitlab-shell
|
||||||
|
@(git,,555) %%DATADIR%%/bin/install
|
||||||
|
@sample %%DATADIR%%/config.yml.sample
|
||||||
|
%%DATADIR%%/hooks/post-receive
|
||||||
|
%%DATADIR%%/hooks/pre-receive
|
||||||
|
%%DATADIR%%/hooks/update
|
||||||
|
%%DATADIR%%/lib/gitlab_access.rb
|
||||||
|
%%DATADIR%%/lib/gitlab_access_status.rb
|
||||||
|
%%DATADIR%%/lib/gitlab_config.rb
|
||||||
|
%%DATADIR%%/lib/gitlab_custom_hook.rb
|
||||||
|
%%DATADIR%%/lib/gitlab_init.rb
|
||||||
|
%%DATADIR%%/lib/gitlab_keys.rb
|
||||||
|
%%DATADIR%%/lib/gitlab_logger.rb
|
||||||
|
%%DATADIR%%/lib/gitlab_net.rb
|
||||||
|
%%DATADIR%%/lib/gitlab_post_receive.rb
|
||||||
|
%%DATADIR%%/lib/gitlab_projects.rb
|
||||||
|
%%DATADIR%%/lib/gitlab_shell.rb
|
||||||
|
%%DATADIR%%/lib/httpunix.rb
|
||||||
|
%%DATADIR%%/lib/names_helper.rb
|
||||||
|
%%DATADIR%%/spec/gitlab_access_spec.rb
|
||||||
|
%%DATADIR%%/spec/gitlab_config_spec.rb
|
||||||
|
%%DATADIR%%/spec/gitlab_keys_spec.rb
|
||||||
|
%%DATADIR%%/spec/gitlab_logger_spec.rb
|
||||||
|
%%DATADIR%%/spec/gitlab_net_spec.rb
|
||||||
|
%%DATADIR%%/spec/gitlab_post_receive_spec.rb
|
||||||
|
%%DATADIR%%/spec/gitlab_projects_spec.rb
|
||||||
|
%%DATADIR%%/spec/gitlab_shell_spec.rb
|
||||||
|
%%DATADIR%%/spec/httpunix_spec.rb
|
||||||
|
%%DATADIR%%/spec/names_helper_spec.rb
|
||||||
|
%%DATADIR%%/spec/spec_helper.rb
|
||||||
|
%%DATADIR%%/spec/vcr_cassettes/allowed-pull.yml
|
||||||
|
%%DATADIR%%/spec/vcr_cassettes/allowed-push.yml
|
||||||
|
%%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%%/support/rewrite-hooks.sh
|
||||||
|
%%DATADIR%%/support/truncate_repositories.sh
|
||||||
|
@(git,,664) /var/log/gitlab-shell.log
|
||||||
|
@dir %%DATADIR%%/bin
|
||||||
|
@dir %%DATADIR%%/hooks
|
||||||
|
@dir %%DATADIR%%/lib
|
||||||
|
@dir %%DATADIR%%/spec/vcr_cassettes
|
||||||
|
@dir %%DATADIR%%/spec
|
||||||
|
@dir %%DATADIR%%/support
|
||||||
|
@dir %%DATADIR%%
|
Loading…
Add table
Reference in a new issue