mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 01:26:39 -04:00
Gitlab requires net-http 0.4.1: Because faraday >= 2, < 2.5 could not be found in locally installed gems and faraday >= 2.5, < 2.12.1 could not be found in locally installed gems, faraday >= 2, < 2.12.1 cannot be used. And because faraday >= 2.12.1 depends on faraday-net_http >= 2.0, < 3.5, faraday >= 2 requires faraday-net_http >= 2.0, < 3.5. Because faraday-net_http >= 3.4.0 depends on net-http >= 0.5.0 and faraday-net_http >= 2.0, < 3.4.0 could not be found in locally installed gems, faraday-net_http >= 2.0 requires net-http >= 0.5.0. Thus, faraday >= 2 requires net-http >= 0.5.0. So, because Gemfile depends on faraday ~> 2 and Gemfile depends on net-http = 0.4.1, version solving has failed. While fixing the problem, moved gitlab used packages to own package names with a PKGNAMESUFFIX of `-gitlab`. This should make the gitlab package much more stable if updates in the ports are done.
25 lines
651 B
Makefile
25 lines
651 B
Makefile
PORTNAME= oauth2
|
|
PORTVERSION= 2.0.9
|
|
CATEGORIES= net rubygems
|
|
MASTER_SITES= RG
|
|
PKGNAMESUFFIX= -gitlab
|
|
|
|
MAINTAINER= mfechner@FreeBSD.org
|
|
COMMENT= Ruby wrapper for the OAuth 2.0 protocol
|
|
WWW= https://github.com/oauth-xx/oauth2
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
RUN_DEPENDS= rubygem-faraday-gitlab>=0.17.3<3.0:www/rubygem-faraday-gitlab \
|
|
rubygem-jwt>=1.0<3.0:www/rubygem-jwt \
|
|
rubygem-multi_xml>=0.5<1:textproc/rubygem-multi_xml \
|
|
rubygem-rack>=1.2,3<4,3:www/rubygem-rack \
|
|
rubygem-snaky_hash>=2.0<3:devel/rubygem-snaky_hash \
|
|
rubygem-version_gem>=1.1<2:devel/rubygem-version_gem
|
|
|
|
USES= gem
|
|
|
|
NO_ARCH= yes
|
|
|
|
.include <bsd.port.mk>
|