diff --git a/textproc/gitlab-elasticsearch-indexer/Makefile b/textproc/gitlab-elasticsearch-indexer/Makefile index 0688ad7c8942..4a55e3ac52bc 100644 --- a/textproc/gitlab-elasticsearch-indexer/Makefile +++ b/textproc/gitlab-elasticsearch-indexer/Makefile @@ -1,64 +1,64 @@ PORTNAME= gitlab-elasticsearch-indexer -PORTVERSION= 3.0.1 +PORTVERSION= 3.0.3 DISTVERSIONPREFIX= v -PORTREVISION= 3 +PORTREVISION= 0 CATEGORIES= textproc MAINTAINER= mfechner@FreeBSD.org COMMENT= Elasticsearch indexer for GitLab WWW= https://gitlab.com/gitlab-org/gitlab-elasticsearch-indexer LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.md BUILD_DEPENDS= git>=2.16.2:devel/git LIB_DEPENDS= libicui18n.so:devel/icu \ libicuuc.so:devel/icu #RUN_DEPENDS= p5-Image-ExifTool>=0:graphics/p5-Image-ExifTool USES= gmake go:modules,no_targets pkgconfig USE_GITLAB= yes GL_ACCOUNT= gitlab-org # Find the commit hash here: https://gitlab.com/gitlab-org/gitlab-elasticsearch-indexer/-/tags -GL_COMMIT= 13a14c697ada73449b9b8ed15d58b74b4d4a4d9b +GL_COMMIT= 3e6212a81a2eb7f2bedf59b380a9281fa31eabc2 MAKE_ENV= GOFLAGS="${GO_BUILDFLAGS}" # make sure to pass go build options into make process MAKE_ENV+= ${GO_ENV} # for go dependencies # Gitlab hosts there dependencies on their own platform and not on go-proxy # so we download the required go.mod file from gitlab # lines are taken from go.mk # --------------------------- FETCH_DEPENDS= ${GO_CMD}:${GO_PORT} \ ca_root_nss>0:security/ca_root_nss MASTER_SITES+= https://gitlab.com/gitlab-org/gitlab-elasticsearch-indexer/-/raw/v${DISTVERSION}/ DISTFILES+= go.mod DIST_SUBDIR= go/${PKGORIGIN:S,/,_,g}/${DISTNAME} EXTRACT_ONLY+= ${DISTFILES:N*.mod\:*:N*.mod:C/:.*//} _USES_fetch+= 800:go-post-fetch go-post-fetch: @${ECHO_MSG} "===> Fetching ${GO_MODNAME} dependencies"; @(cd ${DISTDIR}/${DIST_SUBDIR}; \ [ -e go.mod ] || ${RLN} ${GO_MODFILE} go.mod; \ ${SETENV} ${GO_ENV} GOPROXY=${GO_GOPROXY} ${GO_CMD} mod download -x all) # --------------------------- PLIST_FILES= bin/${PORTNAME} # add a git tag, as that is required by the build script pre-build: cd ${WRKSRC} && \ git init && \ git config user.email "${MAINTAINER}" && \ git config user.name "Matthias Fechner" && \ git add . && \ git commit -m "tag" && \ git tag v${PORTVERSION} do-install: ${INSTALL_PROGRAM} ${WRKSRC}/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} .include diff --git a/textproc/gitlab-elasticsearch-indexer/distinfo b/textproc/gitlab-elasticsearch-indexer/distinfo index 2f2fe8662ba7..53c7575d0962 100644 --- a/textproc/gitlab-elasticsearch-indexer/distinfo +++ b/textproc/gitlab-elasticsearch-indexer/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1658818977 -SHA256 (go/textproc_gitlab-elasticsearch-indexer/gitlab-org-gitlab-elasticsearch-indexer-13a14c697ada73449b9b8ed15d58b74b4d4a4d9b_GL0/go.mod) = d9d8fcc060f560d5cb4ac07254e4835d41ba2e2d1cecf2a0c213384d15b03c09 -SIZE (go/textproc_gitlab-elasticsearch-indexer/gitlab-org-gitlab-elasticsearch-indexer-13a14c697ada73449b9b8ed15d58b74b4d4a4d9b_GL0/go.mod) = 1969 -SHA256 (go/textproc_gitlab-elasticsearch-indexer/gitlab-org-gitlab-elasticsearch-indexer-13a14c697ada73449b9b8ed15d58b74b4d4a4d9b_GL0/gitlab-org-gitlab-elasticsearch-indexer-13a14c697ada73449b9b8ed15d58b74b4d4a4d9b_GL0.tar.gz) = fb732be8e87f70a0f08ace36c68f78b8ef4268090217cb14c412c2bbdfe3aab6 -SIZE (go/textproc_gitlab-elasticsearch-indexer/gitlab-org-gitlab-elasticsearch-indexer-13a14c697ada73449b9b8ed15d58b74b4d4a4d9b_GL0/gitlab-org-gitlab-elasticsearch-indexer-13a14c697ada73449b9b8ed15d58b74b4d4a4d9b_GL0.tar.gz) = 81496 +TIMESTAMP = 1665856848 +SHA256 (go/textproc_gitlab-elasticsearch-indexer/gitlab-org-gitlab-elasticsearch-indexer-3e6212a81a2eb7f2bedf59b380a9281fa31eabc2_GL0/go.mod) = c456b10b1ea442ca1d9a9cdb1f7e21dc11f67c659ba43930dcae78fd5e7ec439 +SIZE (go/textproc_gitlab-elasticsearch-indexer/gitlab-org-gitlab-elasticsearch-indexer-3e6212a81a2eb7f2bedf59b380a9281fa31eabc2_GL0/go.mod) = 2318 +SHA256 (go/textproc_gitlab-elasticsearch-indexer/gitlab-org-gitlab-elasticsearch-indexer-3e6212a81a2eb7f2bedf59b380a9281fa31eabc2_GL0/gitlab-org-gitlab-elasticsearch-indexer-3e6212a81a2eb7f2bedf59b380a9281fa31eabc2_GL0.tar.gz) = 1ab3f1db2bf502d8d6f6c8c271c1f7eef3d812ee640329b6f575fab78405369a +SIZE (go/textproc_gitlab-elasticsearch-indexer/gitlab-org-gitlab-elasticsearch-indexer-3e6212a81a2eb7f2bedf59b380a9281fa31eabc2_GL0/gitlab-org-gitlab-elasticsearch-indexer-3e6212a81a2eb7f2bedf59b380a9281fa31eabc2_GL0.tar.gz) = 85495