openbsd-ports/net/iodine/patches/patch-src_iodine_c
sthen 6d962390a0 - update to 0.5.1, from Simon Kuhnle.
- don't hide command lines in build output
- honour CC in the environment not just mk.conf
2009-03-30 09:17:45 +00:00

19 lines
443 B
Plaintext

$OpenBSD: patch-src_iodine_c,v 1.2 2009/03/30 09:17:45 sthen Exp $
Drop privileges and chroot by default.
--- src/iodine.c.orig Sat Mar 21 14:07:49 2009
+++ src/iodine.c Mon Mar 30 10:25:08 2009
@@ -1009,9 +1009,9 @@ main(int argc, char **argv)
int autodetect_frag_size;
memset(password, 0, 33);
- username = NULL;
+ username = "_iodine";
foreground = 0;
- newroot = NULL;
+ newroot = "/var/empty";
device = NULL;
chunkid = 0;