net/pounce: unbreak calico: needs to unveil the directory with the
sockets as RW. based on a patch from june [at] casual [dot] agency (upstream), thanks!
This commit is contained in:
parent
a29d2397c5
commit
3d1824feb9
@ -1,6 +1,7 @@
|
||||
COMMENT = multi-client, TLS-only IRC bouncer
|
||||
|
||||
DISTNAME = pounce-3.0
|
||||
REVISION = 0
|
||||
|
||||
CATEGORIES = net
|
||||
|
||||
|
15
net/pounce/patches/patch-dispatch_c
Normal file
15
net/pounce/patches/patch-dispatch_c
Normal file
@ -0,0 +1,15 @@
|
||||
unveil RW the path to the directory holding the sockets to the pounce
|
||||
instances.
|
||||
|
||||
Index: dispatch.c
|
||||
--- dispatch.c.orig
|
||||
+++ dispatch.c
|
||||
@@ -158,7 +158,7 @@ int main(int argc, char *argv[]) {
|
||||
}
|
||||
|
||||
#ifdef __OpenBSD__
|
||||
- error = unveil(path, "r");
|
||||
+ error = unveil(path, "rw");
|
||||
if (error) err(EX_OSERR, "unveil");
|
||||
|
||||
error = pledge("stdio rpath inet unix dns sendfd", NULL);
|
Loading…
Reference in New Issue
Block a user