Re: git: cc7c4a803cd3 - main - www/gitlab: new ports required for 18.7.0

From: Vladimir Druzenko <vvd_at_freebsd.org>
Date: Fri, 02 Jan 2026 13:19:34 UTC
Hello!
02.01.2026 10:12, Matthias Fechner пишет:
> The branch main has been updated by mfechner:
>
> URL: https://cgit.FreeBSD.org/ports/commit/?id=cc7c4a803cd3ca6a24bbbd51bbe1667a47884077
>
> commit cc7c4a803cd3ca6a24bbbd51bbe1667a47884077
> Author:     Matthias Fechner <mfechner@FreeBSD.org>
> AuthorDate: 2025-12-31 08:50:50 +0000
> Commit:     Matthias Fechner <mfechner@FreeBSD.org>
> CommitDate: 2026-01-02 06:52:42 +0000
>
>      www/gitlab: new ports required for 18.7.0
> ---
>   devel/Makefile                                     |   4 +
>   devel/rubygem-execjs-gitlab/Makefile               |  21 +++
>   devel/rubygem-execjs-gitlab/distinfo               |   3 +
>   .../files/patch-lib_execjs_runtimes.rb             |  11 ++
>   devel/rubygem-execjs-gitlab/pkg-descr              |   1 +
>   devel/rubygem-gitlab_query_language/Makefile       |  42 +++++
>   .../rubygem-gitlab_query_language/Makefile.crates  |  87 ++++++++++
>   devel/rubygem-gitlab_query_language/distinfo       | 177 +++++++++++++++++++++
>   devel/rubygem-gitlab_query_language/pkg-descr      |   4 +
>
> diff --git a/devel/rubygem-gitlab_query_language/Makefile b/devel/rubygem-gitlab_query_language/Makefile
> new file mode 100644
> index 000000000000..5bd345c68b5c
> --- /dev/null
> +++ b/devel/rubygem-gitlab_query_language/Makefile
> @@ -0,0 +1,42 @@
> +PORTNAME=	gitlab_query_language
> +PORTVERSION=	0.20.11
> +CATEGORIES=	devel rubygems
> +
> +MAINTAINER=	mfechner@FreeBSD.org
> +COMMENT=	Library  to compile GitLab Query Language (GLQL) queries to GraphQL
> +WWW=		https://gitlab.com/gitlab-org/glql/-/tree/main/glql_rb
> +
> +LICENSE=	MIT
> +LICENSE_FILE=	${WRKSRC}/LICENSE
> +
> +RUN_DEPENDS=	rubygem-rb_sys>=0.9.91<0.10:lang/rubygem-rb_sys
> +
> +USES=		cargo gem gmake llvm:build
> +
> +# Required to be able to build the rust library the gem uses
> +GEMFILES:=	${DISTNAME}.gem
> +DISTFILES+=	${DISTNAME}.gem
> +GEMS_SKIP_SUBDIR=	1
> +CARGO_VENDOR_DIR=	${WRKSRC}/ext/gitlab_query_language/cargo-crates
> +CARGO_CARGOTOML=	${WRKSRC}/ext/gitlab_query_language/Cargo.toml
> +CARGO_BUILD=	no
> +CARGO_INSTALL=	no
> +CARGO_ENV+=	CARGO_NET_OFFLINE=true
> +GEM_ENV+=	MAKE=gmake \
> +		${CARGO_ENV}
> +
> +# update the crates file with:
> +# make makesum
> +# make clean extract
> +# make cargo-crates > Makefile.crates
> +# make makesum
> +
> +post-extract:
> +	# change the gitlab external cargo (glql) to use already vendored local path
> +	@${MKDIR} ${WRKSRC}/ext/gitlab_query_language/vendor
> +	@${CP} -a ${WRKDIR}/glql-* ${WRKSRC}/ext/gitlab_query_language/vendor/glql
> +	@${SED} -i '' \
> +		-e 's|glql = { git = .* }|glql = { path = "${WRKSRC}/ext/gitlab_query_language/vendor/glql" }|' \
> +		${WRKSRC}/ext/gitlab_query_language/Cargo.toml
> +
> +.include <bsd.port.mk>

=======================<phase: fetch >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License MIT accepted by the user
=> gitlab_query_language-0.20.11.gem doesn't seem to exist in 
/portdistfiles.
===> /!\ Warning /!\
      The :DEFAULT group used for gitlab_query_language-0.20.11.gem is 
missing
      from MASTER_SITES. Check for typos, or errors.
=> Attempting to fetch 
http://distcache.FreeBSD.org/ports-distfiles/gitlab_query_language-0.20.11.gem
fetch: 
http://distcache.FreeBSD.org/ports-distfiles/gitlab_query_language-0.20.11.gem: 
Not Found
=> Couldn't fetch it - please try to retrieve this
=> port manually into /portdistfiles and try again.
*** Error code 1

Stop.
make: stopped in /usr/ports/devel/rubygem-gitlab_query_language

-- 
Best regards,
Vladimir Druzenko