Index: head/devel/gitaly/Makefile =================================================================== --- head/devel/gitaly/Makefile (revision 449782) +++ head/devel/gitaly/Makefile (revision 449783) @@ -1,28 +1,36 @@ # $FreeBSD$ PORTNAME= gitaly DISTVERSIONPREFIX= v DISTVERSION= 0.11.2 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= https://gitlab.com/gitlab-org/${PORTNAME}/repository/archive.tar.gz?ref=${DISTVERSIONPREFIX}${PORTVERSION}&dummy=/ MAINTAINER= tz@FreeBSD.org COMMENT= Smart reverse proxy for GitLab LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= go>=1.8:lang/go USES= gmake USE_RUBY= yes -PLIST_FILES= bin/gitaly - post-extract: - @${MV} ${WRKDIR}/${DISTNAME}-* ${WRKDIR}/${DISTNAME} + ${MV} ${WRKDIR}/${DISTNAME}-* ${WRKDIR}/${DISTNAME} +post-patch: + ${MV} ${WRKDIR}/${DISTNAME}/config.toml.example ${WRKDIR}/${DISTNAME}/config.toml.sample + +do-install: + ${MKDIR} ${STAGEDIR}${DATADIR} + ${MKDIR} ${STAGEDIR}${DATADIR}/bin + (cd ${WRKSRC}/_build/bin/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/bin && \ + cd ${WRKSRC} && ${COPYTREE_SHARE} config.toml.sample ${STAGEDIR}${DATADIR}) + post-install: - ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/gitaly + ${STRIP_CMD} ${STAGEDIR}${DATADIR}/bin/gitaly .include Index: head/devel/gitaly/files/patch-config.toml.example =================================================================== --- head/devel/gitaly/files/patch-config.toml.example (nonexistent) +++ head/devel/gitaly/files/patch-config.toml.example (revision 449783) @@ -0,0 +1,10 @@ +--- config.toml.example.orig 2017-09-01 10:24:38 UTC ++++ config.toml.example +@@ -1,6 +1,6 @@ + # Example Gitaly configuration file + +-socket_path = "/home/git/gitlab/tmp/sockets/private/gitaly.socket" ++socket_path = "/usr/local/www/gitlab/tmp/sockets/private/gitaly.socket" + + # # Optional: listen on a TCP socket. This is insecure (no authentication) + # listen_addr = "localhost:9999" Property changes on: head/devel/gitaly/files/patch-config.toml.example ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/devel/gitaly/pkg-plist =================================================================== --- head/devel/gitaly/pkg-plist (nonexistent) +++ head/devel/gitaly/pkg-plist (revision 449783) @@ -0,0 +1,2 @@ +@(,,555) %%DATADIR%%/bin/gitaly +@sample %%DATADIR%%/config.toml.sample Property changes on: head/devel/gitaly/pkg-plist ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property