git: 5af7177f615f - main - devel/rubygem-gitlab-sdk: fix security issue (world writeable files)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 06 Jan 2024 08:19:27 UTC
The branch main has been updated by mfechner:
URL: https://cgit.FreeBSD.org/ports/commit/?id=5af7177f615f135afe198ed7a438900b923e88f7
commit 5af7177f615f135afe198ed7a438900b923e88f7
Author: Matthias Fechner <mfechner@FreeBSD.org>
AuthorDate: 2024-01-05 06:55:01 +0000
Commit: Matthias Fechner <mfechner@FreeBSD.org>
CommitDate: 2024-01-06 08:18:57 +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
---
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>