From c0211f5c9777301bbe77e365f8addb27897d0a63 Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Thu, 7 Sep 2017 14:01:01 +0200 Subject: [PATCH] runit: set all fields of sockaddr_in in svlogd. --- srcpkgs/runit/patches/svlogd.patch | 13 +++++++++++++ srcpkgs/runit/template | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/runit/patches/svlogd.patch diff --git a/srcpkgs/runit/patches/svlogd.patch b/srcpkgs/runit/patches/svlogd.patch new file mode 100644 index 00000000000..21668211002 --- /dev/null +++ b/srcpkgs/runit/patches/svlogd.patch @@ -0,0 +1,13 @@ +Initialize all fields of sockaddr_in. +http://skarnet.org/cgi-bin/archive.cgi?2:mss:1163:201602:gpiglpbjdemlioaeabbn + +--- runit-2.1.2/src/svlogd.c 2014-08-10 15:22:34.000000000 -0300 ++++ runit-2.1.2/src/svlogd.c 2016-02-04 22:53:52.910965361 -0300 +@@ -430,6 +430,7 @@ + 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(); diff --git a/srcpkgs/runit/template b/srcpkgs/runit/template index 016e30bbb02..c4c338c8886 100644 --- a/srcpkgs/runit/template +++ b/srcpkgs/runit/template @@ -1,7 +1,7 @@ # Template file for 'runit' pkgname=runit version=2.1.2 -revision=7 +revision=8 wrksrc="admin" short_desc="A UNIX init scheme with service supervision" maintainer="Juan RP "