diff --git a/net/pounce/Makefile b/net/pounce/Makefile index 7e6926939a4..12530fdabe0 100644 --- a/net/pounce/Makefile +++ b/net/pounce/Makefile @@ -1,6 +1,7 @@ COMMENT = multi-client, TLS-only IRC bouncer DISTNAME = pounce-3.0 +REVISION = 0 CATEGORIES = net diff --git a/net/pounce/patches/patch-dispatch_c b/net/pounce/patches/patch-dispatch_c new file mode 100644 index 00000000000..e39ae9ff520 --- /dev/null +++ b/net/pounce/patches/patch-dispatch_c @@ -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);