summaryrefslogtreecommitdiff
path: root/sysutils/runit-faster/files/patch-src_svlogd.c
diff options
context:
space:
mode:
authorTobias Kortkamp <tobik@FreeBSD.org>2018-03-08 05:16:46 +0000
committerTobias Kortkamp <tobik@FreeBSD.org>2018-03-08 05:16:46 +0000
commit90c819ddbed0c272b3e273b3237ca47927859d44 (patch)
treefe8f6fbde89561b3228311aecabe406c048766fd /sysutils/runit-faster/files/patch-src_svlogd.c
parenteditors/sublime-text: Fix COMMENT (diff)
New port: sysutils/runit-faster
Runit is a daemontools replacement with the following features: - Service supervision - Clean process state - Reliable logging facility - Fast system bootup and shutdown - Packaging friendly - Small code size This very experimental port comes with a complete suite of configuration files and services to replace init(8) and rc(8) with runit for initializing your system. Heavily inspired by Void Linux' init scripts. For usage instructions visit: https://people.freebsd.org/~tobik/runit-faster.html Some fixes applied to sysutils/runit: - Fix most compiler warnings - Fix bug where runit will only halt the system instead of powering it off - Pet rclint for runsvdir - Pet portlint and regenerate patches
Diffstat (limited to 'sysutils/runit-faster/files/patch-src_svlogd.c')
-rw-r--r--sysutils/runit-faster/files/patch-src_svlogd.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/sysutils/runit-faster/files/patch-src_svlogd.c b/sysutils/runit-faster/files/patch-src_svlogd.c
new file mode 100644
index 000000000000..66e3b2f46987
--- /dev/null
+++ b/sysutils/runit-faster/files/patch-src_svlogd.c
@@ -0,0 +1,10 @@
+--- src/svlogd.c.orig 2014-08-10 18:22:34 UTC
++++ src/svlogd.c
+@@ -430,6 +430,7 @@ unsigned int logdir_open(struct logdir *ld, const char
+ ld->name =(char*)fn;
+ ld->ppid =0;
+ ld->match ='+';
++ ld->udpaddr.sin_family =AF_INET;
+ ld->udpaddr.sin_port =0;
+ ld->udponly =0;
+ while (! stralloc_copys(&ld->prefix, "")) pause_nomem();