diff options
author | Alexey Yushkin <636808@mail.ru> | 2023-03-01 17:05:53 +0000 |
---|---|---|
committer | Gleb Popov <arrowd@FreeBSD.org> | 2023-03-01 17:33:37 +0000 |
commit | 18f3438184c58355efe1aa4d0d951c6a361c5385 (patch) | |
tree | af2109c951b2f77ac50e85fd6d58fe2e89a953a6 | |
parent | 210551bbeb487b9208e60a9c7a6a693292e993b0 (diff) |
net-p2p/cardano-node: Use absolute path for socket symlink.
Co-authored-by: Alexey Donskov <voxnod@gmail.com>
-rw-r--r-- | net-p2p/cardano-node/Makefile | 2 | ||||
-rwxr-xr-x[-rw-r--r--] | 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 index 2dee0bfef0b7..63c1dcf48a53 100644..100755 --- 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" |