From nobody Thu Jul 11 13:37:06 2024 X-Original-To: dev-commits-ports-main@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 4WKbPG6D35z5Qfvm; Thu, 11 Jul 2024 13:37:06 +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 4WKbPG54fsz4swb; Thu, 11 Jul 2024 13:37:06 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1720705026; 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=dPh2kftgWPTDOf56ws0BA0w+wfr7nxDx9+2N2H+a0zE=; b=W78yf4+x1oQWmGDD8KBxQuITzBzGbYzFcN4OJ0eWCSDQO4woWYxnHAu3uuvgrQEjv7juM2 UI3QqyKd6ZaRz6Ip93xOljDbvqhbdd0YrgRuwvSryaZ/xwbHZ+HeH6FVCwFYViGHZraWe9 s1r2/53KkpnjZmM0B/uaNDTFqnE+NL3HTIdKQB7JK7g/imQKhPcx3TjGH6SwDKnZmmDUUp OAX8lYpyTFs24NCP2JoFba2SyNY+a3w2NbTKfLXFQ43Tv4FCuC/fHRu41Dj78hlT1X/EoV AbKLV9TpaK9J1BOR5CVasXPX22jAMRtRQA/41XlAm+xAt148fd6AMyy/bZqIWg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1720705026; a=rsa-sha256; cv=none; b=Ko2uPBGnOLeAfukBecK/3qS0oL2wLdZAXXyf6Du/mfcVIOog8Mw4VUZVh4DE1Vn8jXphLI 19/KyqTSZtbD/iu2nURBNCLO7KHHrHGqgeWaTJf8+FwY+w8MlWP/LSjARw57g1TL5pcVfo O8RrLSxwh0rIlsx8Cj+W81qhKDriDQg7drGim8wPP0URfw+r6ykDey/xSW1pG4rL/fupJE H5XgfwG9TclBQBeMFk6hGVSwe0u0qj4UvfrksSukr8URz04smVgSPhMV0hSOyUb5kDgCu7 qXN0M/ASowzZLSJT6kPV7D9ihG/Q0PE3RZ8ODDO4li8KKosBxpZ4ympeWjmrFQ== 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=1720705026; 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=dPh2kftgWPTDOf56ws0BA0w+wfr7nxDx9+2N2H+a0zE=; b=w+BGUBo/j0e+pz8KAkptVPhhV9YBOXyxmFLSydSYkDZnkwcDErIkJX2tDAMtEXwFdAjtNZ mYC2OSuSRgECaCyR3UpTGiJrHmRKKyp8nNYRxrXHCCfzJouIs6PRqL05k/QUmzzgirEFzd VT43b0bUaCnVnzdwPwKKv3y70JNcDx3qIqSgyrIAc326c5LbRu2dZSN0Czgj5NYdMmAI1n 1/Q/0KWRl9NxGH8FBi1sRefv6+h0BEaoTQvGm+M09jSQnW1mOcDDgS0cDUcElAMkYGVtsT hCHLiR45NHWR4aSHMSdqXtW/HPiw3buYTnOy1b9oWE2hkamnCpY5cdVpPp/xeA== 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 4WKbPG4dgWz12Yk; Thu, 11 Jul 2024 13:37:06 +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 46BDb6h4063068; Thu, 11 Jul 2024 13:37:06 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 46BDb6r2063065; Thu, 11 Jul 2024 13:37:06 GMT (envelope-from git) Date: Thu, 11 Jul 2024 13:37:06 GMT Message-Id: <202407111337.46BDb6r2063065@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Matthias Fechner Subject: git: ec690fc8dac6 - main - textproc/gitlab-elasticsearch-indexer: use new feature from go.mk to download go.mod from gitlab List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@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/main X-Git-Reftype: branch X-Git-Commit: ec690fc8dac6ac59f9ca3b5bfb36873453012ae3 Auto-Submitted: auto-generated The branch main has been updated by mfechner: URL: https://cgit.FreeBSD.org/ports/commit/?id=ec690fc8dac6ac59f9ca3b5bfb36873453012ae3 commit ec690fc8dac6ac59f9ca3b5bfb36873453012ae3 Author: Matthias Fechner AuthorDate: 2024-07-03 09:23:53 +0000 Commit: Matthias Fechner CommitDate: 2024-07-11 13:36:43 +0000 textproc/gitlab-elasticsearch-indexer: use new feature from go.mk to download go.mod from gitlab --- 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