Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Jan 2024 12:09:27 GMT
From:      Matthias Fechner <mfechner@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org
Subject:   git: fd2027b3b7fd - 2024Q1 - devel/rubygem-gitlab-sdk: fix security issue (world writeable files)
Message-ID:  <202401151209.40FC9Rdr074027@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch 2024Q1 has been updated by mfechner:

URL: https://cgit.FreeBSD.org/ports/commit/?id=fd2027b3b7fd9c07d201ddc5f43a74d19da9083d

commit fd2027b3b7fd9c07d201ddc5f43a74d19da9083d
Author:     Matthias Fechner <mfechner@FreeBSD.org>
AuthorDate: 2024-01-05 06:55:01 +0000
Commit:     Matthias Fechner <mfechner@FreeBSD.org>
CommitDate: 2024-01-15 12:07:02 +0000

    devel/rubygem-gitlab-sdk: fix security issue (world writeable files)
    
    Problem is also reported upstream:
    https://gitlab.com/gitlab-org/analytics-section/product-analytics/gl-application-sdk-rb/-/issues/5
    
    (cherry picked from commit 5af7177f615f135afe198ed7a438900b923e88f7)
---
 devel/rubygem-gitlab-sdk/Makefile | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/devel/rubygem-gitlab-sdk/Makefile b/devel/rubygem-gitlab-sdk/Makefile
index 429a05dcde62..b9d0a635ba1b 100644
--- a/devel/rubygem-gitlab-sdk/Makefile
+++ b/devel/rubygem-gitlab-sdk/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	gitlab-sdk
 PORTVERSION=	0.2.5
+PORTREVISION=	1
 CATEGORIES=	devel rubygems
 MASTER_SITES=	RG
 
@@ -17,4 +18,9 @@ USES=		gem
 
 NO_ARCH=	yes
 
+# problem is reported upstream:
+# https://gitlab.com/gitlab-org/analytics-section/product-analytics/gl-application-sdk-rb/-/issues/5
+post-extract:
+	${CHMOD} -R o-w ${WRKSRC}
+
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202401151209.40FC9Rdr074027>