From e92caf3451d6d3abc760411115b522852e5c3322 Mon Sep 17 00:00:00 2001 From: Matthias Fechner Date: Sun, 2 Feb 2020 17:32:32 +0000 Subject: [PATCH] MFH: r524695 Update to 1.0.6 which fixes CVE-2019-18978. Approved by: ports-secteam (miwi) --- www/rubygem-rack-cors/Makefile | 9 ++++++--- www/rubygem-rack-cors/distinfo | 6 +++--- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/www/rubygem-rack-cors/Makefile b/www/rubygem-rack-cors/Makefile index 04717463a954..0fd3813f43ba 100644 --- a/www/rubygem-rack-cors/Makefile +++ b/www/rubygem-rack-cors/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= rack-cors -PORTVERSION= 1.0.2 +PORTVERSION= 1.0.6 CATEGORIES= www rubygems MASTER_SITES= RG @@ -12,8 +12,11 @@ COMMENT= Middleware that will make Rack-based apps CORS compatible LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.txt -NO_ARCH= yes -USE_RUBY= yes +RUN_DEPENDS= rubygem-rack>=1.6.0:www/rubygem-rack + USES= gem +USE_RUBY= yes + +NO_ARCH= yes .include diff --git a/www/rubygem-rack-cors/distinfo b/www/rubygem-rack-cors/distinfo index 1db43a11f3ee..638a798e2f87 100644 --- a/www/rubygem-rack-cors/distinfo +++ b/www/rubygem-rack-cors/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1508781109 -SHA256 (rubygem/rack-cors-1.0.2.gem) = 2300c7108e0e9bcf197754c99ecce9aa6aadf0010dbd0ebf6778c1ba82df47c8 -SIZE (rubygem/rack-cors-1.0.2.gem) = 52736 +TIMESTAMP = 1580466776 +SHA256 (rubygem/rack-cors-1.0.6.gem) = 33dac9bf37cc16411013a9dd2af9c73bf9a6e6cc7e95a5c3d02f40156abdb71d +SIZE (rubygem/rack-cors-1.0.6.gem) = 53760