Page MenuHomeFreeBSD

www/gitlab-ce: make it possible to use another PREFIX for gitlab-ce.
ClosedPublic

Authored by mfechner on Jul 14 2018, 8:42 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mar 4 2024, 7:38 PM
Unknown Object (File)
Mar 4 2024, 7:38 PM
Unknown Object (File)
Jan 15 2024, 3:26 AM
Unknown Object (File)
Dec 23 2023, 2:02 AM
Unknown Object (File)
Dec 4 2023, 3:45 AM
Unknown Object (File)
Nov 11 2023, 5:33 PM
Unknown Object (File)
Nov 9 2023, 12:32 AM
Unknown Object (File)
Nov 7 2023, 5:58 PM
Subscribers

Details

Summary

I think it makes sense here to commit it in one commit as it belongs together.

Commit message:
Made it possible to use another PREFIX for gitlab-ce.

Add reported/suggested by swills

Test Plan

I did a make patch and checked that all files are correctly patched.

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Included the gitlab startup file.

www/gitlab-ce/Makefile
230 ↗(On Diff #45277)

Only call REINPLACE_CMD once, ie something like:

${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|" ${WRKSRC}/config/gitlab.yml.example \
          ${WRKSRC}/config/unicorn.rb.example ${WRKSRC}/lib/support/nginx/gitlab \
          ${WRKSRC}/lib/support/nginx/gitlab-ssl

(ignore spacing issues due to phabricator)

Updated SED to be in one line and added PORTREVISION to gitaly port.

linimon retitled this revision from Made it possible to use another PREFIX for gitlab-ce. to www/gitlab-ce: make it possible to use another PREFIX for gitlab-ce..Jul 18 2018, 12:48 PM
This revision is now accepted and ready to land.Jul 18 2018, 4:51 PM
This revision was automatically updated to reflect the committed changes.