updated ebuild for gitlab-shell-2.4.0: symlink .gitlab_shell_secret to /opt/gitlab-6/.gitlab_shell_secret instead of generating it
This commit is contained in:
parent
13f760d7d9
commit
07cb0cf774
2 changed files with 4 additions and 5 deletions
|
@ -16,4 +16,4 @@ EBUILD gitlab-shell-1.9.7.ebuild 3348 SHA256 e76c7155c1532a5d60545632b938af401a2
|
||||||
EBUILD gitlab-shell-2.0.0.ebuild 3297 SHA256 668c0430dc5783852cfff4588ac1fef2fa049a5e58b233566d12b923e8778b2f SHA512 a40aebc6d437a9577e2e830f84a6666b49dd0bcce211ed4d1311dad6f98e47bb9816f6b1155a4439e0fe475484cedb483f02a788de4282a0563550b8ea30b8e0 WHIRLPOOL a57d9250c7fc89e331c55dfa589be972111b6963efd17cad35ef7a01477a5b2c5cfffdb3265f4f8affa4edbbd3fc61a7d003b72b5ab96b0e99f5aa3cfd0a9b8a
|
EBUILD gitlab-shell-2.0.0.ebuild 3297 SHA256 668c0430dc5783852cfff4588ac1fef2fa049a5e58b233566d12b923e8778b2f SHA512 a40aebc6d437a9577e2e830f84a6666b49dd0bcce211ed4d1311dad6f98e47bb9816f6b1155a4439e0fe475484cedb483f02a788de4282a0563550b8ea30b8e0 WHIRLPOOL a57d9250c7fc89e331c55dfa589be972111b6963efd17cad35ef7a01477a5b2c5cfffdb3265f4f8affa4edbbd3fc61a7d003b72b5ab96b0e99f5aa3cfd0a9b8a
|
||||||
EBUILD gitlab-shell-2.0.1.ebuild 3304 SHA256 35c085cd702149462fafe0bdfdb41ab244fe06c6caef3542aceb399d37f334bf SHA512 24725735f67323d5b6cd95f9a54981c20288acea05b07b1b195b62bf9add1b850fb787f4a9fb7749f7103cd932023d3180653dc812a02d6314ec1b674e751449 WHIRLPOOL 8adf08faa3892f2ab5ad03eadab584097f6869a720517fd925f34a05f042410411cb3132df42b1d82c3f5dba68fdb2f76b1f00611747d3f48074d9e69dc9c49f
|
EBUILD gitlab-shell-2.0.1.ebuild 3304 SHA256 35c085cd702149462fafe0bdfdb41ab244fe06c6caef3542aceb399d37f334bf SHA512 24725735f67323d5b6cd95f9a54981c20288acea05b07b1b195b62bf9add1b850fb787f4a9fb7749f7103cd932023d3180653dc812a02d6314ec1b674e751449 WHIRLPOOL 8adf08faa3892f2ab5ad03eadab584097f6869a720517fd925f34a05f042410411cb3132df42b1d82c3f5dba68fdb2f76b1f00611747d3f48074d9e69dc9c49f
|
||||||
EBUILD gitlab-shell-2.3.1.ebuild 3635 SHA256 d7b6f533145bdf67c3b19bfb2e5d330be77077939d2b75bff73d056c29645dd6 SHA512 b3f1690327682a30fbe166e38ec49171fedec22127db1555195271e4ed949238ad6d1b186dcb4d7a9c31f5c44ad60663e68efb0adfd29f1b9d6e18f58b260954 WHIRLPOOL 2a24f5a92d4a2495b8d4dd7a4182c869e32def571b2e74450659017256be08c02f4a9fa6ff8523c819391b8204aebbac41ecb6d8f5e4198168a34f10348cd73a
|
EBUILD gitlab-shell-2.3.1.ebuild 3635 SHA256 d7b6f533145bdf67c3b19bfb2e5d330be77077939d2b75bff73d056c29645dd6 SHA512 b3f1690327682a30fbe166e38ec49171fedec22127db1555195271e4ed949238ad6d1b186dcb4d7a9c31f5c44ad60663e68efb0adfd29f1b9d6e18f58b260954 WHIRLPOOL 2a24f5a92d4a2495b8d4dd7a4182c869e32def571b2e74450659017256be08c02f4a9fa6ff8523c819391b8204aebbac41ecb6d8f5e4198168a34f10348cd73a
|
||||||
EBUILD gitlab-shell-2.4.0.ebuild 3635 SHA256 d7b6f533145bdf67c3b19bfb2e5d330be77077939d2b75bff73d056c29645dd6 SHA512 b3f1690327682a30fbe166e38ec49171fedec22127db1555195271e4ed949238ad6d1b186dcb4d7a9c31f5c44ad60663e68efb0adfd29f1b9d6e18f58b260954 WHIRLPOOL 2a24f5a92d4a2495b8d4dd7a4182c869e32def571b2e74450659017256be08c02f4a9fa6ff8523c819391b8204aebbac41ecb6d8f5e4198168a34f10348cd73a
|
EBUILD gitlab-shell-2.4.0.ebuild 3580 SHA256 8c05e74d295eee2df3c6cff652b8a29d41a9cfe57c57323eae92c22b68ca3b49 SHA512 f2e634208c0bfd34f61225ea09f2d9d8f9151b5616e5d714d3f03eb3ea9c35ac471381ec265b0a5123aedda7ffac2422fd03245015cf78383ee416bea3c73372 WHIRLPOOL 9f5cb9f0ee8f6455c1169c1af8f901fc7294a85395eb42e528f2c573cb8651226b7b400523a5f59195225bf0a919996722b520ce39f6f8d4115131b94aa085f1
|
||||||
|
|
|
@ -80,11 +80,10 @@ all_ruby_install() {
|
||||||
insinto $(dirname ${CONF_FILE})
|
insinto $(dirname ${CONF_FILE})
|
||||||
newins config.yml.example $(basename ${CONF_FILE})
|
newins config.yml.example $(basename ${CONF_FILE})
|
||||||
|
|
||||||
# create random .gitlab_shell_secret
|
# create symlink for .gitlab_shell_secret
|
||||||
einfo "creating random .gitlab_shell_secret"
|
einfo "creating symlink for .gitlab_shell_secret"
|
||||||
RANDOM_TOKEN=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1)
|
|
||||||
TOKEN_FILE="${DEST_DIR}/.gitlab_shell_secret"
|
TOKEN_FILE="${DEST_DIR}/.gitlab_shell_secret"
|
||||||
echo $RANDOM_TOKEN > ${D}/"$TOKEN_FILE"
|
dosym /opt/gitlab-6/.gitlab_shell_secret "$TOKEN_FILE"
|
||||||
|
|
||||||
# prepare directories
|
# prepare directories
|
||||||
diropts -m750; dodir ${DATA_DIR}
|
diropts -m750; dodir ${DATA_DIR}
|
||||||
|
|
Loading…
Reference in a new issue