dev-vcs/gitlab-runner:
Fix user and group creation. Package-Manager: Portage-2.3.8, Repoman-2.3.3
This commit is contained in:
parent
6f4291fd4a
commit
1e6bc6fe65
3 changed files with 11 additions and 8 deletions
|
@ -1,3 +1,6 @@
|
||||||
|
05 Nov 2017; Manuel Friedli <manuel@fritteli.ch> gitlab-runner-10.0.2.ebuild:
|
||||||
|
dev-vcs/gitlab-runner: Fix user and group creation.
|
||||||
|
|
||||||
*gitlab-runner-10.0.2 (05 Nov 2017)
|
*gitlab-runner-10.0.2 (05 Nov 2017)
|
||||||
|
|
||||||
05 Nov 2017; Manuel Friedli <manuel@fritteli.ch>
|
05 Nov 2017; Manuel Friedli <manuel@fritteli.ch>
|
||||||
|
|
|
@ -3,6 +3,6 @@ AUX gitlab-runner-10.0.2.init 666 SHA256 42360338ff935726f6756c442de0fd381e10fb7
|
||||||
DIST gitlab-runner-10.0.2-prebuilt-arm.tar.xz 8548448 SHA256 b73a0690eef09c4f366342f98bec301020d47c16f98ac8a770f373dd81a76b04 SHA512 78919f68bbb31fce1792427b9067491b5ef0a557a184039eedf89110d47e875bc67c0a67fdd3165374c264aa411392dcda31574953e5ffacc2a141eaa85d4626 WHIRLPOOL 59cfe9d085318c3169da969846c216d7eb1b1f1a5ae52808f2721722fc6da48f25c87a1e2f257b7e3d9a0fc8e9d02e43622add867dc3403b2134c45715228ad8
|
DIST gitlab-runner-10.0.2-prebuilt-arm.tar.xz 8548448 SHA256 b73a0690eef09c4f366342f98bec301020d47c16f98ac8a770f373dd81a76b04 SHA512 78919f68bbb31fce1792427b9067491b5ef0a557a184039eedf89110d47e875bc67c0a67fdd3165374c264aa411392dcda31574953e5ffacc2a141eaa85d4626 WHIRLPOOL 59cfe9d085318c3169da969846c216d7eb1b1f1a5ae52808f2721722fc6da48f25c87a1e2f257b7e3d9a0fc8e9d02e43622add867dc3403b2134c45715228ad8
|
||||||
DIST gitlab-runner-10.0.2-prebuilt-x86_64.tar.xz 9562480 SHA256 58c95075273f44ff926823aa9b5bf9fd4cb82c87adc27bef48d5bf985d629992 SHA512 ea9339db46d8e683de42802ec52b499941e189b754bc43f600b673942fbf947941ac2ad7f1d63a938341df7982865595d5dc0557a08db4c78bc64067b2709539 WHIRLPOOL d6c9e66344f7334336031cafdec91dadd8941739584a41c71837fb247b3fb970826f23697758a8a3497e6667d300f1dff0ce8fe146389de0da9d15e2bbd1e78e
|
DIST gitlab-runner-10.0.2-prebuilt-x86_64.tar.xz 9562480 SHA256 58c95075273f44ff926823aa9b5bf9fd4cb82c87adc27bef48d5bf985d629992 SHA512 ea9339db46d8e683de42802ec52b499941e189b754bc43f600b673942fbf947941ac2ad7f1d63a938341df7982865595d5dc0557a08db4c78bc64067b2709539 WHIRLPOOL d6c9e66344f7334336031cafdec91dadd8941739584a41c71837fb247b3fb970826f23697758a8a3497e6667d300f1dff0ce8fe146389de0da9d15e2bbd1e78e
|
||||||
DIST gitlab-runner-10.0.2.tar.gz 3599514 SHA256 783c1c597a2b9ee78b2396852235010c5432804e8d65b65f49f4e3719f6da4c8 SHA512 9d8cac8441913c77c1b34dcf9f82ab1345d21f6a9553a7f895473289794c85c2675588b38c7cd390615c8e4cd14964c024562132b2b9dd88c9215ea165fc1c3d WHIRLPOOL e471f032040ffa3fbc0566df092425a19b3e9528907e87b49297512d665f187303baf24a918f855ee32fa0b1de3aac922a1ed13c8efcc22027e2fbd11fb2208d
|
DIST gitlab-runner-10.0.2.tar.gz 3599514 SHA256 783c1c597a2b9ee78b2396852235010c5432804e8d65b65f49f4e3719f6da4c8 SHA512 9d8cac8441913c77c1b34dcf9f82ab1345d21f6a9553a7f895473289794c85c2675588b38c7cd390615c8e4cd14964c024562132b2b9dd88c9215ea165fc1c3d WHIRLPOOL e471f032040ffa3fbc0566df092425a19b3e9528907e87b49297512d665f187303baf24a918f855ee32fa0b1de3aac922a1ed13c8efcc22027e2fbd11fb2208d
|
||||||
EBUILD gitlab-runner-10.0.2.ebuild 2463 SHA256 98aeadd5e28ab738e4c3813f2ce525517994c6c4c9575a012dc5bbf4aa6ea9ae SHA512 1a3d6e4a824eb42ff51478178432a29181733b31212da470acdef60e899102ab12bdebad7a6ea4b70f009c723ebf2629a59c33af9ffe27a3ee91ac2e5444e182 WHIRLPOOL adc4b90b9e1d9b0fd2e70e6d157ae83035095a8a1d5275591e8c6b693de0da10d14d743286f1e40e67da58cbf17fe48354c9f59a4ccb7a4589ca48ef4e7c1af7
|
EBUILD gitlab-runner-10.0.2.ebuild 2461 SHA256 07f1dd2b70e84fc9216e19a80e7cec994256c223c45fe676b55f8048c3834014 SHA512 5e0c588cda26632124c68a004e437467266be9714281c09e9bc86304ac408cbb53774dcd673af7c9485da407bf0375a3e3fef5640e42b957e02399fdbd6ce31a WHIRLPOOL 0707d182b45a34820b02eca1a0710b03c752ad41dc3ae9b77990c2d21902f6de41a76a8d8913dec4b4536e3af00116e97b0575cd3de490b57cf709232794f433
|
||||||
MISC ChangeLog 306 SHA256 808e2552439b928708bdd9db784c48fd5bf292fe453651d29401f362e7150e32 SHA512 652a440393cb63257b3b2b84134cb6d86bd64c2e3f8958e2d602d177c5a14813637d2965c3ffc92b1013c6cc3a46bce5ae8954a0f6f58e009c7c1d5e32ac7856 WHIRLPOOL 1eaa28cec659d3963e5bfb72537f810e6a5ba50b944adf6c2b524392afbb96725034b23ad2ce452f6120d01287aa1d432579a398d7291be4b97d9f22d6e764c4
|
MISC ChangeLog 442 SHA256 75c1278a67ce991234998e5c737ad28fdc9ef6fb53075b407a38e8e011f9eade SHA512 418805fdaaea1dd2e56624ef78042f612a57474fc912eaf35e67f170e13d231187778fb81e31189a8018d8361ee2f49e14fb7ca99ddf031cffe3ff708169083f WHIRLPOOL 2241b28207ace2c28afaeee368e5bab20f661fc58216d7352c9ddbdf54e8fbd410dbf2b613fca9f64c25ca78dda0952882a4cfbd0b3cfafe2f43e286a08f47fd
|
||||||
MISC metadata.xml 329 SHA256 f0ae08a64aa32a07486e744ce11ac5448770b7320454015bcd065e312fcb5e9c SHA512 11e4eaf25633c5979e5243350bdf2ddc6d9dca06ab54ec38359591f1d002ea2a224e53b3e6c4ac53b5b2e795a87769fdbd97c547b008272e0a1491141f422e5d WHIRLPOOL ab2c1cb3d9aff1f757b49633f94d4b98da4b83dadab12ab8d869f9e1f6763b3125010147472e58e910e7fc42da262dbd69a1bf3939f3720a79ab4329184b4c35
|
MISC metadata.xml 329 SHA256 f0ae08a64aa32a07486e744ce11ac5448770b7320454015bcd065e312fcb5e9c SHA512 11e4eaf25633c5979e5243350bdf2ddc6d9dca06ab54ec38359591f1d002ea2a224e53b3e6c4ac53b5b2e795a87769fdbd97c547b008272e0a1491141f422e5d WHIRLPOOL ab2c1cb3d9aff1f757b49633f94d4b98da4b83dadab12ab8d869f9e1f6763b3125010147472e58e910e7fc42da262dbd69a1bf3939f3720a79ab4329184b4c35
|
||||||
|
|
|
@ -32,6 +32,12 @@ RESTRICT="mirror test"
|
||||||
MY_USER="gitlab_runner"
|
MY_USER="gitlab_runner"
|
||||||
MY_HOME_DIR="/var/lib/gitlab-runner"
|
MY_HOME_DIR="/var/lib/gitlab-runner"
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
# add required user
|
||||||
|
enewgroup ${MY_USER}
|
||||||
|
enewuser ${MY_USER} -1 /bin/bash "${MY_HOME_DIR}" ${MY_USER}
|
||||||
|
}
|
||||||
|
|
||||||
src_prepare() {
|
src_prepare() {
|
||||||
default
|
default
|
||||||
pushd src/${EGO_PN} || die
|
pushd src/${EGO_PN} || die
|
||||||
|
@ -57,12 +63,6 @@ src_compile() {
|
||||||
emake GOPATH="${WORKDIR}/${P}:$(get_golibdir_gopath)" RELEASE=true -C src/${EGO_PN} build_current
|
emake GOPATH="${WORKDIR}/${P}:$(get_golibdir_gopath)" RELEASE=true -C src/${EGO_PN} build_current
|
||||||
}
|
}
|
||||||
|
|
||||||
pkg_preinst() {
|
|
||||||
# add required user
|
|
||||||
enewgroup ${MY_USER}
|
|
||||||
enewuser ${MY_USER} -1 /bin/bash "${MY_HOME_DIR}" ${MY_USER}
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
src_install() {
|
||||||
dobin src/${EGO_PN}/out/binaries/gitlab-runner
|
dobin src/${EGO_PN}/out/binaries/gitlab-runner
|
||||||
dodoc src/${EGO_PN}/README.md src/${EGO_PN}/CHANGELOG.md
|
dodoc src/${EGO_PN}/README.md src/${EGO_PN}/CHANGELOG.md
|
||||||
|
|
Loading…
Reference in a new issue