From nobody Sun Jul 21 06:56:46 2024 X-Original-To: dev-commits-ports-branches@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4WRZ2k4TMXz5QtJH; Sun, 21 Jul 2024 06:56:46 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WRZ2k2mylz4ZPT; Sun, 21 Jul 2024 06:56:46 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1721545006; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=w5D/pkg1PyL2af/4pxJAj/eFRi9Odh3iNm3H3pspg/E=; b=kE60/JZZiuS1gCaHuuJvH7Z2YbJBTiKqKFHm7AzeObxKbhpd83ouO75MR6AQ4R7vaoWQtv TEn/fVHIsMKwlgmpagIivBRX+ph+aIeddpXiAThHnDvJhXDaIdn8TI+Agc1BXWhywddY5q acQhpcOAH8u9EE+Z1K8sZsu5oSlv/AnDZOP/z1P5vZzQ4A+2fuWgtM4i4lqxSxejWA+UL5 MxsVDyrJCwYcNfXgSpwQTMzkt+SKvb9QJcW5mqWzDyPyr3WaNDXZeSFhVfYJcAmYiju/K7 Mwj1DsbBJGOn31Yctu8qD3KZ8OctG3LaGtiLLEC4/Z03JbDKoNi1FIN/I95+fA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1721545006; a=rsa-sha256; cv=none; b=SvAWrxsBc04HXlorN+Izwi54kgHv9+WKNUDDkqTgO4CcQOo/DoPV5viypNqNYWUo1RLXNL bw4fAWbw5RHnlI4uDq1uRH1dD8Ax47EZA6MpjeIHscmmbULejqgw8pTzY6jd/QJaeFyXh4 jdj47JHG2BuATef7OXs3Dj8xWcn37Ky4dSdtesAFGtSDohNj9z2YdshgKX2VTJnTviGApz 6MnVjH7jymK076W/5Fi9Jr19LNu7FDn2RVLRUJ0QDxR4csy9RPnawXeKz6//O6WAWUeKku sLCTiBU1JUHk3U1YQOBfmD2+aostJkxlTlG9yAlrKfJgZc5sVcQex0s6ewnpjQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1721545006; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=w5D/pkg1PyL2af/4pxJAj/eFRi9Odh3iNm3H3pspg/E=; b=PIsyOtx1whdOiJjJwhsYQ+NCH88j86I9FHecnCVTQr8AlBuuq9f6hqq8+40xO38K7o8kRH ZB8euH4nZfJFX4Iv32NXTaYUBWHZco7t338LdbYogSUYUNbC/OzK04rrXuvaQJF3ax3CoX OK6gVDAdt5L19Z0xMA8LbEzrHXQDtV+z/U2DpOtZvJ7yAQO6ujz2bc09bMznOkPDH6yfOM 44FbmADJIZmZsLB25VXxr4fVtCaGoB6gbs05DTWNwiEVQWl060bsuR+EQdidFP2iMwEBng yDOG2lJykfvusX4qTt+t61hoa/wnXqXF5CY0qqFBnLIjymQwOUJv5m+6CnbG6w== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4WRZ2k15Y7zqQY; Sun, 21 Jul 2024 06:56:46 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 46L6ukND069114; Sun, 21 Jul 2024 06:56:46 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 46L6ukDk069111; Sun, 21 Jul 2024 06:56:46 GMT (envelope-from git) Date: Sun, 21 Jul 2024 06:56:46 GMT Message-Id: <202407210656.46L6ukDk069111@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org From: Matthias Fechner Subject: git: 4a2d7641f38c - 2024Q3 - textproc/gitlab-elasticsearch-indexer: use new feature from go.mk to download go.mod from gitlab List-Id: Commits to the quarterly branches of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-branches@freebsd.org Sender: owner-dev-commits-ports-branches@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: mfechner X-Git-Repository: ports X-Git-Refname: refs/heads/2024Q3 X-Git-Reftype: branch X-Git-Commit: 4a2d7641f38ca1cd29c37fa3cdc355643345a13c Auto-Submitted: auto-generated The branch 2024Q3 has been updated by mfechner: URL: https://cgit.FreeBSD.org/ports/commit/?id=4a2d7641f38ca1cd29c37fa3cdc355643345a13c commit 4a2d7641f38ca1cd29c37fa3cdc355643345a13c Author: Matthias Fechner AuthorDate: 2024-07-03 09:23:53 +0000 Commit: Matthias Fechner CommitDate: 2024-07-21 05:39:13 +0000 textproc/gitlab-elasticsearch-indexer: use new feature from go.mk to download go.mod from gitlab (cherry picked from commit ec690fc8dac6ac59f9ca3b5bfb36873453012ae3) --- textproc/gitlab-elasticsearch-indexer/Makefile | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-) diff --git a/textproc/gitlab-elasticsearch-indexer/Makefile b/textproc/gitlab-elasticsearch-indexer/Makefile index ebbe675a7a0a..ffb95d022ee3 100644 --- a/textproc/gitlab-elasticsearch-indexer/Makefile +++ b/textproc/gitlab-elasticsearch-indexer/Makefile @@ -20,29 +20,13 @@ USES= gmake go:modules,no_targets,1.22 pkgconfig USE_GITLAB= yes GL_ACCOUNT= gitlab-org +GO_MOD_DIST= gitlab +GO_MODULE= gitlab.com/gitlab-org/gitlab-elasticsearch-indexer 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} -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