Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Sep 2023 04:56:30 GMT
From:      Muhammad Moinur Rahman <bofh@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: b242d6d26f2b - main - devel/capstone: Fix runtime permissions
Message-ID:  <202309050456.3854uUjD032566@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by bofh:

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

commit b242d6d26f2b3820c9fad44e5f98133c0d3c7b42
Author:     John Hein <jcfyecrayz@liamekaens.com>
AuthorDate: 2023-09-05 04:45:14 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-09-05 04:56:13 +0000

    devel/capstone: Fix runtime permissions
    
    bin/cstool is installed with 0644 perissions instead of 0755 which gives
    permission denied error. This patch fixes this.
    
    PR:             273570
---
 devel/capstone/Makefile             |  1 +
 devel/capstone/files/patch-Makefile | 11 +++++++++++
 2 files changed, 12 insertions(+)

diff --git a/devel/capstone/Makefile b/devel/capstone/Makefile
index 269ca0241aeb..ef8d174373ce 100644
--- a/devel/capstone/Makefile
+++ b/devel/capstone/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	capstone
 DISTVERSION=	5.0.1
+PORTREVISION=	1
 CATEGORIES=	devel
 
 MAINTAINER=	bofh@FreeBSD.org
diff --git a/devel/capstone/files/patch-Makefile b/devel/capstone/files/patch-Makefile
new file mode 100644
index 000000000000..157051ed79f7
--- /dev/null
+++ b/devel/capstone/files/patch-Makefile
@@ -0,0 +1,11 @@
+--- Makefile.orig	2023-08-22 16:03:55 UTC
++++ Makefile
+@@ -503,7 +503,7 @@ endif
+ 	$(INSTALL_DATA) $(PKGCFGF) $(PKGCFGDIR)
+ ifeq (,$(findstring yes,$(CAPSTONE_BUILD_CORE_ONLY)))
+ 	mkdir -p $(BINDIR)
+-	$(INSTALL_LIB) cstool/cstool $(BINDIR)
++	$(INSTALL_BIN) cstool/cstool $(BINDIR)
+ endif
+ 
+ uninstall:


home | help

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