git: 18f3438184c5 - main - net-p2p/cardano-node: Use absolute path for socket symlink.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 01 Mar 2023 17:35:42 UTC
The branch main has been updated by arrowd:
URL: https://cgit.FreeBSD.org/ports/commit/?id=18f3438184c58355efe1aa4d0d951c6a361c5385
commit 18f3438184c58355efe1aa4d0d951c6a361c5385
Author: Alexey Yushkin <636808@mail.ru>
AuthorDate: 2023-03-01 17:05:53 +0000
Commit: Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2023-03-01 17:33:37 +0000
net-p2p/cardano-node: Use absolute path for socket symlink.
Co-authored-by: Alexey Donskov <voxnod@gmail.com>
---
net-p2p/cardano-node/Makefile | 2 +-
net-p2p/cardano-node/files/cardano_node.in | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/net-p2p/cardano-node/Makefile b/net-p2p/cardano-node/Makefile
index 5e24956142f8..9716f4e07133 100644
--- a/net-p2p/cardano-node/Makefile
+++ b/net-p2p/cardano-node/Makefile
@@ -1,6 +1,6 @@
PORTNAME= cardano-node
PORTVERSION= 1.35.5
-PORTREVISION= 2
+PORTREVISION= 3
MASTER_SITES= https://input-output-hk.github.io/cardano-haskell-packages/package/:chap
CATEGORIES= net-p2p
diff --git a/net-p2p/cardano-node/files/cardano_node.in b/net-p2p/cardano-node/files/cardano_node.in
old mode 100644
new mode 100755
index 2dee0bfef0b7..63c1dcf48a53
--- a/net-p2p/cardano-node/files/cardano_node.in
+++ b/net-p2p/cardano-node/files/cardano_node.in
@@ -144,7 +144,7 @@ jail_mount_devfs=yes
jail_ip_inherit=yes
#TODO: daemon fails with "Network.Socket.bind: permission denied" without suid ;\
jail_prepare_inside_cmds="mkdir ./socket ;\
- ln -s ./jail/${jail_socket} ${_socket} ;\
+ ln -s ${_home}/jail/${jail_socket} ${_socket} ;\
chmod +s ./bin/cardano-node"
jail_nullfs_mounts="${_db} ${jail_root}/db rw \
${_home}/logs ${jail_root}/logs rw"