From nobody Wed Jul 06 14:35:00 2022 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 BCD501CF81AD for ; Wed, 6 Jul 2022 14:35:36 +0000 (UTC) (envelope-from sunpoet@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LdMXS4tz4z4dFY for ; Wed, 6 Jul 2022 14:35:36 +0000 (UTC) (envelope-from sunpoet@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1657118136; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=I0F88u6VukI9iq07UgOxyu9DvXsZaUlW9+wACVMYyXw=; b=dvHbu0UhVUeM7vLG7itq6EpLKvZYXQtABxaUghwma4DtKiBt1sh0AqhSNiGYPXdFYTb1Ev AoxvEJdxvadqUWjdSx5H6AezfHaTPM99yBUMEAEbxiXjXmWxg0ChJTiAKQJcaF+cT2zA1i A06zDix+QD6PzcPSuJEt1gUobYjf7k2aoEQ9X+pMcrDBpTJr2RT/orf/tJ6iuo6i++f1wr WNAb5oba3fETDhLj56UpgG+lvdrT3b2MiuU19xU4yVVVy6FHM3m9m6kxWibe7mQHE5XkSi ZkeKXct9MeQ+n277CnnBHLPLG9JFSXNLag7S3JF+GlFotYRqqx2C3IiOLHmcYA== Received: from mail-qt1-f179.google.com (mail-qt1-f179.google.com [209.85.160.179]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) (Authenticated sender: sunpoet) by smtp.freebsd.org (Postfix) with ESMTPSA id 7EE5037C8D for ; Wed, 6 Jul 2022 14:35:36 +0000 (UTC) (envelope-from sunpoet@freebsd.org) Received: by mail-qt1-f179.google.com with SMTP id i11so18456993qtr.4 for ; Wed, 06 Jul 2022 07:35:36 -0700 (PDT) X-Gm-Message-State: AJIora9kMRxALARwfkARdMTsISzgZ2ruQsyklFcCLF6ikF0qFhIWyXQQ bhPlqg62Wp7MS/I1Y4p2rFCzBsRwgzbPTdK3I72buA== X-Google-Smtp-Source: AGRyM1t5+pB6WDQiHvMlw515rqsFdQatZLAAbpcTgmur5ZwM/8XT5TIHSTNxJkROCT4kPqxkUk9MzLwMT4ZLyfq/YoM= X-Received: by 2002:ac8:5ccb:0:b0:31d:33af:b5e0 with SMTP id s11-20020ac85ccb000000b0031d33afb5e0mr25237890qta.202.1657118136102; Wed, 06 Jul 2022 07:35:36 -0700 (PDT) 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: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 References: <202206301432.25UEWIi4077084@gitrepo.freebsd.org> In-Reply-To: <202206301432.25UEWIi4077084@gitrepo.freebsd.org> From: Po-Chuan Hsieh Date: Wed, 6 Jul 2022 22:35:00 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: git: 4671249405c0 - main - net/rubygem-omniauth-auth0: Fix build failure To: Matthias Fechner Cc: ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org, dev-commits-ports-main@freebsd.org Content-Type: multipart/alternative; boundary="000000000000da822d05e323e179" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1657118136; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=I0F88u6VukI9iq07UgOxyu9DvXsZaUlW9+wACVMYyXw=; b=GnRawvLG+vEcsJosU9d3kvAD8JEKXAdzIe9Fo3+MAUW8HXr9gGDfyNgzD/kE2+GtKxGvtl /mCIDX1BgOUxAqFlETi8oi6i7+yOETo2bY0QTeafMrIiFIQFh98PlDobxW72hCE3o4PHxW +L3o5WvWF2+wQzuD1VKWq5SvvR1UhhS8fBH6VlHYoM74kEDdIATvvhPc7x6hTxUHnRpA5a ejjmf0kpkOJYTGjzqkHhTGiLSW5HMes0emzM44mcN5PUDBPwwGBnxnSgPcLoOqoEBoX5BM OIK3gdDh0izm76SVZJEW8Re/ndmTlgEODaTP8nIulZlygPxnVY7egP3xwmIB6Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1657118136; a=rsa-sha256; cv=none; b=ZOOTypJe/A7bodW39ipB2bjdFQzcXes/R0kRiHbZnwRULeV5HJVTyWU7HX7VYyBmx2uIem plhQibp/IL4qMMspB+lxmMNYwz/QzFW/JhCXqOsEEtHlKODYXSjQTBRsNjhaw+qXvUy1NM lAiwnPWFUZYJbvs1/ZjP5GGKpW5MCUKzRIvvAeJPXdRwKRQD5YvYZTfDqJH69yoWI8F44Z Hq69aGnRB6iWXm0Nw9WESw5MjqqZl7PRJQE55LUBOUN6qzWeEQXebuhJXfwc4Hv67/4SJH ZfxGG+LhmNqwhYQ9lzphx83U3bi+lgxIJ+yTLiM8xT/c99wvwU8pBuEyqC6yrg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N --000000000000da822d05e323e179 Content-Type: text/plain; charset="UTF-8" On Thu, Jun 30, 2022 at 10:32 PM Matthias Fechner wrote: > The branch main has been updated by mfechner: > > URL: > https://cgit.FreeBSD.org/ports/commit/?id=4671249405c05bb65dfec261eb645081ea72fdf5 > > commit 4671249405c05bb65dfec261eb645081ea72fdf5 > Author: Matthias Fechner > AuthorDate: 2022-06-30 14:28:33 +0000 > Commit: Matthias Fechner > CommitDate: 2022-06-30 14:32:13 +0000 > > net/rubygem-omniauth-auth0: Fix build failure > Fixes a build regression after: > 56e085ca55a831ab56e2e6b417bf230c827fd2e5 > I think this commit is incorrect. I could build this port successfully with rubygem-omniauth-oauth2 (1.8.0) Please provide the error message. Furthermore, the only difference between omniauth-oauth2 1.7.3 and 1.8.0 [1] is the change of omniauth from ">=1.9<3" to ">=2<3" where security/rubygem-omniauth is 2.1.0 already. I don't know how it can fix build failure. [1] https://github.com/omniauth/omniauth-oauth2/compare/v1.7.3...v1.8.0 --- > net/Makefile | 1 + > net/rubygem-omniauth-auth0/Makefile | 2 +- > net/rubygem-omniauth-oauth2-v1/Makefile | 21 +++++++++++++++++++++ > net/rubygem-omniauth-oauth2-v1/distinfo | 3 +++ > net/rubygem-omniauth-oauth2-v1/pkg-descr | 3 +++ > 5 files changed, 29 insertions(+), 1 deletion(-) > > diff --git a/net/Makefile b/net/Makefile > index ff664b428e4c..593acd3099e9 100644 > --- a/net/Makefile > +++ b/net/Makefile > @@ -1335,6 +1335,7 @@ > SUBDIR += rubygem-omniauth-kerberos > SUBDIR += rubygem-omniauth-oauth > SUBDIR += rubygem-omniauth-oauth2 > + SUBDIR += rubygem-omniauth-oauth2-v1 > SUBDIR += rubygem-omniauth-openid > SUBDIR += rubygem-omniauth-salesforce > SUBDIR += rubygem-omniauth-twitter > diff --git a/net/rubygem-omniauth-auth0/Makefile > b/net/rubygem-omniauth-auth0/Makefile > index 3dcbfe3cfd09..3a599be8b787 100644 > --- a/net/rubygem-omniauth-auth0/Makefile > +++ b/net/rubygem-omniauth-auth0/Makefile > @@ -10,7 +10,7 @@ COMMENT= Authentication broker supporting different > identity providers > > LICENSE= MIT > > -RUN_DEPENDS= rubygem-omniauth-oauth2>=1.1:net/rubygem-omniauth-oauth2 > That should be >=1.4<2 to match upstream (~> 1.4). And net/rubygem-omniauth-oauth2 (1.8.0) fits the range. +RUN_DEPENDS= > rubygem-omniauth-oauth2-v1>=1.4<2:net/rubygem-omniauth-oauth2-v1 > > NO_ARCH= yes > USE_RUBY= yes > diff --git a/net/rubygem-omniauth-oauth2-v1/Makefile > b/net/rubygem-omniauth-oauth2-v1/Makefile > new file mode 100644 > index 000000000000..206e479fd106 > --- /dev/null > +++ b/net/rubygem-omniauth-oauth2-v1/Makefile > @@ -0,0 +1,21 @@ > +PORTNAME= omniauth-oauth2 > +PORTVERSION= 1.7.3 > +CATEGORIES= net rubygems > +MASTER_SITES= RG > +PKGNAMESUFFIX= -v1 > + > +MAINTAINER= ruby@FreeBSD.org > +COMMENT= Abstract OAuth2 strategy for OmniAuth > + > +LICENSE= MIT > +LICENSE_FILE= ${WRKSRC}/LICENSE.md > + > +RUN_DEPENDS= rubygem-oauth2>=1.4<3:net/rubygem-oauth2 \ > + rubygem-omniauth>=1.9<3:security/rubygem-omniauth > + > +USES= gem > +USE_RUBY= yes > + > +NO_ARCH= yes > + > +.include > diff --git a/net/rubygem-omniauth-oauth2-v1/distinfo > b/net/rubygem-omniauth-oauth2-v1/distinfo > new file mode 100644 > index 000000000000..fa8118af6754 > --- /dev/null > +++ b/net/rubygem-omniauth-oauth2-v1/distinfo > @@ -0,0 +1,3 @@ > +TIMESTAMP = 1656597551 > +SHA256 (rubygem/omniauth-oauth2-1.7.3.gem) = > 3f5a8f99fa72e0f91d2abd7475ceb972a4ae67ed59e049f314c0c1bad81f4745 > +SIZE (rubygem/omniauth-oauth2-1.7.3.gem) = 11776 > diff --git a/net/rubygem-omniauth-oauth2-v1/pkg-descr > b/net/rubygem-omniauth-oauth2-v1/pkg-descr > new file mode 100644 > index 000000000000..cb95d71cba5a > --- /dev/null > +++ b/net/rubygem-omniauth-oauth2-v1/pkg-descr > @@ -0,0 +1,3 @@ > +An abstract OAuth2 strategy for OmniAuth. > + > +WWW: https://github.com/omniauth/omniauth-oauth2 > --000000000000da822d05e323e179 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Thu, Jun 30, 2022 at 10:32 PM Matthias= Fechner <mfec= hner@freebsd.org> wrote:
<= div>Please provide the error=C2=A0message.


---
=C2=A0net/Makefile=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0|=C2=A0 1 +
=C2=A0net/rubygem-omniauth-auth0/Makefile=C2=A0 =C2=A0 =C2=A0 |=C2=A0 2 +-<= br> =C2=A0net/rubygem-omniauth-oauth2-v1/Makefile=C2=A0 | 21 ++++++++++++++++++= +++
=C2=A0net/rubygem-omniauth-oauth2-v1/distinfo=C2=A0 |=C2=A0 3 +++
=C2=A0net/rubygem-omniauth-oauth2-v1/pkg-descr |=C2=A0 3 +++
=C2=A05 files changed, 29 insertions(+), 1 deletion(-)

diff --git a/net/Makefile b/net/Makefile
index ff664b428e4c..593acd3099e9 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -1335,6 +1335,7 @@
=C2=A0 =C2=A0 =C2=A0SUBDIR +=3D rubygem-omniauth-kerberos
=C2=A0 =C2=A0 =C2=A0SUBDIR +=3D rubygem-omniauth-oauth
=C2=A0 =C2=A0 =C2=A0SUBDIR +=3D rubygem-omniauth-oauth2
+=C2=A0 =C2=A0 SUBDIR +=3D rubygem-omniauth-oauth2-v1
=C2=A0 =C2=A0 =C2=A0SUBDIR +=3D rubygem-omniauth-openid
=C2=A0 =C2=A0 =C2=A0SUBDIR +=3D rubygem-omniauth-salesforce
=C2=A0 =C2=A0 =C2=A0SUBDIR +=3D rubygem-omniauth-twitter
diff --git a/net/rubygem-omniauth-auth0/Makefile b/net/rubygem-omniauth-aut= h0/Makefile
index 3dcbfe3cfd09..3a599be8b787 100644
--- a/net/rubygem-omniauth-auth0/Makefile
+++ b/net/rubygem-omniauth-auth0/Makefile
@@ -10,7 +10,7 @@ COMMENT=3D=C2=A0 =C2=A0 =C2=A0 Authentication broker supp= orting different identity providers

=C2=A0LICENSE=3D=C2=A0 =C2=A0 =C2=A0 =C2=A0MIT

-RUN_DEPENDS=3D=C2=A0 =C2=A0rubygem-omniauth-oauth2>=3D1.1:net/rubygem-o= mniauth-oauth2

That should be >=3D1.= 4<2 to match upstream (~> 1.4).
And net/rubygem-omniauth-oa= uth2 (1.8.0) fits the range.

+RUN_DEPENDS=3D=C2=A0 =C2=A0rubygem-omniauth-oauth2-v1>=3D1.4<2:net/r= ubygem-omniauth-oauth2-v1

=C2=A0NO_ARCH=3D=C2=A0 =C2=A0 =C2=A0 =C2=A0yes
=C2=A0USE_RUBY=3D=C2=A0 =C2=A0 =C2=A0 yes
diff --git a/net/rubygem-omniauth-oauth2-v1/Makefile b/net/rubygem-omniauth= -oauth2-v1/Makefile
new file mode 100644
index 000000000000..206e479fd106
--- /dev/null
+++ b/net/rubygem-omniauth-oauth2-v1/Makefile
@@ -0,0 +1,21 @@
+PORTNAME=3D=C2=A0 =C2=A0 =C2=A0 omniauth-oauth2
+PORTVERSION=3D=C2=A0 =C2=A01.7.3
+CATEGORIES=3D=C2=A0 =C2=A0 net rubygems
+MASTER_SITES=3D=C2=A0 RG
+PKGNAMESUFFIX=3D -v1
+
+MAINTAINER=3D=C2=A0 =C2=A0 ruby@FreeBSD.org
+COMMENT=3D=C2=A0 =C2=A0 =C2=A0 =C2=A0Abstract OAuth2 strategy for OmniAuth=
+
+LICENSE=3D=C2=A0 =C2=A0 =C2=A0 =C2=A0MIT
+LICENSE_FILE=3D=C2=A0 ${WRKSRC}/LICENSE.md
+
+RUN_DEPENDS=3D=C2=A0 =C2=A0rubygem-oauth2>=3D1.4<3:net/rubygem-oauth= 2 \
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0rubygem-omniauth>= ;=3D1.9<3:security/rubygem-omniauth
+
+USES=3D=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 gem
+USE_RUBY=3D=C2=A0 =C2=A0 =C2=A0 yes
+
+NO_ARCH=3D=C2=A0 =C2=A0 =C2=A0 =C2=A0yes
+
+.include <bsd.port.mk>
diff --git a/net/rubygem-omniauth-oauth2-v1/distinfo b/net/rubygem-omniauth= -oauth2-v1/distinfo
new file mode 100644
index 000000000000..fa8118af6754
--- /dev/null
+++ b/net/rubygem-omniauth-oauth2-v1/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP =3D 1656597551
+SHA256 (rubygem/omniauth-oauth2-1.7.3.gem) =3D 3f5a8f99fa72e0f91d2abd7475c= eb972a4ae67ed59e049f314c0c1bad81f4745
+SIZE (rubygem/omniauth-oauth2-1.7.3.gem) =3D 11776
diff --git a/net/rubygem-omniauth-oauth2-v1/pkg-descr b/net/rubygem-omniaut= h-oauth2-v1/pkg-descr
new file mode 100644
index 000000000000..cb95d71cba5a
--- /dev/null
+++ b/net/rubygem-omniauth-oauth2-v1/pkg-descr
@@ -0,0 +1,3 @@
+An abstract OAuth2 strategy for OmniAuth.
+
+WWW: https://github.com/omniauth/omniauth-oauth2
--000000000000da822d05e323e179--