Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F161177365
D16266.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
D16266.diff
View Options
Index: head/devel/gitaly/Makefile
===================================================================
--- head/devel/gitaly/Makefile
+++ head/devel/gitaly/Makefile
@@ -2,6 +2,7 @@
PORTNAME= gitaly
DISTVERSION= 0.105.0
+PORTREVISION= 1
CATEGORIES= devel
MAINTAINER= mfechner@FreeBSD.org
@@ -44,6 +45,7 @@
GL_COMMIT= 90ec422b0e76840075010476898637a92f287245
post-patch:
+ ${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|" ${WRKSRC}/config.toml.example
${MV} ${WRKSRC}/config.toml.example ${WRKSRC}/config.toml.sample
do-install:
Index: head/devel/gitaly/files/patch-config.toml.example
===================================================================
--- head/devel/gitaly/files/patch-config.toml.example
+++ head/devel/gitaly/files/patch-config.toml.example
@@ -4,11 +4,11 @@
# Example Gitaly configuration file
-socket_path = "/home/git/gitlab/tmp/sockets/private/gitaly.socket"
-+socket_path = "/usr/local/www/gitlab-ce/tmp/sockets/private/gitaly.socket"
++socket_path = "%%PREFIX%%/www/gitlab-ce/tmp/sockets/private/gitaly.socket"
# The directory where Gitaly's executables are stored
-bin_dir = "/home/git/gitaly"
-+bin_dir = "/usr/local/share/gitaly/bin/"
++bin_dir = "%%PREFIX%%/share/gitaly/bin/"
# # Optional: listen on a TCP socket. This is insecure (no authentication)
# listen_addr = "localhost:9999"
@@ -19,7 +19,7 @@
-# [git]
-# bin_path = "/usr/bin/git"
+[git]
-+bin_path = "/usr/local/bin/git"
++bin_path = "%%PREFIX%%/bin/git"
[[storage]]
name = "default"
@@ -33,7 +33,7 @@
[gitaly-ruby]
# The directory where gitaly-ruby is installed
-dir = "/home/git/gitaly/ruby"
-+dir = "/usr/local/share/gitaly/ruby"
++dir = "%%PREFIX%%/share/gitaly/ruby"
# # Gitaly-ruby resident set size (RSS) that triggers a memory restart (bytes)
# max_rss = 300000000
@@ -42,7 +42,7 @@
[gitlab-shell]
# The directory where gitlab-shell is installed
-dir = "/home/git/gitlab-shell"
-+dir = "/usr/local/share/gitlab-shell"
++dir = "%%PREFIX%%/share/gitlab-shell"
# # You can adjust the concurrency of each RPC endpoint
# [[concurrency]]
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jul 2, 7:26 AM (21 h, 3 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34589681
Default Alt Text
D16266.diff (2 KB)
Attached To
Mode
D16266: www/gitlab-ce: make it possible to use another PREFIX for gitlab-ce.
Attached
Detach File
Event Timeline
Log In to Comment