Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Mar 2023 17:35:42 GMT
From:      Gleb Popov <arrowd@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 18f3438184c5 - main - net-p2p/cardano-node: Use absolute path for socket symlink.
Message-ID:  <202303011735.321HZgZj000255@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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"



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