Changeset View
Standalone View
devel/gitaly/Makefile
# $FreeBSD: head/devel/gitaly/Makefile 455591 2017-12-05 16:44:09Z tz $ | # $FreeBSD: head/devel/gitaly/Makefile 455591 2017-12-05 16:44:09Z tz $ | ||||
PORTNAME= gitaly | PORTNAME= gitaly | ||||
DISTVERSIONPREFIX= v | DISTVERSION= 0.82.0 | ||||
DISTVERSION= 0.21.2 | |||||
PORTREVISION= 1 | |||||
CATEGORIES= devel | CATEGORIES= devel | ||||
MASTER_SITES= https://gitlab.com/gitlab-org/${PORTNAME}/repository/archive.tar.gz?ref=${DISTVERSIONPREFIX}${PORTVERSION}&dummy=/ | |||||
GL_ACCOUNT= gitlab-org | |||||
mat: `USE_GITLAB` | |||||
Done Inline Actionscould we please postpone this to the next release. This is a security release which was very time consuming to test and we should bring it as fast as possible to the repository. Is this ok for you? mfechner: could we please postpone this to the next release. This is a security release which was very… | |||||
Done Inline ActionsIt is here tracked to not forget it: mfechner: It is here tracked to not forget it:
https://gitlab.fechner.net/mfechner/Gitlab/issues/11
| |||||
Done Inline ActionsDear @mat I tried now to use USE_GITLAB but it seems not to work. It looks to me that FreeBSD does not handle the directories correctly. I will attach you the full diff, maybe you can help here. mfechner: Dear @mat
I tried now to use USE_GITLAB but it seems not to work.
I see the error message… | |||||
Done Inline ActionsYou forgot to remove the post-extract target. Also, you should probably change all occurrences of WRKDIR/DISTNAME to WRKSRC. Side note, USE_GITLAB and all associated variables must happen in the same block as USES. mat: You forgot to remove the post-extract target.
Also, you should probably change all occurrences… | |||||
Not Done Inline ActionsThanks a lot @mat I fixed it and testbuild was fine. mfechner: Thanks a lot @mat I fixed it and testbuild was fine. | |||||
# Find this here: https://gitlab.com/gitlab-org/gitaly/tags | |||||
GL_COMMIT= 8f7e18974599c47f542e083d56faf45af106788b | |||||
MAINTAINER= idefix@fechner.net | MAINTAINER= idefix@fechner.net | ||||
COMMENT= Smart reverse proxy for GitLab | COMMENT= Smart reverse proxy for GitLab | ||||
LICENSE= MIT | LICENSE= MIT | ||||
LICENSE_FILE= ${WRKSRC}/LICENSE | LICENSE_FILE= ${WRKSRC}/LICENSE | ||||
BUILD_DEPENDS= go>=1.8:lang/go | # definedependencies that are required for build and run under MY_DEPENDS | ||||
tzUnsubmitted Done Inline ActionsThere is an whitespace missing tz: There is an whitespace missing | |||||
MY_DEPENDS= git>=2.14.3:devel/git \ | |||||
rubygem-github-linguist47>=4.7.0:textproc/rubygem-github-linguist47 \ | |||||
rubygem-bundler>0:sysutils/rubygem-bundler \ | |||||
rubygem-gitlab-markup>=1.6.2:textproc/rubygem-gitlab-markup \ | |||||
rubygem-gitaly-proto083>=0.83.0:net/rubygem-gitaly-proto083 \ | |||||
rubygem-activesupport50>=5.0.2:devel/rubygem-activesupport50 \ | |||||
rubygem-rdoc>=4.2:devel/rubygem-rdoc \ | |||||
rubygem-gollum-lib-gitlab>=4.2.0:www/rubygem-gollum-lib-gitlab \ | |||||
rubygem-gollum-rugged_adapter>=0.4.4:www/rubygem-gollum-rugged_adapter \ | |||||
rubygem-grpc>=1.8.0:net/rubygem-grpc \ | |||||
rubygem-google-protobuf351>=3.5.1:devel/rubygem-google-protobuf351 | |||||
BUILD_DEPENDS= go>=1.8:lang/go \ | |||||
gem:devel/ruby-gems \ | |||||
rubygem-bundler>0:sysutils/rubygem-bundler \ | |||||
${MY_DEPENDS} | |||||
RUN_DEPENDS= ${MY_DEPENDS} \ | |||||
gitlab-shell>=6.0.3:devel/gitlab-shell | |||||
USES= gmake | USES= gmake | ||||
USE_RUBY= yes | USE_RUBY= yes | ||||
USE_GITLAB= yes | |||||
post-extract: | post-extract: | ||||
${MV} ${WRKDIR}/${DISTNAME}-* ${WRKDIR}/${DISTNAME} | ${MV} ${WRKDIR}/${DISTNAME}-* ${WRKDIR}/${DISTNAME} | ||||
post-patch: | post-patch: | ||||
${MV} ${WRKDIR}/${DISTNAME}/config.toml.example ${WRKDIR}/${DISTNAME}/config.toml.sample | ${MV} ${WRKDIR}/${DISTNAME}/config.toml.example ${WRKDIR}/${DISTNAME}/config.toml.sample | ||||
do-install: | do-install: | ||||
${MKDIR} ${STAGEDIR}${DATADIR} | ${MKDIR} ${STAGEDIR}${DATADIR} | ||||
${MKDIR} ${STAGEDIR}${DATADIR}/bin | ${MKDIR} ${STAGEDIR}${DATADIR}/bin | ||||
$(RM) -f ${WRKSRC}/ruby/Gemfile.orig | |||||
(cd ${WRKSRC}/_build/bin/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/bin && \ | (cd ${WRKSRC}/_build/bin/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/bin && \ | ||||
cd ${WRKSRC} && ${COPYTREE_SHARE} config.toml.sample ${STAGEDIR}${DATADIR}) | cd ${WRKSRC} && ${COPYTREE_SHARE} config.toml.sample ${STAGEDIR}${DATADIR}) && \ | ||||
cd ${WRKSRC}/ruby && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/ruby | |||||
post-install: | post-install: | ||||
${STRIP_CMD} ${STAGEDIR}${DATADIR}/bin/gitaly | ${STRIP_CMD} ${STAGEDIR}${DATADIR}/bin/gitaly | ||||
${STRIP_CMD} ${STAGEDIR}${DATADIR}/bin/gitaly-ssh | |||||
.include <bsd.port.mk> | .include <bsd.port.mk> |
USE_GITLAB